/* Product-wide polish passes and feature refinements layered on top of the base shell. */

/* v7 polish: roomier premium rail, smoother nav motion, Scope-like compare scene. */
:root {
  --rail-width: clamp(268px, 15.6vw, 304px);
  --rail-width-expanded: clamp(268px, 15.6vw, 304px);
  --rail-collapsed-width: 108px;
  --brand-cyan: #22d5ff;
  --panel-line: rgba(34, 213, 255, 0.16);
}

.dashboard-sidebar {
  padding: 22px 18px !important;
  background:
    linear-gradient(180deg, rgba(8, 12, 19, 0.98), rgba(5, 8, 14, 0.985)),
    #05080e !important;
  border-right-color: rgba(34, 213, 255, 0.11) !important;
}

.dashboard-brand-link {
  padding: 4px 2px 16px !important;
}

.dashboard-brand-logo {
  width: min(174px, calc(100% - 4px)) !important;
}

.dashboard-sidebar-search {
  cursor: pointer !important;
  min-height: 48px !important;
  padding: 0 13px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.026) !important;
  border-color: rgba(255, 255, 255, 0.075) !important;
}

.dashboard-sidebar-search:hover,
.dashboard-sidebar-search:focus-within {
  border-color: rgba(34, 213, 255, 0.26) !important;
  background: rgba(34, 213, 255, 0.045) !important;
}

.dashboard-sidebar-search input {
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.dashboard-sidebar-search .dashboard-topbar-search-icon {
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(149, 166, 190, 0.76) !important;
}

.dashboard-nav {
  position: relative !important;
  isolation: isolate;
  margin-top: 20px !important;
}

.dashboard-nav-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 13px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(17, 21, 29, 0.96), rgba(7, 10, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 36px rgba(0, 0, 0, 0.26);
  will-change: transform, width, height, opacity;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    width 360ms cubic-bezier(0.22, 1, 0.36, 1),
    height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.dashboard-nav-highlight.is-visible {
  opacity: 1;
}

.dashboard-nav-highlight.is-interaction-state {
  background:
    linear-gradient(180deg, rgba(23, 28, 38, 0.98), rgba(11, 15, 22, 0.99));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.22);
}

.dashboard-nav-group,
.nav-tools-section,
.nav-submenu {
  position: relative;
  z-index: 1;
}

.dashboard-nav-caption {
  margin: 20px 2px 10px !important;
  color: rgba(156, 172, 194, 0.62) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.13em !important;
}

.nav-tools-section {
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.nav-link,
.nav-sub-link {
  position: relative !important;
  z-index: 1;
  min-height: 46px !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  gap: 11px !important;
  padding: 9px 10px !important;
  border-radius: 12px !important;
  color: rgba(229, 236, 247, 0.78) !important;
  background: transparent !important;
  border-color: transparent !important;
  transition:
    color 240ms ease,
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease !important;
}

.nav-link-label,
.nav-sub-link > span:last-child {
  font-size: 14px !important;
  line-height: 1.12 !important;
  font-weight: 850 !important;
}

.nav-link-icon,
.nav-sub-link-icon {
  width: 22px !important;
  height: 22px !important;
  color: rgba(137, 154, 181, 0.78) !important;
}

.nav-link-icon svg,
.nav-sub-link-icon svg {
  width: 18px !important;
  height: 18px !important;
  transform-origin: center;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 240ms ease !important;
}

.nav-link-icon svg *,
.nav-sub-link-icon svg * {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-sub-link:hover,
.nav-sub-link:focus-visible {
  background: transparent !important;
  border-color: transparent !important;
  color: #f5fbff !important;
}

.nav-link.active,
.nav-sub-link.active {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #f7fcff !important;
}

.nav-link.active .nav-link-icon,
.nav-sub-link.active .nav-sub-link-icon,
.nav-link:hover .nav-link-icon,
.nav-link:focus-visible .nav-link-icon,
.nav-sub-link:hover .nav-sub-link-icon,
.nav-sub-link:focus-visible .nav-sub-link-icon {
  color: #eafaff !important;
}

.nav-link:hover .nav-link-icon svg,
.nav-link:focus-visible .nav-link-icon svg,
.nav-sub-link:hover .nav-sub-link-icon svg,
.nav-sub-link:focus-visible .nav-sub-link-icon svg,
.nav-link.active .nav-link-icon svg,
.nav-sub-link.active .nav-sub-link-icon svg {
  transform: scale(1.04);
  filter: drop-shadow(0 3px 10px rgba(34, 213, 255, 0.14));
}

body.auth-locked #auth-state .auth-button-logo-faceit,
body.auth-locked #auth-state .auth-button-logo-steam {
  animation: none !important;
  transform-origin: 50% 50%;
}

body.auth-locked #auth-state .auth-button-faceit:hover .auth-button-logo-faceit,
body.auth-locked #auth-state .auth-button-faceit:focus-visible .auth-button-logo-faceit {
  animation: authFaceitMark 780ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

body.auth-locked #auth-state .auth-button-steam:hover .auth-button-logo-steam,
body.auth-locked #auth-state .auth-button-steam:focus-visible .auth-button-logo-steam {
  animation: authSteamMark 820ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.dashboard-feature-card--stats,
.dashboard-feature-card--stats:hover,
.dashboard-feature-card--stats:focus-visible {
  overflow: hidden !important;
  clip-path: inset(0 round 8px);
}

.dashboard-feature-card--stats .dashboard-feature-card-media {
  inset: 1px 3px 1px 1px !important;
  overflow: hidden !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media img,
.dashboard-feature-card--stats:hover .dashboard-feature-card-media img,
.dashboard-feature-card--stats:focus-visible .dashboard-feature-card-media img {
  transform: none !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: -2px;
  right: -3px;
  bottom: -2px;
  width: 18px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 6, 11, 0), #03060b 70%);
}

/* The stats artwork has clipped white UI text on its far-right edge. Keep the
   art, but fade that edge inside the card so no loose pixels leak on hover. */
.dashboard-feature-card--stats {
  background:
    linear-gradient(180deg, rgba(7, 10, 15, 0.02) 0%, rgba(7, 10, 15, 0.2) 46%, rgba(7, 10, 15, 0.86) 100%),
    var(--feature-tint),
    #03060b !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media {
  inset: 0 !important;
  border-radius: inherit !important;
  isolation: isolate;
  background: #03060b;
}

.dashboard-feature-card--stats .dashboard-feature-card-media img,
.dashboard-feature-card--stats:hover .dashboard-feature-card-media img,
.dashboard-feature-card--stats:focus-visible .dashboard-feature-card-media img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-position: 72% center !important;
  opacity: 0.94 !important;
  transform: translateZ(0) scale(1.015) !important;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 86%, rgba(0, 0, 0, 0.82) 93%, rgba(0, 0, 0, 0.18) 98%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 86%, rgba(0, 0, 0, 0.82) 93%, rgba(0, 0, 0, 0.18) 98%, transparent 100%);
}

.dashboard-feature-card--stats .dashboard-feature-card-media::before {
  z-index: 2 !important;
  inset: 0 0 0 auto !important;
  width: 18% !important;
  background:
    linear-gradient(90deg, rgba(3, 6, 11, 0), rgba(3, 6, 11, 0.28) 58%, rgba(3, 6, 11, 0.86) 100%) !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media::after {
  z-index: 3 !important;
  inset: 0 !important;
  width: auto !important;
  background:
    linear-gradient(90deg, rgba(3, 6, 11, 0) 0%, rgba(3, 6, 11, 0) 79%, rgba(3, 6, 11, 0.32) 93%, rgba(3, 6, 11, 0.9) 100%),
    linear-gradient(180deg, rgba(3, 6, 11, 0.02), rgba(3, 6, 11, 0.08) 46%, rgba(3, 6, 11, 0.74) 100%) !important;
}

.dashboard-feature-card--stats:hover::after,
.dashboard-feature-card--stats:focus-visible::after {
  opacity: 0.72 !important;
  backdrop-filter: blur(1.7px) saturate(0.98) brightness(0.9) !important;
  -webkit-backdrop-filter: blur(1.7px) saturate(0.98) brightness(0.9) !important;
}

.dashboard-feature-card--stats:hover .dashboard-feature-card-media img,
.dashboard-feature-card--stats:focus-visible .dashboard-feature-card-media img {
  opacity: 0.9 !important;
  filter: blur(1.05px) saturate(1) contrast(1.06) brightness(0.86) !important;
  transform: translateZ(0) scale(1.018) !important;
}

/* v9: tighter rail rhythm and cleaner auth gate. */
.dashboard-sidebar-search {
  margin-bottom: 0 !important;
}

.dashboard-nav {
  margin-top: 12px !important;
  padding-top: 13px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.dashboard-nav > .dashboard-nav-group > .dashboard-nav-caption:first-child {
  margin-top: 0 !important;
}

body.auth-gate-open .dashboard-topbar-language-wrap {
  display: none !important;
}

body.auth-gate-open .dashboard-topbar-meta {
  display: none !important;
}

@media (max-width: 980px) {
  :root {
    --rail-width: min(86vw, 286px);
    --rail-width-expanded: min(86vw, 286px);
  }
}

/* v11: keep the stats feature card visually identical to the rest of the
   overview deck, with only a right-edge fade to hide source-art pixels. */
.dashboard-feature-card--stats,
.dashboard-feature-card--stats:hover,
.dashboard-feature-card--stats:focus-visible {
  overflow: hidden !important;
  clip-path: inset(0 0 0 0 round 22px);
  border-radius: 8px !important;
}

.dashboard-feature-card--stats {
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 28px 74px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.018),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.dashboard-feature-card--stats:hover,
.dashboard-feature-card--stats:focus-visible {
  border-color: rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(var(--feature-glow), 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media {
  inset: 1px !important;
  border-radius: inherit !important;
  isolation: isolate;
  background: transparent !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media img {
  position: relative !important;
  inset: auto !important;
  z-index: 0;
  width: calc(100% + 2px) !important;
  height: calc(100% + 2px) !important;
  margin: -1px !important;
  object-position: 72% center !important;
  opacity: 0.82 !important;
  filter: saturate(0.98) contrast(1.1) brightness(0.9) !important;
  transform: translateZ(0) scale(1.055) !important;
  animation: featureStatsDeckPan 8.8s ease-in-out infinite alternate !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.dashboard-feature-card--stats:hover .dashboard-feature-card-media img,
.dashboard-feature-card--stats:focus-visible .dashboard-feature-card-media img {
  opacity: 0.82 !important;
  filter: blur(1.35px) saturate(0.98) contrast(1.06) brightness(0.76) !important;
  transform: translateZ(0) scale(1.026) !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media::before {
  display: none !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media::after {
  content: "";
  position: absolute;
  z-index: 3 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 22% !important;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 6, 11, 0), rgba(3, 6, 11, 0.4) 54%, rgba(3, 6, 11, 0.96) 100%) !important;
}

@keyframes featureStatsDeckPan {
  from {
    object-position: 71% 50%;
  }

  to {
    object-position: 73% 46%;
  }
}

/* v13: final design pass for guest flows, tool pages, and comparison UI. */
.dashboard-overview-title,
#overview .dashboard-overview-title {
  overflow: visible !important;
  padding-bottom: clamp(16px, 2.2vw, 30px) !important;
}

.dashboard-overview-title-main {
  line-height: 0.94 !important;
  letter-spacing: 0 !important;
  padding: 0.08em 0.04em 0.16em !important;
  overflow: visible !important;
}

.dashboard-feature-card,
.dashboard-feature-card--stats,
.dashboard-feature-card--compare,
.dashboard-feature-card--prematch,
.dashboard-feature-card--extension,
.dashboard-feature-card--tools {
  border-radius: 8px !important;
  clip-path: inset(0 0 0 0 round 8px);
  border: 1px solid rgba(190, 225, 255, 0.18) !important;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.018),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  animation: featureCardIn 780ms cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.dashboard-feature-card-media,
.dashboard-feature-card--stats .dashboard-feature-card-media {
  inset: 1px !important;
  border-radius: 7px !important;
  overflow: hidden !important;
}

.dashboard-feature-card-media img,
.dashboard-feature-card--stats .dashboard-feature-card-media img {
  width: calc(100% + 2px) !important;
  height: calc(100% + 2px) !important;
  margin: -1px !important;
  opacity: 0.86 !important;
  filter: saturate(1.02) contrast(1.08) brightness(0.88) !important;
}

.dashboard-feature-card:hover,
.dashboard-feature-card:focus-visible {
  --card-lift: -15px !important;
  --card-scale: 0.985 !important;
  border-color: rgba(215, 242, 255, 0.46) !important;
  box-shadow:
    0 44px 108px rgba(0, 0, 0, 0.54),
    0 0 52px rgba(var(--feature-glow), 0.27),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  transform: translate3d(0, -15px, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(0.985) !important;
}

.dashboard-feature-card:hover .dashboard-feature-card-media img,
.dashboard-feature-card:focus-visible .dashboard-feature-card-media img,
.dashboard-feature-card--stats:hover .dashboard-feature-card-media img,
.dashboard-feature-card--stats:focus-visible .dashboard-feature-card-media img {
  opacity: 0.8 !important;
  filter: blur(1.8px) saturate(1) contrast(1.07) brightness(0.76) !important;
  transform: translateZ(0) scale(1.04) !important;
}

.dashboard-feature-card-open {
  border-radius: 18px !important;
}

body.auth-locked #auth-state {
  display: grid !important;
  place-items: center !important;
  align-items: center !important;
  padding: clamp(28px, 5vh, 58px) clamp(18px, 4vw, 54px) !important;
}

body.auth-locked #auth-state .auth-layout {
  width: min(1080px, calc(100vw - 48px)) !important;
  min-height: clamp(520px, 72vh, 680px) !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  transform: none !important;
}

@media (max-width: 980px) {
  body.auth-locked #auth-state {
    align-items: start !important;
    padding: 84px 14px 24px !important;
  }

  body.auth-locked #auth-state .auth-layout {
    width: min(620px, calc(100vw - 28px)) !important;
    min-height: auto !important;
    grid-template-columns: 1fr !important;
  }

}

/* v14: fail-safe for overview cards when motion is disabled or animations do not run. */
.dashboard-feature-card {
  opacity: 1;
  visibility: visible;
}

/* v17: restore the original overview deck motion and apply it to Stats too. */
.dashboard-feature-grid {
  perspective: 1200px !important;
}

.dashboard-feature-card,
.dashboard-feature-card--stats,
.dashboard-feature-card--compare,
.dashboard-feature-card--prematch,
.dashboard-feature-card--extension,
.dashboard-feature-card--tools {
  --tilt-x: 0deg !important;
  --tilt-y: 0deg !important;
  --card-lift: 0px !important;
  --card-scale: 1 !important;
  border-radius: 22px !important;
  clip-path: inset(0 0 0 0 round 22px);
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.26),
    0 0 0 rgba(var(--feature-glow), 0),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  opacity: 1;
  translate: 0 0;
  transform: translate3d(0, var(--card-lift), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(var(--card-scale)) !important;
  transform-style: preserve-3d !important;
  contain: none !important;
  animation: featureCardIn 760ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 260ms ease,
    filter 220ms ease !important;
}

.dashboard-feature-card:hover,
.dashboard-feature-card:focus-visible {
  --card-lift: -14px !important;
  --card-scale: 1.018 !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(var(--feature-glow), 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  filter: saturate(1.12) !important;
  outline: none !important;
  transform: translate3d(0, -14px, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.018) !important;
}

.dashboard-feature-card:active {
  --card-lift: -8px !important;
  --card-scale: 0.992 !important;
  transform: translate3d(0, -8px, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(0.992) !important;
}

.dashboard-feature-card::before,
.dashboard-feature-card::after {
  border-radius: inherit !important;
}

.dashboard-feature-card:hover::after,
.dashboard-feature-card:focus-visible::after {
  opacity: 1 !important;
  backdrop-filter: blur(5.5px) saturate(0.88) brightness(0.78) !important;
  -webkit-backdrop-filter: blur(5.5px) saturate(0.88) brightness(0.78) !important;
}

.dashboard-feature-card-media,
.dashboard-feature-card--stats .dashboard-feature-card-media {
  inset: 0 !important;
  border-radius: inherit !important;
  overflow: hidden !important;
}

.dashboard-feature-card-media img,
.dashboard-feature-card--stats .dashboard-feature-card-media img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0.82 !important;
  filter: saturate(0.98) contrast(1.1) brightness(0.9) !important;
  transform: scale(1.055) !important;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms ease,
    opacity 360ms ease !important;
}

.dashboard-feature-card:hover .dashboard-feature-card-media img,
.dashboard-feature-card:focus-visible .dashboard-feature-card-media img,
.dashboard-feature-card--stats:hover .dashboard-feature-card-media img,
.dashboard-feature-card--stats:focus-visible .dashboard-feature-card-media img {
  opacity: 0.74 !important;
  filter: blur(2.8px) saturate(0.96) contrast(1.08) brightness(0.7) !important;
  transform: scale(1.12) !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media img {
  object-position: 72% center !important;
  animation: featureStatsDeckPan 8.8s ease-in-out infinite alternate !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.dashboard-feature-card--stats .dashboard-feature-card-media::after {
  content: "" !important;
  position: absolute !important;
  z-index: 3 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 22% !important;
  pointer-events: none !important;
  display: block !important;
  background: linear-gradient(90deg, rgba(3, 6, 11, 0), rgba(3, 6, 11, 0.4) 54%, rgba(3, 6, 11, 0.96) 100%) !important;
}

.dashboard-feature-card-copy {
  opacity: 1 !important;
  filter: none !important;
  transform: translateZ(42px) !important;
  transition:
    opacity 190ms ease,
    filter 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.dashboard-feature-card:hover .dashboard-feature-card-copy,
.dashboard-feature-card:focus-visible .dashboard-feature-card-copy {
  opacity: 0.58 !important;
  filter: blur(1.1px) !important;
  transform: translateY(8px) translateZ(24px) scale(0.97) !important;
}

.dashboard-feature-card-open {
  width: clamp(74px, 7vw, 104px) !important;
  height: clamp(74px, 7vw, 104px) !important;
  border-radius: 30px !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.28), transparent 38%),
    linear-gradient(180deg, rgba(26, 32, 43, 0.82), rgba(7, 10, 16, 0.68)),
    rgba(var(--feature-glow), 0.14) !important;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(var(--feature-glow), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
  opacity: 0;
  transform: translate3d(-50%, -42%, 70px) scale(0.68) rotate(-8deg) !important;
  transition:
    opacity 190ms ease,
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 220ms ease !important;
}

.dashboard-feature-card-open::before {
  inset: 12px !important;
  border-radius: 22px !important;
}

.dashboard-feature-card-open::after {
  display: block !important;
}

.dashboard-feature-card-open svg {
  width: clamp(34px, 3.2vw, 48px) !important;
  height: clamp(34px, 3.2vw, 48px) !important;
  stroke-width: 1.65 !important;
}

.dashboard-feature-card:hover .dashboard-feature-card-open,
.dashboard-feature-card:focus-visible .dashboard-feature-card-open {
  opacity: 1 !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.34), transparent 40%),
    linear-gradient(180deg, rgba(31, 38, 50, 0.9), rgba(9, 12, 19, 0.76)),
    rgba(var(--feature-glow), 0.18) !important;
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.5),
    0 0 64px rgba(var(--feature-glow), 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transform: translate3d(-50%, -50%, 90px) scale(1) rotate(0deg) !important;
}

@keyframes featureCardIn {
  from {
    opacity: 0;
    clip-path: inset(12% 0 0 0 round 22px);
    translate: 0 34px;
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 22px);
    translate: 0 0;
  }
}

/* v18: stats card must keep the same rounded deck shell in every state. */
.dashboard-feature-card--stats,
.dashboard-feature-card--stats:hover,
.dashboard-feature-card--stats:focus-visible,
.dashboard-feature-card--stats:active {
  border-radius: 22px !important;
  clip-path: inset(0 0 0 0 round 22px);
}

/* v19: keep the old staggered bottom-up entrance instead of spawning all cards at once. */
.dashboard-feature-card:nth-child(1) {
  animation-delay: 0ms !important;
}

.dashboard-feature-card:nth-child(2) {
  animation-delay: 70ms !important;
}

.dashboard-feature-card:nth-child(3) {
  animation-delay: 140ms !important;
}

.dashboard-feature-card:nth-child(4) {
  animation-delay: 210ms !important;
}

.dashboard-feature-card:nth-child(5) {
  animation-delay: 280ms !important;
}

/* v21: unified black/cyan product language, compact request toast, and comparison rows. */
body.auth-locked,
body.auth-locked.auth-gate-open {
  overflow: hidden !important;
  scrollbar-width: none;
}

body.auth-locked .workspace,
body.auth-locked .dashboard-main {
  overflow: hidden !important;
  scrollbar-width: none !important;
}

body.auth-locked::-webkit-scrollbar,
body.auth-locked.auth-gate-open::-webkit-scrollbar,
body.auth-locked .workspace::-webkit-scrollbar,
body.auth-locked .dashboard-main::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body.auth-locked #auth-state {
  overflow: hidden !important;
}

.app-toast {
  position: fixed;
  z-index: 1000;
  top: clamp(18px, 2.4vh, 28px);
  left: 50%;
  min-width: 188px;
  max-width: min(520px, calc(100vw - 32px));
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(34, 213, 255, 0.24);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(246, 251, 255, 0.94);
  background:
    linear-gradient(180deg, rgba(14, 20, 29, 0.96), rgba(6, 9, 15, 0.94)),
    rgba(0, 0, 0, 0.82);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(34, 213, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
  animation: appToastIn 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
  pointer-events: none;
}

.app-toast::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-cyan);
  box-shadow: 0 0 16px rgba(34, 213, 255, 0.72);
}

.app-toast.is-busy::before {
  animation: appToastPulse 900ms ease-in-out infinite;
}

.app-toast.is-done::before {
  background: #e8fbff;
}

.app-toast.is-error {
  border-color: rgba(255, 117, 142, 0.34);
}

.app-toast.is-error::before {
  background: #ff758e;
  box-shadow: 0 0 16px rgba(255, 117, 142, 0.54);
}

@keyframes appToastIn {
  from {
    opacity: 0;
    transform: translate(-50%, -10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes appToastPulse {
  50% {
    opacity: 0.45;
    transform: scale(1.32);
  }
}

.dashboard-section-head::after {
  background: linear-gradient(90deg, rgba(34, 213, 255, 0.74), rgba(255, 255, 255, 0.22), transparent 72%) !important;
  box-shadow: 0 0 22px rgba(34, 213, 255, 0.14) !important;
}

.dashboard-tool-panel,
.dashboard-query-panel,
.dashboard-compare-placeholder,
.dashboard-compare-result,
.dashboard-tool-result {
  background:
    linear-gradient(180deg, rgba(12, 17, 25, 0.95), rgba(4, 7, 12, 0.91)),
    linear-gradient(135deg, rgba(34, 213, 255, 0.055), transparent 58%) !important;
}

.primary-button:not(.auth-button-faceit):not(.dashboard-topbar-auth-combined),
.tool-run-button,
#obs-widget-generate {
  color: #031016 !important;
  border-color: rgba(34, 213, 255, 0.42) !important;
  background:
    linear-gradient(180deg, #f6fdff, #8ceeff) !important;
  box-shadow:
    0 14px 34px rgba(34, 213, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.58) !important;
}

.dashboard-topbar-subscription,
.dashboard-topbar-subscription.is-active {
  border-color: rgba(34, 213, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(210, 245, 255, 0.96), rgba(120, 227, 255, 0.96) 52%, rgba(80, 189, 230, 0.98) 100%),
    #73ddff;
  color: #04131a;
  box-shadow:
    0 14px 28px rgba(34, 213, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -1px 0 rgba(7, 56, 78, 0.28);
}

.dashboard-topbar-subscription:hover,
.dashboard-topbar-subscription:focus-visible,
.dashboard-topbar-subscription.is-active:hover,
.dashboard-topbar-subscription.is-active:focus-visible {
  border-color: rgba(210, 245, 255, 0.7);
  box-shadow:
    0 18px 34px rgba(34, 213, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(7, 56, 78, 0.3);
}

/* v23: monochrome pass, calmer hover states, centered streamers/tools surfaces. */
.dashboard-section-head::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1), transparent 78%) !important;
  box-shadow: none !important;
}

.dashboard-tool-panel,
.dashboard-query-panel,
.dashboard-compare-placeholder,
.dashboard-compare-result,
.dashboard-tool-result {
  background:
    linear-gradient(180deg, rgba(13, 16, 22, 0.92), rgba(7, 10, 15, 0.9)),
    rgba(4, 6, 10, 0.82) !important;
}

.primary-button:not(.auth-button-faceit):not(.dashboard-topbar-auth-combined),
.tool-run-button,
#obs-widget-generate {
  color: #06090d !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: linear-gradient(180deg, #ffffff, #dbe3ea) !important;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

.primary-button:not(.auth-button-faceit):not(.dashboard-topbar-auth-combined):hover,
.primary-button:not(.auth-button-faceit):not(.dashboard-topbar-auth-combined):focus-visible,
.tool-run-button:hover,
.tool-run-button:focus-visible,
#obs-widget-generate:hover,
#obs-widget-generate:focus-visible {
  transform: none !important;
  filter: none !important;
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.dashboard-topbar-subscription,
.dashboard-topbar-subscription.is-active {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02) !important;
  color: #f7fbff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.26) !important;
}

.dashboard-topbar-subscription:hover,
.dashboard-topbar-subscription:focus-visible,
.dashboard-topbar-subscription.is-active:hover,
.dashboard-topbar-subscription.is-active:focus-visible {
  border-color: rgba(255, 255, 255, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.03) !important;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.app-toast {
  min-height: 46px !important;
  padding: 0 22px !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(9, 12, 18, 0.98), rgba(5, 7, 11, 0.96)),
    rgba(0, 0, 0, 0.86) !important;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

.app-toast::before {
  width: 10px !important;
  height: 10px !important;
  background: #eef5fb !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06) !important;
}

.app-toast.is-busy::before {
  background: linear-gradient(180deg, #ffffff, #cbd6df) !important;
}

.app-toast.is-done::before {
  background: #ffffff !important;
}

.app-toast.is-error {
  border-color: rgba(255, 148, 161, 0.28) !important;
}

.app-toast.is-error::before {
  background: #ff8298 !important;
  box-shadow: 0 0 0 4px rgba(255, 130, 152, 0.08) !important;
}

/* v24: calmer monochrome finish, guest prematch, centered compare, restored overview motion. */
html.auth-locked,
body.auth-locked,
body.auth-locked #auth-state,
body.auth-locked #auth-state .auth-layout {
  height: 100svh !important;
  max-height: 100svh !important;
  overflow: hidden !important;
  scrollbar-width: none !important;
}

html.auth-locked::-webkit-scrollbar,
body.auth-locked::-webkit-scrollbar,
body.auth-locked #auth-state::-webkit-scrollbar,
body.auth-locked #auth-state .auth-layout::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

#overview .dashboard-overview-title::before {
  background: radial-gradient(circle at 50% 62%, rgba(171, 187, 201, 0.14), transparent 60%) !important;
  filter: blur(18px) !important;
}

#overview .dashboard-overview-title::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(173, 188, 200, 0.1), transparent 78%) !important;
  box-shadow: none !important;
}

.dashboard-overview-title-accent {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: linear-gradient(180deg, #edf6fb, #d2dde7) !important;
  color: #061018 !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

.dashboard-overview-title-main {
  color: #f7fbff !important;
  background: none !important;
  -webkit-text-fill-color: #f7fbff !important;
  text-shadow:
    0 3px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(0, 0, 0, 0.42) !important;
}

.dashboard-feature-card,
.dashboard-feature-card--stats,
.dashboard-feature-card--compare,
.dashboard-feature-card--prematch,
.dashboard-feature-card--extension,
.dashboard-feature-card--tools {
  animation: featureCardRiseV24 760ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.dashboard-feature-card::before {
  background:
    radial-gradient(420px 320px at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(5, 7, 11, 0) 0%, rgba(5, 7, 11, 0.14) 42%, rgba(5, 7, 11, 0.9) 100%),
    radial-gradient(520px 340px at 50% 0%, rgba(255, 255, 255, 0.12), transparent 68%) !important;
  opacity: 0.96 !important;
}

.dashboard-feature-card::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 36%, transparent 82%) 0 0 / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 18%, rgba(4, 7, 12, 0.18) 48%, rgba(4, 7, 12, 0.38) 100%) !important;
  opacity: 0.84 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: featureCardEdgeInV24 820ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
  animation-delay: inherit !important;
}

.dashboard-feature-card-copy {
  opacity: 1 !important;
  filter: none !important;
  transform: translateY(0) translateZ(22px) !important;
}

.dashboard-feature-card:hover .dashboard-feature-card-copy,
.dashboard-feature-card:focus-visible .dashboard-feature-card-copy {
  opacity: 0.94 !important;
  filter: none !important;
  transform: translateY(0) translateZ(22px) !important;
}

.dashboard-feature-card:hover,
.dashboard-feature-card:focus-visible {
  --card-lift: -10px !important;
  --card-scale: 1.01 !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  filter: none !important;
  transform: translate3d(0, -10px, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.01) !important;
}

.dashboard-feature-card:active {
  transform: translate3d(0, -6px, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(0.995) !important;
}

.dashboard-feature-card:hover::after,
.dashboard-feature-card:focus-visible::after {
  opacity: 1 !important;
}

.dashboard-feature-card:hover .dashboard-feature-card-media img,
.dashboard-feature-card:focus-visible .dashboard-feature-card-media img {
  opacity: 0.78 !important;
  filter: saturate(1) contrast(1.05) brightness(0.78) !important;
  transform: scale(1.08) !important;
}

.dashboard-feature-card-open {
  width: 78px !important;
  height: 78px !important;
  border-radius: 26px !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(22, 28, 38, 0.82), rgba(7, 10, 16, 0.72)) !important;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  transform: translate3d(-50%, -48%, 40px) scale(0.86) !important;
}

.dashboard-feature-card:hover .dashboard-feature-card-open,
.dashboard-feature-card:focus-visible .dashboard-feature-card-open {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(24, 30, 40, 0.88), rgba(8, 11, 18, 0.78)) !important;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  transform: translate3d(-50%, -50%, 48px) scale(1) !important;
}

.app-toast {
  min-height: 50px !important;
  padding: 0 24px !important;
  border-radius: 18px !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  background:
    linear-gradient(180deg, rgba(10, 13, 18, 0.98), rgba(5, 7, 11, 0.96)),
    rgba(0, 0, 0, 0.88) !important;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.app-toast::before {
  width: 9px !important;
  height: 9px !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.05) !important;
}

@keyframes featureCardRiseV24 {
  from {
    opacity: 0;
    transform: translate3d(0, 36px, 0) scale(0.985);
    clip-path: inset(12% 0 0 0 round 22px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    clip-path: inset(0 0 0 0 round 22px);
  }
}

@keyframes featureCardEdgeInV24 {
  from {
    opacity: 0;
    background-size: 0 1px, 100% 100%;
    transform: translateY(20px);
  }

  to {
    opacity: 0.84;
    background-size: 100% 1px, 100% 100%;
    transform: translateY(0);
  }
}

/* v25: restore stronger overview entrance, remove cheap hover bounce, enlarge compare, and fully hide auth scroll artifacts. */
html.auth-locked,
body.auth-locked {
  overflow: clip !important;
  scrollbar-color: transparent transparent !important;
}

body.auth-locked {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
}

html.auth-locked body,
body.auth-locked #auth-state {
  width: 100vw !important;
  min-width: 100vw !important;
  overflow: clip !important;
  scrollbar-color: transparent transparent !important;
}

body.auth-locked #auth-state {
  padding-right: 24px !important;
}

body.auth-locked #auth-state::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 42px;
  height: 100vh;
  z-index: 60;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.98), rgba(6, 8, 12, 0.96)) !important;
}

body.auth-locked #auth-state::-webkit-scrollbar,
body.auth-locked #auth-state::-webkit-scrollbar-thumb,
body.auth-locked #auth-state::-webkit-scrollbar-track,
body.auth-locked #auth-state .auth-layout::-webkit-scrollbar,
body.auth-locked #auth-state .auth-layout::-webkit-scrollbar-thumb,
body.auth-locked #auth-state .auth-layout::-webkit-scrollbar-track {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  display: none !important;
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: none !important;
}

.primary-button:not(.auth-button-faceit):not(.dashboard-topbar-auth-combined):hover,
.primary-button:not(.auth-button-faceit):not(.dashboard-topbar-auth-combined):focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 36px rgba(0, 0, 0, 0.22) !important;
}

#overview .dashboard-feature-grid {
  perspective: 1320px !important;
}

.dashboard-feature-card,
.dashboard-feature-card--stats,
.dashboard-feature-card--compare,
.dashboard-feature-card--prematch,
.dashboard-feature-card--extension,
.dashboard-feature-card--tools {
  animation: featureCardRiseV25 880ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.dashboard-feature-card::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 44%, transparent 82%) 0 0 / 0 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 18%, rgba(4, 7, 12, 0.18) 48%, rgba(4, 7, 12, 0.38) 100%) !important;
  opacity: 0.88 !important;
  animation: featureCardEdgeSweepV25 960ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
  animation-delay: inherit !important;
}

.dashboard-feature-card-copy strong {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  font-size: clamp(24px, 1.7vw, 36px) !important;
  line-height: 0.94 !important;
}

.dashboard-feature-card--prematch .dashboard-feature-card-copy strong,
.dashboard-feature-card--tools .dashboard-feature-card-copy strong {
  font-size: clamp(22px, 1.45vw, 31px) !important;
}

.dashboard-feature-card:hover,
.dashboard-feature-card:focus-visible {
  --card-lift: -12px !important;
  --card-scale: 1.012 !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 30px 62px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  transform: translate3d(0, -12px, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.012) !important;
}

.dashboard-feature-card:hover .dashboard-feature-card-media img,
.dashboard-feature-card:focus-visible .dashboard-feature-card-media img {
  opacity: 0.72 !important;
  filter: blur(1.4px) saturate(0.98) contrast(1.06) brightness(0.72) !important;
  transform: scale(1.095) !important;
}

.dashboard-feature-card-open {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(18, 23, 31, 0.76), rgba(7, 10, 16, 0.68)) !important;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.dashboard-feature-card:hover .dashboard-feature-card-open,
.dashboard-feature-card:focus-visible .dashboard-feature-card-open {
  border-color: rgba(255, 255, 255, 0.24) !important;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(21, 27, 36, 0.9), rgba(8, 11, 18, 0.8)) !important;
}

.app-toast {
  text-transform: none !important;
}

.app-toast.is-busy::before {
  background: #edf3f8 !important;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04) !important;
}

.dashboard-topbar-meta {
  gap: 14px !important;
}

.dashboard-topbar-userbar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.dashboard-topbar-userbar .dashboard-topbar-control-wrap,
.dashboard-topbar-userbar .dashboard-topbar-account {
  display: inline-flex;
  align-items: center;
}

.dashboard-topbar-userbar .dashboard-topbar-control,
.dashboard-topbar-userbar .dashboard-topbar-profile {
  min-height: 46px !important;
  border-radius: 14px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dashboard-topbar-userbar .dashboard-topbar-control:hover,
.dashboard-topbar-userbar .dashboard-topbar-control:focus-visible,
.dashboard-topbar-userbar .dashboard-topbar-control[aria-expanded="true"],
.dashboard-topbar-userbar .dashboard-topbar-profile:hover,
.dashboard-topbar-userbar .dashboard-topbar-profile:focus-visible,
.dashboard-topbar-userbar .dashboard-topbar-profile[aria-expanded="true"] {
  transform: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dashboard-topbar-alert {
  min-width: 40px !important;
  padding: 0 6px !important;
  justify-content: center;
}

.dashboard-topbar-alert svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.9;
  color: rgba(233, 241, 251, 0.82);
  transition: color 160ms ease, filter 160ms ease;
}

.dashboard-topbar-userbar .dashboard-topbar-control:hover svg,
.dashboard-topbar-userbar .dashboard-topbar-control:focus-visible svg,
.dashboard-topbar-userbar .dashboard-topbar-control[aria-expanded="true"] svg {
  color: rgba(118, 223, 255, 0.98);
  filter: drop-shadow(0 0 10px rgba(83, 202, 245, 0.28));
}

.dashboard-topbar-alert-badge {
  position: absolute !important;
  top: -5px;
  right: -3px;
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px !important;
  font-weight: 900;
  line-height: 1;
  color: #f6fcff !important;
  background: linear-gradient(180deg, #4dd8ff, #118ebc) !important;
  border: 1px solid rgba(196, 243, 255, 0.35) !important;
  box-shadow: 0 10px 20px rgba(22, 132, 172, 0.28) !important;
}

.dashboard-topbar-profile {
  min-width: 0 !important;
  padding: 4px 4px 4px 6px !important;
  gap: 10px !important;
  overflow: visible !important;
}

.dashboard-topbar-userbar .dashboard-topbar-profile::before {
  content: none !important;
}

.dashboard-topbar-avatar-shell {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.dashboard-topbar-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 13px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: filter 180ms ease, transform 180ms ease;
}

.dashboard-topbar-userbar .dashboard-topbar-profile:hover .dashboard-topbar-avatar,
.dashboard-topbar-userbar .dashboard-topbar-profile:focus-visible .dashboard-topbar-avatar,
.dashboard-topbar-userbar .dashboard-topbar-profile[aria-expanded="true"] .dashboard-topbar-avatar {
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.24)) drop-shadow(0 0 10px rgba(74, 202, 255, 0.14));
}

.dashboard-topbar-presence {
  position: absolute;
  right: -2px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid #090d14;
  background: linear-gradient(180deg, #7ff0d4, #2ab59b);
  box-shadow: 0 0 0 6px rgba(37, 187, 157, 0.08), 0 0 14px rgba(81, 240, 205, 0.28);
}

.dashboard-topbar-popover,
.dashboard-topbar-menu {
  top: calc(100% + 14px) !important;
}

.dashboard-topbar-alert-head {
  padding: 18px 18px 8px;
  margin-bottom: 0 !important;
}

.dashboard-topbar-alert-head .dashboard-topbar-popover-kicker {
  color: rgba(130, 193, 227, 0.68) !important;
}

.dashboard-topbar-alert-head strong {
  font-size: 18px !important;
}

.dashboard-topbar-alert-head .dashboard-topbar-popover-text {
  margin-bottom: 0 !important;
  color: rgba(186, 198, 216, 0.78) !important;
  font-size: 13px !important;
}

.dashboard-topbar-alert-menu {
  width: 344px !important;
  padding: 0 0 12px !important;
  border-radius: 20px !important;
  background:
    radial-gradient(190px 140px at 94% 6%, rgba(88, 200, 241, 0.16), transparent 72%),
    radial-gradient(180px 120px at 0% 100%, rgba(255, 148, 92, 0.08), transparent 76%),
    linear-gradient(180deg, rgba(28, 35, 46, 0.985), rgba(15, 19, 28, 0.985)) !important;
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.dashboard-notification-list {
  display: grid;
  gap: 10px;
  max-height: 420px !important;
  padding: 14px 14px 0;
  overflow-y: auto;
}

.dashboard-notification-item {
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 16px 16px 16px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(23, 29, 38, 0.96), rgba(13, 18, 25, 0.96)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(0, 0, 0, 0.18);
}

.dashboard-notification-item:last-child {
  min-height: 0 !important;
}

.dashboard-notification-icon {
  width: 42px !important;
  height: 42px !important;
  margin-top: 0 !important;
  border-radius: 14px;
  background:
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(28, 40, 52, 0.98), rgba(12, 17, 24, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.18);
}

.dashboard-notification-content {
  gap: 6px !important;
}

.dashboard-notification-content strong {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.dashboard-notification-content > span {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: rgba(185, 197, 214, 0.72) !important;
}

.dashboard-notification-action {
  width: auto !important;
  min-height: 34px !important;
  margin-top: 3px !important;
  padding: 0 13px !important;
  border-radius: 12px !important;
  justify-content: flex-start !important;
  background:
    linear-gradient(135deg, rgba(255, 153, 98, 0.2), rgba(80, 189, 236, 0.18)),
    rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #edf6ff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.dashboard-notification-action:hover,
.dashboard-notification-action:focus-visible {
  transform: translateY(-1px) !important;
  border-color: rgba(99, 202, 245, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(255, 153, 98, 0.24), rgba(80, 189, 236, 0.24)),
    rgba(255, 255, 255, 0.05) !important;
}

.dashboard-notification-dot {
  top: 14px !important;
  right: 14px !important;
}

.dashboard-notification-pin {
  top: 15px !important;
  right: 14px !important;
}

.dashboard-notification-clear {
  width: calc(100% - 28px) !important;
  min-height: 42px !important;
  margin: 12px 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(22, 27, 35, 0.98), rgba(13, 17, 23, 0.98)) !important;
  color: rgba(236, 242, 249, 0.86) !important;
}

.dashboard-notification-clear:hover,
.dashboard-notification-clear:focus-visible {
  background:
    linear-gradient(180deg, rgba(27, 34, 43, 0.98), rgba(16, 21, 28, 0.98)) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.dashboard-topbar-menu {
  width: 318px !important;
  padding: 0 !important;
  border-radius: 22px !important;
  background:
    radial-gradient(180px 126px at 92% 4%, rgba(88, 200, 241, 0.14), transparent 76%),
    radial-gradient(190px 148px at 6% 100%, rgba(255, 147, 95, 0.08), transparent 78%),
    linear-gradient(180deg, rgba(27, 34, 44, 0.988), rgba(14, 18, 27, 0.988)) !important;
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
}

.dashboard-topbar-menu::after {
  left: 22px !important;
  right: 22px !important;
}

.dashboard-topbar-menu-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.dashboard-topbar-menu-hero:hover,
.dashboard-topbar-menu-hero:focus-visible {
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}

.dashboard-topbar-menu-hero-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(32, 43, 57, 0.98), rgba(14, 19, 27, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dashboard-topbar-menu-hero-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  text-align: left;
}

.dashboard-topbar-menu-hero-copy strong {
  color: #f6fbff;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 900;
}

.dashboard-topbar-menu-hero-copy span {
  color: rgba(140, 203, 236, 0.8);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-topbar-menu-hero-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex: 0 0 auto;
  opacity: 0.82;
  background: currentColor;
  color: rgba(243, 248, 255, 0.92);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6l-6-6z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6l-6-6z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.dashboard-topbar-menu-group {
  position: relative;
  z-index: 1;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.dashboard-topbar-menu-item.dashboard-topbar-menu-item-link {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: rgba(230, 237, 246, 0.86);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.dashboard-topbar-menu-item.dashboard-topbar-menu-item-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: 0.9;
}

.dashboard-topbar-menu-item.dashboard-topbar-menu-item-link:hover,
.dashboard-topbar-menu-item.dashboard-topbar-menu-item-link:focus-visible {
  color: #f7fbff;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
  outline: none;
}

.dashboard-topbar-menu-separator {
  margin: 8px 4px;
  border: 0 !important;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent) !important;
}

.dashboard-topbar-menu-item-danger {
  color: rgba(255, 176, 155, 0.96) !important;
}

.dashboard-topbar-menu-item-danger:hover,
.dashboard-topbar-menu-item-danger:focus-visible {
  color: #ffd4c4 !important;
  border-color: rgba(255, 143, 111, 0.14) !important;
  background: rgba(255, 120, 88, 0.08) !important;
}

@media (max-width: 920px) {
  .dashboard-topbar-userbar {
    gap: 8px;
  }

  .dashboard-topbar-userbar .dashboard-topbar-control,
  .dashboard-topbar-userbar .dashboard-topbar-profile {
    min-height: 46px !important;
  }

  .dashboard-topbar-alert-menu,
  .dashboard-topbar-menu {
    right: -4px;
  }
}
