:root {
  --black: #000000;
  --near-black: #050706;
  --panel: #0a0e0b;
  --green-bright: #73a47c;
  --line: #304d36;
  --text: #c5c9c5;
  --muted: #858c86;
  --white: #e1e3e1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 300px;
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.6;
}

button,
a {
  font: inherit;
}

button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

a {
  color: var(--green-bright);
}

a:hover {
  color: var(--white);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  border: 1px solid var(--green-bright);
  background: var(--black);
}

.skip-link:focus {
  top: 12px;
}

.site-shell {
  width: min(780px, calc(100% - 24px));
  margin: 26px auto;
  border: 1px solid #243127;
  background: var(--near-black);
  box-shadow: 0 0 0 3px #070a08, 0 0 0 4px #17221a;
}

.site-header {
  min-height: 145px;
  padding: 27px 32px 24px;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 9px,
      rgba(83, 118, 89, 0.035) 9px,
      rgba(83, 118, 89, 0.035) 10px
    ),
    #030504;
  text-align: center;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--green-bright);
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.45em;
}

.site-header h1 {
  margin: 0;
  color: #667c6a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 6vw, 48px);
  font-weight: normal;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-shadow: 1px 1px 0 #1c2c20, 2px 2px 0 #000;
}

.site-header p {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(#172219, #0e1510);
}

.main-nav button {
  -webkit-appearance: none;
  appearance: none;
  width: auto;
  min-width: 112px;
  padding: 9px 16px;
  border-right: 1px solid #2d4632;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: #aeb8b0;
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.main-nav button:first-child {
  border-left: 1px solid #2d4632;
}

.main-nav button:hover,
.main-nav button:focus-visible {
  background: #263b2a;
  color: var(--white);
  outline: none;
}

.announcement {
  overflow: hidden;
  padding: 6px 12px;
  border-bottom: 1px solid #1d2d21;
  background: #050806;
  color: #8e948f;
  font-family: "Courier New", monospace;
  font-size: 11px;
  white-space: nowrap;
}

.announcement span {
  color: var(--green-bright);
  font-weight: bold;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 12px;
  padding: 12px;
}

.main-column,
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel,
.side-panel {
  border: 1px solid #243b29;
  background: var(--panel);
}

.panel h2,
.side-panel h2 {
  margin: 0;
  padding: 6px 9px;
  border-bottom: 1px solid #29432f;
  background: linear-gradient(90deg, #1a2a1e, #0d150f);
  color: #a1b1a4;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.panel-body {
  padding: 12px 14px;
}

.panel-body p:first-child,
.side-body p:first-child {
  margin-top: 0;
}

.panel-body p:last-child,
.side-body p:last-child {
  margin-bottom: 0;
}

.side-body {
  padding: 10px;
  color: #9ba09c;
  font-size: 11px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

th,
td {
  padding: 5px 7px;
  border: 1px solid #1f3224;
  text-align: left;
  vertical-align: top;
}

th {
  width: 33%;
  background: #0f1811;
  color: var(--green-bright);
  font-family: "Courier New", monospace;
  font-weight: normal;
  text-transform: uppercase;
}

td {
  background: #080c09;
}

.connect-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 8px;
  margin-top: 12px;
  padding: 9px;
  border: 1px dashed #35533b;
  background: #050806;
}

.connect-label {
  grid-column: 1 / -1;
  color: #77857a;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.connect-box code,
.console-command {
  overflow-wrap: anywhere;
  color: #8fb697;
  font-family: "Courier New", monospace;
}

.connect-actions {
  display: flex;
  gap: 5px;
}

.connect-box button,
.connect-actions a,
#refresh-status {
  -webkit-appearance: none;
  appearance: none;
  padding: 3px 9px;
  border: 1px outset #506956;
  border-radius: 0;
  background: #263b2a;
  color: #d0d7d1;
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.6;
  text-decoration: none;
}

.connect-box button:active,
.connect-actions a:active,
#refresh-status:active {
  border-style: inset;
}

.connect-box button:focus-visible,
.connect-actions a:focus-visible,
#refresh-status:focus-visible {
  outline: 1px solid var(--green-bright);
  outline-offset: 2px;
}

.live-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.live-status .status-line {
  margin: 0;
}

#refresh-status:disabled {
  color: #7c837d;
  cursor: wait;
}

.status-note {
  margin: 8px 0 0;
  color: #737873;
  font-family: "Courier New", monospace;
  font-size: 9px;
}

.rules-table th:first-child {
  width: 68%;
}

.rules-table th:last-child {
  width: 32%;
}

.rules-table thead th {
  background: #142018;
  color: #8fa394;
  font-weight: bold;
}

.rules-table td:first-child {
  color: #c4ccc5;
}

.rules-table td:last-child {
  color: #929a94;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.rules-table small {
  display: block;
  margin-top: 3px;
  color: #9f7777;
  font-size: 8px;
  line-height: 1.4;
}

.penalty {
  display: inline-block;
  padding: 1px 4px;
  border: 1px solid #38483b;
  background: #111812;
  white-space: nowrap;
}

.penalty.permanent {
  border-color: #633d3d;
  color: #bd8585;
}

.penalty.temporary {
  border-color: #5b5635;
  color: #b2a56d;
}

.rule-policy {
  margin-top: 12px;
  padding: 8px 10px;
  border-left: 2px solid #35533b;
  background: #070b08;
  color: #a7aca8;
  font-size: 10px;
}

.rule-policy strong {
  color: #86a08b;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: normal;
  text-transform: uppercase;
}

.motd-date {
  margin-bottom: 0;
  color: #666e67;
  font-family: "Courier New", monospace;
  font-size: 9px;
}

.status-line {
  color: #91ae96;
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: bold;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border: 1px solid #7ea786;
  border-radius: 50%;
  background: #6d765f;
  box-shadow: 0 0 5px #3e4538;
}

.status-dot.is-online {
  border-color: #7ea786;
  background: #456c4d;
  box-shadow: 0 0 5px #385a3f;
}

.status-dot.is-offline {
  border-color: #9c5f5f;
  background: #6f3232;
  box-shadow: 0 0 5px #4b2525;
}

.status-dot.is-checking {
  border-color: #928a65;
  background: #67613d;
  box-shadow: 0 0 5px #49442b;
}

.console-command {
  display: block;
  padding: 7px;
  border: 1px inset #223627;
  background: #030504;
  font-size: 10px;
}

.quick-join {
  display: inline-block;
  margin-top: 8px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  text-decoration: none;
}

.staff-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-list li {
  padding: 6px 0;
  border-bottom: 1px dotted #29372c;
}

.staff-list li:first-child {
  padding-top: 0;
}

.staff-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.staff-list strong,
.staff-list span {
  display: block;
}

.staff-list strong {
  color: #839f89;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.staff-list span {
  color: #b3b7b3;
}

.details-list {
  margin: 0;
}

.details-list dt {
  color: #839f89;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.details-list dd {
  margin: 0 0 7px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #29372c;
  color: #b3b7b3;
}

.details-list dd:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

footer {
  padding: 14px;
  border-top: 1px solid #243b29;
  background: #030504;
  color: #666e67;
  font-family: "Courier New", monospace;
  font-size: 9px;
  text-align: center;
}

footer p {
  margin: 2px 0;
}

footer .scroll-link {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-bright);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
}

footer .scroll-link:hover {
  color: var(--white);
}

@media (max-width: 650px) {
  .site-shell {
    width: calc(100% - 12px);
    margin: 8px auto;
  }

  .site-header {
    min-height: 0;
    padding: 24px 12px 21px;
  }

  .site-header h1 {
    font-size: clamp(27px, 10vw, 39px);
  }

  .site-header p {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav button,
  .main-nav button:first-child {
    width: 100%;
    min-width: 0;
    border: 1px solid #243b29;
  }

  .announcement {
    white-space: normal;
  }

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

  .connect-box {
    grid-template-columns: 1fr;
  }

  .connect-label {
    grid-column: auto;
  }

  .connect-actions {
    flex-wrap: wrap;
  }

  .rules-table th:first-child {
    width: 62%;
  }

  .rules-table th:last-child {
    width: 38%;
  }

  .penalty {
    white-space: normal;
  }

  .live-status {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Early Steam community-site visual system */
:root {
  --black: #050605;
  --near-black: #333d2f;
  --panel: #d2d6c8;
  --green-bright: #b8c96e;
  --line: #707a67;
  --text: #e9ece2;
  --muted: #aeb7a8;
  --white: #f4f4ef;
}

body {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 19%, transparent 81%, rgba(0, 0, 0, 0.08)),
    #55634f;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  line-height: 1.42;
}

.site-shell {
  width: min(762px, calc(100% - 20px));
  margin-top: 0;
  margin-bottom: 0;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: #333d2f;
  box-shadow: none;
}

.utility-bar {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #000;
  background: linear-gradient(180deg, #0a0c0a, #020302 62%, #090b09);
}

.dgr-stamp {
  display: inline-block;
  padding: 3px 7px 2px;
  border: 1px solid #7e7440;
  box-shadow: inset 0 0 0 1px #292512;
  color: #b6a85d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  line-height: 1;
  text-shadow: 1px 1px #000;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.13em;
}

.utility-links span {
  color: #aeb2aa;
}

.utility-links a {
  color: #f0f1ed;
  text-decoration: none;
}

.utility-links a:hover {
  color: var(--green-bright);
}

.site-header {
  display: flex;
  min-height: 166px;
  align-items: flex-start;
  gap: 20px;
  padding: 27px 38px 30px;
  border-bottom: 1px solid #20271d;
  background:
    radial-gradient(circle at 86% 30%, rgba(173, 192, 111, 0.15), transparent 26%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.035), transparent 42%),
    repeating-linear-gradient(135deg, transparent, transparent 11px, rgba(255, 255, 255, 0.012) 11px, rgba(255, 255, 255, 0.012) 12px),
    #3d4938;
  text-align: left;
}

.server-emblem {
  display: flex;
  width: 72px;
  flex: 0 0 72px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: #f1f3ec;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: bold;
  letter-spacing: -0.08em;
  text-shadow: 1px 1px 0 #000;
}

.server-emblem span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 4px solid #f1f3ec;
  border-radius: 50%;
  line-height: 1;
}

.server-emblem i {
  width: 18px;
  height: 5px;
  margin: 0 -4px;
  background: #f1f3ec;
  box-shadow: 0 1px #000;
  transform: rotate(-25deg);
}

.header-copy {
  padding-top: 4px;
}

.eyebrow {
  margin-bottom: 2px;
  color: #c5ce92;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.32em;
}

.site-header h1 {
  color: #f4f4ef;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(29px, 5.2vw, 42px);
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.9);
}

.site-header p {
  margin-top: 11px;
  color: #d9e0c4;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.16em;
}

.site-header p::after {
  display: block;
  width: 26px;
  height: 5px;
  margin-top: 9px;
  background: #0c0f0b;
  content: "";
}

.main-nav {
  justify-content: flex-start;
  padding-left: 78px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #252b23;
  background: #050605;
}

.main-nav button {
  min-width: 92px;
  padding: 8px 17px 7px;
  border-color: #171a16;
  color: #c7cbc4;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.main-nav button:hover,
.main-nav button:focus-visible {
  background: #30382c;
  color: #e5eaad;
}

.announcement {
  padding: 7px 13px;
  border-bottom-color: #1d241b;
  background: #262f23;
  color: #c3c9bd;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 10px;
}

.content-grid {
  gap: 10px;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 48%),
    #3f4b3a;
}

.main-column,
.sidebar {
  gap: 10px;
}

.panel,
.side-panel {
  border: 1px solid #171c16;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.panel {
  background: #d2d6c8;
  color: #182018;
}

.side-panel {
  background: #2c3528;
}

.panel h2,
.side-panel h2 {
  padding: 6px 9px 5px;
  border-bottom-color: #111510;
  background: #070907;
  color: #d7dc9c;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.side-body {
  color: #d1d7cc;
}

th,
td {
  border-color: #929989;
}

th {
  background: #aeb5a5;
  color: #35402f;
  font-family: Tahoma, Verdana, sans-serif;
  font-weight: bold;
}

td {
  background: #dce0d5;
  color: #182018;
}

.connect-box {
  border: 1px solid #8e9683;
  background: #bcc3b2;
}

.connect-label,
.status-note,
.rule-policy strong,
.motd-date {
  font-family: Tahoma, Verdana, sans-serif;
}

.connect-label {
  color: #5d6755;
  font-weight: bold;
}

.connect-box code {
  color: #33472f;
  font-weight: bold;
}

.connect-box button,
.connect-actions a,
#refresh-status {
  border: 1px solid #232a20;
  border-top-color: #7d8873;
  border-left-color: #7d8873;
  background: linear-gradient(#56624f, #35402f);
  color: #f0f2ea;
  font-family: Tahoma, Verdana, sans-serif;
  text-shadow: 1px 1px #1b2118;
}

.live-status .status-line {
  color: #44543e;
}

.status-note {
  color: #667060;
}

.rules-table thead th {
  background: #a5ad9c;
  color: #35402f;
}

.rules-table td:first-child {
  color: #222a20;
}

.rules-table td:last-child {
  color: #4d5648;
  font-family: Tahoma, Verdana, sans-serif;
}

.penalty {
  border-color: #7b8372;
  background: #c5cabb;
}

.penalty.permanent {
  border-color: #94635c;
  color: #763e37;
}

.penalty.temporary {
  border-color: #91854b;
  color: #665f2d;
}

.rule-policy {
  border-left: 3px solid #667744;
  background: #b8bfaf;
  color: #343c31;
}

.console-command {
  border-color: #111510;
  background: #171c15;
  color: #d8e19c;
}

.quick-join,
.staff-list strong,
.details-list dt {
  color: #c3ce83;
}

.staff-list strong,
.details-list dt {
  font-family: Tahoma, Verdana, sans-serif;
}

.staff-list span,
.details-list dd {
  color: #e1e4dc;
}

.staff-list li,
.details-list dd {
  border-color: #5e6858;
}

footer {
  padding: 18px 14px 22px;
  border-top-color: #66715f;
  background: #465440;
  color: #929b8b;
  font-family: Tahoma, Verdana, sans-serif;
  text-align: left;
}

@media (max-width: 650px) {
  .site-shell {
    width: 100%;
    margin: 0;
  }

  .utility-bar {
    min-height: 46px;
    padding: 0 12px;
  }

  .utility-links {
    gap: 13px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .utility-links span:first-child {
    display: none;
  }

  .site-header {
    min-height: 0;
    gap: 12px;
    padding: 24px 16px 23px;
  }

  .server-emblem {
    width: 50px;
    flex-basis: 50px;
    margin-top: 7px;
    font-size: 17px;
  }

  .server-emblem span {
    width: 22px;
    height: 22px;
    border-width: 3px;
  }

  .server-emblem i {
    width: 12px;
    height: 4px;
  }

  .site-header h1 {
    font-size: clamp(24px, 7.9vw, 35px);
    letter-spacing: 0.06em;
  }

  .site-header p {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .main-nav {
    grid-template-columns: repeat(4, 1fr);
    padding-left: 0;
  }

  .main-nav button,
  .main-nav button:first-child {
    padding: 8px 4px;
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .utility-links span {
    display: none;
  }

  .site-header {
    padding-right: 11px;
    padding-left: 11px;
  }

  .site-header h1 {
    font-size: clamp(21px, 7.2vw, 29px);
  }
}

/* The news ticker replaces the former section-navigation bar. */
.announcement {
  padding: 9px 13px 8px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #252b23;
  background: #050605;
  color: #c7cbc4;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.announcement span {
  color: #d7dc9c;
  letter-spacing: 0.1em;
}
