/* Shared project palette and component variables. */

:root {
  --nx-accent-rgb: 76, 201, 255;
  --nx-accent: rgb(var(--nx-accent-rgb));
  --nx-accent-light: #87ddff;
  --nx-accent-deep: #319fd7;
  --nx-danger-rgb: 251, 71, 75;
  --nx-danger: rgb(var(--nx-danger-rgb));
  --nx-accent-soft: rgba(76,201,255,.14);
  --nexus-black: #0b0c0f;
  --nexus-panel: #1b1d24;
  --nexus-panel-2: #1b1d24;
  --nexus-border: rgba(103,205,255,.18);
  --bg: #0b0c0f;
  --bg-soft: #0f1014;
  --panel: #17191e;
  --panel-solid: #17191e;
  --panel-light: #1b1d22;
  --line: rgba(109,210,255,.13);
  --line-strong: rgba(109,210,255,.38);
  --text: #ffffff;
  --muted: #9297a3;
  --blue: var(--nx-accent);
  --blue-2: var(--nx-accent-light);
  --cyan: #77d7ff;
  --violet: #75a7ff;
  --shadow: 0 24px 70px rgba(27, 29, 36, 0.5);
  --nexus-bg: #0b0c0f;
  --nexus-surface: #17191e;
  --nexus-surface-raised: #1b1d22;
  --nexus-bg-elevated: #17191e;
  --nexus-surface-soft: #14161a;
  --nexus-border-strong: rgba(123,220,255,.32);
  --card: #17191e;
  --coin-blue: var(--nx-accent);
  --coin-blue2: var(--nx-accent-deep);
  --coin-card: #17191e;
  --coin-border: rgba(103,205,255,.18);
  --ar-card: #17191e;
  --ad-cyan: #77d7ff;
  --ad-bg: #0b0c0f;
  --ad-panel: #17191e;
  --ad-line: rgba(103,205,255,.18);
  --nexus-text: #ffffff;
  --nexus-muted: #9297a3;
}

/* Page layout and sizing. */

.hero {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-visual {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-copy {
  min-width: 0;
}

@media (min-width: 981px) {
  .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr) !important;
    gap: 24px !important;
  }
  .hero-copy {
    max-width: 760px;
  }
}

@media (min-width: 821px) and (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-visual {
    min-height: 360px !important;
    margin-top: -24px !important;
  }
}

.brand-mark {
  transform: none !important;
  clip-path: none !important;
  border: 1px solid rgba(var(--nx-accent-rgb), 0.3) !important;
  border-radius: 50% !important;
  background: #1b1d24 url("/assets/nexus-newyear.png?v=20261111newyear1") center / cover no-repeat !important;
  box-shadow: 0 0 24px rgba(var(--nx-accent-rgb), 0.28) !important;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  display: none !important;
}

body :is(.ambient, .ambient-one, .ambient-two) {
  display: none !important;
}

body :is(
  .coin-hero,
  .cases-hero,
  .market-hero,
  .activity-hero,
  .history-hero,
  .legal-hero,
  .cash-intro,
  .login-showcase,
  .support-intro,
  .archive-heading,
  .dashboard-heading
) {
  box-sizing: border-box !important;
  padding: clamp(26px, 3.25vw, 44px) !important;
  overflow: hidden;
  border-radius: 24px !important;
}

@media (max-width: 680px) {
  body :is(
    .coin-hero,
    .cases-hero,
    .market-hero,
    .activity-hero,
    .history-hero,
    .legal-hero,
    .cash-intro,
    .login-showcase,
    .support-intro,
    .archive-heading,
    .dashboard-heading
  ) {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
}

body .market-card-server {
  display: block;
  padding: 0 !important;
}

body .moderation-tabs,
body .archive-filters,
body .moderation-list {
  gap: 14px !important;
}

body .buyers-section-wide {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
  padding: 28px !important;
  overflow: hidden;
  border-radius: 24px !important;
}

body .buyers-section-wide .section-heading {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body .buyers-section-wide .buyers-table {
  overflow: hidden;
  border-radius: 14px !important;
}

body .buyers-section-wide .live-pill {
  padding: 0 !important;
}

@media (max-width: 620px) {
  body .buyers-section-wide {
    padding: 18px 14px !important;
    border-radius: 18px !important;
  }
}

/* Shared navigation, footer and seasonal decorations. */

html,body {
  background: #0b0c0f !important;
  color: #fff !important;
}

body,.market-body,.coin-shop-page,.cases-page,.activity-page,.cabinet-page,.archive-page,.support-page,.admin-page,.market-page {
  background-color: #0b0c0f !important;
  background-image: radial-gradient(circle at 16% 4%,rgba(76,201,255,.065),transparent 28rem),radial-gradient(circle at 82% 18%,rgba(137,120,255,.045),transparent 31rem),linear-gradient(180deg,#0b0c0f 0,#0d0e12 55%,#0b0c0f 100%) !important;
}

body:before {
  opacity: .22 !important;
  background-image: linear-gradient(rgba(94,191,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(94,191,255,.025) 1px,transparent 1px) !important;
  background-size: 46px 46px !important;
}

.nexus-unified-theme body>main,.nexus-unified-theme body>main[class],.nexus-unified-theme body>.activity-main,.nexus-unified-theme body>.admin-shell,.nexus-unified-theme body>.archive-main,.nexus-unified-theme body>.cabinet-main,.nexus-unified-theme body>.cases-main,.nexus-unified-theme body>.coin-main,.nexus-unified-theme body>.market-shell,.nexus-unified-theme body>.store-main,.nexus-unified-theme body>.support-main,.nexus-unified-theme body>.users-main {
  background-color: transparent !important;
  background-image: none !important;
}

::selection {
  background: rgba(76,201,255,.38) !important;
}

.ambient-one {
  background: rgba(45,157,255,.1) !important;
}

.ambient-two {
  background: rgba(104,72,255,.08) !important;
}

a {
  color: inherit;
}

.unified-header {
  position: sticky !important;
  z-index: 80 !important;
  top: 29px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(103,205,255,.16) !important;
  border-radius: 0 !important;
  background: rgba(8,9,14,.88) !important;
  box-shadow: 0 15px 45px rgba(0,0,0,.22) !important;
  backdrop-filter: blur(18px) !important;
  transition: top .28s ease !important;
}

.nexus-garland-hidden .unified-header {
  top: 0 !important;
}

.unified-header-row {
  width: min(1180px,calc(100% - 40px)) !important;
  min-height: 76px !important;
  height: auto !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}

.unified-header .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.unified-header .brand-mark {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
}

.unified-header .brand-copy {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1 !important;
}

.unified-header .brand-copy b {
  color: #fff !important;
  font: 800 18px/1 Unbounded,sans-serif !important;
  letter-spacing: .07em !important;
}

.unified-header .brand-copy small {
  margin-top: 6px !important;
  color: #87ddff !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  letter-spacing: .45em !important;
}

.unified-nav {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  gap: 4px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.unified-nav>a {
  position: relative !important;
  display: flex !important;
  min-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #92a4b5 !important;
  background: transparent !important;
  font: 800 .81rem/1 Manrope,sans-serif !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.unified-nav>a:hover,.unified-nav>a.active {
  color: #fff !important;
  background: rgba(76,201,255,.12) !important;
}

.unified-nav>a.active:not(.unified-account):after {
  content: '' !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 3px !important;
  left: 0 !important;
  width: 15px !important;
  height: 2px !important;
  margin: auto !important;
  border-radius: 4px !important;
  background: #77d7ff !important;
  box-shadow: 0 0 8px rgba(119,215,255,.8) !important;
}

.unified-account {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  min-width: max-content !important;
  padding: 5px 9px !important;
  border: 1px solid rgba(103,205,255,.13) !important;
  background: rgba(76,201,255,.045) !important;
}

.unified-account-copy {
  display: block !important;
  text-align: left !important;
}

.unified-footer-top {
  grid-template-columns: 1.15fr repeat(3,minmax(160px,1fr)) !important;
  padding-bottom: 120px !important;
}

.unified-footer {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(103,205,255,.16) !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: linear-gradient(180deg,rgba(10,12,19,.98),#08090e) !important;
  box-shadow: none !important;
}

.unified-footer .shell {
  width: min(1180px,calc(100% - 40px)) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.unified-footer-top {
  display: grid !important;
  gap: 32px !important;
  padding-top: 48px !important;
}

.unified-footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  min-height: 66px !important;
  border-top: 1px solid rgba(103,205,255,.1) !important;
  color: #8296a8 !important;
}

.unified-footer-links {
  display: grid !important;
  align-content: start !important;
  gap: 9px !important;
}

.unified-footer-links h3 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font: 700 .78rem Unbounded,sans-serif !important;
}

.unified-footer-links a {
  color: #91a6b8 !important;
  text-decoration: none !important;
  font-size: .76rem !important;
}

.unified-footer-about {
  grid-column: 1/-1 !important;
  margin: 0 !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(103,205,255,.1) !important;
  color: #8296a8 !important;
  font-size: .76rem !important;
  line-height: 1.65 !important;
}

.unified-footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-project {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-project img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border: 1px solid rgba(119,215,255,.28);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(76,201,255,.2);
}

.footer-project span,.footer-metrika span:last-child {
  display: grid;
  gap: 3px;
}

.footer-project b {
  font-size: .96rem;
  letter-spacing: .08em;
}

.footer-project small,.footer-metrika small {
  color: #9ba9bf;
  font-size: .7rem;
}

.footer-metrika {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  padding: 9px 13px 9px 10px;
  border: 1px solid rgba(157,224,255,.28);
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(135deg,rgba(35,113,168,.25),rgba(33,53,106,.2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 8px 24px rgba(0,33,72,.14);
  transition: .2s ease;
}

.footer-metrika:after {
  content: '';
  position: absolute;
  right: -14px;
  top: -18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(150,226,255,.1);
}

.footer-metrika:hover {
  border-color: rgba(157,224,255,.58);
  background: linear-gradient(135deg,rgba(41,139,199,.32),rgba(45,69,137,.28));
  transform: translateY(-1px);
}

.footer-metrika-mark {
  display: grid !important;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(224,248,255,.35);
  border-radius: 50%;
  color: #eafaff;
  background: radial-gradient(circle at 35% 30%,#a9ecff,#419bd4 62%,#23598a);
  box-shadow: 0 0 14px rgba(103,211,255,.32);
  font-size: 1rem;
  font-weight: 900;
}

.footer-metrika b {
  font-size: .76rem;
  color: #e9faff;
}

.unified-footer-links a:hover {
  color: #87ddff !important;
}

.unified-footer-about {
  border-color: rgba(103,205,255,.1) !important;
}

.brand-mark {
  box-shadow: 0 0 28px rgba(76,201,255,.25) !important;
}

.unified-account-avatar:not(img),.cabinet-icon,.cabinet-header-avatar,.archive-profile-fallback,.identity-avatar-fallback {
  border-color: rgba(76,201,255,.27) !important;
  color: #87ddff !important;
  background: linear-gradient(145deg,rgba(31,125,186,.34),rgba(12,15,24,.94)) !important;
}

body :is(.panel,.coin-form-card,.role-preview-card,.coin-shop-selectors,.coin-balance-card,.case-card,.cases-panel,.market-panel,.market-card,.market-inventory-item,.activity-card,.activity-calendar,.activity-summary,.dashboard-panel,.identity-card,.login-card,.cabinet-login-card,.history-panel,.legal-document,.support-card,.cash-card,.archive-panel,.moderation-panel,.ticket-sidebar,.ticket-chat) {
  border-color: rgba(103,205,255,.15) !important;
  background: linear-gradient(145deg,rgba(20,23,35,.96),rgba(10,12,19,.98)) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.3) !important;
}

.nexus-winter-snow {
  z-index: 72 !important;
}

.nexus-winter-snow i {
  display: block !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: rgba(226,246,255,var(--snow-alpha));
  font: 400 var(--snow-size)/1 serif;
  text-shadow: 0 0 7px rgba(145,220,255,.65);
  transform-origin: center;
  animation: nexusSnowFall var(--snow-speed) linear var(--snow-delay) infinite !important;
}

.nexus-winter-aurora {
  position: fixed;
  z-index: -1;
  inset: -25%;
  pointer-events: none;
  opacity: .58;
  background: radial-gradient(ellipse at 18% 20%,rgba(38,168,255,.18),transparent 30%),radial-gradient(ellipse at 78% 28%,rgba(72,90,255,.16),transparent 31%),radial-gradient(ellipse at 48% 82%,rgba(21,211,220,.1),transparent 27%);
  filter: blur(32px);
  animation: nexusAurora 14s ease-in-out infinite alternate;
}

@keyframes nexusAurora {
  0% {
    transform: translate3d(-3%,-2%,0) rotate(-2deg) scale(1);
  }
  50% {
    transform: translate3d(3%,2%,0) rotate(2deg) scale(1.07);
  }
  100% {
    transform: translate3d(-1%,4%,0) rotate(-1deg) scale(1.03);
  }
}

@keyframes nexusSnowFall {
  0% {
    transform: translate3d(0,-10vh,0) rotate(0deg);
  }
  100% {
    transform: translate3d(var(--snow-drift),112vh,0) rotate(540deg);
  }
}

.nexus-winter-bank {
  height: 125px !important;
  opacity: 0;
  transform: translateY(85px);
  background: radial-gradient(240px 70px at 2% 100%,#e8f7ff 0 70%,transparent 71%),radial-gradient(320px 92px at 25% 100%,#dcefff 0 70%,transparent 71%),radial-gradient(340px 88px at 53% 100%,#f2faff 0 70%,transparent 71%),radial-gradient(360px 105px at 82% 100%,#d8ecfb 0 70%,transparent 71%),radial-gradient(260px 76px at 100% 100%,#edf8ff 0 70%,transparent 71%) !important;
  filter: drop-shadow(0 -9px 18px rgba(95,173,220,.15)) !important;
  animation: nexusSnowBankRise 1.15s cubic-bezier(.2,.9,.25,1) .15s forwards;
}

@keyframes nexusSnowBankRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nexus-winter-snowman {
  bottom: 14px !important;
  width: 155px !important;
  height: 155px !important;
  border: 0 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  pointer-events: auto !important;
  filter: drop-shadow(0 13px 15px rgba(0,18,35,.34)) !important;
  animation: nexusSnowmanArrive .9s cubic-bezier(.2,.9,.25,1) both !important;
  transition: filter .25s ease !important;
}

.nexus-winter-snowman--left {
  left: max(8px,calc((100vw - 1180px)/2 - 150px)) !important;
  background-image: url('/assets/nexus-snowman-teal-v1.png?v=20261122a') !important;
}

.nexus-winter-snowman--center {
  left: 50% !important;
  transform: translateX(-50%) !important;
  background-image: url('/assets/nexus-snowman-blue-v1.png?v=20261122a') !important;
  animation-delay: .12s !important;
}

.nexus-winter-snowman:hover {
  filter: drop-shadow(0 15px 19px rgba(0,18,35,.38)) drop-shadow(0 0 13px rgba(103,215,255,.6)) !important;
  animation: nexusSnowmanHello .7s ease-in-out infinite alternate !important;
}

@keyframes nexusSnowmanArrive {
  from {
    opacity: 0;
    margin-bottom: -55px;
    filter: blur(4px);
  }
  to {
    opacity: 1;
    margin-bottom: 0;
    filter: blur(0);
  }
}

@keyframes nexusSnowmanHello {
  from {
    margin-bottom: 0;
  }
  to {
    margin-bottom: 10px;
  }
}

.nexus-garland {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 29px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 0 7px;
  pointer-events: none;
  background: rgba(8,9,14,.94);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .28s ease,transform .28s ease;
}

.nexus-garland.is-hidden {
  opacity: 0;
  transform: translateY(-34px);
}

.nexus-garland:before {
  content: '';
  position: absolute;
  top: -8px;
  left: -1%;
  width: 102%;
  height: 20px;
  border-bottom: 2px solid #242838;
  border-radius: 0 0 50% 50%;
}

.nexus-garland i {
  position: relative;
  width: 7px;
  height: 13px;
  margin-top: 8px;
  border-radius: 55% 55% 48% 48%;
  background: hsl(calc(var(--lamp-index)*47deg),90%,60%);
  box-shadow: 0 0 7px currentColor,0 0 15px currentColor;
  animation: nexusLamp 1.8s ease-in-out var(--lamp-delay) infinite;
  color: hsl(calc(var(--lamp-index)*47deg),90%,60%);
}

.nexus-garland i:before {
  content: '';
  position: absolute;
  top: -4px;
  left: 2px;
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: #34394a;
}

@keyframes nexusLamp {
  0%,100% {
    opacity: .42;
    filter: saturate(.8);
  }
  50% {
    opacity: 1;
    filter: saturate(1.35) brightness(1.25);
  }
}

.nexus-back-to-top {
  position: fixed;
  z-index: 95;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(106,211,255,.28);
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(10,13,21,.88);
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%,18px);
  transition: .22s ease;
}

.nexus-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
}

.nexus-back-to-top i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  color: #071018;
  background: #77d7ff;
  font-style: normal;
  font-weight: 900;
}

.nexus-back-to-top span {
  font-size: .78rem;
  font-weight: 800;
}

.nexus-page-transition,.page-transition {
  display: none !important;
}

.nexus-bg-symbols {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 8% 24%,rgba(45,181,255,.08),transparent 24rem),radial-gradient(circle at 92% 68%,rgba(104,72,255,.08),transparent 28rem);
}

.nexus-bg-symbols:before,.nexus-bg-symbols:after {
  content: '';
  position: absolute;
  width: 34vw;
  height: 34vw;
  min-width: 280px;
  min-height: 280px;
  border: 1px solid rgba(113,213,255,.06);
  border-radius: 42%;
  filter: blur(1px);
  animation: nexusBgOrbit 28s linear infinite;
}

.nexus-bg-symbols:before {
  top: -18vw;
  right: -10vw;
  box-shadow: inset 0 0 90px rgba(80,184,255,.035);
}

.nexus-bg-symbols:after {
  bottom: -22vw;
  left: -13vw;
  animation-direction: reverse;
  animation-duration: 36s;
  box-shadow: inset 0 0 100px rgba(103,76,255,.04);
}

.nexus-bg-symbols i {
  position: absolute;
  left: var(--symbol-x);
  top: var(--symbol-y);
  color: rgba(105,211,255,.14);
  font: 400 var(--symbol-size)/1 Georgia,serif;
  font-style: normal;
  text-shadow: 0 0 14px rgba(68,177,255,.26);
  will-change: transform,opacity;
  animation: nexusBgSymbol var(--symbol-duration) ease-in-out var(--symbol-delay) infinite;
}

.nexus-bg-symbols i:nth-child(3n) {
  color: rgba(137,120,255,.13);
  text-shadow: 0 0 15px rgba(112,89,255,.24);
}

.nexus-bg-symbols i:nth-child(4n) {
  color: rgba(218,244,255,.11);
}

body>main,body>.unified-footer,body>.nexus-mobile-info {
  position: relative;
  z-index: 2;
}

@keyframes nexusBgSymbol {
  0%,100% {
    opacity: .38;
    transform: translate3d(-8px,9px,0) rotate(-9deg) scale(.92);
  }
  50% {
    opacity: 1;
    transform: translate3d(14px,-18px,0) rotate(12deg) scale(1.12);
  }
}

@keyframes nexusBgOrbit {
  to {
    transform: rotate(360deg);
  }
}

body :is(.home-case-label,.home-case-steps b,.home-case-web-track b,.home-activity-label,.home-activity-points b,.home-activity-core small,.home-activity-token,.home-store-label,.home-store-features i,.home-store-product span,.home-store-badge b,.buyers-all-link) {
  color: #77d7ff !important;
}

body :is(.home-case-label:before,.home-store-label:before) {
  background: #77d7ff !important;
  box-shadow: 0 0 10px rgba(119,215,255,.65) !important;
}

body :is(.home-case-copy h2 em,.home-store-copy h2 em) {
  -webkit-text-stroke-color: #77d7ff !important;
  text-shadow: 0 0 20px rgba(119,215,255,.16) !important;
}

body :is(.home-case-feature,.home-activity-feature,.home-store-promo,.community-card,.mega-card,.support) {
  border-color: rgba(103,205,255,.16) !important;
  background-color: #0e1018 !important;
}

@media(max-width:1120px) {
  .unified-header-row {
    gap: 12px !important;
  }
  .unified-nav>a {
    padding: 9px 8px !important;
    font-size: .75rem !important;
  }
  .unified-account-copy {
    display: none !important;
  }
}

@media(max-width:850px) {
  .unified-header {
    top: 23px !important;
  }
  .nexus-garland-hidden .unified-header {
    top: 0 !important;
  }
  .unified-header-row {
    width: min(100% - 24px,1180px) !important;
    min-height: 68px !important;
  }
  .unified-menu-button {
    display: block !important;
    margin-left: auto !important;
  }
  .unified-nav {
    position: absolute !important;
    top: 62px !important;
    right: 12px !important;
    left: 12px !important;
    display: none !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 12px !important;
    border: 1px solid rgba(103,205,255,.16) !important;
    border-radius: 15px !important;
    background: rgba(8,10,16,.98) !important;
    box-shadow: 0 20px 70px rgba(0,0,0,.52) !important;
  }
  .unified-nav.open {
    display: flex !important;
  }
  .unified-nav>a {
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 14px !important;
    font-size: .84rem !important;
  }
  .unified-nav>a.active:not(.unified-account):after {
    display: none !important;
  }
  .unified-account {
    margin-top: 4px !important;
    border-top: 1px solid rgba(103,205,255,.12) !important;
  }
  .unified-account-copy {
    display: block !important;
  }
  .nexus-garland {
    height: 23px;
  }
  .nexus-garland i:nth-child(even) {
    display: none;
  }
  .unified-footer {
    display: none !important;
  }
  .nexus-mobile-info {
    border-color: rgba(103,205,255,.16) !important;
    background: linear-gradient(155deg,#151825,#0c0e16) !important;
  }
  .nexus-winter-snowman {
    width: 105px !important;
    height: 105px !important;
  }
  .nexus-winter-snowman--center {
    display: none !important;
  }
  .nexus-winter-bank {
    height: 86px !important;
  }
  .unified-footer-top {
    grid-template-columns: 1fr 1fr !important;
  }
  .nexus-back-to-top {
    bottom: 91px;
  }
  .nexus-winter-snow i:nth-child(n+28) {
    display: none !important;
  }
}

@media(max-width:480px) {
  .unified-footer-top {
    grid-template-columns: 1fr !important;
  }
  .nexus-winter-snowman--left {
    left: auto !important;
    right: 4px !important;
  }
  .nexus-back-to-top span {
    display: none;
  }
  .nexus-back-to-top {
    padding: 7px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .nexus-winter-snow i,.nexus-winter-snowman,.nexus-garland i,.nexus-winter-bank,.nexus-bg-symbols i,.nexus-bg-symbols:before,.nexus-bg-symbols:after {
    animation: none !important;
    opacity: 1 !important;
    transform: none;
  }
}

/* Page backgrounds and content surfaces. */

html,
body,
body.market-body,
body.coin-shop-page,
body.cases-page,
body.activity-page,
body.cabinet-page,
body.archive-page,
body.support-page,
body.admin-page,
body.market-page,
body.magazin-page,
body.store-item-page,
body.users-page {
  background-color: #0b0c0f !important;
  background-image: radial-gradient(circle at 16% 4%, rgba(76, 201, 255, 0.065), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(137, 120, 255, 0.045), transparent 31rem),
    linear-gradient(180deg, #0b0c0f 0%, #0d0e12 55%, #0b0c0f 100%) !important;
}

body > main,
body > main[class] {
  background-color: transparent !important;
  background-image: none !important;
}

body :is(
  .panel,
  [class$="-panel"],
  [class$="-card"],
  .coin-shop-selectors,
  .activity-calendar,
  .activity-summary,
  .legal-document,
  .ticket-sidebar,
  .ticket-chat,
  .profile-metrics,
  .profile-game-nick,
  .profile-side-nav,
  .profile-panels,
  .admin-sidebar,
  .admin-content
) {
  border-color: rgba(103, 205, 255, 0.15) !important;
  background-color: #17191e !important;
  background-image: linear-gradient(145deg, #1c1e24, #14161a) !important;
}

.unified-header,
.nexus-garland {
  background-color: rgba(11, 12, 15, 0.92) !important;
}

.unified-footer {
  background-color: #0b0c0f !important;
  background-image: none !important;
}

.nexus-mobile-info,
.nexus-mobile-menu,
.nexus-mobile-dock {
  background-color: rgba(19, 21, 26, 0.97) !important;
  background-image: linear-gradient(155deg, #1b1d22, #111317) !important;
}

body :is(
  .server-icon,
  .purchase-kind-cell,
  .tag.cyan,
  .tag.blue,
  .tag.violet,
  .donor-place,
  .donor-avatar,
  .donor-row strong,
  .donor-discord-link,
  .profile-statistics-group h3,
  .profile-statistics-toggle-action,
  .profile-achievements-summary,
  .profile-achievement-status,
  .profile-achievement-footer b,
  .profile-progress-status,
  .profile-progress-section-head small,
  .profile-progress-section-head > b,
  .home-case-label,
  .home-case-steps b,
  .home-case-web-track b,
  .home-activity-label,
  .home-activity-points b,
  .home-activity-core small,
  .home-activity-token,
  .home-store-label,
  .home-store-features i,
  .home-store-product span,
  .home-store-badge b,
  [class$="-kicker"]
) {
  color: #77d7ff !important;
}

.home-case-label::before,
.home-store-label::before,
.home-activity-label::before {
  background-color: #77d7ff !important;
  box-shadow: 0 0 10px rgba(119, 215, 255, 0.62) !important;
}

/* Primary actions and navigation artwork. */

body :is(
  .btn-primary,
  .error-primary,
  .buy-button,
  .coin-buy,
  .case-open-button,
  .activity-claim,
  .cash-submit,
  .login-submit,
  .primary-button,
  .home-case-button,
  .home-store-button,
  .home-activity-button,
  .demo-download,
  .market-card button:not(.cancel),
  .market-transfer-submit,
  .market-create-submit,
  .moderation-save,
  .ticket-reply button,
  .ticket-create-form button,
  .admin-action:not(.danger)
) {
  color: #071018 !important;
  border-color: var(--nx-accent) !important;
  background: linear-gradient(135deg, var(--nx-accent-light), var(--nx-accent-deep)) !important;
  box-shadow: 0 12px 30px rgba(var(--nx-accent-rgb), .22) !important;
}

body :is(.dock-icon, .nexus-nav-icon, .nexus-mobile-avatar-fallback, .nexus-mobile-discord img) {
  filter: none !important;
}

body .home-activity-copy h2 .home-activity-title-number {
  color: var(--nx-danger);
}

body .home-activity-copy h2 em {
  color: #fff;
  -webkit-text-fill-color: currentColor;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--nx-accent-light);
  outline-offset: 3px;
}
