:root {
  color-scheme: dark;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --bg: #050007;
  --void: #020003;
  --panel: rgba(16, 5, 28, 0.84);
  --panel-strong: rgba(25, 7, 42, 0.94);
  --line: rgba(235, 91, 255, 0.18);
  --line-strong: rgba(244, 119, 255, 0.48);
  --cyan: #ff70f5;
  --cyan-soft: #fff0ff;
  --violet: #8c5cff;
  --violet-deep: #4c1687;
  --gold: #ff92de;
  --green: #f4d6ff;
  --red: #ff6f9e;
  --text: #fff3ff;
  --muted: #a383ad;
  --relic-white: #fffaff;
  --relic-magenta: #ff4df2;
  --relic-purple: #792cff;
  --relic-shadow: rgba(181, 35, 255, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 68% 12%, rgba(255, 66, 247, 0.12), transparent 25%),
    radial-gradient(circle at 42% 32%, rgba(114, 35, 255, 0.14), transparent 36%),
    radial-gradient(circle at 12% 92%, rgba(99, 16, 143, 0.13), transparent 34%),
    linear-gradient(145deg, #020003, #0b0010 46%, #030004);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

#aether-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.world-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(117, 234, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 234, 255, 0.025) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, transparent, black 32%, black 75%, transparent);
  pointer-events: none;
}

.horizon-glow {
  position: fixed;
  inset: auto 0 12%;
  z-index: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(117, 234, 255, 0.38), transparent);
  box-shadow: 0 0 50px rgba(117, 234, 255, 0.22);
  pointer-events: none;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.access-layout,
.dashboard-shell {
  position: relative;
  z-index: 1;
}

/* Login */

.access-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
}

.access-identity,
.access-console {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.access-identity {
  overflow: hidden;
  padding: clamp(40px, 7vw, 110px);
}

.access-console {
  padding: clamp(28px, 4vw, 70px);
  border-left: 1px solid rgba(117, 234, 255, 0.12);
  background:
    linear-gradient(100deg, transparent, rgba(2, 8, 14, 0.89) 28%),
    rgba(1, 5, 9, 0.3);
}

.access-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-top: 330px;
}

.access-copy h1 {
  margin: 8px 0 14px;
  color: transparent;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 0.95;
  background: linear-gradient(105deg, #fff 10%, var(--cyan-soft) 48%, #92a1ff 82%);
  background-clip: text;
  filter: drop-shadow(0 0 25px rgba(117, 234, 255, 0.17));
}

.manifest {
  max-width: 620px;
  margin: 23px 0;
  color: #93b3c3;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
}

.system-tags,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.system-tags span,
.hero-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(117, 234, 255, 0.15);
  color: #688899;
  background: rgba(6, 18, 29, 0.55);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.divine-sigil {
  position: absolute;
  top: 50%;
  left: 46%;
  width: min(47vw, 610px);
  aspect-ratio: 1;
  translate: -50% -62%;
}

.sigil-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(117, 234, 255, 0.25);
}

.sigil-ring::before,
.sigil-ring::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(159, 140, 255, 0.18);
}

.sigil-ring-1 {
  inset: 0;
  animation: conduit-rotate 44s linear infinite;
}

.sigil-ring-2 {
  inset: 15%;
  border-style: dashed;
  border-color: rgba(159, 140, 255, 0.38);
  animation: conduit-rotate 31s linear reverse infinite;
}

.sigil-ring-3 {
  inset: 31%;
  border-color: rgba(241, 210, 138, 0.35);
  box-shadow: 0 0 55px rgba(117, 234, 255, 0.08);
  animation: conduit-breathe 4s ease-in-out infinite;
}

.sigil-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118%;
  height: 1px;
  translate: -50% -50%;
  background: linear-gradient(90deg, transparent, rgba(117, 234, 255, 0.52), transparent);
}

.sigil-axis-a {
  rotate: -18deg;
}

.sigil-axis-b {
  rotate: 67deg;
}

.sigil-mark {
  position: absolute;
  inset: 40%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117, 234, 255, 0.56);
  border-radius: 50%;
  color: white;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  background: radial-gradient(circle, rgba(117, 234, 255, 0.19), rgba(117, 234, 255, 0.02) 62%);
  text-shadow: 0 0 26px var(--cyan);
  box-shadow:
    inset 0 0 30px rgba(117, 234, 255, 0.15),
    0 0 60px rgba(117, 234, 255, 0.12);
}

.access-card {
  width: min(100%, 510px);
  margin: auto;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 36%),
    var(--panel);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.035),
    0 22px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
  clip-path: polygon(0 22px, 22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.access-card::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent 82%);
}

.access-card-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 24px 25px 20px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.12);
}

.access-card-header p,
.access-card-header small {
  margin: 0;
}

.access-card-header p {
  font-size: 0.77rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.access-card-header small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
}

.mini-sigil {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  background: rgba(117, 234, 255, 0.05);
  font-size: 0.72rem;
  font-weight: 700;
}

.status-beacon,
.link-stable i {
  display: inline-block;
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: conduit-pulse 2s infinite;
}

.conduit-dialogue,
.conduit-response {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border: 1px solid rgba(117, 234, 255, 0.12);
  background: rgba(117, 234, 255, 0.035);
}

.conduit-dialogue {
  margin: 28px 34px 0;
  padding: 17px 18px;
}

.conduit-dialogue p,
.conduit-response p {
  margin: 0;
  color: #9ac4d1;
  line-height: 1.55;
}

.dialogue-rune,
.conduit-response > span {
  color: var(--cyan);
  text-shadow: 0 0 13px var(--cyan);
}

.access-card form {
  display: grid;
  gap: 20px;
  padding: 27px 34px 26px;
}

.access-card label {
  display: grid;
  gap: 9px;
}

.access-card label > span {
  color: #7fa1b2;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-card input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(117, 234, 255, 0.17);
  border-radius: 0;
  outline: none;
  color: white;
  background: rgba(1, 7, 12, 0.68);
  transition: border-color 180ms, box-shadow 180ms, background 180ms;
}

.access-card input:focus {
  border-color: rgba(117, 234, 255, 0.62);
  background: rgba(5, 18, 28, 0.9);
  box-shadow: 0 0 0 3px rgba(117, 234, 255, 0.06);
}

.password-control {
  display: flex;
}

.password-control input {
  border-right: 0;
}

.password-control button {
  width: 54px;
  border: 1px solid rgba(117, 234, 255, 0.17);
  color: var(--cyan);
  background: rgba(1, 7, 12, 0.68);
  cursor: pointer;
}

.form-message {
  display: none;
  margin: -5px 0 0;
  color: var(--red);
  font-size: 0.85rem;
}

.form-message.visible {
  display: block;
}

.primary-action {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 1px solid rgba(117, 234, 255, 0.62);
  color: #dffcff;
  background:
    linear-gradient(90deg, rgba(117, 234, 255, 0.16), rgba(159, 140, 255, 0.12)),
    rgba(6, 20, 31, 0.91);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  cursor: pointer;
  box-shadow: inset 0 0 26px rgba(117, 234, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow:
    inset 0 0 28px rgba(117, 234, 255, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.24);
}

.primary-action:disabled {
  opacity: 0.62;
  cursor: wait;
}

.access-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 24px;
  border-top: 1px solid rgba(117, 234, 255, 0.1);
  color: #4e6d7d;
  font-size: 0.49rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

/* Dashboard */

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 4;
  width: 245px;
  display: flex;
  flex-direction: column;
  padding: 24px 18px 20px;
  border-right: 1px solid rgba(117, 234, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(10, 26, 42, 0.86), rgba(2, 8, 14, 0.94)),
    rgba(2, 8, 14, 0.89);
  backdrop-filter: blur(24px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px 7px 24px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.1);
  text-decoration: none;
}

.brand-glyph {
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117, 234, 255, 0.44);
  color: var(--cyan);
  rotate: 45deg;
  text-shadow: 0 0 14px var(--cyan);
}

.brand-glyph i {
  rotate: -45deg;
  font-style: normal;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.brand-lockup small {
  margin-top: 4px;
  color: #587788;
  font-size: 0.45rem;
  letter-spacing: 0.09em;
}

.sidebar-nav {
  display: grid;
  gap: 7px;
  margin-top: 30px;
}

.sidebar-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 14px;
  border: 1px solid transparent;
  color: #7191a2;
  text-decoration: none;
  transition: color 160ms, background 160ms, border-color 160ms;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #dffbff;
  border-color: rgba(117, 234, 255, 0.15);
  background: linear-gradient(90deg, rgba(117, 234, 255, 0.09), transparent);
}

.sidebar-nav a.active {
  border-left-color: var(--cyan);
}

.nav-rune {
  width: 18px;
  color: var(--cyan);
  text-align: center;
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.sovereign-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(117, 234, 255, 0.11);
  background: rgba(117, 234, 255, 0.035);
}

.sovereign-rune {
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 210, 138, 0.36);
  color: var(--gold);
}

.sovereign-card small,
.sovereign-card strong {
  display: block;
}

.sovereign-card small {
  color: #5b7988;
  font-size: 0.48rem;
  letter-spacing: 0.13em;
}

.sovereign-card strong {
  margin-top: 3px;
  font-size: 0.86rem;
}

.logout-form {
  margin: 0;
}

.logout-form button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 11px 13px;
  border: 0;
  color: #7695a5;
  background: transparent;
  font-size: 0.8rem;
  cursor: pointer;
}

.logout-form button:hover {
  color: var(--red);
}

.workspace {
  grid-column: 2;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.1);
  background: rgba(3, 10, 17, 0.78);
  backdrop-filter: blur(22px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.breadcrumb span {
  color: #557787;
}

.breadcrumb i {
  color: #33505f;
  font-style: normal;
}

.breadcrumb strong {
  color: var(--cyan);
}

.topbar-state {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #7693a3;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.link-stable {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}

.link-stable i {
  width: 6px;
}

.dashboard-content {
  width: min(1500px, 100%);
  margin: auto;
  padding: 32px clamp(22px, 3vw, 48px) 60px;
}

.hero-panel {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 5vw, 62px);
  border: 1px solid rgba(117, 234, 255, 0.15);
  background:
    linear-gradient(95deg, rgba(9, 31, 49, 0.94), rgba(10, 15, 31, 0.57)),
    repeating-linear-gradient(90deg, transparent 0 65px, rgba(117, 234, 255, 0.025) 66px);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent 58%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-copy h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
}

.hero-copy > p:nth-of-type(2) {
  margin: 0;
  color: #799aaa;
  line-height: 1.65;
}

.conduit-response {
  max-width: 700px;
  margin-top: 23px;
  padding: 15px 17px;
}

.hero-meta {
  margin-top: 24px;
}

.hero-core {
  position: absolute;
  right: 8%;
  width: 190px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117, 234, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    inset 0 0 45px rgba(117, 234, 255, 0.06),
    0 0 70px rgba(117, 234, 255, 0.07);
}

.hero-core .sigil-ring-1 {
  inset: 18px;
}

.hero-core .sigil-ring-2 {
  inset: 42px;
}

.hero-core strong {
  color: white;
  font-size: 2.6rem;
  font-weight: 300;
  text-shadow: 0 0 24px var(--cyan);
}

.foundation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.foundation-card {
  min-height: 220px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 38%),
    var(--panel);
  backdrop-filter: blur(18px);
}

.card-index {
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 300;
}

.foundation-card h2 {
  margin: 6px 0 9px;
  font-size: 1rem;
  font-weight: 650;
}

.foundation-card p:last-child {
  margin: 0;
  color: #688898;
  font-size: 0.82rem;
  line-height: 1.55;
}

.state-badge {
  justify-self: start;
  padding: 5px 8px;
  border: 1px solid currentColor;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.state-online {
  color: var(--green);
}

.state-ready {
  color: var(--gold);
}

.dashboard-section,
.split-section {
  margin-top: 50px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-heading.compact {
  margin-top: 0;
}

.section-heading h2 {
  margin: 5px 0 0;
  font-size: 1.4rem;
  font-weight: 500;
}

.section-heading > span {
  color: #587687;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

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

.module-card {
  min-height: 300px;
  display: grid;
  grid-template-rows: 120px 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.module-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(117, 234, 255, 0.1);
  background:
    linear-gradient(rgba(117, 234, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 234, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle, rgba(159, 140, 255, 0.18), transparent 58%);
  background-size: 20px 20px, 20px 20px, auto;
}

.module-visual span {
  position: relative;
  z-index: 1;
  color: var(--cyan-soft);
  font-size: 2rem;
  font-weight: 300;
  text-shadow: 0 0 18px var(--cyan);
}

.module-visual i {
  position: absolute;
  width: 74px;
  aspect-ratio: 1;
  border: 1px dashed rgba(117, 234, 255, 0.25);
  border-radius: 50%;
  animation: conduit-rotate 16s linear infinite;
}

.module-copy {
  padding: 23px;
}

.module-copy small {
  color: var(--cyan);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.module-copy h3 {
  margin: 7px 0 10px;
  font-size: 1rem;
}

.module-copy p {
  margin: 0;
  color: #688797;
  font-size: 0.8rem;
  line-height: 1.5;
}

.module-state {
  margin: 0 23px 20px;
  color: #587787;
  font-size: 0.51rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.empty-panel,
.system-placeholder {
  min-height: 270px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.empty-panel {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 35px;
  text-align: center;
}

.empty-glyph {
  color: var(--cyan);
  font-size: 2.5rem;
  text-shadow: 0 0 20px var(--cyan);
}

.empty-panel h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.empty-panel p {
  max-width: 480px;
  margin: 0;
  color: #698898;
  font-size: 0.82rem;
  line-height: 1.55;
}

.system-placeholder {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 18px 24px;
}

.system-placeholder > div {
  display: grid;
  place-content: center;
  min-height: 95px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.08);
}

.system-placeholder > div:nth-child(odd) {
  border-right: 1px solid rgba(117, 234, 255, 0.08);
}

.system-placeholder span,
.system-placeholder strong {
  display: block;
  text-align: center;
}

.system-placeholder span {
  color: #557787;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.system-placeholder strong {
  margin-top: 8px;
  color: var(--cyan-soft);
  font-size: 1.25rem;
  font-weight: 300;
}

.system-placeholder p {
  grid-column: 1 / -1;
  margin: 18px 0 5px;
  color: #607f90;
  font-size: 0.75rem;
  text-align: center;
}

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

@keyframes conduit-breathe {
  50% {
    scale: 1.05;
    opacity: 0.72;
  }
}

@keyframes conduit-pulse {
  50% {
    opacity: 0.38;
  }
}

@media (max-width: 1080px) {
  .access-layout {
    grid-template-columns: 1fr;
  }

  .access-identity {
    min-height: 54vh;
  }

  .access-console {
    min-height: 46vh;
    border-top: 1px solid rgba(117, 234, 255, 0.12);
    border-left: 0;
  }

  .access-copy {
    margin-top: 245px;
  }

  .divine-sigil {
    width: min(70vw, 520px);
  }

  .foundation-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dashboard-shell {
    display: block;
    padding-bottom: 72px;
  }

  .sidebar {
    inset: auto 0 0;
    width: auto;
    height: 70px;
    display: block;
    padding: 8px;
    border-top: 1px solid rgba(117, 234, 255, 0.15);
    border-right: 0;
  }

  .brand-lockup,
  .sidebar-footer {
    display: none;
  }

  .sidebar-nav {
    height: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin: 0;
  }

  .sidebar-nav a {
    min-height: 0;
    justify-content: center;
    padding: 0;
  }

  .sidebar-nav a span:last-child {
    display: none;
  }

  .workspace {
    min-height: 100vh;
  }

  .topbar {
    height: 58px;
    padding: 0 15px;
  }

  .link-stable {
    display: none;
  }

  .dashboard-content {
    padding: 18px 14px 35px;
  }

  .hero-panel {
    min-height: 300px;
    padding: 30px 25px;
  }

  .hero-core {
    right: -55px;
    opacity: 0.35;
  }
}

@media (max-width: 520px) {
  .access-identity {
    min-height: 48vh;
    padding: 30px 22px;
  }

  .access-console {
    padding: 20px 14px 30px;
  }

  .access-copy {
    margin-top: 175px;
  }

  .access-copy h1 {
    font-size: 2.6rem;
  }

  .manifest {
    font-size: 0.92rem;
  }

  .divine-sigil {
    width: 88vw;
    translate: -50% -68%;
  }

  .conduit-dialogue {
    margin-inline: 22px;
  }

  .access-card form {
    padding: 24px 22px 22px;
  }

  .access-card-header {
    padding: 21px 20px 18px;
  }

  .access-card-footer {
    flex-wrap: wrap;
  }

  .system-placeholder {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* System core telemetry */

.system-core-section {
  scroll-margin-top: 90px;
}

.system-heading {
  align-items: center;
}

.system-connection {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(117, 234, 255, 0.14);
  color: #7191a2;
  background: rgba(5, 17, 27, 0.72);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.system-connection i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(241, 210, 138, 0.7);
}

.system-connection[data-state="loading"] i {
  animation: conduit-pulse 1s infinite;
}

.system-connection[data-state="online"] {
  color: var(--green);
  border-color: rgba(116, 255, 209, 0.2);
}

.system-connection[data-state="online"] i {
  background: var(--green);
  box-shadow: 0 0 13px rgba(116, 255, 209, 0.78);
}

.system-connection[data-state="error"] {
  color: var(--red);
  border-color: rgba(255, 120, 145, 0.24);
}

.system-connection[data-state="error"] i {
  background: var(--red);
  box-shadow: 0 0 13px rgba(255, 120, 145, 0.76);
}

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

.metric-card {
  --metric-color: var(--cyan);
  position: relative;
  min-width: 0;
  min-height: 320px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 34%),
    linear-gradient(180deg, rgba(10, 28, 44, 0.82), rgba(5, 14, 24, 0.92));
  backdrop-filter: blur(18px);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--metric-color), transparent 84%);
  opacity: 0.72;
}

.metric-card[data-metric-card="memory"] {
  --metric-color: var(--violet);
}

.metric-card[data-metric-card="disk"] {
  --metric-color: var(--gold);
}

.metric-card[data-metric-card="temperature"] {
  --metric-color: #ff9f78;
}

.metric-card.metric-warning {
  --metric-color: var(--gold);
}

.metric-card.metric-critical {
  --metric-color: var(--red);
}

.metric-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.metric-card-head h3 {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.metric-icon {
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--metric-color) 38%, transparent);
  color: var(--metric-color);
  background: color-mix(in srgb, var(--metric-color) 7%, transparent);
  font-size: 1rem;
  text-shadow: 0 0 14px var(--metric-color);
}

.metric-gauge {
  position: relative;
  width: min(170px, 78%);
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(5, 15, 25, 1) 0 57%,
    rgba(117, 234, 255, 0.035) 58%,
    transparent 59%
  );
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.35),
    0 0 30px color-mix(in srgb, var(--metric-color) 11%, transparent);
  transition: opacity 250ms ease;
}

.metric-gauge-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  rotate: -90deg;
}

.metric-gauge-track,
.metric-gauge-value {
  fill: none;
  stroke-width: 7;
  vector-effect: non-scaling-stroke;
}

.metric-gauge-track {
  stroke: rgba(117, 234, 255, 0.09);
}

.metric-gauge-value {
  stroke: var(--metric-color);
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px var(--metric-color));
  transition: stroke-dashoffset 350ms ease, stroke 250ms ease;
}

.metric-gauge::before,
.metric-gauge::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.metric-gauge::before {
  inset: 10px;
  border: 1px dashed color-mix(in srgb, var(--metric-color) 24%, transparent);
  animation: conduit-rotate 28s linear infinite;
}

.metric-gauge::after {
  top: 3%;
  left: 50%;
  width: 8px;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: var(--metric-color);
  box-shadow: 0 0 13px var(--metric-color);
  opacity: 0.7;
}

.metric-gauge.metric-unavailable {
  opacity: 0.45;
}

.metric-gauge-inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
}

.metric-gauge-inner strong,
.metric-gauge-inner span {
  display: block;
}

.metric-gauge-inner strong {
  color: var(--cyan-soft);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  text-shadow: 0 0 16px color-mix(in srgb, var(--metric-color) 55%, transparent);
}

.metric-gauge-inner span {
  margin-top: 5px;
  color: #58798a;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.metric-detail {
  min-height: 38px;
  margin: 0;
  overflow: hidden;
  color: #69899a;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
  text-overflow: ellipsis;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 14px;
  margin-top: 14px;
}

.telemetry-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 34%),
    rgba(5, 15, 25, 0.82);
  backdrop-filter: blur(18px);
}

.telemetry-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.09);
}

.telemetry-header h3 {
  margin: 5px 0 0;
  font-size: 0.94rem;
  font-weight: 600;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px;
  color: #668696;
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend i {
  width: 15px;
  height: 2px;
  box-shadow: 0 0 8px currentColor;
}

.legend-cpu {
  color: var(--cyan);
  background: var(--cyan);
}

.legend-memory {
  color: var(--violet);
  background: var(--violet);
}

.legend-receive {
  color: var(--green);
  background: var(--green);
}

.legend-send {
  color: var(--gold);
  background: var(--gold);
}

.chart-frame {
  position: relative;
  min-height: 270px;
  padding: 14px 10px 8px;
  background:
    linear-gradient(rgba(117, 234, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 234, 255, 0.018) 1px, transparent 1px);
  background-size: 30px 30px;
}

.network-chart-frame {
  min-height: 207px;
}

.telemetry-chart {
  display: block;
  width: 100%;
  height: 250px;
}

.network-chart-frame .telemetry-chart {
  height: 188px;
}

.network-now {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(117, 234, 255, 0.08);
}

.network-now > div {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 15px 20px;
}

.network-now > div:first-child {
  border-right: 1px solid rgba(117, 234, 255, 0.08);
}

.network-now span {
  color: #557787;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.network-now strong {
  overflow: hidden;
  color: var(--cyan-soft);
  font-size: 1.1rem;
  font-weight: 350;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-identity-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(117, 234, 255, 0.04), transparent 45%),
    rgba(5, 15, 25, 0.82);
  backdrop-filter: blur(18px);
}

.system-identity-panel > header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.09);
}

.system-identity-panel h3 {
  margin: 5px 0 0;
  font-size: 1rem;
}

.system-identity-panel > header > span {
  color: #5c7b8b;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.system-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-facts > div {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 17px 20px;
  border-right: 1px solid rgba(117, 234, 255, 0.07);
  border-bottom: 1px solid rgba(117, 234, 255, 0.07);
}

.system-facts > div:nth-child(4n) {
  border-right: 0;
}

.system-facts > div:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.system-facts span {
  color: #557787;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.system-facts strong {
  overflow: hidden;
  color: #c9edf5;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
}

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

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

@media (max-width: 980px) {
  .system-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-facts > div,
  .system-facts > div:nth-child(4n),
  .system-facts > div:nth-last-child(-n + 4) {
    border-right: 1px solid rgba(117, 234, 255, 0.07);
    border-bottom: 1px solid rgba(117, 234, 255, 0.07);
  }

  .system-facts > div:nth-child(2n) {
    border-right: 0;
  }

  .system-facts > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .system-heading,
  .telemetry-header,
  .system-identity-panel > header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .metric-card {
    min-height: 300px;
  }

  .chart-legend {
    justify-content: flex-start;
  }

  .system-facts {
    grid-template-columns: 1fr;
  }

  .system-facts > div,
  .system-facts > div:nth-child(2n),
  .system-facts > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(117, 234, 255, 0.07);
  }

  .system-facts > div:last-child {
    border-bottom: 0;
  }
}


/* SSH terminal */

[hidden] {
  display: none !important;
}

.terminal-heading {
  align-items: center;
}

.terminal-state {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(117, 234, 255, 0.14);
  color: #7694a4;
  background: rgba(5, 16, 26, 0.7);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terminal-state i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #587787;
}

.terminal-state[data-state="online"] {
  color: var(--green);
}

.terminal-state[data-state="online"] i {
  background: var(--green);
  box-shadow: 0 0 11px var(--green);
}

.terminal-state[data-state="loading"] {
  color: var(--gold);
}

.terminal-state[data-state="loading"] i {
  background: var(--gold);
  box-shadow: 0 0 11px var(--gold);
  animation: conduit-pulse 1s infinite;
}

.terminal-state[data-state="error"] {
  color: var(--red);
}

.terminal-state[data-state="error"] i {
  background: var(--red);
  box-shadow: 0 0 11px var(--red);
}

.terminal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr);
  gap: 14px;
}

.terminal-panel,
.terminal-information,
.minecraft-summary-card,
.minecraft-table-placeholder {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 38%),
    rgba(4, 13, 22, 0.88);
  backdrop-filter: blur(18px);
}

.terminal-panel {
  min-width: 0;
  overflow: hidden;
}

.terminal-panel-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.1);
  background: rgba(117, 234, 255, 0.025);
}

.terminal-panel-header > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-panel-header strong,
.terminal-panel-header small {
  display: block;
}

.terminal-panel-header strong {
  color: #d9f7ff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.terminal-panel-header small {
  margin-top: 4px;
  color: #587887;
  font-size: 0.68rem;
}

.terminal-header-rune {
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117, 234, 255, 0.32);
  color: var(--cyan);
  background: rgba(117, 234, 255, 0.04);
}

.terminal-disconnect {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(255, 120, 145, 0.3);
  color: #eaa0ae;
  background: rgba(255, 120, 145, 0.04);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.terminal-disconnect:hover {
  border-color: var(--red);
  color: var(--red);
}

.terminal-login-view {
  min-height: 470px;
  display: grid;
  align-content: center;
  gap: 25px;
  padding: clamp(24px, 5vw, 60px);
  background:
    linear-gradient(rgba(117, 234, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 234, 255, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
}

.terminal-intelligence {
  display: flex;
  gap: 13px;
  max-width: 670px;
  padding: 16px 18px;
  border: 1px solid rgba(117, 234, 255, 0.13);
  background: rgba(117, 234, 255, 0.035);
}

.terminal-intelligence span {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
}

.terminal-intelligence p {
  margin: 0;
  color: #89aebd;
  font-size: 0.84rem;
  line-height: 1.6;
}

.terminal-login-form {
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.terminal-login-form label {
  display: grid;
  gap: 8px;
}

.terminal-login-form label > span {
  color: #617f8f;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.terminal-login-form input,
.terminal-command-form input {
  min-width: 0;
  border: 1px solid rgba(117, 234, 255, 0.16);
  outline: none;
  color: #dffaff;
  background: rgba(1, 7, 12, 0.88);
}

.terminal-login-form input {
  height: 52px;
  padding: 0 14px;
}

.terminal-login-form input:focus,
.terminal-command-form input:focus {
  border-color: rgba(117, 234, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(117, 234, 255, 0.05);
}

.terminal-message {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  color: var(--red);
  font-size: 0.8rem;
}

.terminal-message.visible {
  display: block;
}

.terminal-connect-action {
  grid-column: 1 / -1;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(117, 234, 255, 0.48);
  color: #dffaff;
  background:
    linear-gradient(90deg, rgba(117, 234, 255, 0.13), rgba(159, 140, 255, 0.09)),
    rgba(5, 18, 28, 0.9);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.terminal-connect-action:hover:not(:disabled) {
  border-color: var(--cyan);
}

.terminal-connect-action:disabled {
  opacity: 0.55;
  cursor: wait;
}

.terminal-console-view {
  min-height: 470px;
  background: #010509;
}

.terminal-output {
  height: 420px;
  overflow: auto;
  padding: 20px 22px;
  color: #bfe8d9;
  font-family: "Cascadia Mono", "Consolas", "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-color: rgba(117, 234, 255, 0.22) transparent;
}

.terminal-line {
  min-height: 1.35em;
}

.terminal-line-command {
  margin-top: 8px;
  color: var(--cyan-soft);
}

.terminal-line-system {
  color: var(--cyan);
}

.terminal-line-stderr {
  color: #ff93a7;
}

.terminal-line-warning {
  color: var(--gold);
}

.terminal-line-muted {
  color: #587887;
}

.terminal-command-form {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 48px;
  align-items: center;
  border-top: 1px solid rgba(117, 234, 255, 0.12);
  background: rgba(5, 16, 25, 0.95);
}

.terminal-prompt {
  max-width: 280px;
  overflow: hidden;
  padding-left: 16px;
  color: var(--green);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-command-form input {
  height: 38px;
  margin: 0 10px;
  padding: 0 11px;
  border-top: 0;
  border-bottom: 0;
  font-family: "Cascadia Mono", "Consolas", monospace;
}

.terminal-command-form button {
  align-self: stretch;
  border: 0;
  border-left: 1px solid rgba(117, 234, 255, 0.12);
  color: var(--cyan);
  background: rgba(117, 234, 255, 0.04);
  cursor: pointer;
}

.terminal-information {
  min-width: 0;
  display: grid;
  align-content: start;
}

.terminal-information > div:first-child {
  padding: 24px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.09);
}

.terminal-information h3 {
  margin: 6px 0 9px;
  font-size: 1rem;
}

.terminal-information p {
  margin: 0;
  color: #668697;
  font-size: 0.8rem;
  line-height: 1.55;
}

.terminal-facts {
  margin: 0;
}

.terminal-facts > div {
  display: grid;
  gap: 6px;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.07);
}

.terminal-facts dt {
  color: #557787;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terminal-facts dd {
  overflow: hidden;
  margin: 0;
  color: #c5e9f1;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.72rem;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.terminal-limit-note {
  padding: 20px 22px;
  color: #785f6a !important;
  font-size: 0.72rem !important;
}

/* Minecraft registry */

.minecraft-overview-shell {
  display: grid;
  gap: 14px;
}

.minecraft-summary-card {
  min-height: 170px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 25px;
}

.minecraft-cube {
  width: 74px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(116, 255, 209, 0.28);
  color: var(--green);
  background:
    linear-gradient(135deg, rgba(116, 255, 209, 0.08), transparent),
    rgba(5, 18, 25, 0.8);
  font-size: 2rem;
  text-shadow: 0 0 18px var(--green);
  rotate: 45deg;
}

.minecraft-summary-card > div {
  min-width: 0;
}

.minecraft-summary-card h3 {
  margin: 6px 0 9px;
  font-size: 1.05rem;
}

.minecraft-summary-card p:last-child {
  max-width: 850px;
  margin: 0;
  color: #688898;
  font-size: 0.82rem;
  line-height: 1.55;
}

.minecraft-table-placeholder {
  overflow: hidden;
}

.minecraft-table-head {
  min-height: 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.7fr 0.7fr;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.1);
  color: #557787;
  background: rgba(117, 234, 255, 0.025);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.minecraft-table-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  color: #587887;
}

.minecraft-table-empty > span {
  color: var(--green);
  font-size: 1.8rem;
  text-shadow: 0 0 16px var(--green);
}

.minecraft-table-empty p {
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 1120px) {
  .terminal-layout {
    grid-template-columns: 1fr;
  }

  .terminal-information {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  }

  .terminal-information > div:first-child {
    border-right: 1px solid rgba(117, 234, 255, 0.09);
    border-bottom: 0;
  }

  .terminal-limit-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .sidebar-nav {
    grid-template-columns: repeat(6, minmax(52px, 1fr));
    overflow-x: auto;
  }

  .terminal-login-form {
    grid-template-columns: 1fr;
  }

  .terminal-message,
  .terminal-connect-action {
    grid-column: auto;
  }

  .terminal-information {
    grid-template-columns: 1fr;
  }

  .terminal-information > div:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(117, 234, 255, 0.09);
  }

  .terminal-limit-note {
    grid-column: auto;
  }

  .minecraft-summary-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .minecraft-summary-card .state-badge {
    grid-column: 1 / -1;
  }

  .minecraft-table-head {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .minecraft-table-head span:nth-child(4),
  .minecraft-table-head span:nth-child(5) {
    display: none;
  }
}

@media (max-width: 560px) {
  .terminal-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .terminal-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .terminal-output {
    height: 350px;
    padding-inline: 14px;
    font-size: 0.75rem;
  }

  .terminal-command-form {
    grid-template-columns: 1fr 44px;
  }

  .terminal-prompt {
    grid-column: 1 / -1;
    max-width: none;
    padding: 8px 12px 0;
  }

  .terminal-command-form input {
    margin-left: 8px;
  }

  .minecraft-summary-card {
    grid-template-columns: 1fr;
  }

  .minecraft-cube {
    width: 58px;
  }
}

/* Minecraft live telemetry */

.minecraft-heading {
  align-items: center;
}

.minecraft-connection {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(116, 255, 209, 0.14);
  color: #7694a4;
  background: rgba(5, 16, 26, 0.7);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.minecraft-connection i,
.minecraft-live-badge i,
.minecraft-row-state i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #587787;
}

.minecraft-connection[data-state="online"] {
  color: var(--green);
}

.minecraft-connection[data-state="online"] i {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.minecraft-connection[data-state="loading"] {
  color: var(--gold);
}

.minecraft-connection[data-state="loading"] i {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: conduit-pulse 1s infinite;
}

.minecraft-connection[data-state="error"] {
  color: var(--red);
}

.minecraft-connection[data-state="error"] i {
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.minecraft-overview-shell {
  display: grid;
  gap: 10px;
}

.minecraft-server-hero,
.minecraft-metric-card,
.minecraft-facts-panel,
.minecraft-log-panel,
.minecraft-registry-panel {
  border: 1px solid rgba(117, 234, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.024), transparent 38%),
    rgba(4, 13, 22, 0.88);
  backdrop-filter: blur(18px);
}

.minecraft-server-hero {
  width: 100%;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  overflow: hidden;
  position: relative;
}

.minecraft-server-hero::after {
  content: "";
  position: absolute;
  inset: auto -75px -120px auto;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(116, 255, 209, 0.09);
  rotate: 45deg;
}

.minecraft-server-hero[data-state="online"] {
  border-color: rgba(116, 255, 209, 0.27);
}

.minecraft-server-hero[data-state="offline"],
.minecraft-server-hero[data-state="error"],
.minecraft-server-hero[data-state="unreachable"] {
  border-color: rgba(255, 120, 145, 0.22);
}

.minecraft-server-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 17px;
  position: relative;
  z-index: 1;
}

.minecraft-server-identity > div {
  min-width: 0;
}

.minecraft-server-identity h3 {
  margin: 3px 0 5px;
  font-size: clamp(1.1rem, 2.3vw, 1.65rem);
}

.minecraft-server-identity p:last-child {
  max-width: 900px;
  margin: 0;
  color: #7899a8;
  font-size: 0.78rem;
  line-height: 1.4;
}

.minecraft-cube {
  width: 48px;
  flex: 0 0 48px;
  font-size: 1.3rem;
}

.minecraft-server-state {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 7px;
  position: relative;
  z-index: 1;
}

.minecraft-server-state small {
  color: #5b7a89;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.62rem;
}

.minecraft-live-badge {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(117, 234, 255, 0.18);
  color: #7795a3;
  background: rgba(5, 17, 27, 0.8);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.minecraft-live-badge[data-state="online"] {
  border-color: rgba(116, 255, 209, 0.35);
  color: var(--green);
}

.minecraft-live-badge[data-state="online"] i,
.minecraft-server-row[data-state="online"] .minecraft-row-state i {
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.minecraft-live-badge[data-state="starting"] {
  color: var(--gold);
}

.minecraft-live-badge[data-state="starting"] i,
.minecraft-server-row[data-state="starting"] .minecraft-row-state i {
  background: var(--gold);
  box-shadow: 0 0 9px var(--gold);
}

.minecraft-live-badge[data-state="offline"],
.minecraft-live-badge[data-state="unreachable"],
.minecraft-live-badge[data-state="error"] {
  color: var(--red);
}

.minecraft-live-badge[data-state="offline"] i,
.minecraft-live-badge[data-state="unreachable"] i,
.minecraft-live-badge[data-state="error"] i,
.minecraft-server-row[data-state="offline"] .minecraft-row-state i,
.minecraft-server-row[data-state="unreachable"] .minecraft-row-state i,
.minecraft-server-row[data-state="error"] .minecraft-row-state i {
  background: var(--red);
  box-shadow: 0 0 9px var(--red);
}

.minecraft-module-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.minecraft-module-small {
  flex: 1 1 205px;
}

.minecraft-module-medium {
  flex: 1 1 380px;
}

.minecraft-module-wide {
  flex: 2 1 520px;
}

.minecraft-metric-card {
  min-width: 185px;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
}

.minecraft-metric-rune {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(116, 255, 209, 0.2);
  color: var(--green);
  background: rgba(116, 255, 209, 0.035);
  font-size: 0.78rem;
}

.minecraft-metric-card small,
.minecraft-metric-card strong,
.minecraft-metric-card p {
  display: block;
}

.minecraft-metric-card small {
  color: #577887;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.minecraft-metric-card strong {
  overflow: hidden;
  margin-top: 2px;
  color: #dcf8ff;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.minecraft-metric-card p {
  overflow: hidden;
  margin: 3px 0 0;
  color: #648594;
  font-size: 0.59rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.minecraft-chart-panel {
  min-width: min(100%, 320px);
  overflow: hidden;
}

.minecraft-chart-panel > header {
  min-height: 52px;
  padding: 10px 13px;
}

.minecraft-chart-panel h3 {
  margin-top: 2px;
  font-size: 0.8rem;
}

.minecraft-chart-panel .chart-legend {
  gap: 8px;
  font-size: 0.52rem;
}

.minecraft-chart-panel .chart-frame {
  height: 170px;
  min-height: 170px;
}

.minecraft-facts-panel,
.minecraft-log-panel,
.minecraft-registry-panel {
  min-width: min(100%, 320px);
  overflow: hidden;
}

.minecraft-facts-panel > header,
.minecraft-log-panel > header,
.minecraft-registry-header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.09);
}

.minecraft-facts-panel h3,
.minecraft-log-panel h3,
.minecraft-registry-header h3 {
  margin: 2px 0 0;
  font-size: 0.8rem;
}

.minecraft-facts-panel > header > span,
.minecraft-log-panel > header > span,
.minecraft-registry-header > span {
  color: #557887;
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  text-align: right;
}

.minecraft-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  margin: 0;
}

.minecraft-facts > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px 11px;
  border-right: 1px solid rgba(117, 234, 255, 0.06);
  border-bottom: 1px solid rgba(117, 234, 255, 0.06);
}

.minecraft-facts dt {
  color: #557787;
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.minecraft-facts dd {
  overflow: hidden;
  margin: 0;
  color: #c2e5ed;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.61rem;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.minecraft-event-feed {
  max-height: 245px;
  min-height: 170px;
  overflow: auto;
  scrollbar-color: rgba(117, 234, 255, 0.2) transparent;
}

.minecraft-event {
  min-height: 42px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 8px 11px;
  border-bottom: 1px solid rgba(117, 234, 255, 0.06);
}

.minecraft-event > span {
  width: 20px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 0.6rem;
}

.minecraft-event p {
  margin: 1px 0 0;
  color: #8aa9b6;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.59rem;
  line-height: 1.35;
  word-break: break-word;
}

.minecraft-event[data-level="warning"] > span,
.minecraft-event[data-level="warning"] p {
  color: var(--gold);
}

.minecraft-event[data-level="error"] > span,
.minecraft-event[data-level="error"] p {
  color: #ff91a5;
}

.minecraft-event-empty,
.minecraft-table-empty {
  min-height: 155px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  color: #587887;
}

.minecraft-event-empty > span,
.minecraft-table-empty > span {
  color: var(--green);
  font-size: 1.2rem;
}

.minecraft-event-empty p,
.minecraft-table-empty p {
  margin: 0;
  font-size: 0.67rem;
}

.minecraft-registry-panel {
  flex-grow: 1.15;
}

.minecraft-table-head {
  min-height: 34px;
  grid-template-columns: 1.8fr 0.9fr 1fr 0.55fr 0.55fr;
  padding: 0 11px;
  font-size: 0.44rem;
}

.minecraft-server-list {
  display: grid;
  max-height: 245px;
  overflow: auto;
}

.minecraft-server-row {
  min-height: 50px;
  display: grid;
  grid-template-columns: 1.8fr 0.9fr 1fr 0.55fr 0.55fr;
  align-items: center;
  padding: 0 11px;
  border: 0;
  border-bottom: 1px solid rgba(117, 234, 255, 0.07);
  color: #9fc0cc;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.minecraft-server-row:hover,
.minecraft-server-row.is-active {
  background: rgba(117, 234, 255, 0.045);
}

.minecraft-server-row.is-active {
  box-shadow: inset 2px 0 0 var(--green);
}

.minecraft-server-row > span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.59rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.minecraft-server-row > span:first-child {
  display: grid;
  gap: 2px;
}

.minecraft-server-row strong {
  color: #d9f4f9;
  font-size: 0.65rem;
}

.minecraft-server-row small {
  overflow: hidden;
  color: #4f6d7b;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.49rem;
  text-overflow: ellipsis;
}

.minecraft-row-state {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.49rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.legend-green {
  background: var(--green) !important;
}

@media (max-width: 760px) {
  .minecraft-heading,
  .minecraft-server-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .minecraft-server-state {
    justify-items: start;
  }

  .minecraft-module-small,
  .minecraft-module-medium,
  .minecraft-module-wide {
    flex-basis: 100%;
  }

  .minecraft-server-row,
  .minecraft-table-head {
    grid-template-columns: 1.4fr 0.9fr 0.9fr;
  }

  .minecraft-server-row > span:nth-child(4),
  .minecraft-server-row > span:nth-child(5),
  .minecraft-table-head span:nth-child(4),
  .minecraft-table-head span:nth-child(5) {
    display: none;
  }
}

@media (max-width: 560px) {
  .minecraft-server-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .minecraft-cube {
    width: 42px;
    flex-basis: 42px;
  }

  .minecraft-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .minecraft-chart-panel .chart-frame {
    height: 150px;
    min-height: 150px;
  }
}

/* Conduit relic theme v0.9.0 */

.conduit-nebula,
.conduit-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.conduit-nebula {
  background:
    radial-gradient(circle at 68% 10%, rgba(255, 68, 245, 0.11), transparent 18%),
    radial-gradient(circle at 58% 19%, rgba(128, 43, 255, 0.09), transparent 29%),
    radial-gradient(circle at 12% 78%, rgba(171, 37, 218, 0.045), transparent 30%);
  filter: saturate(1.2);
}

.conduit-grid {
  opacity: 0.5;
  background:
    linear-gradient(rgba(226, 86, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 86, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

.world-grid {
  background:
    linear-gradient(rgba(235, 91, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 91, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
}

.horizon-glow {
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(142, 49, 255, 0.18),
      rgba(255, 104, 245, 0.55),
      rgba(142, 49, 255, 0.18),
      transparent
    );
  box-shadow:
    0 0 34px rgba(255, 79, 243, 0.3),
    0 0 90px rgba(119, 35, 255, 0.16);
}

.eyebrow {
  color: #ff83f6;
  text-shadow: 0 0 16px rgba(255, 83, 245, 0.22);
}

/* Shared relic geometry */

.relic-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  isolation: isolate;
}

.relic-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 240, 255, 0.18), transparent 4%),
    radial-gradient(circle, rgba(255, 73, 242, 0.18), transparent 22%),
    radial-gradient(circle, rgba(111, 35, 255, 0.13), transparent 45%),
    radial-gradient(circle, rgba(30, 0, 50, 0.3), transparent 67%);
  filter: blur(1px);
  animation: relic-breathe 4.8s ease-in-out infinite;
}

.relic-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  height: 2px;
  translate: -50% -50%;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 86, 244, 0.34),
      rgba(255, 248, 255, 0.92),
      rgba(255, 86, 244, 0.34),
      transparent
    );
  box-shadow:
    0 0 18px rgba(255, 84, 246, 0.75),
    0 0 52px rgba(133, 40, 255, 0.4);
  animation: relic-axis-pulse 2.7s ease-in-out infinite;
}

.relic-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
}

.relic-halo-outer {
  width: 61%;
  border: 1px solid rgba(221, 85, 255, 0.13);
  background:
    repeating-conic-gradient(
      from 12deg,
      rgba(255, 90, 247, 0.17) 0 1deg,
      transparent 1deg 8deg
    );
  mask-image: radial-gradient(circle, transparent 58%, #000 59%);
  animation: relic-spin 42s linear infinite;
}

.relic-halo-middle {
  width: 43%;
  border:
    1px dashed rgba(164, 76, 255, 0.36);
  box-shadow:
    inset 0 0 38px rgba(115, 34, 255, 0.1),
    0 0 34px rgba(198, 51, 255, 0.12);
  animation: relic-spin 25s linear reverse infinite;
}

.relic-halo-inner {
  width: 29%;
  border: 1px solid rgba(255, 161, 250, 0.42);
  box-shadow:
    inset 0 0 28px rgba(255, 72, 244, 0.14),
    0 0 22px rgba(255, 72, 244, 0.24);
  animation: relic-breathe 3.1s ease-in-out infinite reverse;
}

.relic-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 9%;
  min-width: 31px;
  height: 36%;
  min-height: 104px;
  translate: -50% -50%;
  clip-path:
    polygon(
      24% 0,
      76% 0,
      100% 14%,
      87% 100%,
      13% 100%,
      0 14%
    );
  background:
    linear-gradient(
      90deg,
      #c96dff 0,
      #fff8ff 20%,
      #ffffff 50%,
      #ffe7ff 78%,
      #a84dff 100%
    );
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 34px rgba(255, 83, 245, 0.95),
    0 0 82px rgba(128, 42, 255, 0.82),
    0 0 150px rgba(116, 24, 201, 0.42);
  animation:
    relic-core-float 4.2s ease-in-out infinite,
    relic-core-flare 2.8s ease-in-out infinite;
}

.relic-core::before,
.relic-core::after {
  content: "";
  position: absolute;
  inset: 0;
}

.relic-core::before {
  background:
    linear-gradient(
      115deg,
      transparent 0 34%,
      rgba(255, 255, 255, 0.95) 43%,
      transparent 52% 100%
    );
  translate: -120% 0;
  animation: relic-core-sweep 3.6s ease-in-out infinite;
}

.relic-core::after {
  inset: 7% 19%;
  border-left: 1px solid rgba(116, 45, 184, 0.34);
  border-right: 1px solid rgba(255, 255, 255, 0.7);
}

.relic-core i {
  position: absolute;
  inset: 13% 30%;
  background: rgba(255, 255, 255, 0.85);
  filter: blur(2px);
}

.relic-wing {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 39%;
  height: 36%;
  translate: 0 -50%;
  opacity: 0.86;
  filter:
    drop-shadow(0 0 8px rgba(255, 64, 238, 0.72))
    drop-shadow(0 0 22px rgba(108, 34, 255, 0.35));
}

.relic-wing::before,
.relic-wing::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 103, 245, 0.9) 0 2px,
      transparent 2px 15px
    );
  clip-path:
    polygon(
      0 42%,
      19% 13%,
      92% 0,
      100% 10%,
      38% 36%,
      100% 50%,
      92% 61%,
      20% 55%,
      0 75%
    );
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      rgba(0, 0, 0, 0.9) 20%,
      #000
    );
}

.relic-wing::after {
  opacity: 0.55;
  translate: 0 11%;
  filter: blur(2px);
}

.relic-wing-left {
  right: 50%;
  transform: scaleX(-1) rotate(-4deg);
  transform-origin: right center;
  animation: relic-wing-left 5.2s ease-in-out infinite;
}

.relic-wing-right {
  left: 50%;
  transform: rotate(-4deg);
  transform-origin: left center;
  animation: relic-wing-right 5.2s ease-in-out infinite;
}

.relic-rail {
  position: absolute;
  left: 50%;
  z-index: 0;
  width: 39%;
  height: 1px;
  transform-origin: left center;
  background:
    linear-gradient(
      90deg,
      rgba(255, 251, 255, 0.72),
      rgba(243, 84, 255, 0.42),
      transparent
    );
  box-shadow: 0 0 9px rgba(255, 64, 241, 0.42);
  opacity: 0.58;
}

.relic-rail-a {
  top: 54%;
  rotate: 26deg;
}

.relic-rail-b {
  top: 57%;
  rotate: 31deg;
}

.relic-rail-c {
  top: 46%;
  rotate: -26deg;
  transform: scaleX(-1);
}

.relic-rail-d {
  top: 43%;
  rotate: -31deg;
  transform: scaleX(-1);
}

.relic-shimmer {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 7;
  width: 65%;
  height: 12%;
  translate: -50% -50%;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 252, 255, 0.06),
      rgba(255, 255, 255, 0.78),
      rgba(255, 91, 246, 0.14),
      transparent
    );
  filter: blur(7px);
  transform: rotate(-11deg) translateX(-65%);
  opacity: 0;
  animation: relic-shimmer 4.6s ease-in-out infinite;
}

.crystal-shard {
  position: absolute;
  z-index: 6;
  width: 7px;
  height: 19px;
  clip-path: polygon(50% 0, 100% 42%, 58% 100%, 0 62%);
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.95),
      rgba(255, 84, 244, 0.74) 52%,
      rgba(92, 27, 173, 0.18)
    );
  box-shadow:
    0 0 8px rgba(255, 89, 244, 0.82),
    0 0 20px rgba(122, 37, 255, 0.48);
  opacity: 0.72;
  animation: crystal-drift 6s ease-in-out infinite;
}

.shard-1 {
  top: 19%;
  left: 31%;
  rotate: 25deg;
  animation-delay: -1.2s;
}

.shard-2 {
  top: 26%;
  right: 26%;
  rotate: -31deg;
  scale: 0.65;
  animation-delay: -3.6s;
}

.shard-3 {
  top: 67%;
  left: 27%;
  rotate: 64deg;
  scale: 0.8;
  animation-delay: -2.4s;
}

.shard-4 {
  top: 73%;
  right: 31%;
  rotate: -52deg;
  scale: 0.55;
  animation-delay: -4.7s;
}

.shard-5 {
  top: 36%;
  left: 17%;
  rotate: 17deg;
  scale: 0.5;
  animation-delay: -0.8s;
}

.shard-6 {
  top: 44%;
  right: 13%;
  rotate: -17deg;
  scale: 0.72;
  animation-delay: -5.2s;
}

.shard-7 {
  top: 14%;
  right: 43%;
  rotate: 4deg;
  scale: 0.5;
  animation-delay: -2s;
}

.shard-8 {
  bottom: 11%;
  left: 48%;
  rotate: 75deg;
  scale: 0.4;
  animation-delay: -3.1s;
}

/* Dashboard shell */

.conduit-dashboard .dashboard-shell {
  background:
    linear-gradient(
      90deg,
      rgba(5, 0, 9, 0.96) 0 252px,
      transparent 252px
    );
}

.conduit-dashboard .sidebar {
  border-right: 1px solid rgba(232, 89, 255, 0.18);
  background:
    linear-gradient(
      180deg,
      rgba(17, 3, 28, 0.98),
      rgba(6, 0, 10, 0.985)
    );
  box-shadow:
    18px 0 80px rgba(44, 0, 67, 0.2),
    inset -1px 0 0 rgba(255, 173, 250, 0.025);
}

.conduit-dashboard .sidebar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 170px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 75, 245, 0.15), transparent 60%);
  pointer-events: none;
}

.conduit-dashboard .sidebar::after {
  content: "";
  position: absolute;
  top: 110px;
  right: -1px;
  width: 2px;
  height: 34%;
  background:
    linear-gradient(
      transparent,
      rgba(255, 85, 245, 0.85),
      rgba(126, 42, 255, 0.35),
      transparent
    );
  box-shadow:
    0 0 18px rgba(255, 72, 244, 0.72),
    0 0 42px rgba(119, 31, 229, 0.36);
  animation: sidebar-resonance 4.4s ease-in-out infinite;
}

.brand-lockup {
  position: relative;
}

.brand-glyph {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 116, 247, 0.34);
  border-radius: 50%;
  color: transparent;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 5%, rgba(255, 70, 244, 0.28) 12%, rgba(108, 33, 255, 0.1) 43%, transparent 68%);
  box-shadow:
    0 0 18px rgba(255, 74, 244, 0.28),
    inset 0 0 18px rgba(123, 34, 255, 0.15);
}

.brand-glyph::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 42%;
  width: 16%;
  height: 60%;
  clip-path: polygon(25% 0, 75% 0, 100% 14%, 85% 100%, 15% 100%, 0 14%);
  background: #fff;
  box-shadow:
    0 0 9px #fff,
    0 0 17px #ff4df2,
    0 0 29px #792cff;
}

.brand-glyph::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(255, 118, 248, 0.32);
  border-radius: 50%;
  animation: relic-spin 14s linear infinite;
}

.brand-lockup strong {
  color: #fff4ff;
  letter-spacing: 0.19em;
  text-shadow: 0 0 18px rgba(255, 75, 243, 0.24);
}

.brand-lockup small {
  color: #9a6fa8;
}

.sidebar-nav a {
  position: relative;
  border: 1px solid transparent;
  color: #9a7ba5;
}

.sidebar-nav a::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 0;
  height: 1px;
  translate: 0 -50%;
  background:
    linear-gradient(90deg, #ff5af0, transparent);
  box-shadow: 0 0 12px rgba(255, 72, 240, 0.7);
  transition: width 180ms ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  border-color: rgba(237, 92, 255, 0.18);
  color: #fff0ff;
  background:
    linear-gradient(
      90deg,
      rgba(255, 65, 242, 0.095),
      rgba(117, 34, 255, 0.045),
      transparent
    );
}

.sidebar-nav a:hover::after,
.sidebar-nav a.active::after {
  width: 44px;
}

.sidebar-nav a.active .nav-rune,
.sidebar-nav a:hover .nav-rune {
  color: #ff78f4;
  text-shadow:
    0 0 10px rgba(255, 86, 244, 0.8),
    0 0 24px rgba(129, 38, 255, 0.55);
}

.sovereign-card {
  border-color: rgba(236, 93, 255, 0.17);
  background:
    linear-gradient(
      135deg,
      rgba(255, 74, 242, 0.06),
      rgba(114, 34, 255, 0.035)
    );
}

.sovereign-rune {
  color: #fff;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 74, 244, 0.08));
  box-shadow:
    inset 0 0 18px rgba(255, 70, 244, 0.12),
    0 0 15px rgba(109, 35, 255, 0.12);
}

.logout-form button {
  border-color: rgba(235, 91, 255, 0.15);
  color: #a98ab2;
}

.logout-form button:hover {
  border-color: rgba(255, 110, 247, 0.42);
  color: #fff0ff;
  background: rgba(255, 68, 240, 0.06);
}

.topbar {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(231, 84, 255, 0.14);
  background:
    linear-gradient(
      90deg,
      rgba(7, 0, 11, 0.96),
      rgba(19, 3, 31, 0.91),
      rgba(7, 0, 11, 0.96)
    );
  box-shadow: 0 14px 50px rgba(25, 0, 42, 0.24);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(139, 45, 255, 0.28),
      rgba(255, 104, 246, 0.88),
      rgba(139, 45, 255, 0.28),
      transparent
    );
  box-shadow: 0 0 18px rgba(255, 74, 242, 0.7);
}

.topbar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 24%;
  height: 100%;
  background:
    linear-gradient(
      110deg,
      transparent,
      rgba(255, 246, 255, 0.09),
      transparent
    );
  transform: skewX(-16deg);
  animation: topbar-shimmer 8s ease-in-out infinite;
}

.breadcrumb span,
.breadcrumb strong {
  color: #d6b4dd;
}

.breadcrumb i {
  color: #ff65ee;
}

.link-stable {
  color: #f3d4fa;
}

.link-stable i {
  background: #ff75f4;
  box-shadow:
    0 0 9px #ff75f4,
    0 0 20px rgba(132, 40, 255, 0.55);
}

.dashboard-content {
  background:
    radial-gradient(circle at 63% 2%, rgba(255, 66, 242, 0.07), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.004), transparent);
}

/* Conduit sanctum */

.hero-panel.conduit-sanctum {
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(238, 92, 255, 0.22);
  background:
    radial-gradient(circle at 73% 41%, rgba(255, 74, 243, 0.13), transparent 19%),
    radial-gradient(circle at 70% 44%, rgba(108, 36, 255, 0.13), transparent 37%),
    linear-gradient(128deg, rgba(21, 3, 34, 0.96), rgba(5, 0, 9, 0.96) 63%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.012),
    inset 0 -90px 120px rgba(39, 0, 64, 0.16),
    0 22px 80px rgba(21, 0, 35, 0.24);
}

.hero-panel.conduit-sanctum::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 96, 246, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 96, 246, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.85),
      transparent 78%
    );
}

.hero-panel.conduit-sanctum::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  border: 1px solid transparent;
  background:
    linear-gradient(
      110deg,
      transparent 0 48%,
      rgba(255, 255, 255, 0.08) 50%,
      transparent 52% 100%
    );
  translate: -110% 0;
  pointer-events: none;
  animation: sanctum-sweep 9s ease-in-out infinite;
}

.conduit-crown {
  position: absolute;
  top: -15px;
  right: -20px;
  z-index: 1;
  width: min(59%, 760px);
  height: calc(100% + 28px);
  pointer-events: none;
}

.relic-caption {
  position: absolute;
  right: 12%;
  bottom: 9%;
  color: rgba(255, 189, 252, 0.44);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
}

.hero-panel.conduit-sanctum .hero-copy {
  position: relative;
  z-index: 4;
  width: min(55%, 690px);
  padding: clamp(28px, 5vw, 66px);
}

.hero-panel.conduit-sanctum .hero-copy h1 {
  color: transparent;
  background:
    linear-gradient(
      105deg,
      #fff 5%,
      #ffd5ff 42%,
      #db88ff 78%,
      #9a58ff
    );
  background-clip: text;
  filter:
    drop-shadow(0 0 22px rgba(255, 72, 240, 0.21));
}

.hero-panel.conduit-sanctum .hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: #baa0c1;
}

.conduit-response {
  border-color: rgba(240, 95, 255, 0.18);
  background:
    linear-gradient(
      90deg,
      rgba(255, 72, 240, 0.065),
      rgba(119, 35, 255, 0.035),
      transparent
    );
}

.conduit-response span {
  color: #ff74f3;
  text-shadow:
    0 0 12px rgba(255, 86, 244, 0.8),
    0 0 28px rgba(126, 34, 255, 0.44);
}

.hero-meta span {
  border-color: rgba(239, 94, 255, 0.16);
  color: #9f7ba9;
  background: rgba(15, 2, 24, 0.72);
}

.authority-seal {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 9;
  min-width: 210px;
  display: grid;
  gap: 3px;
  padding: 10px 13px 10px 16px;
  border: 1px solid rgba(240, 101, 255, 0.23);
  border-left: 2px solid #ff5af0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 69, 242, 0.09),
      rgba(23, 3, 37, 0.88)
    );
  box-shadow:
    0 0 30px rgba(91, 22, 145, 0.19);
}

.authority-seal small,
.authority-seal span {
  color: #8d6998;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.47rem;
  letter-spacing: 0.1em;
}

.authority-seal strong {
  color: #fff0ff;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.authority-seal[data-authority="divine"] {
  border-color: rgba(255, 154, 249, 0.4);
  border-left-color: #fff6ff;
  box-shadow:
    0 0 18px rgba(255, 242, 255, 0.08),
    0 0 42px rgba(255, 68, 241, 0.15);
}

.authority-seal[data-authority="divine"] strong {
  color: #fff;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.5),
    0 0 24px rgba(255, 74, 242, 0.42);
}

/* Relic cards and modules */

.foundation-card,
.metric-card,
.telemetry-panel,
.system-identity-panel,
.terminal-panel,
.minecraft-server-hero,
.minecraft-metric-card,
.minecraft-facts-panel,
.minecraft-log-panel,
.minecraft-registry-panel,
.module-card,
.empty-panel {
  position: relative;
  border-color: rgba(231, 84, 255, 0.15);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.018),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(18, 4, 30, 0.93),
      rgba(6, 0, 10, 0.94)
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.008),
    0 14px 45px rgba(23, 0, 40, 0.13);
}

.foundation-card::before,
.metric-card::before,
.telemetry-panel::before,
.system-identity-panel::before,
.terminal-panel::before,
.minecraft-server-hero::before,
.minecraft-metric-card::before,
.minecraft-facts-panel::before,
.minecraft-log-panel::before,
.minecraft-registry-panel::before,
.module-card::before,
.empty-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 46px;
  height: 1px;
  background:
    linear-gradient(90deg, #ff5af0, transparent);
  box-shadow: 0 0 13px rgba(255, 75, 241, 0.58);
  pointer-events: none;
}

.foundation-card:hover,
.metric-card:hover,
.module-card:hover {
  border-color: rgba(242, 105, 255, 0.3);
  background:
    linear-gradient(
      135deg,
      rgba(255, 77, 242, 0.045),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      rgba(21, 4, 35, 0.96),
      rgba(7, 0, 12, 0.96)
    );
}

.card-index,
.metric-icon,
.minecraft-metric-rune,
.terminal-header-rune,
.module-visual,
.empty-glyph {
  border-color: rgba(237, 92, 255, 0.23);
  color: #ff79f4;
  background:
    radial-gradient(circle, rgba(255, 73, 240, 0.09), transparent 68%);
  box-shadow:
    inset 0 0 18px rgba(139, 39, 255, 0.07);
}

.state-badge,
.system-connection,
.minecraft-connection,
.minecraft-live-badge,
.terminal-state {
  border-color: rgba(240, 100, 255, 0.18);
  background: rgba(16, 3, 26, 0.74);
}

.state-online,
.system-connection[data-state="online"],
.minecraft-connection[data-state="online"],
.minecraft-live-badge[data-state="online"],
.terminal-state[data-state="online"] {
  color: #f5d8ff;
  border-color: rgba(245, 198, 255, 0.34);
}

.state-online::before,
.system-connection[data-state="online"] i,
.minecraft-connection[data-state="online"] i,
.minecraft-live-badge[data-state="online"] i,
.terminal-state[data-state="online"] i {
  background: #f5d8ff;
  box-shadow:
    0 0 9px #f5d8ff,
    0 0 19px rgba(255, 82, 242, 0.55);
}

.section-heading {
  position: relative;
  padding-left: 18px;
}

.section-heading::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 2px;
  background:
    linear-gradient(
      #ff5bf0,
      #7e35ff,
      transparent
    );
  box-shadow: 0 0 14px rgba(255, 72, 240, 0.6);
}

.section-heading h2,
.telemetry-header h3,
.telemetry-panel h3,
.system-identity-panel h3,
.terminal-panel h3,
.minecraft-section h3,
.module-card h3 {
  color: #fff2ff;
  text-shadow: 0 0 18px rgba(255, 78, 242, 0.08);
}

.metric-gauge-track {
  stroke: rgba(221, 85, 255, 0.08);
}

.metric-gauge-value {
  stroke: #ff6ef3;
  filter:
    drop-shadow(0 0 5px rgba(255, 77, 242, 0.72));
}

.thermal-gauge::before,
.thermal-gauge::after {
  border-color: rgba(238, 91, 255, 0.22);
}

.telemetry-panel > header,
.system-identity-panel > header,
.terminal-panel-header,
.minecraft-facts-panel > header,
.minecraft-log-panel > header,
.minecraft-registry-header {
  border-bottom-color: rgba(231, 84, 255, 0.1);
  background:
    linear-gradient(
      90deg,
      rgba(255, 67, 241, 0.03),
      transparent
    );
}

.chart-frame,
.terminal-console-view,
.terminal-login-view,
.minecraft-event-feed,
.minecraft-server-list {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 62, 239, 0.025), transparent 50%),
    rgba(3, 0, 6, 0.48);
}

.terminal-output {
  color: #d9bde0;
}

.terminal-prompt {
  color: #ff75f2;
}

.terminal-command-form input,
.terminal-login-form input {
  border-color: rgba(232, 87, 255, 0.17);
  color: #fff2ff;
  background: rgba(4, 0, 8, 0.82);
}

.terminal-command-form input:focus,
.terminal-login-form input:focus {
  border-color: rgba(255, 111, 246, 0.5);
  box-shadow:
    0 0 0 3px rgba(255, 75, 242, 0.06),
    0 0 24px rgba(122, 34, 255, 0.12);
}

.terminal-command-form button,
.terminal-connect-action,
.access-submit {
  border-color: rgba(255, 126, 249, 0.45);
  color: #fff7ff;
  background:
    linear-gradient(
      110deg,
      rgba(255, 73, 241, 0.2),
      rgba(119, 39, 255, 0.22)
    );
  box-shadow:
    0 0 22px rgba(132, 31, 210, 0.14);
}

.terminal-command-form button:hover,
.terminal-connect-action:hover,
.access-submit:hover {
  border-color: rgba(255, 184, 251, 0.7);
  background:
    linear-gradient(
      110deg,
      rgba(255, 89, 243, 0.3),
      rgba(130, 50, 255, 0.3)
    );
  box-shadow:
    0 0 28px rgba(255, 72, 240, 0.18);
}

.minecraft-server-row.is-active {
  background:
    linear-gradient(
      90deg,
      rgba(255, 73, 241, 0.095),
      transparent
    );
  box-shadow:
    inset 2px 0 0 #ff64ef;
}

.minecraft-server-row[data-state="online"] .minecraft-row-state i {
  background: #f4d6ff;
  box-shadow:
    0 0 8px #f4d6ff,
    0 0 16px rgba(255, 72, 241, 0.5);
}

/* Login sanctum */

.conduit-login .access-layout {
  background:
    radial-gradient(circle at 36% 31%, rgba(255, 68, 242, 0.08), transparent 26%);
}

.conduit-login .access-console {
  border-left-color: rgba(233, 88, 255, 0.15);
  background:
    linear-gradient(
      100deg,
      transparent,
      rgba(7, 0, 11, 0.94) 25%
    ),
    rgba(2, 0, 4, 0.38);
}

.conduit-login .access-copy {
  margin-top: 350px;
}

.conduit-login .access-copy h1 {
  background:
    linear-gradient(
      105deg,
      #fff 8%,
      #ffd6ff 45%,
      #de85ff 76%,
      #8a51ff
    );
  background-clip: text;
  filter:
    drop-shadow(0 0 28px rgba(255, 70, 242, 0.25));
}

.conduit-login .manifest {
  color: #b49bbb;
}

.conduit-login .system-tags span {
  border-color: rgba(235, 91, 255, 0.16);
  color: #9d79a7;
  background: rgba(12, 2, 20, 0.68);
}

.divine-sigil.conduit-relic-display {
  top: 47%;
  left: 43%;
  width: min(55vw, 720px);
  aspect-ratio: 1.25;
  translate: -50% -64%;
}

.access-card {
  border-color: rgba(235, 90, 255, 0.22);
  background:
    linear-gradient(
      145deg,
      rgba(24, 5, 39, 0.92),
      rgba(6, 0, 10, 0.96)
    );
  box-shadow:
    0 28px 90px rgba(24, 0, 39, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.012);
}

.access-card::before {
  background:
    linear-gradient(
      90deg,
      transparent,
      #ff67f1,
      transparent
    );
  box-shadow:
    0 0 20px rgba(255, 77, 241, 0.75);
}

.mini-sigil {
  border-color: rgba(240, 102, 255, 0.32);
  color: #fff2ff;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 72, 241, 0.055));
  box-shadow:
    inset 0 0 20px rgba(132, 36, 255, 0.08),
    0 0 18px rgba(255, 72, 241, 0.08);
}

.access-field input {
  border-color: rgba(233, 89, 255, 0.18);
  color: #fff3ff;
  background: rgba(4, 0, 8, 0.82);
}

.access-field input:focus {
  border-color: rgba(255, 116, 247, 0.54);
  box-shadow:
    0 0 0 3px rgba(255, 72, 240, 0.06),
    0 0 24px rgba(118, 34, 255, 0.12);
}

.conduit-voice {
  border-left-color: #ff62ef;
  color: #c7aacd;
  background:
    linear-gradient(
      90deg,
      rgba(255, 71, 241, 0.075),
      transparent
    );
}

/* Animations */

@keyframes relic-spin {
  to {
    rotate: 360deg;
  }
}

@keyframes relic-breathe {
  0%,
  100% {
    opacity: 0.58;
    scale: 0.94;
  }

  50% {
    opacity: 1;
    scale: 1.04;
  }
}

@keyframes relic-axis-pulse {
  0%,
  100% {
    opacity: 0.35;
    scale: 0.9 1;
  }

  50% {
    opacity: 0.9;
    scale: 1.08 1;
  }
}

@keyframes relic-core-float {
  0%,
  100% {
    translate: -50% calc(-50% - 4px);
  }

  50% {
    translate: -50% calc(-50% + 5px);
  }
}

@keyframes relic-core-flare {
  0%,
  100% {
    filter: brightness(0.96);
  }

  50% {
    filter: brightness(1.2);
  }
}

@keyframes relic-core-sweep {
  0%,
  15% {
    translate: -140% 0;
  }

  48%,
  100% {
    translate: 170% 0;
  }
}

@keyframes relic-wing-left {
  0%,
  100% {
    transform: scaleX(-1) rotate(-4deg) scale(0.98);
    opacity: 0.68;
  }

  50% {
    transform: scaleX(-1) rotate(-1deg) scale(1.03);
    opacity: 1;
  }
}

@keyframes relic-wing-right {
  0%,
  100% {
    transform: rotate(-4deg) scale(0.98);
    opacity: 0.68;
  }

  50% {
    transform: rotate(-1deg) scale(1.03);
    opacity: 1;
  }
}

@keyframes relic-shimmer {
  0%,
  18% {
    opacity: 0;
    transform: rotate(-11deg) translateX(-70%);
  }

  36% {
    opacity: 0.9;
  }

  58%,
  100% {
    opacity: 0;
    transform: rotate(-11deg) translateX(78%);
  }
}

@keyframes crystal-drift {
  0%,
  100% {
    translate: 0 0;
    opacity: 0.35;
  }

  50% {
    translate: 5px -13px;
    opacity: 0.95;
  }
}

@keyframes sidebar-resonance {
  0%,
  100% {
    opacity: 0.3;
    scale: 1 0.76;
  }

  50% {
    opacity: 1;
    scale: 1 1.04;
  }
}

@keyframes topbar-shimmer {
  0%,
  58% {
    left: -34%;
    opacity: 0;
  }

  67% {
    opacity: 1;
  }

  84%,
  100% {
    left: 126%;
    opacity: 0;
  }
}

@keyframes sanctum-sweep {
  0%,
  62% {
    translate: -110% 0;
  }

  78%,
  100% {
    translate: 115% 0;
  }
}

@media (max-width: 1050px) {
  .hero-panel.conduit-sanctum {
    min-height: 560px;
  }

  .conduit-crown {
    top: -30px;
    right: 50%;
    width: min(100%, 700px);
    height: 390px;
    translate: 50% 0;
    opacity: 0.82;
  }

  .hero-panel.conduit-sanctum .hero-copy {
    width: 100%;
    padding-top: 300px;
  }

  .authority-seal {
    right: 18px;
    bottom: 16px;
  }
}

@media (max-width: 760px) {
  .hero-panel.conduit-sanctum {
    min-height: 620px;
  }

  .conduit-crown {
    top: -20px;
    height: 330px;
  }

  .hero-panel.conduit-sanctum .hero-copy {
    padding: 265px 22px 100px;
  }

  .authority-seal {
    right: 18px;
    bottom: 18px;
    left: 18px;
    min-width: 0;
  }

  .conduit-login .access-copy {
    margin-top: 310px;
  }

  .divine-sigil.conduit-relic-display {
    top: 42%;
    left: 50%;
    width: min(94vw, 620px);
  }
}

@media (max-width: 520px) {
  .conduit-crown {
    width: 650px;
    max-width: none;
    opacity: 0.64;
  }

  .relic-wing {
    width: 35%;
  }

  .hero-panel.conduit-sanctum .hero-copy {
    padding-top: 240px;
  }

  .relic-caption {
    display: none;
  }

  .conduit-login .access-copy {
    margin-top: 275px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .relic-halo,
  .relic-stage::before,
  .relic-stage::after,
  .relic-core,
  .relic-core::before,
  .relic-wing,
  .relic-shimmer,
  .crystal-shard,
  .conduit-dashboard .sidebar::after,
  .topbar::after,
  .hero-panel.conduit-sanctum::after {
    animation: none !important;
  }
}

/* Crystal Conduit interface v0.10.0 */

:root {
  --bg: #010103;
  --void: #000001;
  --panel: rgba(6, 4, 10, 0.92);
  --panel-strong: rgba(9, 5, 15, 0.97);
  --line: rgba(126, 68, 174, 0.22);
  --line-strong: rgba(160, 83, 223, 0.48);
  --cyan: #9a57ff;
  --cyan-soft: #eee8ff;
  --violet: #7d35dc;
  --violet-deep: #321053;
  --gold: #c17aff;
  --green: #e9e1ff;
  --red: #ff6c93;
  --text: #eeeaf3;
  --muted: #817488;
  --crystal-white: #fbf9ff;
  --crystal-lilac: #c29aff;
  --crystal-violet: #7a2bd0;
  --crystal-deep: #2b0b46;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 68% 8%, rgba(72, 23, 119, 0.08), transparent 30%),
    linear-gradient(140deg, #000001 0%, #030105 54%, #000001 100%);
}

#aether-canvas {
  opacity: 0.78;
}

.conduit-nebula {
  opacity: 0.45;
  background:
    radial-gradient(circle at 70% 12%, rgba(109, 40, 174, 0.08), transparent 24%),
    radial-gradient(circle at 17% 82%, rgba(65, 18, 107, 0.05), transparent 30%);
}

.conduit-grid {
  opacity: 0.16;
  background-size: 88px 88px;
  background-image:
    linear-gradient(rgba(111, 68, 143, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 68, 143, 0.028) 1px, transparent 1px);
}

.conduit-dashboard .dashboard-shell {
  background: transparent;
}

.conduit-dashboard .sidebar {
  border-right: 1px solid rgba(112, 55, 154, 0.26);
  background:
    linear-gradient(180deg, rgba(4, 2, 7, 0.99), rgba(1, 1, 2, 0.995));
  box-shadow:
    18px 0 70px rgba(21, 7, 34, 0.26),
    inset -1px 0 rgba(191, 131, 238, 0.025);
}

.conduit-dashboard .sidebar::before {
  height: 250px;
  background:
    radial-gradient(circle at 62% 0, rgba(104, 39, 166, 0.12), transparent 62%);
}

.conduit-dashboard .sidebar::after {
  top: 82px;
  right: -1px;
  width: 1px;
  height: 58%;
  background:
    linear-gradient(
      transparent,
      rgba(117, 47, 184, 0.18),
      rgba(188, 104, 248, 0.8),
      rgba(117, 47, 184, 0.18),
      transparent
    );
  box-shadow: 0 0 18px rgba(121, 50, 188, 0.45);
}

.brand-glyph {
  border: 1px solid rgba(143, 76, 194, 0.34);
  border-radius: 2px;
  color: transparent;
  background: rgba(8, 4, 13, 0.8);
  box-shadow:
    0 0 20px rgba(83, 24, 133, 0.16),
    inset 0 0 17px rgba(125, 50, 187, 0.08);
  clip-path: polygon(50% 0, 84% 15%, 100% 50%, 84% 85%, 50% 100%, 16% 85%, 0 50%, 16% 15%);
}

.brand-glyph::before {
  top: 17%;
  left: 41%;
  width: 18%;
  height: 66%;
  clip-path: polygon(23% 0, 77% 0, 100% 13%, 83% 100%, 17% 100%, 0 13%);
  background: linear-gradient(90deg, #9274b8, #fff, #c7a5ef);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.65),
    0 0 19px rgba(139, 62, 207, 0.72);
}

.brand-glyph::after {
  inset: 10%;
  border: 1px solid rgba(139, 72, 192, 0.22);
  border-radius: 0;
  clip-path: inherit;
}

.brand-lockup strong {
  color: #f1edf5;
  letter-spacing: 0.18em;
  text-shadow: none;
}

.brand-lockup small {
  color: #6f6476;
  letter-spacing: 0.07em;
}

.sidebar-nav {
  gap: 3px;
}

.sidebar-nav a {
  min-height: 46px;
  border: 1px solid transparent;
  color: #817486;
  background: transparent;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}

.sidebar-nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 3px;
  height: 3px;
  translate: 0 -50%;
  rotate: 45deg;
  border: 1px solid rgba(144, 75, 200, 0.22);
}

.sidebar-nav a::after {
  inset: auto auto 0 0;
  width: 0;
  height: 1px;
  translate: 0;
  background: linear-gradient(90deg, #9b5bde, transparent);
  box-shadow: 0 0 10px rgba(126, 54, 189, 0.46);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  border-color: rgba(127, 63, 176, 0.16);
  color: #e9e1ef;
  background:
    linear-gradient(90deg, rgba(89, 35, 133, 0.12), rgba(14, 7, 22, 0.2));
}

.sidebar-nav a:hover::before,
.sidebar-nav a.active::before {
  border-color: rgba(205, 147, 248, 0.72);
  background: rgba(174, 102, 229, 0.75);
  box-shadow: 0 0 9px rgba(154, 79, 218, 0.78);
}

.sidebar-nav a:hover::after,
.sidebar-nav a.active::after {
  width: 58px;
}

.sidebar-nav a.active .nav-rune,
.sidebar-nav a:hover .nav-rune {
  color: #bb8ee0;
  text-shadow: 0 0 11px rgba(140, 67, 198, 0.55);
}

.sovereign-card,
.logout-form button {
  border-color: rgba(121, 59, 166, 0.2);
  background: rgba(7, 3, 11, 0.68);
}

.sovereign-rune {
  border: 1px solid rgba(142, 73, 190, 0.3);
  color: #e9e1ef;
  background: rgba(58, 19, 87, 0.18);
  box-shadow: inset 0 0 16px rgba(111, 45, 164, 0.12);
  clip-path: polygon(50% 0, 90% 18%, 100% 60%, 72% 100%, 28% 100%, 0 60%, 10% 18%);
}

.topbar {
  border-bottom: 1px solid rgba(112, 55, 154, 0.2);
  background:
    linear-gradient(90deg, rgba(2, 1, 4, 0.97), rgba(8, 4, 12, 0.94), rgba(2, 1, 4, 0.97));
  box-shadow: 0 14px 40px rgba(9, 3, 15, 0.3);
}

.topbar::before {
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(112, 51, 167, 0.22), rgba(182, 107, 232, 0.48), rgba(112, 51, 167, 0.22), transparent);
  box-shadow: 0 0 12px rgba(108, 46, 166, 0.32);
}

.topbar::after {
  opacity: 0.28;
  background: linear-gradient(110deg, transparent, rgba(219, 193, 239, 0.06), transparent);
}

.breadcrumb span,
.breadcrumb strong {
  color: #a99bae;
}

.breadcrumb i,
.link-stable {
  color: #a675c9;
}

.link-stable i {
  background: #c4a5df;
  box-shadow: 0 0 9px rgba(150, 84, 201, 0.7);
}

.dashboard-content {
  gap: 18px;
  padding-top: 18px;
  background:
    radial-gradient(circle at 68% 2%, rgba(86, 28, 132, 0.05), transparent 25%);
}

/* Real crystal conduit hero */

.hero-panel.crystal-conduit-hero {
  min-height: 460px;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(119, 59, 164, 0.28);
  background: #010102;
  box-shadow:
    0 22px 70px rgba(8, 2, 13, 0.42),
    inset 0 0 0 1px rgba(231, 210, 244, 0.01);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.hero-panel.crystal-conduit-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 1, 0.99) 0%, rgba(2, 1, 4, 0.94) 27%, rgba(2, 1, 4, 0.26) 58%, transparent 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 22%, transparent 76%, rgba(0, 0, 0, 0.72));
}

.hero-panel.crystal-conduit-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border: 1px solid transparent;
  background:
    linear-gradient(112deg, transparent 0 46%, rgba(255, 255, 255, 0.035) 49%, transparent 52% 100%);
  translate: -120% 0;
  animation: crystal-panel-sweep 10s ease-in-out infinite;
}

.conduit-core-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.crystal-hero-vignette,
.crystal-hero-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.crystal-hero-vignette {
  background:
    radial-gradient(circle at 69% 43%, transparent 0 16%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.64) 100%);
}

.crystal-hero-scanlines {
  opacity: 0.17;
  background:
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(146, 96, 179, 0.035) 4px);
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000);
}

.crystal-hero-copy {
  position: relative;
  z-index: 6;
  width: min(50%, 650px);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 72px);
}

.crystal-hero-copy .eyebrow {
  color: #a77bca;
  text-shadow: none;
}

.crystal-hero-copy h1 {
  margin: 8px 0 12px;
  color: #f5f1f8;
  background: none;
  filter: none;
  text-shadow: 0 0 28px rgba(151, 83, 205, 0.12);
}

.crystal-hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: #9a8fa0;
}

.crystal-response {
  max-width: 620px;
  border: 0;
  border-left: 1px solid rgba(155, 84, 210, 0.62);
  background: linear-gradient(90deg, rgba(87, 31, 131, 0.1), transparent 82%);
}

.crystal-response span {
  color: #c19be0;
  text-shadow: 0 0 12px rgba(138, 65, 196, 0.62);
}

.crystal-hero-meta span {
  border-color: rgba(112, 58, 153, 0.22);
  color: #817388;
  background: rgba(4, 2, 7, 0.72);
}

.crystal-authority-seal {
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 224px;
  padding: 10px 14px;
  border: 1px solid rgba(124, 65, 171, 0.27);
  background: rgba(3, 2, 5, 0.78);
  backdrop-filter: blur(14px);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.crystal-authority-seal > i {
  width: 12px;
  height: 32px;
  flex: 0 0 auto;
  clip-path: polygon(28% 0, 72% 0, 100% 15%, 82% 100%, 18% 100%, 0 15%);
  background: linear-gradient(90deg, #8062a3, #fff, #a784cf);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.5),
    0 0 18px rgba(126, 55, 187, 0.65);
}

.crystal-authority-seal > span {
  display: grid;
  gap: 2px;
}

.crystal-authority-seal small,
.crystal-authority-seal em {
  color: #766b7c;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.47rem;
  font-style: normal;
  letter-spacing: 0.09em;
}

.crystal-authority-seal strong {
  color: #e9e1ef;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.crystal-authority-seal[data-authority="divine"] {
  border-color: rgba(177, 117, 220, 0.42);
}

.crystal-authority-seal[data-authority="divine"] > i {
  background: linear-gradient(90deg, #a284c0, #fff, #d2b8ed);
}

.crystal-hero-readout {
  position: absolute;
  right: 24px;
  bottom: 19px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #665a6c;
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.49rem;
  letter-spacing: 0.08em;
}

.crystal-hero-readout span:first-child {
  color: #a78abc;
}

.crystal-hero-readout i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  rotate: 45deg;
  background: #d9c6e8;
  box-shadow: 0 0 9px rgba(143, 76, 198, 0.68);
}

/* Crystal-cut modules */

.foundation-card,
.metric-card,
.telemetry-panel,
.system-identity-panel,
.terminal-panel,
.minecraft-server-hero,
.minecraft-metric-card,
.minecraft-facts-panel,
.minecraft-log-panel,
.minecraft-registry-panel,
.module-card,
.empty-panel {
  border: 1px solid rgba(102, 53, 139, 0.24);
  background:
    linear-gradient(135deg, rgba(130, 74, 170, 0.025), transparent 38%),
    rgba(5, 3, 8, 0.92);
  box-shadow:
    0 14px 40px rgba(4, 1, 7, 0.26),
    inset 0 0 0 1px rgba(233, 217, 245, 0.008);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.foundation-card::before,
.metric-card::before,
.telemetry-panel::before,
.system-identity-panel::before,
.terminal-panel::before,
.minecraft-server-hero::before,
.minecraft-metric-card::before,
.minecraft-facts-panel::before,
.minecraft-log-panel::before,
.minecraft-registry-panel::before,
.module-card::before,
.empty-panel::before {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(176, 107, 224, 0.72), transparent);
  box-shadow: 0 0 9px rgba(126, 56, 187, 0.36);
}

.foundation-card::after,
.metric-card::after,
.minecraft-metric-card::after,
.module-card::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  border-right: 1px solid rgba(130, 72, 171, 0.16);
  border-bottom: 1px solid rgba(130, 72, 171, 0.16);
  transform: skew(-18deg);
  pointer-events: none;
}

.foundation-card:hover,
.metric-card:hover,
.module-card:hover {
  border-color: rgba(141, 76, 188, 0.38);
  background:
    linear-gradient(135deg, rgba(123, 58, 173, 0.05), transparent 40%),
    rgba(7, 4, 11, 0.95);
}

.card-index,
.metric-icon,
.minecraft-metric-rune,
.terminal-header-rune,
.module-visual,
.empty-glyph {
  border-color: rgba(126, 66, 169, 0.28);
  color: #b58ad4;
  background: rgba(56, 20, 83, 0.12);
  box-shadow: inset 0 0 14px rgba(107, 43, 156, 0.1);
  clip-path: polygon(50% 0, 88% 20%, 100% 62%, 70% 100%, 30% 100%, 0 62%, 12% 20%);
}

.section-heading {
  padding-left: 17px;
}

.section-heading::before {
  width: 1px;
  background: linear-gradient(#b077d8, #5c278e, transparent);
  box-shadow: 0 0 10px rgba(122, 55, 181, 0.42);
}

.eyebrow {
  color: #9d77b9;
  text-shadow: none;
}

.section-heading h2,
.foundation-card h2,
.telemetry-panel h3,
.system-identity-panel h3,
.terminal-panel h3,
.minecraft-section h3,
.module-card h3 {
  color: #e9e3ed;
  text-shadow: none;
}

.state-badge,
.system-connection,
.minecraft-connection,
.minecraft-live-badge,
.terminal-state {
  border-color: rgba(104, 55, 140, 0.24);
  color: #817588;
  background: rgba(5, 3, 8, 0.8);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
}

.state-online,
.system-connection[data-state="online"],
.minecraft-connection[data-state="online"],
.minecraft-live-badge[data-state="online"],
.terminal-state[data-state="online"] {
  border-color: rgba(154, 105, 190, 0.34);
  color: #d8c5e6;
}

.state-online::before,
.system-connection[data-state="online"] i,
.minecraft-connection[data-state="online"] i,
.minecraft-live-badge[data-state="online"] i,
.terminal-state[data-state="online"] i {
  background: #d8c5e6;
  box-shadow: 0 0 8px rgba(153, 84, 201, 0.72);
}

.metric-gauge-track {
  stroke: rgba(118, 68, 151, 0.1);
}

.metric-gauge-value {
  stroke: #9c61c9;
  filter: drop-shadow(0 0 4px rgba(124, 57, 177, 0.55));
}

.telemetry-panel > header,
.system-identity-panel > header,
.terminal-panel-header,
.minecraft-facts-panel > header,
.minecraft-log-panel > header,
.minecraft-registry-header {
  border-bottom-color: rgba(100, 51, 137, 0.16);
  background: linear-gradient(90deg, rgba(83, 31, 124, 0.04), transparent);
}

.chart-frame,
.terminal-console-view,
.terminal-login-view,
.minecraft-event-feed,
.minecraft-server-list {
  background:
    linear-gradient(rgba(111, 65, 142, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 65, 142, 0.018) 1px, transparent 1px),
    rgba(1, 1, 2, 0.55);
  background-size: 30px 30px;
}

.terminal-output {
  color: #b7a8be;
}

.terminal-prompt {
  color: #b98bda;
}

.terminal-command-form input,
.terminal-login-form input {
  border-color: rgba(105, 54, 142, 0.26);
  color: #e8e1ec;
  background: rgba(1, 1, 2, 0.86);
}

.terminal-command-form input:focus,
.terminal-login-form input:focus {
  border-color: rgba(147, 89, 190, 0.54);
  box-shadow: 0 0 0 3px rgba(105, 45, 154, 0.08);
}

.terminal-command-form button,
.terminal-connect-action,
.access-submit,
.primary-action {
  border-color: rgba(146, 86, 190, 0.42);
  color: #eae2ef;
  background: linear-gradient(110deg, rgba(89, 35, 133, 0.28), rgba(45, 17, 70, 0.38));
  box-shadow: 0 0 20px rgba(69, 23, 106, 0.16);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.terminal-command-form button:hover,
.terminal-connect-action:hover,
.access-submit:hover,
.primary-action:hover {
  border-color: rgba(183, 125, 224, 0.62);
  background: linear-gradient(110deg, rgba(111, 48, 160, 0.36), rgba(55, 20, 83, 0.48));
}

.minecraft-server-row.is-active {
  background: linear-gradient(90deg, rgba(92, 35, 137, 0.14), transparent);
  box-shadow: inset 2px 0 0 #9b66c2;
}

.minecraft-server-row[data-state="online"] .minecraft-row-state i {
  background: #d8c5e6;
  box-shadow: 0 0 8px rgba(152, 86, 201, 0.68);
}

@keyframes crystal-panel-sweep {
  0%, 66% {
    translate: -120% 0;
  }
  82%, 100% {
    translate: 120% 0;
  }
}

@media (max-width: 1050px) {
  .hero-panel.crystal-conduit-hero {
    min-height: 590px;
  }

  .hero-panel.crystal-conduit-hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 1, 0.24), rgba(0, 0, 1, 0.62) 53%, rgba(0, 0, 1, 0.98) 76%);
  }

  .crystal-hero-copy {
    width: 100%;
    min-height: 590px;
    justify-content: flex-end;
    padding: 290px 32px 92px;
  }

  .crystal-authority-seal {
    right: 18px;
    top: 18px;
  }

  .crystal-hero-readout {
    right: 20px;
    bottom: 18px;
  }
}

@media (max-width: 760px) {
  .hero-panel.crystal-conduit-hero {
    min-height: 650px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  }

  .crystal-hero-copy {
    padding: 305px 20px 120px;
  }

  .crystal-authority-seal {
    left: 18px;
    right: 18px;
    min-width: 0;
  }

  .crystal-hero-readout {
    left: 20px;
    right: 20px;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
}

@media (max-width: 520px) {
  .crystal-hero-copy {
    padding-top: 270px;
  }

  .crystal-response {
    padding-right: 0;
  }

  .crystal-hero-readout span:not(:first-child) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel.crystal-conduit-hero::after {
    animation: none !important;
  }
}
