@font-face {
  font-family: Barlow;
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("/original/fonts/barlow-800-italic.ttf") format("truetype");
}
@font-face {
  font-family: Rubik;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/original/fonts/rubik-400.ttf") format("truetype");
}
@font-face {
  font-family: Rubik;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/original/fonts/rubik-700.ttf") format("truetype");
}
@font-face {
  font-family: Rubik;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/original/fonts/rubik-400-italic.ttf") format("truetype");
}
:root {
  --bg: #210c12;
  --surface: #320f1b;
  --elevated: #441523;
  --text: #fff5f1;
  --muted: #edcfd3;
  --line: #6e293d;
  --accent: #df2839;
  --accent-hover: #ee3c49;
  --accent-soft: #ff8c88;
  --cyan: var(--accent-soft);
  --color-primary: var(--accent);
  --color-secondary: var(--accent-soft);
}
body {
  background: var(--bg);
  color: var(--muted);
  font-family: Rubik, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
.ref-reading-time,
.ref-post-tag,
.ref-read-more {
  font-family: Barlow, Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--text);
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
p {
  line-height: 1.5;
  color: var(--muted);
}
.container {
  width: min(1200px, calc(100% - 64px));
}
.button {
  font-family: Barlow, Arial, sans-serif;
  font-style: italic;
  text-transform: uppercase;
  font-size: 16px;
  border-radius: 8px;
}
.button.primary {
  color: var(--text);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}
.button.primary:hover {
  color: var(--text);
  background: var(--accent-hover);
}
.button.secondary {
  background: var(--elevated);
  border-color: var(--line);
}
.button.secondary:hover {
  background: #38232a;
  border-color: var(--accent-soft);
}
.button.ghost:hover {
  background: var(--elevated);
}
.cyan {
  color: var(--accent);
}
a:hover {
  color: var(--accent-soft);
}
:focus-visible {
  outline-color: var(--accent-soft);
}
::selection {
  background: #ef5e5e66;
}
.panel,
.empty-state,
.table-wrap {
  background: var(--surface);
  border-color: var(--line);
  border-radius: 8px;
}
.panel {
  padding: 24px;
}
.notice {
  background: var(--elevated);
  border-color: var(--line);
  color: var(--muted);
}
.notice a {
  color: var(--accent-soft);
}
.text-link {
  color: var(--accent-soft);
}
.badge {
  border-color: var(--line);
  background: var(--elevated);
  color: var(--accent-soft);
}
.stat-grid > div {
  background: var(--surface);
  border-color: var(--line);
}
th {
  background: var(--elevated);
  color: var(--muted);
}
td {
  color: var(--muted);
  border-color: var(--line);
}
input:not([type="checkbox"]),
select,
textarea {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
input::placeholder,
textarea::placeholder {
  color: #a48e91;
}
.toolbar a {
  color: var(--accent-soft);
}
.eyebrow {
  color: var(--accent-soft);
}
.eyebrow > span {
  background: var(--accent-soft);
}
.page-title h1 {
  font-size: 48px;
  line-height: 1.05;
}
.page-title p {
  font-size: 16px;
}
.prose p {
  font-size: 16px;
}
.prose h2 {
  font-size: 32px;
}
.prose h3 {
  font-size: 24px;
}
.live-server.full {
  background: var(--surface);
  border-color: var(--line);
}
.admin-sidebar a {
  color: var(--muted);
}
.admin-sidebar a.active {
  background: var(--elevated);
  color: var(--accent-soft);
}
.admin-layout {
  padding-top: 32px;
}
.portal {
  padding-top: 64px;
}
.portal:has(> .ref-page) {
  padding-top: 0;
  padding-bottom: 0;
}
.ref-header {
  position: relative;
  z-index: 30;
  color: var(--muted);
}
.ref-top-line {
  height: 16px;
  background: var(--surface);
}
.ref-masthead {
  height: 122px;
  background: var(--elevated);
  border-block: 1px solid var(--line);
}
.ref-masthead-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 100%;
  align-items: center;
  gap: 24px;
}
.ref-logo {
  display: block;
  position: relative;
  width: 240px;
  height: 120px;
  margin: auto;
}
.ref-logo img {
  position: absolute;
  width: 240px;
  height: 240px;
  max-width: none;
  top: -60px;
  left: 0;
  object-fit: contain;
}
.ref-server-link,
.ref-discord-link {
  display: flex !important;
  align-items: center;
  gap: 24px !important;
  padding: 0;
  color: var(--muted);
  text-decoration: none;
}
.ref-server-link {
  justify-self: end;
  text-align: right;
}
.ref-server-text,
.ref-discord-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  white-space: nowrap;
}
.ref-server-text strong,
.ref-discord-text strong {
  font-family: Barlow, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1.2;
}
.ref-server-text strong {
  color: var(--accent-soft);
}
.ref-discord-text strong {
  color: var(--accent);
}
.ref-server-text > span,
.ref-discord-text > span {
  font-size: 16px;
  line-height: 1.5;
}
.ref-server-text b {
  font-family: Barlow, sans-serif;
  font-size: 19px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0 8px;
}
.ref-iconbox {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}
.ref-server-icon {
  background: var(--accent-soft);
}
.ref-discord-icon {
  background: var(--accent);
}
.ref-main-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.ref-main-nav > .container {
  display: flex;
  align-items: center;
  gap: 64px;
  min-height: 78px;
}
.ref-main-nav a {
  font-family: Barlow, sans-serif;
  font-size: 22px;
  color: var(--text);
  text-transform: uppercase;
  font-style: italic;
  line-height: 1.3;
}
.ref-main-nav a:hover {
  color: var(--accent-soft);
}
.ref-main-nav .ref-store-nav {
  margin-left: auto;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 24px;
  border-radius: 32px;
}
.ref-main-nav .ref-store-nav:hover {
  background: var(--accent-hover);
  color: var(--text);
}
.ref-menu-toggle,
.ref-mobile-nav,
.ref-menu-backdrop {
  display: none !important;
}
.ref-home {
  padding-top: 32px;
}
.ref-post-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 32px;
  align-items: stretch;
}
.ref-latest-post {
  grid-column: span 2;
  min-height: 278px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.ref-latest-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
.ref-latest-image img {
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.25s;
}
.ref-latest-post:hover .ref-latest-image img {
  transform: scale(1.025);
}
.ref-post-tag {
  display: block;
  align-self: start;
  font-size: 14px;
  background: #0005;
  border-radius: 0 20px 20px 0;
  padding: 3px 16px 3px 32px;
  margin-top: 32px;
  line-height: 1.5;
}
.ref-latest-body {
  padding: 24px;
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.ref-latest-body h2 {
  font-size: 32px;
  line-height: 1;
  max-width: 300px;
  margin: 0 0 16px;
}
.ref-latest-body p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}
.ref-reading-time {
  font-size: 16px;
  white-space: nowrap;
  line-height: 1.3;
  flex-shrink: 0;
}
.ref-store-card {
  border: 1px solid #ffffff59;
  border-radius: 8px;
  background: var(--accent);
  color: var(--text);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 24px;
  align-content: start;
}
.ref-store-card > svg {
  color: #f5ccca;
  margin-top: 3px;
}
.ref-store-card h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 16px;
}
.ref-store-card p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}
.ref-store-card:hover {
  color: var(--text);
  background: var(--accent-hover);
}
.ref-post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.ref-post-cover {
  display: block;
  height: 240px;
}
.ref-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ref-post-body {
  position: relative;
  padding: 24px;
  min-height: 240px;
}
.ref-post-body h2 {
  font-size: 24px;
  line-height: 1;
  margin: 0 0 16px;
}
.ref-post-body h2 a {
  color: var(--text);
}
.ref-post-body > p:last-child {
  font-size: 16px;
  margin-bottom: 0;
}
.ref-post-date {
  font-size: 16px;
  margin: 0 0 8px;
}
.ref-read-more {
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(-50%);
  padding: 8px 16px;
  background: var(--accent);
  border: 1px solid #ffffff59;
  border-radius: 24px 0 0 24px;
  font-size: 16px;
  color: var(--text);
}
.ref-read-more:hover {
  color: var(--text);
  background: var(--accent-hover);
}
.ref-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 16px;
}
.ref-author {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}
.ref-author-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--elevated);
  color: var(--accent-soft);
  font-weight: bold;
}
.ref-post-meta .ref-reading-time {
  color: var(--muted);
}
.ref-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0;
  gap: 24px;
  font-family: Barlow, sans-serif;
  font-style: italic;
  text-transform: uppercase;
  font-size: 16px;
}
.ref-pagination button {
  display: grid !important;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  background: var(--surface) !important;
}
.ref-pagination button:disabled {
  opacity: 0.4;
}
.ref-page {
  padding-top: 64px;
  padding-bottom: 64px;
}
.ref-page-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 96px;
}
.ref-page-heading h1 {
  font-size: 48px;
  line-height: 1;
  margin: 8px 0;
}
.ref-page-heading p {
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}
.ref-vote-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: start;
}
.ref-vote-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ref-vote-tabs > button {
  display: flex !important;
  align-items: center;
  gap: 24px !important;
  padding: 12px !important;
  border: 1px solid transparent !important;
  border-radius: 8px;
  text-align: left;
  min-height: 80px;
  font-family: Barlow, sans-serif;
  font-style: italic;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.15;
}
.ref-vote-tabs > button.active,
.ref-vote-tabs > button:hover {
  background: var(--surface);
  border-color: var(--line) !important;
  color: var(--text);
}
.ref-vote-number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--surface);
  border-radius: 8px;
  color: var(--accent);
  font-size: 22px;
  flex-shrink: 0;
}
.ref-vote-tabs > button.active .ref-vote-number {
  background: var(--bg);
}
.ref-vote-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  min-height: 380px;
}
.ref-vote-panel > h2 {
  margin: 30px 0;
  font-size: 32px;
}
.ref-vote-bookmark {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  overflow: hidden;
  background: white;
  color: #28232b;
  border: 1px solid #d8d8e1;
  border-radius: 8px;
  margin: 24px 0;
}
.ref-vote-bookmark > div {
  padding: 24px;
}
.ref-vote-bookmark h3 {
  font-size: 20px;
  line-height: 1.2;
  color: #28232b;
  margin: 0 0 16px;
}
.ref-vote-bookmark p {
  font-size: 14px;
  line-height: 1.5;
  color: #6b606b;
}
.ref-vote-bookmark > div > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.ref-vote-bookmark-icon {
  background: var(--accent-soft);
  color: var(--text);
  display: grid;
  place-items: center;
}
.ref-vote-bookmark:hover {
  color: #28232b;
}
.ref-vote-panel .ref-vote-button {
  border-radius: 24px;
}
.ref-vote-note {
  font-size: 12px;
  margin-top: 24px;
  opacity: 0.7;
}
.ref-verified-votes {
  margin-top: 64px;
}
.ref-staff-page .ref-page-heading {
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
.ref-team-group {
  margin-bottom: 64px;
}
.ref-team-group:last-child {
  margin-bottom: 0;
}
.ref-team-group > h2 {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 24px;
}
.ref-team-count {
  position: relative;
  background: var(--accent);
  padding: 8px 16px;
  color: var(--text);
  font-size: 16px;
  border-radius: 4px;
  line-height: 1;
}
.ref-team-count:before {
  content: "";
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  position: absolute;
  left: -4px;
  top: calc(50% - 4px);
  background: var(--accent);
}
.ref-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ref-team-member {
  display: flex;
  align-items: center;
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  min-height: 90px;
  overflow: hidden;
}
.ref-team-member > img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.ref-team-member > div {
  min-width: 0;
  flex: 1;
}
.ref-team-member h3 {
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  padding: 8px 16px;
  margin: 0 0 4px;
  background: var(--bg);
  border-radius: 0 24px 24px 0;
  overflow-wrap: anywhere;
}
.ref-team-member p {
  font-size: 16px;
  line-height: 1.25;
  margin: 0;
  padding-left: 16px;
}
.ref-team-member small {
  display: block;
  padding-left: 16px;
  margin-top: 8px;
  line-height: 1.5;
}
.ref-footer-main {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 48px 0;
}
.ref-footer-main:before {
  position: absolute;
  content: "";
  inset: 0 50% 0 0;
  border-right: 1px solid var(--line);
  background: var(--elevated);
}
.ref-footer-main > .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
.ref-about {
  display: flex;
  align-items: start;
  gap: 32px;
}
.ref-about .ref-logo-small {
  width: 64px;
  height: 64px;
  margin: 0;
  flex-shrink: 0;
}
.ref-about .ref-logo-small img {
  width: 64px;
  height: 64px;
  top: 0;
  left: 0;
}
.ref-footer-main h2 {
  font-size: 16px;
  margin: 0 0 16px;
  line-height: 1.3;
}
.ref-about p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.ref-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ref-footer-links a {
  display: block;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.ref-footer-links a:hover {
  color: var(--accent-soft);
}
.ref-footer-links details {
  font-size: 14px;
}
.ref-footer-links summary {
  list-style: none;
  color: var(--muted);
  cursor: pointer;
}
.ref-extra-links {
  padding-top: 12px;
}
.ref-credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 32px;
}
.ref-credits h3 {
  font-size: 16px;
  margin: 0;
}
.ref-credits p {
  font-size: 14px;
  margin: 0;
  opacity: 0.55;
}
.ref-back-top {
  display: none;
}
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface),
    var(--elevated),
    var(--surface)
  );
}
.loading {
  color: var(--muted);
}
.empty-state > svg {
  color: #a56262;
}
.faq-list details {
  border-color: var(--line);
}
.faq-list a {
  color: var(--accent-soft);
}
.news-card,
.news-art {
  background: var(--surface);
  border-color: var(--line);
}
.news-art {
  background: linear-gradient(135deg, #642323, var(--surface));
}
.news-card:hover {
  border-color: var(--accent-soft);
}
.community-panel {
  background: var(--surface);
}
.link-code {
  background: var(--surface);
  border-color: var(--accent-soft);
}
.internal {
  background: #442b18 !important;
}
.ref-main-nav a,
.ref-mobile-nav > a {
  transition:
    color 0.2s,
    background 0.2s;
}
@media (min-width: 1600px) {
  .container {
    width: 1200px;
  }
}
@media (max-width: 1200px) {
  .ref-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ref-server-link,
  .ref-discord-link {
    gap: 18px !important;
  }
  .ref-masthead-grid {
    gap: 18px;
  }
  .ref-server-text strong,
  .ref-discord-text strong {
    font-size: 20px;
  }
  .ref-server-text > span,
  .ref-discord-text > span {
    font-size: 14px;
  }
  .ref-logo,
  .ref-logo img {
    width: 220px;
  }
  .ref-logo img {
    height: 220px;
    top: -50px;
  }
  .ref-post-body {
    padding: 24px;
  }
  .ref-latest-body h2 {
    font-size: 32px;
  }
  .ref-latest-body p {
    font-size: 14px;
  }
  .ref-reading-time {
    font-size: 14px;
  }
  .ref-store-card {
    gap: 18px;
  }
  .ref-footer-main > .container {
    gap: 64px;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 32px);
  }
  .ref-top-line {
    display: none;
  }
  .ref-masthead {
    height: auto;
  }
  .ref-masthead-grid {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .ref-masthead-grid > .ref-logo {
    order: 1;
    margin: 0 0 0 8px;
    width: 112px;
    height: 104px;
  }
  .ref-masthead-grid > .ref-logo img {
    width: 112px;
    height: 112px;
    top: -4px;
  }
  .ref-menu-toggle {
    display: flex !important;
    order: 2;
    justify-self: end;
    margin-right: 16px;
    padding: 12px !important;
    border-radius: 8px;
    background: #0003 !important;
    color: var(--text);
    font-family: Barlow, sans-serif;
    font-style: italic;
    font-size: 16px;
    text-transform: uppercase;
    gap: 12px !important;
  }
  .ref-server-link {
    order: 3;
    display: block !important;
    justify-self: stretch;
    text-align: center;
  }
  .ref-discord-link {
    order: 4;
    display: block !important;
  }
  .ref-server-text,
  .ref-discord-text {
    display: none;
  }
  .ref-iconbox {
    width: 100%;
    height: 64px;
    border-radius: 0;
    border: 1px solid #ffffff59;
  }
  .ref-iconbox svg {
    opacity: 0.45;
    color: var(--surface);
    width: 30px;
    height: 30px;
  }
  .ref-main-nav {
    display: none;
  }
  .ref-menu-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #0009 !important;
    z-index: 90;
  }
  .ref-mobile-nav {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(80vw, 340px);
    background: var(--elevated);
    border-left: 1px solid var(--line);
    z-index: 100;
    padding: 24px;
    overflow: auto;
  }
  .ref-menu-close {
    align-self: end;
    padding: 8px !important;
    background: #0003 !important;
    border-radius: 4px;
  }
  .ref-mobile-nav > .ref-logo {
    width: 160px;
    height: 120px;
    margin: 0 auto 24px;
  }
  .ref-mobile-nav > .ref-logo img {
    width: 160px;
    height: 160px;
    top: -20px;
  }
  .ref-mobile-nav > a:not(.ref-logo) {
    font-family: Barlow, sans-serif;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    font-size: 24px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }
  .ref-mobile-nav .ref-store-nav {
    background: var(--accent);
    border-radius: 8px;
    border: 0;
    margin-top: 12px;
  }
  .ref-home {
    padding-top: 24px;
  }
  .ref-post-feed {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ref-latest-post {
    grid-column: auto;
    min-height: 290px;
  }
  .ref-store-card {
    grid-row: 2;
    padding: 24px;
    min-height: 180px;
    gap: 24px;
  }
  .ref-store-card h2 {
    font-size: 24px;
  }
  .ref-store-card p {
    font-size: 16px;
  }
  .ref-post-tag {
    margin-top: 24px;
  }
  .ref-latest-body {
    padding: 24px;
    gap: 12px;
    align-items: end;
  }
  .ref-latest-body h2 {
    font-size: 32px;
    max-width: 250px;
  }
  .ref-latest-body p {
    font-size: 13px;
  }
  .ref-latest-body .ref-reading-time {
    font-size: 12px;
  }
  .ref-post-cover {
    height: 240px;
  }
  .ref-post-body {
    min-height: 0;
    padding-bottom: 28px;
  }
  .ref-post-body h2 {
    font-size: 24px;
  }
  .ref-post-card {
    max-width: none;
  }
  .ref-page {
    padding-block: 48px;
  }
  .ref-page-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
  .ref-page-heading h1 {
    font-size: 40px;
    margin: 0;
  }
  .ref-page-heading p {
    font-size: 16px;
  }
  .ref-vote-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ref-vote-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .ref-vote-tabs > button {
    gap: 10px !important;
    padding: 8px !important;
    min-height: 64px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  .ref-vote-number {
    width: 38px;
    height: 44px;
    font-size: 18px;
  }
  .ref-vote-panel {
    padding: 24px;
    min-height: 0;
  }
  .ref-vote-panel > h2 {
    margin: 12px 0 24px;
    font-size: 28px;
  }
  .ref-vote-bookmark {
    grid-template-columns: 1fr 76px;
    gap: 0;
  }
  .ref-vote-bookmark > div {
    padding: 20px 16px;
  }
  .ref-vote-bookmark h3 {
    font-size: 20px;
  }
  .ref-vote-bookmark p {
    font-size: 13px;
  }
  .ref-vote-button {
    white-space: normal;
    font-size: 16px;
  }
  .ref-team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ref-team-group > h2 {
    font-size: 28px;
    gap: 16px;
  }
  .ref-team-group {
    margin-bottom: 48px;
  }
  .ref-team-member {
    min-height: 90px;
  }
  .ref-footer-main {
    margin-top: 32px;
    padding: 40px 0 24px;
  }
  .ref-footer-main:before {
    display: none;
  }
  .ref-footer-main > .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ref-about {
    position: relative;
    gap: 16px;
    padding-top: 24px;
  }
  .ref-about > .ref-logo-small {
    position: absolute;
    top: -74px;
    left: 0;
  }
  .ref-about p {
    font-size: 15px;
  }
  .ref-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ref-footer-links a {
    font-size: 14px;
  }
  .ref-back-top {
    display: grid;
    place-items: center;
    position: absolute;
    right: 16px;
    top: -24px;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text);
  }
  .ref-credits {
    display: block;
    text-align: center;
    padding-block: 32px;
  }
  .ref-credits p {
    margin-top: 16px;
    font-size: 12px;
  }
  .ref-staff-page .ref-page-heading {
    margin-bottom: 32px;
  }
  .page-title h1 {
    font-size: 40px;
  }
  .portal {
    padding-top: 40px;
  }
  .ref-pagination {
    font-size: 14px;
  }
  .ref-post-meta {
    padding: 16px;
  }
  .ref-author-avatar {
    width: 40px;
    height: 40px;
  }
  .ref-about h2 {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  .ref-latest-body {
    flex-wrap: wrap;
  }
  .ref-latest-body .ref-reading-time {
    margin-left: auto;
  }
  .ref-latest-body h2 {
    font-size: 28px;
  }
  .ref-team-group > h2 {
    font-size: 25px;
  }
  .ref-vote-tabs {
    grid-template-columns: 1fr;
  }
  .ref-footer-links {
    gap: 12px;
  }
  .ref-team-member p {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ref-latest-image img {
    transition: none;
  }
  .ref-latest-post:hover .ref-latest-image img {
    transform: none;
  }
}
.ref-copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
  background: var(--elevated);
  color: var(--text);
  box-shadow: 0 8px 35px #0008;
  z-index: 200;
  font-family: Rubik, sans-serif;
  font-size: 14px;
  white-space: nowrap;
}
.ref-staff-avatar-placeholder {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--bg);
  color: #b69b9e;
}

/* Fit the current logo and its transparent canvas in every brand slot. */
.ref-logo img[src="/survivalmp-logo.png"] {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.3);
}

/* Small motion accents; keep the page still when reduced motion is requested. */
.local-login .notice {
  display: block;
  line-height: 1.6;
}

@keyframes ref-logo-pulse {
  0%,
  100% {
    transform: scale(1.3);
    filter: drop-shadow(0 0 3px #ff6a2020);
  }
  50% {
    transform: scale(1.35);
    filter: drop-shadow(0 0 10px #ff6a2060);
  }
}
@keyframes ref-arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ref-logo:not(.ref-logo-small) img[src="/survivalmp-logo.png"] {
    animation: ref-logo-pulse 4.5s ease-in-out infinite;
  }
  .ref-logo:hover img,
  .ref-logo:focus-visible img {
    animation-play-state: paused;
  }
  .ref-latest-post,
  .ref-post-card,
  .ref-team-group,
  .ref-vote-panel {
    animation: ref-arrive 450ms ease-out both;
  }
  .ref-team-group:nth-of-type(2) {
    animation-delay: 70ms;
  }
  .ref-team-group:nth-of-type(3) {
    animation-delay: 140ms;
  }
  .ref-team-member,
  .ref-store-card,
  .ref-vote-tabs > button,
  .ref-vote-button {
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      border-color 180ms ease;
  }
  @media (hover: hover) and (pointer: fine) {
    .ref-team-member:hover {
      transform: translateY(-3px);
      border-color: #b65d49;
      box-shadow:
        0 8px 22px #0003,
        0 0 15px #ff5c1712;
    }
    .ref-store-card:hover,
    .ref-vote-button:hover,
    .ref-vote-tabs > button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px #ff2a2028;
    }
  }
  .ref-vote-tabs > button:active,
  .ref-vote-button:active {
    transform: translateY(0) scale(0.98);
  }
}

.ref-announcement {
  max-width: 960px;
  padding-top: 48px;
  padding-bottom: 64px;
}
.ref-announcement-back {
  display: inline-block;
  color: var(--accent-soft);
  margin-bottom: 32px;
}
.ref-announcement h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  margin: 12px 0 16px;
  overflow-wrap: anywhere;
}
.ref-announcement-meta {
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.ref-announcement-cover {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.ref-announcement-body {
  max-width: 760px;
  padding: 16px 0 32px;
}
.ref-announcement-body section {
  margin-top: 32px;
}
.ref-announcement-body h2 {
  font-size: 28px;
  margin: 0 0 16px;
}
.ref-announcement-body p,
.ref-announcement-body li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}
.ref-announcement-body p {
  margin: 0 0 16px;
}
.ref-announcement-body ul {
  padding-left: 24px;
}
.ref-announcement-body li {
  margin-bottom: 12px;
}

/* Decorative Thanksgiving leaves: no scripts, click interception, or layout shifts. */
.autumn-leaves {
  display: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 40;
}
.autumn-leaves * {
  pointer-events: none;
}
.autumn-leaf {
  position: absolute;
  top: -50px;
  opacity: 0;
}
.autumn-leaf svg {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes autumn-fall {
  0% {
    transform: translate3d(0, -40px, 0);
    opacity: 0;
  }
  10%,
  85% {
    opacity: 0.5;
  }
  100% {
    transform: translate3d(25px, calc(100dvh + 100px), 0);
    opacity: 0;
  }
}
@keyframes autumn-sway {
  0%,
  100% {
    transform: translateX(-12px) rotate(-30deg);
  }
  50% {
    transform: translateX(12px) rotate(45deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .autumn-leaves {
    display: block;
  }
  .autumn-leaf {
    animation: autumn-fall var(--fall-duration) var(--fall-delay) linear
      infinite;
  }
  .autumn-leaf svg {
    animation: autumn-sway var(--sway-duration) var(--fall-delay) ease-in-out
      infinite;
  }
}
@media (max-width: 600px) {
  .autumn-leaf:nth-child(n + 8) {
    display: none;
  }
}

.turkey-track {
  display: none;
  position: fixed;
  inset: auto 0 0;
  height: 130px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 45;
}
.turkey-track * {
  pointer-events: none;
}
.running-turkey {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 112px;
  opacity: 0;
  transform: translateX(-140px);
}
.running-turkey svg {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes turkey-cross {
  0% {
    transform: translateX(-140px);
    opacity: 0;
  }
  1% {
    opacity: 1;
  }
  26% {
    transform: translateX(calc(100vw + 140px));
    opacity: 1;
  }
  26.1%,
  100% {
    transform: translateX(calc(100vw + 140px));
    opacity: 0;
  }
}
@keyframes turkey-bob {
  from {
    transform: translateY(0) rotate(-2deg);
  }
  to {
    transform: translateY(-4px) rotate(2deg);
  }
}
@keyframes turkey-stride {
  from {
    transform: rotate(-28deg);
  }
  to {
    transform: rotate(28deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .turkey-track {
    display: block;
  }
  /* A short run, then an offscreen rest until the next lap. */
  .running-turkey {
    animation: turkey-cross 32s 2s linear infinite;
  }
  .turkey-body {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: turkey-bob 180ms ease-in-out infinite alternate;
  }
  .turkey-leg {
    transform-box: fill-box;
    transform-origin: center top;
    animation: turkey-stride 180ms ease-in-out infinite alternate;
  }
  .turkey-leg-back {
    animation-delay: -180ms;
  }
}
@media (max-width: 600px) {
  .running-turkey {
    width: 88px;
  }
}

/* Rich cherry reds with bright accents and deep red surfaces. */
body {
  background:
    radial-gradient(ellipse 1000px 650px at 50% 0, #a5193940, transparent 80%),
    var(--bg);
}
.ref-masthead {
  background: linear-gradient(135deg, #510f25, #2e0917);
}
.ref-main-nav,
.ref-top-line {
  background: #300b18;
}
.ref-server-text strong,
.ref-discord-text strong,
.cyan,
.ref-vote-number {
  color: var(--accent-soft);
}
.ref-server-icon,
.ref-discord-icon {
  background: #c2243d;
}
.ref-latest-post {
  background: #64172b;
  border-color: #9b304b;
  box-shadow: 0 10px 32px #0c080b24;
}
.ref-latest-image img {
  opacity: 0.85;
}
.ref-latest-post:hover .ref-latest-image img {
  opacity: 0.85;
}
.ref-store-card {
  background: linear-gradient(135deg, #dc263a, #a50d2e);
  border-color: #ff7a8580;
  box-shadow: 0 10px 32px #0c080b24;
}
.ref-store-card:hover {
  background: linear-gradient(135deg, #ed3545, #ba1535);
}
.ref-store-card > svg {
  color: #ffe3db;
}
.ref-post-card,
.ref-team-member,
.ref-vote-panel {
  box-shadow: 0 8px 24px #0c080b1c;
}
.ref-post-body > p:last-child,
.ref-team-member p {
  color: var(--muted);
}
.ref-vote-bookmark {
  background: #f5eeeb;
  border-color: #d9c6c8;
}
.ref-vote-bookmark p {
  color: #625157;
}
.ref-vote-bookmark-icon {
  background: #cf243e;
}
.ref-team-count,
.ref-team-count:before {
  background: #cb2140;
}
.ref-back-top {
  background: var(--accent);
}
.ref-footer-main {
  background: #2d0b18;
}
.ref-footer-main:before {
  background: #3d0f21;
}
.ref-credits {
  color: var(--muted);
}
.ref-credits p {
  color: #d7a6b3;
}

/* Mouse-only decoration. The native pointer and every click remain intact. */
.cursor-effects {
  display: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 100;
  pointer-events: none;
  user-select: none;
}
.cursor-effects * {
  pointer-events: none;
}
.cursor-glow,
.cursor-ember,
.cursor-click {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  opacity: 0;
}
.cursor-glow {
  width: 64px;
  height: 64px;
  margin: -32px;
  background: radial-gradient(
    circle,
    #ff604d26,
    #ed283211 40%,
    transparent 70%
  );
  transition: opacity 150ms;
}
.cursor-glow::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid #ff8c8866;
  border-radius: 50%;
  transition:
    inset 160ms,
    border-color 160ms;
}
.cursor-glow[data-interactive="true"]::after {
  inset: 16px;
  border-color: #ffb28eaa;
}
.cursor-ember {
  width: 4px;
  height: 4px;
  margin: -2px;
  background: #ffac70;
  box-shadow: 0 0 6px #f54449aa;
}
.cursor-ember:nth-child(3n) {
  background: #ff5965;
}
.cursor-click {
  width: 12px;
  height: 12px;
  margin: -6px;
  border: 1px solid #ffac70;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-effects {
    display: block;
  }
}

/* Native HTML equivalents for layout previously supplied by image components. */
[hidden] {
  display: none !important;
}
.ref-latest-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ref-announcement-body h2 {
  margin-top: 32px;
}
.clipboard-fallback {
  position: fixed;
  left: -9999px;
  top: 0;
}
.ref-pagination button {
  font-size: 28px;
}
#main:focus {
  outline: none;
}

.ref-server-icon img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

/* A brief, once-per-tab entrance. All page controls remain usable beneath it. */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #18070e;
  pointer-events: none;
  user-select: none;
  opacity: 1;
  transition:
    opacity 400ms ease,
    visibility 400ms;
}
.site-intro.intro-out {
  opacity: 0;
  visibility: hidden;
}
.intro-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    #c725424d 0%,
    #791b322b 35%,
    transparent 68%
  );
  animation: intro-glow-in 1500ms ease-out both;
}
.intro-scene {
  position: relative;
  width: min(500px, 90vw);
  text-align: center;
}
.intro-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 30px #ff49344d);
  animation: intro-logo-in 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.intro-ring {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  top: 8%;
  left: 21%;
  border: 1px solid #ff697057;
  border-radius: 50%;
  box-shadow:
    0 0 40px #e22b4226,
    inset 0 0 35px #e22b421a;
  animation: intro-ring-in 1300ms ease-out both;
}
.intro-address {
  margin: -8px 0 8px;
  color: #fff1e9;
  font:
    italic 800 clamp(24px, 6vw, 34px)/1.2 Barlow,
    sans-serif;
  letter-spacing: 0.08em;
  animation: intro-text-in 550ms 280ms ease-out both;
}
.intro-welcome {
  margin: 0;
  color: #ecadb8;
  font-size: 14px;
  animation: intro-text-in 550ms 400ms ease-out both;
}
.intro-line {
  width: 100px;
  height: 2px;
  margin: 26px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ff7f69, transparent);
  animation: intro-line-in 1000ms 250ms ease-out both;
}
.intro-sparks {
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  top: 40%;
}
.intro-sparks span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffac70;
  box-shadow: 0 0 12px #ff4e45;
  opacity: 0;
  animation: intro-spark 1000ms var(--spark-delay) ease-out both;
}
@keyframes intro-logo-in {
  from {
    opacity: 0;
    transform: scale(0.65) translateY(18px) rotate(-7deg);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0);
  }
}
@keyframes intro-glow-in {
  from {
    opacity: 0;
    transform: scale(0.65);
  }
  to {
    opacity: 1;
    transform: scale(1.12);
  }
}
@keyframes intro-ring-in {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  35% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale(1.45);
  }
}
@keyframes intro-text-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes intro-line-in {
  from {
    opacity: 0;
    transform: scaleX(0.1);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes intro-spark {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.3);
  }
  20% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(var(--spark-x), var(--spark-y)) scale(0.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-intro {
    display: none;
  }
}
