@font-face {
  font-family: "ParadoxHeading";
  src: url("../fonts/paradox/orbitron-black.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "ParadoxBody";
  src: url("../fonts/paradox/Audiowide-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "ParadoxButton";
  src: url("../fonts/paradox/BlackRolmer-nAaWP.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "ParadoxData";
  src: url("../fonts/paradox/good_timing_bd.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "ParadoxPlaceholder";
  src: url("../fonts/paradox/QuickingRegular-gw5KY.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #05060a;
  --bg-soft: #080b12;
  --panel: rgba(12, 15, 25, 0.88);
  --panel-strong: rgba(16, 20, 33, 0.96);
  --line: rgba(231, 241, 255, 0.13);
  --line-strong: rgba(232, 245, 255, 0.24);
  --text: #f4f8ff;
  --muted: #8f9bb3;
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, 0.32);
  --ice: #e8f5ff;
  --ice-soft: rgba(232, 245, 255, 0.18);
  --emerald: #35e7ae;
  --emerald-soft: rgba(53, 231, 174, 0.22);
  --crimson: #ff4269;
  --crimson-soft: rgba(255, 66, 105, 0.18);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --font-clean: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "ParadoxHeading", "Arial Black", var(--font-clean);
  --font-body: "ParadoxBody", var(--font-clean);
  --font-button: var(--font-data);
  --font-data: "ParadoxData", "ParadoxBody", var(--font-clean);
  --font-placeholder: "ParadoxPlaceholder", var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font-body);
  background:
    linear-gradient(115deg, rgba(168, 85, 247, 0.12), transparent 31%),
    linear-gradient(245deg, rgba(53, 231, 174, 0.08), transparent 26%),
    linear-gradient(180deg, #080912 0%, #05060a 54%, #07080d 100%);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 72px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
  pointer-events: none;
}

.paradox-effects {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.72;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 180ms ease, visibility 180ms ease;
}

body.effects-disabled .paradox-effects {
  visibility: hidden;
  opacity: 0;
}

@keyframes paradoxEdgeFlow {
  0% {
    background-position: -44% 0, 100% -44%, 144% 100%, 0 144%;
  }

  100% {
    background-position: 144% 0, 100% 144%, -44% 100%, 0 -44%;
  }
}

@keyframes paradoxPanelEdgeOrbit {
  0% {
    background-position: -68% 0, 100% -68%, 168% 100%, 0 168%;
  }

  100% {
    background-position: 168% 0, 100% 168%, -68% 100%, 0 -68%;
  }
}

@keyframes paradoxMenuSweep {
  0% {
    transform: translateX(-78%);
  }

  54%,
  100% {
    transform: translateX(108%);
  }
}

@keyframes paradoxInnerTrace {
  0% {
    background-position: -52% 0, 100% -52%, 152% 100%, 0 152%;
  }

  100% {
    background-position: 152% 0, 100% 152%, -52% 100%, 0 -52%;
  }
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 38px;
}

.paradox-banner {
  position: relative;
  height: clamp(164px, 18vw, 238px);
  min-height: 164px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #070912;
  box-shadow: var(--shadow);
}

.effects-toggle {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  min-height: 30px;
  border: 1px solid rgba(53, 231, 174, 0.32);
  border-radius: 6px;
  color: rgba(232, 245, 255, 0.88);
  font-family: var(--font-button);
  font-size: 11px;
  font-weight: 850;
  background:
    linear-gradient(135deg, rgba(53, 231, 174, 0.14), rgba(168, 85, 247, 0.16)),
    rgba(5, 7, 13, 0.68);
  overflow: hidden;
  padding: 0 12px;
  box-shadow: 0 0 24px rgba(53, 231, 174, 0.12);
  backdrop-filter: blur(10px);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.effects-toggle:hover {
  border-color: rgba(53, 231, 174, 0.56);
  color: #ffffff;
  transform: translateY(-1px);
}

body.effects-disabled .effects-toggle {
  border-color: rgba(255, 66, 105, 0.34);
  color: #ffdbe2;
  background:
    linear-gradient(135deg, rgba(255, 66, 105, 0.13), rgba(168, 85, 247, 0.1)),
    rgba(5, 7, 13, 0.72);
  box-shadow: 0 0 22px rgba(255, 66, 105, 0.1);
}

.paradox-banner::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(232, 245, 255, 0.76), rgba(168, 85, 247, 0.72), transparent) 0 0 / 30% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(53, 231, 174, 0.52), transparent) 100% 0 / 1px 42% no-repeat,
    linear-gradient(270deg, transparent, rgba(168, 85, 247, 0.68), rgba(255, 66, 105, 0.44), transparent) 100% 100% / 34% 1px no-repeat,
    linear-gradient(0deg, transparent, rgba(232, 245, 255, 0.42), rgba(53, 231, 174, 0.52), transparent) 0 100% / 1px 36% no-repeat;
  opacity: 0.66;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.34));
  animation: paradoxEdgeFlow 7.8s linear infinite;
}

.paradox-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.78), rgba(5, 6, 10, 0.08) 38%, rgba(5, 6, 10, 0.72)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  opacity: 0.18;
  pointer-events: none;
}

.paradox-banner img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 6, 10, 0.12) 58%, rgba(5, 6, 10, 0.74) 100%);
}

.banner-copy {
  position: absolute;
  left: clamp(18px, 3vw, 34px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: calc(50% - 24px);
  border: 1px solid rgba(232, 245, 255, 0.18);
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.62);
  padding: 0 12px;
  backdrop-filter: blur(8px);
}

.banner-forum-link {
  right: clamp(18px, 3vw, 34px);
  left: auto;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.banner-forum-link:hover {
  border-color: rgba(53, 231, 174, 0.5);
  background:
    linear-gradient(135deg, rgba(53, 231, 174, 0.1), rgba(168, 85, 247, 0.13)),
    rgba(5, 7, 13, 0.7);
  box-shadow: 0 0 22px rgba(53, 231, 174, 0.14);
  transform: translateY(-1px);
}

.banner-copy span {
  overflow: hidden;
  color: var(--emerald);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ucp-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.left-stack,
.content-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.content-stack {
  grid-template-rows: minmax(250px, 0.46fr) minmax(310px, 0.54fr);
  height: clamp(560px, calc(100dvh - 292px), 780px);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--panel);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
}

.panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.13), transparent 31%, rgba(53, 231, 174, 0.08));
}

.panel::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(232, 245, 255, 0.9), rgba(168, 85, 247, 0.86), transparent) 0 0 / 58% 2px no-repeat,
    linear-gradient(180deg, transparent, rgba(53, 231, 174, 0.64), rgba(232, 245, 255, 0.32), transparent) 100% 0 / 2px 62% no-repeat,
    linear-gradient(270deg, transparent, rgba(168, 85, 247, 0.82), rgba(255, 66, 105, 0.52), transparent) 100% 100% / 60% 2px no-repeat,
    linear-gradient(0deg, transparent, rgba(232, 245, 255, 0.5), rgba(53, 231, 174, 0.62), transparent) 0 100% / 2px 56% no-repeat;
  opacity: 0.76;
  filter:
    drop-shadow(0 0 7px rgba(168, 85, 247, 0.42))
    drop-shadow(0 0 12px rgba(53, 231, 174, 0.16));
  animation: paradoxPanelEdgeOrbit 26s linear infinite;
  will-change: background-position;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.login-panel,
.account-panel {
  min-height: 184px;
  padding: 20px;
}

.connect-panel {
  min-height: 270px;
  padding: 20px;
}

.content-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px;
}

.updates-panel {
  min-height: 0;
}

.panel-header {
  position: relative;
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.panel-header.horizontal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.eyebrow {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  color: var(--ice);
  font-family: var(--font-heading);
  font-weight: 850;
  line-height: 1.05;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-family: var(--font-data);
  font-size: 15px;
  line-height: 1.35;
}

.login-form {
  position: relative;
  display: grid;
  gap: 12px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(232, 245, 255, 0.15);
  border-radius: 6px;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  background: rgba(5, 7, 13, 0.74);
  padding: 0 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.login-form input:focus {
  border-color: rgba(168, 85, 247, 0.76);
  background: rgba(9, 11, 19, 0.92);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.16);
}

.primary-button,
.secondary-button,
.ghost-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-button);
  font-weight: 850;
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-button::after,
.secondary-button::after,
.ghost-button::after,
.effects-toggle::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), rgba(53, 231, 174, 0.7), transparent) 0 0 / 42% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.68), transparent) 100% 0 / 1px 46% no-repeat,
    linear-gradient(270deg, transparent, rgba(255, 66, 105, 0.48), rgba(168, 85, 247, 0.68), transparent) 100% 100% / 44% 1px no-repeat,
    linear-gradient(0deg, transparent, rgba(232, 245, 255, 0.48), transparent) 0 100% / 1px 42% no-repeat;
  opacity: 0.66;
  animation: paradoxInnerTrace 4.2s linear infinite;
}

.primary-button {
  background: linear-gradient(135deg, #8d42f4, #35e7ae);
  box-shadow: 0 12px 34px rgba(168, 85, 247, 0.25);
}

.secondary-button {
  min-width: 126px;
  padding: 0 16px;
  border: 1px solid rgba(232, 245, 255, 0.16);
  background: rgba(232, 245, 255, 0.07);
}

.ghost-button {
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(255, 66, 105, 0.28);
  color: #ffd6df;
  background: rgba(255, 66, 105, 0.09);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(232, 245, 255, 0.08),
    0 0 26px rgba(168, 85, 247, 0.18),
    0 14px 34px rgba(0, 0, 0, 0.26);
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active {
  transform: translateY(0);
}

.alert {
  position: relative;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 66, 105, 0.32);
  border-radius: 6px;
  color: #ffdbe2;
  font-family: var(--font-body);
  background: var(--crimson-soft);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
}

.connect-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 14px;
  border-top: 1px solid rgba(232, 245, 255, 0.09);
}

.connect-row:first-of-type {
  border-top: 0;
}

.connect-logo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.paradox-logo {
  width: 64px;
  height: 64px;
  transform: rotate(-30deg);
  transform-origin: center;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.32));
}

.discord-logo {
  width: 62px;
  height: 62px;
}

.panel-signal {
  display: inline-block;
  width: 58px;
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
}

.signal-ice {
  background: linear-gradient(90deg, var(--ice), var(--purple));
  box-shadow: 0 0 22px var(--purple-soft);
}

.signal-emerald {
  background: linear-gradient(90deg, var(--emerald), var(--crimson));
  box-shadow: 0 0 22px var(--emerald-soft);
}

.content-list {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 12px;
  padding-right: 6px;
  scrollbar-color: rgba(168, 85, 247, 0.72) rgba(232, 245, 255, 0.08);
  scrollbar-width: thin;
}

.content-list::-webkit-scrollbar {
  width: 8px;
}

.content-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(232, 245, 255, 0.06);
}

.content-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--purple), var(--emerald));
}

.content-item {
  border: 1px solid rgba(232, 245, 255, 0.09);
  border-radius: 6px;
  font-family: var(--font-data);
  background: rgba(5, 7, 13, 0.38);
  padding: 14px;
}

.content-item p {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.empty-state {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 150px;
  place-items: center;
  border: 1px dashed rgba(232, 245, 255, 0.16);
  border-radius: 6px;
  color: rgba(232, 245, 255, 0.42);
  font-family: var(--font-body);
  font-size: 14px;
}

.account-list {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
}

.account-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(232, 245, 255, 0.08);
  padding-top: 10px;
}

.account-list dt {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-list dd {
  margin: 0;
  color: var(--ice);
  font-family: var(--font-data);
  font-weight: 800;
  text-align: right;
}

.dashboard-panel {
  display: flex;
  flex-direction: column;
  min-height: 456px;
  padding: 0;
}

.ucp-menu {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 68px;
  border-bottom: 1px solid rgba(232, 245, 255, 0.11);
  background:
    linear-gradient(90deg, rgba(168, 85, 247, 0.16), rgba(232, 245, 255, 0.035) 45%, rgba(53, 231, 174, 0.1)),
    rgba(8, 10, 18, 0.42);
  padding: 12px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: rgba(168, 85, 247, 0.6) rgba(232, 245, 255, 0.06);
  scrollbar-width: thin;
}

.ucp-menu::before {
  position: absolute;
  right: 18px;
  bottom: -1px;
  width: min(260px, 34%);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--purple), var(--emerald), transparent);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.52);
}

.ucp-menu::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 38%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232, 245, 255, 0.08), rgba(53, 231, 174, 0.16), transparent);
  transform: translateX(-78%);
  animation: paradoxMenuSweep 5.8s ease-in-out infinite;
}

.ucp-menu-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(232, 245, 255, 0.11);
  border-radius: 6px;
  color: rgba(232, 245, 255, 0.68);
  font-family: var(--font-button);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(5, 7, 13, 0.28);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.ucp-menu-link::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(232, 245, 255, 0.9), rgba(168, 85, 247, 0.84), transparent) 0 0 / 44% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(53, 231, 174, 0.72), transparent) 100% 0 / 1px 44% no-repeat,
    linear-gradient(270deg, transparent, rgba(168, 85, 247, 0.8), rgba(255, 66, 105, 0.52), transparent) 100% 100% / 46% 1px no-repeat,
    linear-gradient(0deg, transparent, rgba(232, 245, 255, 0.6), rgba(53, 231, 174, 0.6), transparent) 0 100% / 1px 42% no-repeat;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.28));
  animation: paradoxInnerTrace 7.6s linear infinite;
  transition: opacity 160ms ease;
}

.ucp-menu-link::after {
  position: absolute;
  inset: auto 12px 6px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--emerald));
  opacity: 0;
  transform: scaleX(0.24);
  transition: opacity 160ms ease, transform 160ms ease;
}

.ucp-menu-link:hover {
  color: var(--ice);
  border-color: rgba(232, 245, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(53, 231, 174, 0.09)),
    rgba(232, 245, 255, 0.07);
  box-shadow:
    inset 0 0 18px rgba(168, 85, 247, 0.12),
    0 0 20px rgba(168, 85, 247, 0.16);
  transform: translateY(-1px);
}

.ucp-menu-link:hover::before {
  opacity: 0.96;
}

.ucp-menu-link:hover::after {
  opacity: 0.78;
  transform: scaleX(0.72);
}

.ucp-menu-link.is-active {
  color: #ffffff;
  border-color: rgba(168, 85, 247, 0.62);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(53, 231, 174, 0.12)),
      rgba(232, 245, 255, 0.07);
  box-shadow:
    inset 0 0 22px rgba(168, 85, 247, 0.16),
    0 0 24px rgba(168, 85, 247, 0.2);
}

.ucp-menu-link.is-active::before {
  opacity: 0.82;
}

.ucp-menu-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

body.effects-disabled .paradox-banner::before,
body.effects-disabled .panel::after,
body.effects-disabled .ucp-menu::after,
body.effects-disabled .ucp-menu-link::before,
body.effects-disabled .dashboard-card::after,
body.effects-disabled .stat-card::after,
body.effects-disabled .asset-card::after,
body.effects-disabled .shop-card::after,
body.effects-disabled .primary-button::after,
body.effects-disabled .secondary-button::after,
body.effects-disabled .ghost-button::after,
body.effects-disabled .effects-toggle::after {
  opacity: 0;
  animation: none;
}

.dashboard-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  flex: 0 0 560px;
  height: 560px;
  min-height: 0;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px;
  font-family: var(--font-data);
  scrollbar-color: rgba(168, 85, 247, 0.72) rgba(232, 245, 255, 0.08);
  scrollbar-width: thin;
}

.dashboard-content::-webkit-scrollbar {
  width: 8px;
}

.dashboard-content::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(232, 245, 255, 0.06);
}

.dashboard-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--purple), var(--emerald));
}

.dashboard-section {
  display: none;
  min-width: 0;
  min-height: 100%;
}

.dashboard-section.is-active {
  display: grid;
  align-content: start;
}

.dashboard-section[hidden] {
  display: none !important;
}

.dashboard-content,
.dashboard-content :is(h2, h3, h4, p, label, input, button, strong, span, dd, dt, b, small) {
  font-family: var(--font-data);
}

.ucp-dashboard {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  min-height: 100%;
}

.dashboard-hero,
.section-heading,
.dashboard-card,
.stat-card,
.asset-card,
.shop-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 245, 255, 0.11);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%),
    rgba(5, 7, 13, 0.48);
}

.dashboard-hero::before,
.section-heading::before,
.dashboard-card::before,
.stat-card::before,
.asset-card::before,
.shop-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.12), transparent 38%, rgba(53, 231, 174, 0.08)),
    radial-gradient(circle at 16% 12%, rgba(232, 245, 255, 0.08), transparent 32%);
}

.dashboard-card::after,
.stat-card::after,
.asset-card::after,
.shop-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(232, 245, 255, 0.58), rgba(168, 85, 247, 0.64), transparent) 0 0 / 48% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(53, 231, 174, 0.42), transparent) 100% 0 / 1px 50% no-repeat,
    linear-gradient(270deg, transparent, rgba(168, 85, 247, 0.55), rgba(255, 66, 105, 0.28), transparent) 100% 100% / 50% 1px no-repeat,
    linear-gradient(0deg, transparent, rgba(232, 245, 255, 0.34), rgba(53, 231, 174, 0.36), transparent) 0 100% / 1px 44% no-repeat;
  opacity: 0.54;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.2));
  animation: paradoxPanelEdgeOrbit 30s linear infinite;
  will-change: background-position;
}

.dashboard-hero > *,
.section-heading > *,
.dashboard-card > *,
.stat-card > *,
.asset-card > *,
.shop-card > * {
  position: relative;
  z-index: 1;
}

.dashboard-hero {
  display: flex;
  min-width: 0;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  min-height: 150px;
}

.dashboard-hero h2,
.section-heading h2 {
  font-size: clamp(24px, 3vw, 38px);
}

.dashboard-hero p {
  max-width: 620px;
  margin-top: 10px;
  color: rgba(232, 245, 255, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.hero-balance {
  display: grid;
  align-content: center;
  justify-items: end;
  min-width: 210px;
  border-left: 1px solid rgba(232, 245, 255, 0.1);
  padding-left: 18px;
}

.hero-balance span,
.stat-card span,
.metric-pill span,
.meter-row span,
.mini-title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-balance strong {
  color: var(--emerald);
  font-size: 24px;
  text-shadow: 0 0 18px rgba(53, 231, 174, 0.22);
}

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

.dashboard-stat-grid.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 16px;
}

.stat-card strong {
  color: var(--ice);
  font-size: 22px;
  line-height: 1;
}

.metric-pill {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(232, 245, 255, 0.08);
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.38);
  padding: 10px;
}

.metric-pill strong {
  color: var(--ice);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.dashboard-two-col,
.identity-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-card {
  padding: 18px;
}

.card-heading,
.section-heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.card-heading {
  margin-bottom: 14px;
}

.card-heading h3,
.section-heading h2 {
  margin-top: 4px;
}

.card-heading.horizontal {
  align-items: center;
}

.section-heading {
  min-height: 88px;
  padding: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(53, 231, 174, 0.28);
  border-radius: 999px;
  color: rgba(232, 245, 255, 0.86);
  background: rgba(53, 231, 174, 0.08);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill.is-strong {
  border-color: rgba(168, 85, 247, 0.48);
  color: #ffffff;
  background: rgba(168, 85, 247, 0.16);
}

.meter-row {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.meter-row:first-child {
  margin-top: 0;
}

.meter-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.meter-row strong {
  color: var(--ice);
  font-size: 13px;
}

.meter-row.compact {
  margin-top: 12px;
}

.progress-line {
  position: relative;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(232, 245, 255, 0.08);
}

.progress-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--emerald));
  box-shadow: 0 0 18px rgba(53, 231, 174, 0.18);
}

.character-inventory-card {
  min-height: 230px;
}

.character-inventory-grid {
  display: grid;
  gap: 8px;
  max-height: 270px;
  overflow-y: auto;
  padding-right: 4px;
}

.character-inventory-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(232, 245, 255, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.12), transparent 48%, rgba(53, 231, 174, 0.07)),
    rgba(5, 7, 13, 0.35);
  padding: 7px 9px;
}

.inventory-mirror-slot {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(232, 245, 255, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.18), transparent 44%, rgba(53, 231, 174, 0.11)),
    rgba(5, 7, 13, 0.7);
}

.inventory-mirror-slot::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(232, 245, 255, 0.07);
  border-radius: 4px;
  content: "";
  pointer-events: none;
}

.inventory-mirror-slot img {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(53, 231, 174, 0.16));
}

.inventory-mirror-slot img + span {
  opacity: 0;
}

.inventory-mirror-slot span {
  position: relative;
  z-index: 1;
  color: rgba(232, 245, 255, 0.62);
  font-size: 10px;
  font-weight: 850;
}

.inventory-mirror-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.inventory-mirror-copy strong {
  color: var(--ice);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.inventory-mirror-copy span,
.character-inventory-item > b {
  color: rgba(232, 245, 255, 0.58);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.character-inventory-item > b {
  color: var(--emerald);
  white-space: nowrap;
}

.quick-list,
.module-status-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.quick-list.stacked {
  display: grid;
}

.quick-list span,
.module-status-grid span {
  border: 1px solid rgba(232, 245, 255, 0.08);
  border-radius: 999px;
  color: rgba(232, 245, 255, 0.68);
  background: rgba(232, 245, 255, 0.045);
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1;
}

.data-list,
.mini-data {
  display: grid;
  gap: 10px;
  margin: 0;
}

.data-list div,
.mini-data div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(232, 245, 255, 0.08);
  padding-top: 10px;
}

.data-list div:first-child,
.mini-data div:first-child {
  border-top: 0;
  padding-top: 0;
}

.data-list dt,
.mini-data dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.data-list dd,
.mini-data dd {
  margin: 0;
  color: var(--ice);
  font-size: 13px;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}

.property-grid,
.vehicle-grid,
.shop-grid,
.faction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.asset-card,
.shop-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 16px;
}

.vehicle-card {
  min-height: 260px;
}

.asset-card-head,
.shop-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.asset-card-head span {
  color: var(--emerald);
  font-size: 12px;
}

.asset-card-head b {
  color: rgba(232, 245, 255, 0.62);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.asset-card h3,
.shop-card h3 {
  color: var(--ice);
  font-size: 18px;
}

.shop-card p,
.muted-line {
  color: rgba(232, 245, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
}

.dashboard-action {
  margin-top: 14px;
}

.shop-purchase-form {
  margin: 0;
}

.shop-purchase-form .dashboard-action {
  margin-top: 0;
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.secondary-button:disabled::after {
  opacity: 0.22;
}

.dashboard-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  min-height: 290px;
  border: 1px dashed rgba(232, 245, 255, 0.16);
  border-radius: 7px;
  color: rgba(232, 245, 255, 0.68);
  text-align: center;
  padding: 28px;
}

.dashboard-empty p {
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.faction-card {
  min-height: 360px;
}

.faction-picker {
  display: grid;
  gap: 14px;
}

.faction-picker-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  align-items: center;
  width: 100%;
  border-color: rgba(168, 85, 247, 0.22);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faction-picker-toggle strong {
  display: block;
  margin-top: 5px;
  color: var(--ice);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.08;
}

.faction-picker-toggle b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(53, 231, 174, 0.3);
  border-radius: 999px;
  color: rgba(232, 245, 255, 0.88);
  background: rgba(53, 231, 174, 0.08);
  padding: 0 12px;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.faction-picker-toggle i {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(232, 245, 255, 0.16);
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.34);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.faction-picker-toggle i::before,
.faction-picker-toggle i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--emerald));
  transform: translate(-50%, -50%);
}

.faction-picker-toggle i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 160ms ease;
}

.faction-picker-toggle:hover {
  border-color: rgba(53, 231, 174, 0.54);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(53, 231, 174, 0.1)),
    rgba(232, 245, 255, 0.055);
  box-shadow:
    inset 0 0 24px rgba(168, 85, 247, 0.13),
    0 0 24px rgba(53, 231, 174, 0.11);
  transform: translateY(-1px);
}

.faction-picker-toggle.is-collapsed i {
  transform: rotate(-90deg);
}

.faction-picker-toggle:not(.is-collapsed) i::after {
  opacity: 0;
}

.faction-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  animation: factionPickerDrop 220ms ease both;
}

.faction-select-grid[hidden] {
  display: none;
}

.faction-select-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  align-items: center;
  width: 100%;
  min-height: 104px;
  border-color: rgba(232, 245, 255, 0.12);
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 18px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.faction-select-card strong {
  display: block;
  margin-top: 5px;
  color: var(--ice);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.1;
}

.faction-select-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(53, 231, 174, 0.28);
  border-radius: 999px;
  color: rgba(232, 245, 255, 0.86);
  background: rgba(53, 231, 174, 0.08);
  padding: 0 12px;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.faction-select-card i {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(232, 245, 255, 0.16);
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.34);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.faction-select-card i::before,
.faction-select-card i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--emerald));
  transform: translate(-50%, -50%);
}

.faction-select-card i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 160ms ease;
}

.faction-select-card:hover,
.faction-select-card.is-active {
  border-color: rgba(168, 85, 247, 0.5);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(53, 231, 174, 0.08)),
    rgba(232, 245, 255, 0.055);
  box-shadow:
    inset 0 0 22px rgba(168, 85, 247, 0.12),
    0 0 22px rgba(168, 85, 247, 0.15);
}

.faction-select-card:hover {
  transform: translateY(-1px);
}

.faction-select-card.is-active i::after {
  opacity: 0;
}

.faction-select-card:not(.is-active) i {
  transform: rotate(-90deg);
}

@keyframes factionPickerDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
    clip-path: inset(0 0 100% 0);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0);
  }
}

.faction-detail-stack {
  display: grid;
  gap: 14px;
}

.faction-detail-panel {
  gap: 16px;
  width: 100%;
}

.faction-detail-panel[hidden] {
  display: none;
}

.faction-detail-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.faction-detail-hero h3 {
  margin-top: 5px;
  color: var(--ice);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.08;
}

.faction-wide-stats {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

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

.faction-detail-block {
  display: grid;
  align-content: start;
  min-width: 0;
  border: 1px solid rgba(232, 245, 255, 0.08);
  border-radius: 7px;
  background: rgba(5, 7, 13, 0.34);
  padding: 14px;
}

.faction-columns {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-top: 14px;
}

.asset-list {
  display: grid;
  gap: 8px;
}

.asset-list.compact-list {
  margin-top: 8px;
}

.asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  border: 1px solid rgba(232, 245, 255, 0.08);
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.35);
  padding: 0 10px;
}

.asset-row span,
.asset-row b {
  min-width: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.asset-row b {
  color: rgba(232, 245, 255, 0.64);
  text-align: right;
}

.leader-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.leader-tools .dashboard-action {
  margin-top: 0;
  min-width: 118px;
}

.shop-card {
  min-height: 220px;
}

.shop-category-heading {
  padding: 0;
}

.shop-category-toggle {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 86px;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  padding: 18px;
}

.shop-category-toggle strong {
  display: block;
  margin-top: 4px;
  color: var(--ice);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.05;
}

.shop-category-toggle b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(53, 231, 174, 0.28);
  border-radius: 999px;
  color: rgba(232, 245, 255, 0.86);
  background: rgba(53, 231, 174, 0.08);
  padding: 0 12px;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.shop-category-toggle i {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(232, 245, 255, 0.16);
  border-radius: 6px;
  background: rgba(5, 7, 13, 0.34);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.shop-category-toggle i::before,
.shop-category-toggle i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--emerald));
  transform: translate(-50%, -50%);
}

.shop-category-toggle i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 160ms ease;
}

.shop-category-toggle:hover i {
  border-color: rgba(53, 231, 174, 0.42);
  background: rgba(53, 231, 174, 0.08);
}

.shop-category-heading.is-collapsed .shop-category-toggle i {
  transform: rotate(-90deg);
}

.shop-category-heading:not(.is-collapsed) .shop-category-toggle i::after {
  opacity: 0;
}

.shop-category-body[hidden] {
  display: none;
}

.shop-card-foot {
  align-self: end;
}

.shop-card-foot strong {
  color: var(--emerald);
  font-size: 18px;
}

.shop-item-main {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.inventory-slot {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 1px solid rgba(232, 245, 255, 0.12);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.18), transparent 44%, rgba(53, 231, 174, 0.11)),
    rgba(5, 7, 13, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 24px rgba(168, 85, 247, 0.12);
}

.inventory-slot::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(232, 245, 255, 0.08);
  border-radius: 5px;
  content: "";
  pointer-events: none;
}

.inventory-slot img {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(53, 231, 174, 0.18));
}

.shop-item-copy {
  min-width: 0;
}

.shop-item-copy h3 {
  margin-bottom: 8px;
}

.dashboard-message {
  position: relative;
  display: grid;
  place-self: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.dashboard-message h2 {
  max-width: 680px;
  font-size: clamp(26px, 4vw, 46px);
}

.dashboard-message p {
  max-width: 580px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.module-shell {
  position: relative;
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 100%;
}

.module-copy {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.module-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.module-placeholder-copy p {
  font-size: 16px;
  line-height: 1.7;
}

.module-preview-grid {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.module-preview-row {
  height: 58px;
  border: 1px solid rgba(232, 245, 255, 0.09);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(232, 245, 255, 0.08), transparent 32%),
    rgba(5, 7, 13, 0.32);
}

.name-change-module {
  max-width: 760px;
}

.name-change-form {
  display: grid;
  gap: 15px;
  max-width: 520px;
}

.name-change-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.name-change-form input {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(232, 245, 255, 0.16);
  border-radius: 6px;
  outline: none;
  color: var(--ice);
  font-family: var(--font-data);
  background: rgba(5, 7, 13, 0.74);
  padding: 0 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.name-change-form input:focus {
  border-color: rgba(53, 231, 174, 0.72);
  background: rgba(9, 11, 19, 0.92);
  box-shadow: 0 0 0 3px rgba(53, 231, 174, 0.12);
}

.name-rules {
  display: grid;
  gap: 7px;
  border-left: 2px solid rgba(53, 231, 174, 0.62);
  color: var(--muted);
  padding-left: 14px;
}

.name-rules span {
  color: rgba(232, 245, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.name-rules strong {
  color: var(--ice);
}

.name-rules p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.alert-success {
  border-color: rgba(53, 231, 174, 0.36);
  color: #d9fff3;
  background: var(--emerald-soft);
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 26px var(--emerald);
}

@media (max-width: 840px) {
  .page-shell {
    width: min(100% - 22px, 640px);
    padding-top: 12px;
  }

  .ucp-grid {
    grid-template-columns: 1fr;
  }

  .left-stack {
    grid-template-columns: 1fr;
  }

  .content-stack {
    grid-template-rows: none;
    height: auto;
    min-height: auto;
  }

  .content-panel,
  .updates-panel,
  .dashboard-panel {
    min-height: 320px;
    max-height: 420px;
  }

  .dashboard-panel {
    max-height: none;
  }

  .ucp-menu {
    justify-content: flex-start;
  }

  .dashboard-content {
    height: 520px;
    flex-basis: 520px;
    min-height: 360px;
    padding: 22px;
  }

  .dashboard-hero {
    display: grid;
    min-height: auto;
  }

  .hero-balance {
    justify-items: start;
    min-width: 0;
    border-top: 1px solid rgba(232, 245, 255, 0.1);
    border-left: 0;
    padding-top: 14px;
    padding-left: 0;
  }

  .dashboard-stat-grid,
  .dashboard-stat-grid.compact-grid,
  .dashboard-two-col,
  .identity-layout,
  .property-grid,
  .vehicle-grid,
  .shop-grid,
  .faction-grid,
  .faction-columns,
  .faction-detail-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    min-height: 0;
  }

  .shop-category-toggle,
  .faction-picker-toggle,
  .faction-select-card {
    min-height: 76px;
  }

  .paradox-banner {
    height: 180px;
  }

  .paradox-banner img {
    height: 100%;
  }

  .effects-toggle {
    top: 8px;
    left: 8px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }
}

@media (max-width: 460px) {
  .panel {
    border-radius: 7px;
  }

  .login-panel,
  .account-panel,
  .connect-panel,
  .content-panel,
  .dashboard-panel {
    padding: 16px;
  }

  .dashboard-panel {
    padding: 0;
  }

  .dashboard-content {
    height: 470px;
    flex-basis: 470px;
    padding: 18px;
  }

  .dashboard-hero,
  .section-heading,
  .dashboard-card,
  .stat-card,
  .asset-card,
  .shop-card {
    padding: 15px;
  }

  .dashboard-hero h2,
  .section-heading h2,
  .dashboard-message h2 {
    font-size: 25px;
  }

  .data-list div,
  .mini-data div,
  .asset-card-head,
  .shop-card-foot,
  .asset-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .data-list dd,
  .mini-data dd,
  .asset-row b {
    text-align: left;
  }

  .shop-category-toggle,
  .faction-picker-toggle,
  .faction-select-card {
    grid-template-columns: minmax(0, 1fr) 32px;
    padding: 15px;
  }

  .shop-category-toggle b,
  .faction-picker-toggle b,
  .faction-select-card b {
    justify-self: start;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .shop-category-toggle i,
  .faction-picker-toggle i,
  .faction-select-card i {
    grid-column: 2;
    grid-row: 1;
  }

  .shop-item-main {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  .inventory-slot {
    width: 58px;
    height: 58px;
  }

  .inventory-slot img {
    width: 40px;
    height: 40px;
  }

  .ucp-menu {
    min-height: 62px;
    padding: 10px;
  }

  .ucp-menu-link {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .connect-row {
    min-height: 76px;
  }

  .secondary-button {
    min-width: 112px;
    padding: 0 12px;
  }
}
