:root {
  --bg: #070a12;
  --bg-soft: #0a0f1b;
  --panel: #0d1322;
  --panel2: #111a2d;
  --panel3: #151f35;
  --line: #202b43;
  --line-soft: rgba(255, 255, 255, 0.07);
  --muted: #8995aa;
  --text: #edf2ff;
  --accent: #7c5cff;
  --accent2: #23d9c4;
  --danger: #ff5d7a;
  --warn: #ffb84d;
  --ok: #42dc99;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 18px;
  --container: min(1180px, calc(100vw - 40px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #080e1a;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: 0.2s border-color, 0.2s box-shadow;
}
input::placeholder,
textarea::placeholder {
  color: #69768e;
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}
select option {
  background: #101727;
  color: var(--text);
}
textarea {
  resize: vertical;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background: radial-gradient(
      circle at 12% 8%,
      rgba(124, 92, 255, 0.19),
      transparent 27%
    ),
    radial-gradient(circle at 88% 7%, rgba(35, 217, 196, 0.1), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}
.site-container {
  width: var(--container);
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(20px);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  filter: drop-shadow(0 8px 20px rgba(124, 92, 255, 0.28));
}
.brand span,
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: auto;
}
.site-nav a {
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  transition: 0.2s;
}
.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(124, 92, 255, 0.12);
}
.site-nav a.active {
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.23);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 760;
  cursor: pointer;
  transition: 0.18s transform, 0.18s border-color, 0.18s background,
    0.18s box-shadow;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  background: linear-gradient(135deg, var(--accent), #9a70ff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 25px rgba(124, 92, 255, 0.24);
}
.button.primary:hover {
  box-shadow: 0 14px 32px rgba(124, 92, 255, 0.34);
}
.button.secondary,
.button.ghost {
  background: rgba(255, 255, 255, 0.025);
}
.button.secondary:hover,
.button.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #34425f;
}
.button.danger {
  background: rgba(255, 93, 122, 0.1);
  border-color: rgba(255, 93, 122, 0.32);
  color: #ff9aae;
}
.button.small {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
}
.button.full {
  width: 100%;
}
.account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 6px 10px 6px 7px;
  border-radius: 999px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 720;
}
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), #4a3abf);
  font-weight: 800;
  color: #fff;
  flex: 0 0 auto;
}
.small-avatar {
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.tiny {
  width: 26px;
  height: 26px;
  font-size: 10px;
}
.large-avatar {
  width: 54px;
  height: 54px;
  font-size: 20px;
}
.mobile-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 10px;
  margin-left: auto;
}
.mobile-nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}
.flash-stack {
  position: fixed;
  top: 92px;
  right: max(20px, calc((100vw - 1180px) / 2));
  z-index: 80;
  width: min(420px, calc(100vw - 40px));
  display: grid;
  gap: 10px;
}
.flash {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(13, 19, 34, 0.96);
  box-shadow: var(--shadow);
  font-size: 14px;
  transition: 0.3s opacity, 0.3s transform;
}
.flash.success {
  border-color: rgba(66, 220, 153, 0.35);
}
.flash.error {
  border-color: rgba(255, 93, 122, 0.4);
}
.flash.warning {
  border-color: rgba(255, 184, 77, 0.4);
}
.flash.fade {
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
}
.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--accent2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      transparent 49.8%,
      rgba(124, 92, 255, 0.07) 50%,
      transparent 50.2%
    ),
    linear-gradient(
      transparent 49.8%,
      rgba(35, 217, 196, 0.045) 50%,
      transparent 50.2%
    );
  background-size: 130px 130px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  opacity: 0.7;
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 65px;
  align-items: center;
  padding: 90px 0 110px;
}
.hero-copy h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0;
  max-width: 780px;
}
.hero-copy > p {
  font-size: 19px;
  color: #abb5c8;
  max-width: 660px;
  margin: 24px 0 30px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.copy-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 175px;
  padding: 10px 18px;
}
.copy-address small {
  font-size: 10px;
  opacity: 0.74;
  font-weight: 650;
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-trust i,
.status-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 5px rgba(66, 220, 153, 0.09);
}
.hero-visual {
  position: relative;
  min-height: 500px;
}
.core-cube {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 138px;
  height: 138px;
  transform: translate(-50%, -50%) rotate(8deg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: linear-gradient(145deg, #9e72ff, #5f44db 58%, #1ccbb9);
  box-shadow: 0 40px 90px rgba(86, 63, 200, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  z-index: 3;
}
.core-cube::before,
.core-cube::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 27px;
}
.core-cube::after {
  inset: 26px;
  border-radius: 20px;
}
.core-cube b {
  font-size: 68px;
  line-height: 1;
  color: #fff;
  transform: rotate(-8deg);
  text-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
}
.core-cube.large {
  position: relative;
  left: auto;
  top: auto;
  transform: rotate(8deg);
  width: 180px;
  height: 180px;
  margin: 0 auto 40px;
}
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(124, 92, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one {
  width: 370px;
  height: 370px;
}
.orbit-two {
  width: 500px;
  height: 500px;
  border-color: rgba(35, 217, 196, 0.18);
}
.mode-card {
  position: absolute;
  width: 185px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(13, 19, 34, 0.87);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(16px);
  z-index: 4;
}
.mode-card span {
  font-size: 24px;
}
.mode-card small,
.mode-card strong {
  display: block;
}
.mode-card small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.mode-card strong {
  font-size: 20px;
}
.mode-factions {
  top: 42px;
  left: 10px;
  transform: rotate(-4deg);
}
.mode-skyblock {
  right: 0;
  top: 155px;
  transform: rotate(4deg);
}
.mode-prisons {
  left: 62px;
  bottom: 24px;
  transform: rotate(2deg);
}
.stats-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(13, 19, 34, 0.55);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-grid div {
  padding: 25px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.stats-grid div:first-child {
  border-left: 1px solid var(--line);
}
.stats-grid strong {
  font-size: 25px;
}
.stats-grid span {
  color: var(--muted);
  font-size: 12px;
}
.section {
  padding: 96px 0;
}
.section-alt {
  background: linear-gradient(
    180deg,
    rgba(13, 19, 34, 0.55),
    rgba(7, 10, 18, 0.4)
  );
  border-block: 1px solid var(--line-soft);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}
.section-heading p {
  color: var(--muted);
  max-width: 640px;
  margin: 10px 0 0;
}
.section-heading > a,
.text-link,
.back-link {
  color: #a99bff;
  font-weight: 760;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), #0b111f);
  border-radius: 22px;
  padding: 28px;
  min-height: 360px;
}
.game-card::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -90px;
  bottom: -120px;
  filter: blur(3px);
  opacity: 0.18;
}
.game-card.purple::after {
  background: var(--accent);
}
.game-card.teal::after {
  background: var(--accent2);
}
.game-card.amber::after {
  background: var(--warn);
}
.game-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.13);
  font-size: 26px;
  margin-bottom: 25px;
}
.game-card h3 {
  font-size: 28px;
  margin: 12px 0 9px;
}
.game-card p {
  color: var(--muted);
}
.game-card ul {
  padding-left: 18px;
  color: #c0c9d9;
  display: grid;
  gap: 8px;
}
.tag-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  border: 1px solid rgba(124, 92, 255, 0.3);
  background: rgba(124, 92, 255, 0.11);
  color: #c7beff;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag.subtle {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--muted);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel);
  transition: 0.2s transform, 0.2s border-color;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.45);
}
.news-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
}
.news-art {
  min-height: 210px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(35, 217, 196, 0.35),
      transparent 30%
    ),
    linear-gradient(145deg, #171d38, #573eac 60%, #153f4d);
  display: flex;
  align-items: flex-end;
}
.news-art::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(35deg);
  right: -40px;
  top: 20px;
  border-radius: 40px;
}
.news-art span {
  position: relative;
  z-index: 2;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.news-art b {
  position: absolute;
  right: 25px;
  bottom: -25px;
  font-size: 150px;
  color: rgba(255, 255, 255, 0.08);
}
.news-body {
  padding: 24px;
}
.news-body .meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.news-body h3 {
  font-size: 23px;
  line-height: 1.2;
  margin: 15px 0 10px;
}
.news-body p {
  color: var(--muted);
  margin: 0 0 18px;
}
.roadmap-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.roadmap-mini,
.roadmap-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
  padding: 20px;
}
.roadmap-mini-top,
.roadmap-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.roadmap-mini-top > span:last-child {
  color: var(--muted);
  font-size: 12px;
}
.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(124, 92, 255, 0.1);
  color: #b7acff;
}
.status.in_progress {
  color: #76e7d9;
  background: rgba(35, 217, 196, 0.1);
}
.status.testing {
  color: #ffd18a;
  background: rgba(255, 184, 77, 0.1);
}
.status.released,
.status.resolved,
.status.active {
  color: #85ebb0;
  background: rgba(66, 220, 153, 0.1);
}
.status.paused,
.status.closed,
.status.suspended {
  color: #ff9aae;
  background: rgba(255, 93, 122, 0.1);
}
.roadmap-mini h3,
.roadmap-card h3 {
  margin: 13px 0 7px;
}
.roadmap-mini p,
.roadmap-card p {
  color: var(--muted);
  font-size: 14px;
}
.progress {
  height: 7px;
  border-radius: 999px;
  background: #080d18;
  overflow: hidden;
  margin: 16px 0 9px;
}
.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.roadmap-mini small {
  color: var(--muted);
}
.community-cta {
  padding-top: 30px;
}
.cta-card {
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 26px;
  padding: 40px;
  background: radial-gradient(
      circle at 85% 20%,
      rgba(35, 217, 196, 0.12),
      transparent 30%
    ),
    linear-gradient(145deg, rgba(124, 92, 255, 0.12), var(--panel));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.cta-card h2 {
  font-size: 35px;
  margin: 0;
}
.cta-card p {
  color: var(--muted);
  max-width: 720px;
}
.page-hero,
.article-hero,
.forum-hero {
  padding: 90px 0 68px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(
      circle at 75% 15%,
      rgba(124, 92, 255, 0.13),
      transparent 31%
    ),
    linear-gradient(180deg, #0a0f1c, var(--bg));
}
.page-hero.compact {
  padding: 65px 0 50px;
}
.page-hero h1,
.article-hero h1,
.forum-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin: 0;
}
.page-hero p,
.article-hero .lead,
.forum-hero p {
  color: #a9b4c8;
  font-size: 18px;
  max-width: 700px;
}
.split-hero,
.forum-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.subscribe-card {
  width: min(430px, 100%);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 18px;
  padding: 18px;
}
.subscribe-card label {
  display: block;
  font-weight: 760;
  margin-bottom: 9px;
}
.subscribe-card > div {
  display: flex;
  gap: 8px;
}
.subscribe-card small {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}
.updates-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
}
.filter-sidebar {
  position: sticky;
  top: 105px;
  align-self: start;
  display: grid;
  gap: 6px;
}
.filter-sidebar h3 {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.filter-sidebar a {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
}
.filter-sidebar a:hover,
.filter-sidebar a.active {
  background: var(--panel);
  color: #fff;
}
.timeline {
  position: relative;
  display: grid;
  gap: 24px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 85px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-entry {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 35px;
  position: relative;
}
.timeline-date {
  display: flex;
  flex-direction: column;
  text-align: right;
  padding-top: 18px;
}
.timeline-date strong {
  font-size: 13px;
}
.timeline-date span {
  color: var(--muted);
  font-size: 11px;
}
.timeline-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 27px;
  position: relative;
}
.timeline-card::before {
  content: '';
  position: absolute;
  left: -42px;
  top: 24px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.timeline-card h2 {
  font-size: 27px;
  line-height: 1.18;
  margin: 15px 0 10px;
}
.timeline-card p {
  color: var(--muted);
}
.article-width {
  width: min(840px, calc(100vw - 40px));
}
.article-hero .back-link {
  display: inline-block;
  margin-bottom: 30px;
}
.article-hero h1 {
  font-size: clamp(42px, 6vw, 70px);
  margin-top: 14px;
}
.article-meta {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.prose {
  font-size: 17px;
  color: #c5cddd;
}
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #fff;
  letter-spacing: -0.03em;
  margin: 38px 0 14px;
}
.prose h1 {
  font-size: 38px;
}
.prose h2 {
  font-size: 30px;
}
.prose h3 {
  font-size: 23px;
}
.prose p {
  margin: 0 0 20px;
}
.prose ul {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.prose a {
  color: #a99bff;
  text-decoration: underline;
}
.prose code {
  background: #11192a;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
}
.prose pre {
  overflow: auto;
  background: #080d17;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.reaction-bar {
  margin: 50px 0 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.reaction-bar > span {
  margin-right: auto;
  color: var(--muted);
  font-size: 13px;
}
.reaction-bar form {
  margin: 0;
}
.reaction-bar button,
.reaction-button,
.vote-button {
  border: 1px solid var(--line);
  background: #101728;
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
}
.comments {
  padding-top: 50px;
}
.comment-form {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}
.comment-form .button {
  justify-self: end;
}
.comment-list {
  display: grid;
  gap: 14px;
}
.comment {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}
.comment > .avatar {
  width: 40px;
  height: 40px;
}
.comment header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.comment time {
  font-size: 11px;
  color: var(--muted);
}
.comment p {
  margin: 7px 0 0;
  color: #c7cfdf;
}
.inline-notice {
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.08);
  padding: 14px 16px;
  color: #bcc5d8;
}
.roadmap-search {
  display: flex;
  gap: 8px;
  width: min(440px, 100%);
}
.roadmap-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(245px, 1fr));
  gap: 14px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 15px;
}
.roadmap-column {
  min-width: 245px;
}
.roadmap-column > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
  padding: 0 5px;
}
.roadmap-column > header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.roadmap-column h2 {
  font-size: 14px;
  margin: 0;
}
.roadmap-column > header > span {
  font-size: 11px;
  color: var(--muted);
}
.column-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.column-dot.in_progress {
  background: var(--accent2);
}
.column-dot.testing {
  background: var(--warn);
}
.column-dot.released {
  background: var(--ok);
}
.column-dot.paused {
  background: var(--danger);
}
.roadmap-stack {
  display: grid;
  gap: 11px;
}
.roadmap-card {
  padding: 17px;
}
.roadmap-card .target {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}
.roadmap-card-footer small {
  color: var(--muted);
}
.empty-column {
  border: 1px dashed var(--line);
  border-radius: 15px;
  padding: 20px;
  color: var(--muted);
  font-size: 13px;
}
.support-hero {
  padding: 105px 0 75px;
  text-align: center;
  background: radial-gradient(
      circle at 50% 0,
      rgba(124, 92, 255, 0.23),
      transparent 42%
    ),
    var(--bg);
}
.support-hero h1 {
  font-size: clamp(44px, 7vw, 72px);
  letter-spacing: -0.05em;
  margin: 0;
}
.support-hero-inner > p {
  color: var(--muted);
}
.support-search {
  width: min(740px, 100%);
  margin: 28px auto 18px;
  position: relative;
}
.support-search span {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 25px;
  color: var(--muted);
}
.support-search input {
  padding: 18px 110px 18px 52px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.support-search button {
  position: absolute;
  right: 7px;
  top: 7px;
  bottom: 7px;
  border: 0;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  font-weight: 750;
}
.support-quick {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}
.support-quick a {
  color: #aaa0f8;
}
.support-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.support-category {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  background: var(--panel);
}
.support-category-head {
  display: flex;
  gap: 15px;
}
.support-category h2 {
  margin: 0;
}
.support-category p {
  color: var(--muted);
  margin: 5px 0;
}
.support-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.12);
  flex: 0 0 auto;
}
.support-icon.large {
  width: 55px;
  height: 55px;
  font-size: 23px;
}
.support-links {
  display: grid;
  margin: 20px 0 12px;
  border-top: 1px solid var(--line);
}
.support-links a {
  display: flex;
  justify-content: space-between;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.support-category > small {
  color: var(--muted);
}
.article-list {
  display: grid;
  gap: 10px;
}
.article-list-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
}
.article-list-item small {
  color: var(--accent2);
}
.article-list-item h3 {
  margin: 2px 0;
}
.article-list-item p {
  margin: 0;
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 50px;
  align-items: start;
}
.help-card {
  position: sticky;
  top: 110px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 22px;
}
.help-card p {
  color: var(--muted);
}
.help-card .button {
  margin-top: 8px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
  align-items: start;
}
.contact-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.contact-options article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 20px;
}
.contact-options span {
  font-size: 25px;
}
.contact-options h3 {
  margin: 10px 0 4px;
}
.contact-options p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.form-card,
.settings-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-card label,
.settings-card label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}
.form-card label > span,
.settings-card label > span {
  font-size: 12px;
  font-weight: 760;
  color: #bbc5d6;
}
.form-grid {
  display: grid;
  gap: 14px;
}
.form-grid.two {
  grid-template-columns: 1fr 1fr;
}
.form-heading h2 {
  margin-top: 0;
}
.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.form-footer small {
  color: var(--muted);
}
.rules-notice {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 25px;
  border: 1px solid rgba(255, 184, 77, 0.26);
  background: rgba(255, 184, 77, 0.07);
  border-radius: 13px;
  padding: 13px 15px;
  width: max-content;
  max-width: 100%;
}
.rules-notice span {
  color: var(--muted);
}
.rules-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 45px;
  align-items: start;
}
.rules-sidebar {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 6px;
}
.rules-sidebar h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.rules-sidebar a {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
}
.rules-sidebar a:hover {
  background: var(--panel);
  color: #fff;
}
.rules-content {
  display: grid;
  gap: 60px;
}
.rule-category > header {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.rule-category h2 {
  margin: 0;
}
.rule-category p {
  color: var(--muted);
  margin: 4px 0;
}
.rule-list {
  display: grid;
  gap: 10px;
}
.rule-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}
.rule-card summary {
  list-style: none;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 17px;
  cursor: pointer;
}
.rule-card summary::-webkit-details-marker {
  display: none;
}
.rule-code {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.12);
  color: #c6bdff;
  font-weight: 850;
}
.rule-card h3 {
  margin: 0;
}
.severity {
  display: inline-block;
  margin-top: 4px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warn);
}
.severity.critical,
.severity.high {
  color: var(--danger);
}
.severity.low,
.severity.info {
  color: var(--accent2);
}
.rule-card[open] summary > b {
  transform: rotate(45deg);
}
.rule-body {
  padding: 0 18px 18px 80px;
}
.punishment {
  display: grid;
  gap: 3px;
  border-left: 3px solid var(--warn);
  padding: 10px 12px;
  background: rgba(255, 184, 77, 0.06);
  border-radius: 0 10px 10px 0;
}
.punishment span {
  color: var(--muted);
}
.account-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
  align-items: start;
}
.profile-card {
  position: sticky;
  top: 105px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 25px;
  text-align: center;
}
.profile-avatar {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
  border-radius: 25px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent2));
  font-size: 38px;
  font-weight: 850;
}
.profile-card h2 {
  margin: 0;
}
.profile-card > span {
  color: var(--muted);
}
.role-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 22px;
}
.role-chips i {
  font-style: normal;
  border: 1px solid color-mix(in srgb, var(--role-color), transparent 65%);
  background: color-mix(in srgb, var(--role-color), transparent 90%);
  color: var(--role-color);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
}
.account-main {
  display: grid;
  gap: 18px;
}
.settings-card {
  box-shadow: none;
}
.card-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-heading h2 {
  margin: 0;
}
.connection-list,
.minecraft-list {
  display: grid;
  gap: 10px;
}
.connection-row,
.minecraft-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
}
.connection-row > div,
.minecraft-list article > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.connection-row strong,
.connection-row small,
.minecraft-list strong,
.minecraft-list small {
  display: block;
}
.connection-row small,
.minecraft-list small {
  color: var(--muted);
}
.provider-icon,
.minecraft-head {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #5865f2;
  font-weight: 850;
}
.provider-icon.google {
  background: #fff;
  color: #4285f4;
}
.provider-icon.microsoft {
  background: #2f2f2f;
}
.minecraft-head {
  background: rgba(66, 220, 153, 0.12);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(66, 220, 153, 0.24);
  border-radius: 999px;
  padding: 6px 10px;
  color: #91eab6;
  font-size: 11px;
}
.link-code {
  margin: 18px 0;
  border: 1px dashed rgba(124, 92, 255, 0.5);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  background: rgba(124, 92, 255, 0.06);
}
.link-code span,
.link-code small {
  display: block;
  color: var(--muted);
}
.link-code strong {
  display: block;
  font-size: 36px;
  letter-spacing: 0.16em;
  margin: 6px;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(480px, 610px) 1fr;
}
.auth-panel {
  padding: 55px clamp(32px, 7vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-brand {
  margin-bottom: 55px;
}
.auth-panel h1 {
  font-size: 45px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0;
}
.auth-panel > p {
  color: var(--muted);
}
.auth-panel form {
  margin-top: 20px;
}
.auth-panel form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}
.auth-panel form label span {
  font-size: 12px;
  font-weight: 750;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.divider::before,
.divider::after {
  content: '';
  height: 1px;
  background: var(--line);
  flex: 1;
}
.oauth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.oauth-button {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px;
  text-align: center;
  font-weight: 750;
  background: var(--panel);
}
.oauth-button:hover {
  border-color: #3b4a6b;
}
.auth-switch {
  text-align: center;
  font-size: 13px;
}
.auth-switch a {
  color: #a99bff;
}
.auth-art {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      circle at 70% 20%,
      rgba(35, 217, 196, 0.2),
      transparent 30%
    ),
    radial-gradient(
      circle at 40% 70%,
      rgba(124, 92, 255, 0.35),
      transparent 40%
    ),
    #0b1120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px;
}
.auth-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.auth-art > * {
  position: relative;
  z-index: 2;
}
.auth-art h2 {
  font-size: 34px;
  margin: 0;
}
.auth-art p {
  color: var(--muted);
  max-width: 450px;
}
.forum-hero {
  padding: 75px 0;
}
.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 25px;
  align-items: start;
}
.forum-category-list {
  display: grid;
  gap: 12px;
}
.forum-category-card {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) auto 24px;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 20px;
  transition: 0.18s;
}
.forum-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.4);
}
.forum-category-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 23px;
  background: color-mix(in srgb, var(--forum-color), transparent 86%);
  border: 1px solid color-mix(in srgb, var(--forum-color), transparent 60%);
}
.forum-category-card h2 {
  margin: 0;
  font-size: 19px;
}
.forum-category-card p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 13px;
}
.forum-counts {
  display: flex;
  gap: 25px;
}
.forum-counts span {
  display: grid;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}
.forum-counts b {
  font-size: 17px;
  color: #fff;
}
.forum-arrow {
  color: var(--muted);
}
.forum-sidebar {
  display: grid;
  gap: 15px;
  position: sticky;
  top: 105px;
}
.sidebar-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 18px;
}
.sidebar-card h3 {
  margin: 0 0 14px;
}
.latest-topic {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.latest-topic strong,
.latest-topic small {
  display: block;
}
.latest-topic strong {
  font-size: 12px;
}
.latest-topic small {
  font-size: 10px;
  color: var(--muted);
}
.guidelines p {
  color: var(--muted);
  font-size: 13px;
}
.guidelines a {
  color: #a99bff;
  font-size: 13px;
}
.topic-table {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
}
.topic-table-head,
.topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 80px 110px;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
}
.topic-table-head {
  background: #10182a;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.topic-row {
  border-top: 1px solid var(--line);
  min-height: 75px;
}
.topic-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.topic-main {
  display: flex;
  gap: 12px;
  align-items: center;
}
.topic-main h3 {
  margin: 0;
  font-size: 15px;
}
.topic-main small {
  color: var(--muted);
}
.topic-row > span,
.topic-row > time {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.pin {
  font-style: normal;
  color: var(--warn);
  font-size: 9px;
  text-transform: uppercase;
  margin-right: 6px;
}
.topic-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.moderation-actions {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}
.moderation-actions form {
  margin: 0;
}
.topic-layout {
  width: min(980px, calc(100vw - 40px));
}
.forum-post {
  display: grid;
  grid-template-columns: 155px 1fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  overflow: hidden;
  margin-bottom: 14px;
}
.forum-post > aside {
  padding: 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.forum-post > aside .avatar {
  margin: 0 auto 10px;
}
.forum-post > aside strong,
.forum-post > aside small {
  display: block;
}
.forum-post > aside small {
  color: var(--muted);
  font-size: 10px;
}
.post-content {
  min-width: 0;
  padding: 20px;
}
.post-content > header {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 17px;
}
.post-content > footer {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 18px;
}
.reply-form {
  margin-top: 22px;
}
.narrow {
  width: min(760px, calc(100vw - 40px));
}
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 25px;
}
.pagination a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.pagination a.active,
.pagination a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.empty-state {
  padding: 50px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
}
.empty-state h2 {
  color: #fff;
}
.muted {
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #080c15;
  padding-top: 55px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 45px;
  padding-bottom: 45px;
}
.footer-grid p {
  color: var(--muted);
  max-width: 410px;
}
.footer-grid h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b5bfd0;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-grid > div:not(:first-child) a {
  color: var(--muted);
  font-size: 13px;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 1000px) {
  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px;
    width: 100%;
    background: rgba(7, 10, 18, 0.98);
    display: none;
    align-items: stretch;
    flex-direction: column;
    overflow: auto;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    font-size: 18px;
    padding: 14px;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .header-actions {
    margin-left: 0;
  }
  .header-actions .button.ghost {
    display: none;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 65px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy h1,
  .hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }
  .hero-visual {
    min-height: 430px;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .game-card {
    min-height: auto;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-card.featured {
    grid-column: span 2;
  }
  .roadmap-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .support-category-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .rules-layout {
    grid-template-columns: 1fr;
  }
  .rules-sidebar {
    position: static;
    display: flex;
    overflow: auto;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    position: static;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .help-card {
    position: static;
  }
  .forum-layout {
    grid-template-columns: 1fr;
  }
  .forum-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: 2;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .roadmap-board {
    margin-right: calc((100vw - var(--container)) / -2);
  }
}
@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }
  .header-inner {
    height: 68px;
  }
  .site-nav {
    top: 68px;
  }
  .brand strong {
    font-size: 14px;
  }
  .brand img {
    width: 38px;
  }
  .header-actions .button.primary {
    display: none;
  }
  .account-chip > span:last-child {
    display: none;
  }
  .section {
    padding: 68px 0;
  }
  .hero {
    min-height: auto;
  }
  .hero-layout {
    padding: 65px 0 75px;
    gap: 35px;
  }
  .hero-copy h1 {
    font-size: 46px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-visual {
    min-height: 360px;
    transform: scale(0.88);
  }
  .orbit-two {
    width: 420px;
    height: 420px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid div {
    border-bottom: 1px solid var(--line);
  }
  .stats-grid div:nth-child(odd) {
    border-left: 1px solid var(--line);
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card.featured {
    grid-column: auto;
    display: block;
  }
  .roadmap-preview-grid {
    grid-template-columns: 1fr;
  }
  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }
  .cta-card h2 {
    font-size: 29px;
  }
  .page-hero,
  .article-hero,
  .forum-hero {
    padding: 65px 0 48px;
  }
  .split-hero,
  .forum-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .subscribe-card,
  .roadmap-search {
    width: 100%;
  }
  .updates-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .filter-sidebar {
    position: static;
    display: flex;
    overflow: auto;
  }
  .filter-sidebar h3 {
    display: none;
  }
  .filter-sidebar a {
    white-space: nowrap;
    border: 1px solid var(--line);
  }
  .timeline::before {
    left: 7px;
  }
  .timeline-entry {
    grid-template-columns: 1fr;
    padding-left: 25px;
  }
  .timeline-date {
    display: none;
  }
  .timeline-card::before {
    left: -26px;
  }
  .support-search input {
    padding-right: 18px;
  }
  .support-search button {
    position: static;
    width: 100%;
    height: 45px;
    margin-top: 8px;
  }
  .support-search span {
    top: 25px;
  }
  .contact-options {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid.two {
    grid-template-columns: 1fr;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .rules-notice {
    align-items: flex-start;
    flex-direction: column;
  }
  .rule-body {
    padding-left: 18px;
  }
  .auth-panel {
    padding: 35px 22px;
  }
  .auth-brand {
    margin-bottom: 35px;
  }
  .auth-panel h1 {
    font-size: 37px;
  }
  .oauth-grid {
    grid-template-columns: 1fr;
  }
  .forum-category-card {
    grid-template-columns: 48px 1fr 20px;
  }
  .forum-counts {
    display: none;
  }
  .topic-table-head {
    display: none;
  }
  .topic-row {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .topic-row > span,
  .topic-row > time {
    display: none;
  }
  .topic-title-row {
    flex-direction: column;
  }
  .forum-post {
    grid-template-columns: 1fr;
  }
  .forum-post > aside {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .forum-post > aside .avatar {
    margin: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child {
    grid-column: auto;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .flash-stack {
    top: 78px;
    right: 14px;
    width: calc(100vw - 28px);
  }
}
@media (max-width: 440px) {
  .header-actions .button {
    display: none;
  }
  .hero-copy h1 {
    font-size: 39px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-visual {
    transform: scale(0.72);
    margin: -45px -55px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid div,
  .stats-grid div:nth-child(odd) {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .contact-options {
    grid-template-columns: 1fr;
  }
  .page-hero h1,
  .article-hero h1,
  .forum-hero h1 {
    font-size: 39px;
  }
  .support-category {
    padding: 18px;
  }
  .article-list-item {
    grid-template-columns: 40px 1fr;
  }
  .article-list-item > b {
    display: none;
  }
  .form-card,
  .settings-card {
    padding: 20px;
  }
  .connection-row {
    align-items: flex-start;
  }
  .connection-row > .status-pill {
    display: none;
  }
  .forum-category-card {
    padding: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* CMS-driven home content */
.mode-position-1 {
  top: 42px;
  left: 10px;
  transform: rotate(-4deg);
}
.mode-position-2 {
  right: 0;
  top: 155px;
  transform: rotate(4deg);
}
.mode-position-3 {
  left: 62px;
  bottom: 24px;
  transform: rotate(2deg);
}
.game-card.blue::after {
  background: #5da8ff;
}
.game-card.green::after {
  background: var(--ok);
}
.game-card.pink::after {
  background: var(--danger);
}
.game-card > small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-weight: 700;
}
.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.permission-grid .toggle-row {
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.permission-grid .toggle-row span,
.permission-grid .toggle-row strong,
.permission-grid .toggle-row small {
  display: block;
}
.permission-grid .toggle-row small {
  color: var(--muted);
  margin-top: 2px;
}
.admin-delete-form {
  margin-top: 12px;
}
@media (max-width: 720px) {
  .permission-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Minecraft identity previews and SolarynClockwork profile linking
   -------------------------------------------------------------------------- */
.minecraft-auth-page .auth-panel { max-width: 760px; }
.minecraft-auth-page .auth-art { overflow: hidden; }
.minecraft-identity-fieldset {
  margin: 18px 0 22px;
  border: 1px solid rgba(124, 92, 255, .28);
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(124,92,255,.08), rgba(35,217,196,.035));
}
.minecraft-identity-fieldset legend {
  padding: 0 10px;
  color: #cfc7ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.minecraft-registration-grid,
.profile-minecraft-editor {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.minecraft-fields { min-width: 0; }
.minecraft-preview-large,
.minecraft-auth-showcase,
.profile-minecraft-avatar {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #080e1a;
  border: 1px solid rgba(124, 92, 255, .35);
  box-shadow: 0 20px 45px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.04);
}
.minecraft-preview-large { width: 138px; height: 138px; }
.minecraft-preview-large.compact { width: 118px; height: 118px; }
.minecraft-preview-large img,
.minecraft-auth-showcase img,
.profile-minecraft-avatar img {
  width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated;
}
.minecraft-auth-showcase { width: 210px; height: 210px; margin-bottom: 28px; transform: rotate(-2deg); }
.minecraft-auth-showcase::before,
.minecraft-preview-large::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 35%, transparent 70%, rgba(35,217,196,.12));
}
.skin-scan {
  position: absolute; z-index: 3; left: 8%; right: 8%; height: 2px; top: 10%;
  background: linear-gradient(90deg, transparent, #5fffe8, transparent);
  box-shadow: 0 0 14px #23d9c4;
  animation: skin-scan 3.2s ease-in-out infinite;
}
@keyframes skin-scan { 0%,100% { top: 12%; opacity:.25 } 50% { top: 86%; opacity:1 } }
.minecraft-lookup-state {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(5,9,17,.55);
  padding: 11px 12px;
  border-radius: 12px;
}
.minecraft-lookup-state strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.minecraft-lookup-state small { grid-column: 1; color: var(--muted); overflow-wrap: anywhere; }
.edition-chip {
  grid-column: 2; grid-row: 1 / span 2;
  padding: 5px 8px;
  border-radius: 999px;
  color: #b9fff6;
  border: 1px solid rgba(35,217,196,.25);
  background: rgba(35,217,196,.08);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
}
.minecraft-inline-preview {
  display: grid;
  grid-template-columns: 54px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(35,217,196,.2);
  background: rgba(35,217,196,.045);
  border-radius: 14px;
  padding: 10px;
  margin: -2px 0 13px;
}
.minecraft-inline-preview[hidden] { display: none !important; }
.minecraft-inline-preview img { width: 54px; height: 54px; border-radius: 10px; image-rendering: pixelated; }
.minecraft-inline-preview strong,.minecraft-inline-preview small { display:block; }
.minecraft-inline-preview small { color: var(--muted); font-size: 11px; overflow-wrap:anywhere; }
.minecraft-loading [data-minecraft-head] { opacity: .55; filter: grayscale(.35); }
.minecraft-found .minecraft-lookup-state { border-color: rgba(66,220,153,.36); }
.minecraft-error .minecraft-lookup-state { border-color: rgba(255,93,122,.4); }
.profile-minecraft-avatar { width: 112px; height: 112px; margin: 0 auto 16px; }
.profile-minecraft-name { display:grid; gap:2px; margin:12px 0 4px; }
.profile-minecraft-name b { color:#fff; }
.profile-minecraft-name small { color:var(--accent2); font-size:10px; font-weight:850; letter-spacing:.12em; }
.profile-minecraft-editor {
  margin: 18px 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5,9,17,.4);
}
.settings-intro { color: var(--muted); max-width: 820px; }
.clockwork-link-card { overflow: hidden; position:relative; }
.clockwork-link-card::before {
  content:''; position:absolute; width:360px; height:360px; right:-170px; top:-190px;
  background:radial-gradient(circle,rgba(124,92,255,.18),transparent 68%); pointer-events:none;
}
.clockwork-steps { list-style:none; padding:0; margin:22px 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.clockwork-steps li { display:flex; gap:12px; border:1px solid var(--line); background:rgba(8,14,26,.7); padding:14px; border-radius:14px; }
.clockwork-steps li > span { flex:0 0 28px; width:28px; height:28px; display:grid; place-items:center; border-radius:9px; background:rgba(124,92,255,.17); color:#cfc7ff; font-weight:900; }
.clockwork-steps strong { display:block; }
.clockwork-steps p { color:var(--muted); margin:3px 0 0; font-size:12px; }
.clockwork-steps code,.clockwork-code code { color:#b9fff6; background:rgba(35,217,196,.08); border:1px solid rgba(35,217,196,.18); border-radius:5px; padding:1px 5px; }
.clockwork-action-panel,.clockwork-success {
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  border:1px solid rgba(124,92,255,.26); background:linear-gradient(135deg,rgba(124,92,255,.1),rgba(35,217,196,.04));
  padding:18px; border-radius:16px;
}
.clockwork-action-panel p { margin:4px 0 0; color:var(--muted); }
.clockwork-success { justify-content:flex-start; margin-bottom:14px; border-color:rgba(66,220,153,.32); }
.clockwork-success img { width:78px; height:78px; border-radius:14px; image-rendering:pixelated; }
.clockwork-success span { color:var(--ok); font-size:10px; font-weight:900; letter-spacing:.12em; }
.clockwork-success h3 { margin:2px 0; }
.clockwork-success p { margin:0; color:var(--muted); overflow-wrap:anywhere; }
.clockwork-code { margin:16px 0; }
.clockwork-code p { margin:8px 0 0; color:var(--muted); }
.clockwork-buttons { display:flex; flex-wrap:wrap; gap:10px; }
.inline-notice.warning { display:grid; gap:3px; border-color:rgba(255,184,77,.28); background:rgba(255,184,77,.07); color:#ffd9a0; }
.minecraft-list-head { width:48px; height:48px; border-radius:10px; image-rendering:pixelated; flex:0 0 auto; }

@media (max-width: 760px) {
  .minecraft-registration-grid,.profile-minecraft-editor { grid-template-columns:1fr; }
  .minecraft-preview-large { width:112px; height:112px; margin:0 auto; }
  .profile-minecraft-editor .minecraft-preview-large { margin:0; }
  .clockwork-steps { grid-template-columns:1fr; }
  .clockwork-action-panel { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 480px) {
  .minecraft-auth-showcase { width:160px; height:160px; }
  .minecraft-inline-preview { grid-template-columns:48px minmax(0,1fr); }
  .minecraft-inline-preview .edition-chip { grid-column:2; grid-row:auto; justify-self:start; }
  .clockwork-buttons,.clockwork-buttons form,.clockwork-buttons button { width:100%; }
  .clockwork-success { align-items:flex-start; }
  .clockwork-success img { width:62px; height:62px; }
}
@media (prefers-reduced-motion: reduce) { .skin-scan { animation:none; top:50%; } }

/* --------------------------------------------------------------------------
   Responsive live Minecraft avatar previews (mc-api.io via same-origin proxy)
   -------------------------------------------------------------------------- */
.minecraft-auth-page,
.minecraft-auth-page .auth-panel,
.minecraft-auth-page form,
.minecraft-auth-page fieldset,
.minecraft-preview-copy,
.minecraft-fields {
  min-width: 0;
}
.minecraft-auth-page .auth-panel {
  width: 100%;
  max-width: none;
}
.minecraft-auth-page .auth-panel > p {
  max-width: 620px;
}
.minecraft-auth-page .auth-panel form label span small {
  color: var(--muted);
  font-weight: 550;
}
.minecraft-avatar-frame {
  isolation: isolate;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.1), rgba(35, 217, 196, 0.045)),
    #080e1a;
}
.minecraft-avatar-frame::after {
  content: '';
  position: absolute;
  inset: 7px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: inherit;
}
.minecraft-avatar-frame img,
.minecraft-preview-large img,
.minecraft-auth-showcase img,
.profile-minecraft-avatar img,
.minecraft-inline-preview img,
.minecraft-list-head,
.clockwork-success img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transform: translateZ(0);
}
.minecraft-avatar-frame img {
  position: relative;
  z-index: 1;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}
.minecraft-avatar-frame.compact {
  position: relative;
  width: 58px;
  height: 58px;
  overflow: hidden;
  flex: 0 0 58px;
  border: 1px solid rgba(124, 92, 255, 0.34);
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}
.minecraft-avatar-frame.compact::after {
  inset: 4px;
  border-radius: 9px;
}
.minecraft-avatar-status {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 5;
  width: 11px;
  height: 11px;
  border: 2px solid #080e1a;
  border-radius: 999px;
  background: #68748a;
  box-shadow: 0 0 0 2px rgba(104, 116, 138, 0.12);
  transition: 180ms background, 180ms box-shadow;
}
.minecraft-loading .minecraft-avatar-status {
  border: 2px solid rgba(8, 14, 26, 0.45);
  border-top-color: #b9fff6;
  background: transparent;
  box-shadow: none;
  animation: minecraft-avatar-spin 700ms linear infinite;
}
.minecraft-found .minecraft-avatar-status {
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(66, 220, 153, 0.12), 0 0 14px rgba(66, 220, 153, 0.55);
}
.minecraft-error .minecraft-avatar-status {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 93, 122, 0.1);
}
@keyframes minecraft-avatar-spin {
  to { transform: rotate(360deg); }
}
.minecraft-loading [data-minecraft-head] {
  opacity: 0.56;
  filter: saturate(0.7) brightness(0.82);
  transform: scale(0.96);
}
.minecraft-found [data-minecraft-head] {
  opacity: 1;
  filter: none;
  transform: scale(1);
}
.minecraft-inline-preview.minecraft-preview-card {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 80px;
  gap: 13px;
  margin: 1px 0 15px;
  padding: 10px 12px;
  border-color: rgba(124, 92, 255, 0.24);
  background:
    radial-gradient(circle at 0 0, rgba(124, 92, 255, 0.1), transparent 52%),
    rgba(8, 14, 26, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.minecraft-inline-preview[hidden] {
  display: none !important;
}
.minecraft-preview-copy {
  display: grid;
  gap: 2px;
  align-content: center;
}
.minecraft-preview-copy strong,
.minecraft-preview-copy small {
  min-width: 0;
  overflow-wrap: anywhere;
}
.minecraft-preview-copy strong {
  color: #fff;
  line-height: 1.3;
}
.minecraft-preview-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.minecraft-inline-preview .edition-chip {
  align-self: center;
}
.minecraft-lookup-state {
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.minecraft-loading .minecraft-lookup-state {
  border-color: rgba(35, 217, 196, 0.28);
  box-shadow: 0 0 0 3px rgba(35, 217, 196, 0.05);
}
.minecraft-found .minecraft-lookup-state,
.minecraft-found .minecraft-inline-preview {
  border-color: rgba(66, 220, 153, 0.34);
  background-color: rgba(66, 220, 153, 0.035);
}
.minecraft-error .minecraft-lookup-state,
.minecraft-error .minecraft-inline-preview {
  border-color: rgba(255, 93, 122, 0.34);
  background-color: rgba(255, 93, 122, 0.025);
}
.minecraft-preview-large,
.minecraft-auth-showcase {
  aspect-ratio: 1 / 1;
}
.minecraft-preview-large img,
.minecraft-auth-showcase img {
  padding: 0;
  border-radius: inherit;
}
.minecraft-auth-showcase.registration-showcase {
  transform: rotate(2deg);
}
.minecraft-identity-fieldset {
  min-inline-size: 0;
}

/* General defensive responsive rules for shared/mobile browsers. */
pre,
code,
.topic-body,
.article-body,
.connection-row,
.settings-card,
.form-card {
  overflow-wrap: anywhere;
}
pre,
.table-wrap,
.admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
iframe,
video,
canvas,
svg {
  max-width: 100%;
}

@media (max-width: 1000px) {
  .minecraft-auth-page .auth-panel {
    max-width: 760px;
    margin-inline: auto;
    min-height: 100svh;
  }
}

@media (max-width: 760px) {
  .minecraft-auth-page .auth-panel {
    padding-top: max(32px, env(safe-area-inset-top));
    padding-right: max(20px, env(safe-area-inset-right));
    padding-bottom: max(34px, env(safe-area-inset-bottom));
    padding-left: max(20px, env(safe-area-inset-left));
    justify-content: flex-start;
  }
  .minecraft-auth-page .auth-brand {
    margin-bottom: 32px;
  }
  .minecraft-auth-page .auth-panel h1 {
    font-size: clamp(34px, 9vw, 42px);
  }
  .minecraft-registration-grid,
  .profile-minecraft-editor {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .minecraft-preview-large {
    width: clamp(108px, 32vw, 138px);
    height: auto;
    margin: 0 auto;
  }
  .minecraft-identity-fieldset {
    padding: 16px;
    border-radius: 16px;
  }
  .minecraft-fields label:last-of-type {
    margin-bottom: 12px;
  }
}

@media (max-width: 520px) {
  .minecraft-auth-page .auth-panel {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .minecraft-inline-preview.minecraft-preview-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
  }
  .minecraft-avatar-frame.compact {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .minecraft-inline-preview .edition-chip {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    margin-top: 4px;
  }
  .minecraft-lookup-state {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .minecraft-lookup-state small {
    grid-column: 1;
  }
  .minecraft-lookup-state .edition-chip {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 5px;
  }
  .minecraft-identity-fieldset {
    margin-inline: 0;
    padding: 14px;
  }
  .minecraft-auth-page input,
  .minecraft-auth-page select,
  .minecraft-auth-page button {
    min-height: 46px;
  }
}

@media (max-width: 360px) {
  .minecraft-auth-page .auth-panel {
    padding-inline: 13px;
  }
  .minecraft-auth-page .brand span small {
    letter-spacing: 0.08em;
  }
  .minecraft-identity-fieldset {
    padding: 12px;
  }
  .minecraft-preview-large {
    width: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .minecraft-loading .minecraft-avatar-status {
    animation: none;
    border-color: #b9fff6;
  }
}

/* --------------------------------------------------------------------------
   NamedHosting avatar preview polish
   Borderless Minecraft renders that blend into the Solaryn auth theme.
   -------------------------------------------------------------------------- */
.minecraft-identity-fieldset {
  border: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(124, 92, 255, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(16, 23, 41, 0.92), rgba(8, 14, 26, 0.74));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
.minecraft-preview-large,
.minecraft-auth-showcase,
.profile-minecraft-avatar,
.minecraft-avatar-frame,
.minecraft-avatar-frame.compact {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.minecraft-preview-large::before,
.minecraft-auth-showcase::before,
.profile-minecraft-avatar::before,
.minecraft-avatar-frame::before {
  content: '';
  position: absolute;
  inset: 10%;
  z-index: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.34), rgba(35, 217, 196, 0.1) 48%, transparent 72%);
  filter: blur(14px);
  opacity: 0.8;
  pointer-events: none;
  transform: scale(1.06);
}
.minecraft-avatar-frame::after,
.minecraft-preview-large::after,
.minecraft-auth-showcase::after,
.profile-minecraft-avatar::after {
  display: none;
}
.minecraft-avatar-frame img,
.minecraft-preview-large img,
.minecraft-auth-showcase img,
.profile-minecraft-avatar img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 24%;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.36));
}
.minecraft-avatar-frame.compact img {
  border-radius: 18px;
  filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.3));
}
.minecraft-inline-preview.minecraft-preview-card,
.minecraft-lookup-state {
  border: 0;
  background:
    radial-gradient(circle at 0 0, rgba(124, 92, 255, 0.13), transparent 50%),
    linear-gradient(135deg, rgba(14, 21, 38, 0.9), rgba(7, 12, 23, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 14px 30px rgba(0, 0, 0, 0.12);
}
.minecraft-loading .minecraft-inline-preview,
.minecraft-loading .minecraft-lookup-state {
  background:
    radial-gradient(circle at 0 0, rgba(35, 217, 196, 0.12), transparent 52%),
    linear-gradient(135deg, rgba(14, 21, 38, 0.94), rgba(7, 12, 23, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 14px 32px rgba(0, 0, 0, 0.14);
}
.minecraft-found .minecraft-inline-preview,
.minecraft-found .minecraft-lookup-state {
  background:
    radial-gradient(circle at 0 0, rgba(66, 220, 153, 0.12), transparent 52%),
    linear-gradient(135deg, rgba(13, 29, 31, 0.92), rgba(7, 14, 24, 0.8));
}
.minecraft-error .minecraft-inline-preview,
.minecraft-error .minecraft-lookup-state {
  background:
    radial-gradient(circle at 0 0, rgba(255, 93, 122, 0.11), transparent 52%),
    linear-gradient(135deg, rgba(31, 17, 30, 0.9), rgba(12, 11, 22, 0.82));
}
.minecraft-avatar-status {
  right: 2px;
  bottom: 4px;
  border-color: rgba(8, 14, 26, 0.92);
}
.minecraft-loading [data-minecraft-head] {
  opacity: 0.62;
  filter: saturate(0.75) brightness(0.85) drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28));
  transform: translateY(1px) scale(0.965);
}
.minecraft-found [data-minecraft-head] {
  animation: minecraft-avatar-arrive 260ms ease-out both;
}
@keyframes minecraft-avatar-arrive {
  from { opacity: 0.62; transform: translateY(4px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 520px) {
  .minecraft-inline-preview.minecraft-preview-card {
    border-radius: 16px;
    padding: 12px;
  }
  .minecraft-avatar-frame.compact img {
    border-radius: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .minecraft-found [data-minecraft-head] { animation: none; }
}


/* --------------------------------------------------------------------------
   Mobile responsive hardening
   Applies to public, authentication, account, forum and content pages.
   -------------------------------------------------------------------------- */
html {
  width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body,
main {
  width: 100%;
  min-width: 0;
}
.mobile-nav-actions {
  display: none;
}
:where(.hero-layout, .stats-grid, .game-grid, .news-grid, .roadmap-preview-grid,
  .updates-layout, .support-category-grid, .contact-layout, .rules-layout,
  .account-grid, .article-layout, .forum-layout, .footer-grid, .form-grid,
  .minecraft-registration-grid, .profile-minecraft-editor, .clockwork-steps) > * {
  min-width: 0;
}
:where(h1, h2, h3, h4, p, a, strong, small, span, code, time) {
  overflow-wrap: anywhere;
}
.button,
input,
select,
textarea {
  max-width: 100%;
}
.pagination {
  flex-wrap: wrap;
}
.rules-sidebar,
.filter-sidebar,
.roadmap-board,
.admin-table {
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

@media (max-width: 1000px) {
  .header-inner {
    gap: 12px;
  }
  .site-header .brand {
    min-width: 0;
  }
  .site-header .brand span {
    min-width: 0;
  }
  .site-nav {
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    gap: 5px;
    padding: 20px max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    overscroll-behavior: contain;
  }
  .site-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav a {
    width: 100%;
  }
  .mobile-nav-actions {
    display: grid;
    gap: 9px;
    padding-top: 18px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
  }
  .mobile-nav-actions form,
  .mobile-nav-actions .button {
    width: 100%;
    margin: 0;
  }
  .mobile-nav-toggle {
    flex: 0 0 42px;
    border-radius: 11px;
  }
  .mobile-nav-toggle:focus-visible {
    outline: 2px solid var(--accent2);
    outline-offset: 2px;
  }

  .mobile-nav-toggle span {
    transition: transform 180ms ease, opacity 180ms ease;
  }
  .mobile-nav-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-nav-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .roadmap-board {
    margin-right: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
  .site-header {
    padding-top: env(safe-area-inset-top);
  }
  .header-actions {
    display: none;
  }
  .site-header .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-nav {
    top: calc(68px + env(safe-area-inset-top));
  }
  .section {
    padding: 58px 0;
  }
  .page-hero,
  .article-hero,
  .forum-hero,
  .support-hero {
    padding-top: 52px;
    padding-bottom: 42px;
  }
  .page-hero h1,
  .article-hero h1,
  .forum-hero h1,
  .support-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }
  .section-heading {
    gap: 18px;
    margin-bottom: 24px;
  }
  .section-heading > a {
    align-self: stretch;
    padding: 10px 0;
  }
  .hero-layout {
    padding: 52px 0 54px;
  }
  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 52px);
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .button {
    min-height: 48px;
  }
  .hero-visual {
    width: min(100%, 500px);
    min-height: 330px;
    margin: 0 auto;
    transform: none;
    overflow: hidden;
  }
  .hero-visual .orbit-one {
    width: min(84vw, 340px);
    height: min(84vw, 340px);
  }
  .hero-visual .orbit-two {
    width: min(108vw, 430px);
    height: min(108vw, 430px);
  }
  .hero-visual .core-cube {
    width: 112px;
    height: 112px;
    border-radius: 28px;
  }
  .hero-visual .core-cube b {
    font-size: 55px;
  }
  .hero-visual .mode-card {
    width: min(42vw, 165px);
    padding: 14px;
  }
  .hero-visual .mode-position-1 {
    top: 28px;
    left: max(0px, 3vw);
  }
  .hero-visual .mode-position-2 {
    top: 116px;
    right: max(0px, 2vw);
  }
  .hero-visual .mode-position-3 {
    left: max(28px, 12vw);
    bottom: 18px;
  }
  .stats-grid div {
    padding: 20px 18px;
  }
  .news-body,
  .game-card,
  .roadmap-mini,
  .roadmap-card,
  .support-category,
  .sidebar-card {
    padding: 20px;
  }
  .cta-card {
    padding: 24px;
  }
  .cta-card .button {
    width: 100%;
  }
  .subscribe-card > div,
  .roadmap-search {
    display: grid;
    grid-template-columns: 1fr;
  }
  .subscribe-card .button,
  .roadmap-search .button {
    width: 100%;
  }
  .roadmap-board {
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
    padding-bottom: 0;
  }
  .roadmap-column,
  .roadmap-card {
    min-width: 0;
  }
  .filter-sidebar,
  .rules-sidebar {
    max-width: 100%;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }
  .filter-sidebar a,
  .rules-sidebar a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .form-card,
  .settings-card,
  .profile-card {
    border-radius: 17px;
  }
  .card-heading,
  .form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .connection-row,
  .minecraft-list article {
    min-width: 0;
  }
  .connection-row > div,
  .minecraft-list article > div {
    min-width: 0;
  }
  .connection-row small,
  .minecraft-list small {
    overflow-wrap: anywhere;
  }
  .topic-main,
  .topic-main > div,
  .post-content,
  .post-content > header > * {
    min-width: 0;
  }
  .post-content > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .moderation-actions,
  .moderation-actions form,
  .moderation-actions .button {
    max-width: 100%;
  }
  .empty-state {
    padding: 32px 20px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(100% - 22px, 1180px);
  }
  .header-inner {
    height: 64px;
  }
  .site-nav {
    top: calc(64px + env(safe-area-inset-top));
    padding-inline: 14px;
  }
  .site-header .brand img {
    width: 35px;
    height: 35px;
  }
  .site-header .brand small {
    display: none;
  }
  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .hero-copy h1 {
    font-size: clamp(36px, 12.5vw, 45px);
  }
  .hero-copy > p {
    margin-top: 18px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button,
  .copy-address {
    width: 100%;
  }
  .hero-trust {
    display: grid;
    gap: 10px;
  }
  .hero-visual {
    min-height: 300px;
  }
  .hero-visual .mode-card {
    width: min(43vw, 150px);
    padding: 12px;
  }
  .hero-visual .mode-card strong {
    font-size: 17px;
  }
  .hero-visual .mode-card small {
    font-size: 9px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid div,
  .stats-grid div:nth-child(odd) {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .stats-grid strong {
    font-size: 22px;
  }
  .footer-grid {
    gap: 28px;
  }
  .footer-bottom .status-pill {
    max-width: 100%;
  }
  .form-card,
  .settings-card,
  .profile-card,
  .support-category,
  .sidebar-card,
  .news-body,
  .roadmap-card,
  .roadmap-mini {
    padding: 17px;
  }
  .form-footer,
  .clockwork-action-panel,
  .clockwork-success,
  .connection-row,
  .minecraft-list article {
    align-items: stretch;
    flex-direction: column;
  }
  .connection-row .button,
  .minecraft-list article .button,
  .clockwork-action-panel .button,
  .clockwork-success + form .button {
    width: 100%;
  }
  .connection-row > .status-pill,
  .minecraft-list article > .status-pill {
    display: inline-flex;
    align-self: flex-start;
  }
  .clockwork-success img {
    width: 70px;
    height: 70px;
  }
  .link-code strong {
    font-size: clamp(24px, 9vw, 34px);
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }
  .forum-category-card {
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    gap: 11px;
  }
  .forum-category-icon {
    width: 44px;
    height: 44px;
  }
  .topic-main {
    align-items: flex-start;
  }
  .topic-main .avatar {
    flex: 0 0 auto;
  }
  .forum-post > aside,
  .post-content {
    padding: 16px;
  }
  .pagination a {
    width: 36px;
    height: 36px;
  }
  .oauth-grid {
    gap: 10px;
  }
  .oauth-button {
    min-height: 46px;
    display: grid;
    place-items: center;
  }
}

@media (max-width: 370px) {
  :root {
    --container: min(100% - 18px, 1180px);
  }
  .site-header .brand strong {
    font-size: 13px;
  }
  .hero-visual {
    min-height: 280px;
  }
  .hero-visual .mode-card {
    width: 135px;
  }
  .hero-visual .mode-position-1 {
    left: 0;
  }
  .hero-visual .mode-position-2 {
    right: 0;
  }
  .hero-visual .mode-position-3 {
    left: 38px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .page-hero h1,
  .article-hero h1,
  .forum-hero h1,
  .support-hero h1 {
    font-size: 34px;
  }
  .button {
    padding-inline: 13px;
  }
}

/* --------------------------------------------------------------------------
   Professional off-canvas mobile navigation
   Replaces the legacy full-width dropdown and is intentionally last so these
   rules win over earlier compatibility breakpoints.
   -------------------------------------------------------------------------- */
.mobile-nav-backdrop,
.mobile-nav-drawer-header {
  display: none;
}
.mobile-nav-links {
  display: contents;
}
.site-nav a > i {
  display: none;
}

@media (max-width: 1000px) {
  :root {
    --mobile-nav-width: min(88vw, 390px);
  }

  body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-header {
    isolation: isolate;
  }

  .header-inner {
    position: relative;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    border: 0;
    background: rgba(2, 5, 12, 0.7);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .mobile-nav-backdrop:not([hidden]) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    z-index: 90;
    inset: 0 0 0 auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: var(--mobile-nav-width);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    pointer-events: none;
    transform: translate3d(105%, 0, 0);
    background:
      radial-gradient(circle at 92% 3%, rgba(124, 92, 255, 0.2), transparent 30%),
      linear-gradient(180deg, rgba(13, 19, 34, 0.995), rgba(7, 10, 18, 0.995));
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -28px 0 80px rgba(0, 0, 0, 0.5);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .mobile-nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding:
      max(14px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      14px
      18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(7, 10, 18, 0.42);
  }

  .mobile-nav-brand {
    min-width: 0;
    gap: 10px;
  }

  .mobile-nav-brand img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .mobile-nav-brand span {
    min-width: 0;
  }

  .mobile-nav-brand strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-nav-brand small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.11em;
  }

  .mobile-nav-close {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin-left: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:focus-visible {
    border-color: rgba(124, 92, 255, 0.5);
    background: rgba(124, 92, 255, 0.12);
  }

  .mobile-nav-close:active {
    transform: scale(0.96);
  }

  .mobile-nav-close:focus-visible {
    outline: 2px solid var(--accent2);
    outline-offset: 2px;
  }

  .mobile-nav-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
  }

  .mobile-nav-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-nav-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-nav-links {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 18px 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 92, 255, 0.35) transparent;
  }

  .site-nav .mobile-nav-links > a {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #a8b3c8;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
    font-weight: 720;
    line-height: 1.25;
    -webkit-tap-highlight-color: transparent;
  }

  .site-nav .mobile-nav-links > a:hover,
  .site-nav .mobile-nav-links > a:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
  }

  .site-nav .mobile-nav-links > a.active {
    color: #fff;
    border-color: rgba(124, 92, 255, 0.34);
    background: linear-gradient(110deg, rgba(124, 92, 255, 0.2), rgba(35, 217, 196, 0.055));
    box-shadow: inset 3px 0 0 var(--accent), 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .site-nav .mobile-nav-links > a > i {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 8px;
    color: #75829a;
    background: rgba(255, 255, 255, 0.035);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
  }

  .site-nav .mobile-nav-links > a.active > i {
    color: #d8d1ff;
    background: rgba(124, 92, 255, 0.14);
  }

  .site-nav .mobile-nav-actions {
    display: grid;
    gap: 9px;
    margin: 0;
    padding:
      15px
      max(16px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(7, 10, 18, 0.6);
  }

  .site-nav .mobile-nav-actions form,
  .site-nav .mobile-nav-actions .button {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .site-nav .mobile-nav-actions .button {
    min-height: 45px;
  }

  .mobile-nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus-visible {
    border-color: rgba(124, 92, 255, 0.45);
    background: rgba(124, 92, 255, 0.1);
  }

  .mobile-nav-toggle span,
  .mobile-nav-toggle[aria-expanded='true'] span:nth-child(1),
  .mobile-nav-toggle[aria-expanded='true'] span:nth-child(2),
  .mobile-nav-toggle[aria-expanded='true'] span:nth-child(3) {
    width: 18px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: #fff;
    opacity: 1;
    transform: none;
  }

  .mobile-nav-toggle[aria-expanded='true'] {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 520px) {
  :root {
    --mobile-nav-width: min(92vw, 370px);
  }

  .mobile-nav-drawer-header {
    padding-left: 14px;
  }

  .mobile-nav-links {
    padding: 14px 12px;
  }

  .site-nav .mobile-nav-links > a {
    min-height: 46px;
    padding: 11px 12px;
    font-size: 14px;
  }
}

@media (max-width: 370px) {
  :root {
    --mobile-nav-width: 100vw;
  }

  .site-nav {
    border-left: 0;
  }
}

@media (max-height: 560px) and (max-width: 1000px) {
  .mobile-nav-drawer-header {
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: 8px;
  }

  .mobile-nav-brand img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .mobile-nav-close {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .mobile-nav-links {
    gap: 3px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-nav .mobile-nav-links > a {
    min-height: 42px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .site-nav .mobile-nav-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .site-nav .mobile-nav-actions > :only-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .mobile-nav-backdrop {
    transition-duration: 1ms !important;
  }
}

/* Keep the drawer brand compact; generic .site-nav a rules must not stretch it. */
@media (max-width: 1000px) {
  .site-nav .mobile-nav-brand,
  .site-nav .mobile-nav-brand:hover,
  .site-nav .mobile-nav-brand:focus-visible {
    width: auto;
    max-width: calc(100% - 54px);
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
    font-size: inherit;
    font-weight: inherit;
  }
}
