:root {
  --home-bg: #0d0f0d;
  --home-surface: #161916;
  --home-surface-raised: #1b1f1b;
  --home-surface-soft: #202420;
  --home-line: #30362f;
  --home-line-soft: #252a25;
  --home-text: #f1eee7;
  --home-muted: #a2aaa0;
  --home-faint: #737b72;
  --home-accent: #da7a32;
  --home-accent-light: #f0a263;
  --home-success: #76b778;
}

.page-home-redesign {
  color: var(--home-text);
  background: var(--home-bg);
}

.page-home-redesign::before,
.page-home-redesign::after {
  content: none !important;
  display: none !important;
}

.page-home-redesign .forum-subnav,
.page-home-redesign .server-ribbon {
  display: none;
}

.page-home-redesign .top-app-bar {
  height: 64px !important;
  background: rgba(13, 15, 13, 0.97);
  border-bottom-color: var(--home-line) !important;
  box-shadow: none;
  backdrop-filter: none;
}

.page-home-redesign .top-app-bar__inner {
  width: min(1320px, calc(100% - 48px));
  max-width: none;
  height: 64px !important;
  padding: 0 !important;
  gap: 22px;
}

.page-home-redesign .brand {
  gap: 9px;
  padding-right: 22px;
  border-right: 1px solid var(--home-line);
}

.page-home-redesign .brand__logo {
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.page-home-redesign .brand__text {
  color: var(--home-text);
  font-size: 15px !important;
  font-weight: 750;
  letter-spacing: 0;
}

.page-home-redesign .brand__smp {
  color: #d89a6d;
}

.page-home-redesign .nav-main {
  align-self: stretch;
  gap: 2px;
}

.page-home-redesign .nav-main__link {
  position: relative;
  min-height: 64px;
  padding: 0 11px !important;
  display: inline-flex;
  align-items: center;
  color: #969e95;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 12px;
  font-weight: 650 !important;
  letter-spacing: 0;
  text-transform: none;
}

.page-home-redesign .nav-main__link:hover,
.page-home-redesign .nav-main__link.is-active {
  color: var(--home-text) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none;
}

.page-home-redesign .nav-main__link.is-active::after {
  content: '';
  position: absolute;
  right: 11px;
  bottom: 0;
  left: 11px;
  height: 2px;
  background: var(--home-accent);
}

.page-home-redesign .nav-search {
  width: 172px;
  height: 36px;
  margin-left: auto;
  flex: 0 0 172px;
  color: var(--home-muted);
  background: #111411 !important;
  border: 1px solid var(--home-line-soft) !important;
  border-radius: 4px !important;
}

.page-home-redesign .nav-search:focus-within {
  border-color: #765139 !important;
  box-shadow: 0 0 0 2px rgba(218, 122, 50, 0.1);
}

.page-home-redesign .nav-search__input {
  font-size: 12px;
}

.page-home-redesign .nav-search__icon {
  color: var(--home-faint);
  font-size: 17px;
}

.page-home-redesign .top-app-bar__actions {
  gap: 7px;
  margin-left: 0;
}

.page-home-redesign .top-app-bar__actions .auth-btn-text {
  display: none !important;
}

.page-home-redesign .top-app-bar__actions .auth-btn-icon {
  width: 40px;
  height: 40px;
  display: inline-flex !important;
  color: #aeb5ac;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px !important;
}

.page-home-redesign .top-app-bar__actions .auth-btn-icon:hover {
  color: var(--home-text);
  background: var(--home-surface);
  border-color: var(--home-line);
  text-decoration: none;
}

.page-home-redesign .top-app-bar__actions .auth-btn-icon[href="/register"] {
  color: #dba278;
  background: rgba(218, 122, 50, 0.07);
  border-color: rgba(218, 122, 50, 0.26);
}

.page-home-redesign .top-app-bar__actions .auth-btn-icon[href="/register"]:hover {
  color: #f0bd98;
  background: rgba(218, 122, 50, 0.13);
  border-color: rgba(218, 122, 50, 0.44);
}

.page-home-redesign .top-app-bar__actions .auth-btn-text {
  min-height: 36px;
  padding: 0 13px;
  color: #aeb5ac !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  font-size: 12px;
  font-weight: 650 !important;
}

.page-home-redesign .top-app-bar__actions .auth-btn-text:hover {
  color: var(--home-text) !important;
  background: var(--home-surface) !important;
  border-color: var(--home-line) !important;
  text-decoration: none;
}

.page-home-redesign .top-app-bar__actions .btn-filled.auth-btn-text {
  color: #e5b18b !important;
  background: rgba(218, 122, 50, 0.07) !important;
  border-color: rgba(218, 122, 50, 0.32) !important;
}

.page-home-redesign .top-app-bar__actions .btn-filled.auth-btn-text:hover {
  color: #f3c6a5 !important;
  background: rgba(218, 122, 50, 0.13) !important;
  border-color: rgba(218, 122, 50, 0.52) !important;
}

.page-home-redesign #app-main {
  min-height: 70vh;
  padding-top: 64px !important;
}

.home-v4-status {
  color: var(--home-muted);
  background: #111411;
  border-bottom: 1px solid var(--home-line-soft);
}

.home-v4-status__inner {
  width: min(1320px, calc(100% - 48px));
  min-height: 46px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.home-v4-status__server,
.home-v4-status__ip,
.home-v4-status__links {
  display: flex;
  align-items: center;
}

.home-v4-status__server {
  gap: 9px;
  color: #c5cbc2;
  white-space: nowrap;
}

.home-v4-status__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-success);
  box-shadow: 0 0 0 3px rgba(118, 183, 120, 0.13);
}

.home-v4-status__ip {
  min-height: 34px;
  gap: 8px;
  padding: 0 10px;
  color: var(--home-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.home-v4-status__ip:hover {
  background: var(--home-surface);
  border-color: var(--home-line);
}

.home-v4-status__ip code {
  color: inherit;
  font: 600 12px/1 'Monocraft', monospace;
}

.home-v4-status__ip .material-icons-round {
  color: var(--home-faint);
  font-size: 16px;
}

.home-v4-status__links {
  margin-left: auto;
  gap: 24px;
}

.home-v4-status__links a {
  color: var(--home-muted);
}

.home-v4-status__links a:hover {
  color: var(--home-text);
}

.home-v4-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 30px;
  align-items: start;
}

.home-v4-main {
  min-width: 0;
}

.home-v4-news,
.home-v4-forums {
  scroll-margin-top: 90px;
}

.home-v4-forums {
  margin-top: 52px;
}

.home-v4-section-head {
  min-height: 56px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.home-v4-kicker {
  margin: 0 0 7px;
  color: var(--home-accent-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-v4-section-head h1,
.home-v4-section-head h2 {
  margin: 0;
  color: var(--home-text);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.home-v4-text-link,
.home-v4-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c8cec5;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.home-v4-text-link:hover,
.home-v4-read:hover {
  color: var(--home-accent-light);
}

.home-v4-text-link .material-icons-round,
.home-v4-read .material-icons-round {
  font-size: 17px;
}

.home-v4-featured {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 1.08fr) minmax(280px, 0.92fr);
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: 6px;
}

.home-v4-featured__media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #090b09;
}

.home-v4-featured__image-link {
  position: absolute;
  inset: 0;
  display: block;
}

.home-v4-featured__image-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, rgba(13, 15, 13, 0.32));
  pointer-events: none;
}

.home-v4-featured__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03) brightness(0.82);
  transition: transform 260ms ease, filter 260ms ease;
}

.home-v4-featured:hover .home-v4-featured__media img {
  transform: scale(1.018);
  filter: saturate(0.92) contrast(1.03) brightness(0.88);
}

.home-v4-featured__badge {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 6px 9px;
  color: #1b120b;
  background: var(--home-accent-light);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v4-embers {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  transition: box-shadow 300ms ease;
}

.home-v4-embers.is-complete {
  box-shadow: inset 0 -90px 90px rgba(219, 102, 27, 0.2);
}

.home-v4-ember {
  position: absolute;
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  color: transparent;
  background: transparent;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  animation: home-ember-hunt var(--drift-duration, 2.4s) ease-in-out infinite alternate;
}

.home-v4-embers.is-running .home-v4-ember {
  display: grid;
}

.home-v4-ember > span {
  width: 8px;
  height: 8px;
  display: block;
  background: #ffb45f;
  box-shadow: 0 0 0 2px rgba(199, 75, 14, 0.7), 0 0 13px 3px rgba(255, 127, 33, 0.7);
  transform: rotate(45deg);
  transition: transform 160ms ease, opacity 160ms ease;
}

.home-v4-ember:hover > span,
.home-v4-ember:focus-visible > span {
  transform: rotate(45deg) scale(1.45);
}

.home-v4-ember.is-caught > span {
  opacity: 0;
  transform: rotate(135deg) scale(2.2);
}

.home-v4-ember-score {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 36px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  color: #e7d6c7;
  background: rgba(12, 14, 12, 0.8);
  border: 1px solid rgba(240, 162, 99, 0.26);
  border-radius: 3px;
  font: 600 10px/1 'Monocraft', monospace;
  cursor: pointer;
  pointer-events: auto;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.home-v4-ember-score:hover:not([aria-disabled="true"]),
.home-v4-ember-score:focus-visible:not([aria-disabled="true"]) {
  color: #23150b;
  background: #f0a263;
  border-color: #ffc286;
}

.home-v4-ember-score[aria-disabled="true"] {
  cursor: default;
}

.home-v4-embers.is-complete .home-v4-ember-score {
  color: #25150a;
  background: #f0a263;
  border-color: #ffc286;
}

.home-v4-embers.is-failed .home-v4-ember-score {
  color: #f0c4a4;
  background: rgba(73, 34, 18, 0.88);
  border-color: rgba(240, 162, 99, 0.38);
}

.home-v4-ember-burst {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 6px;
  height: 6px;
  background: #ffd18a;
  pointer-events: none;
  animation: home-ember-burst 360ms ease-out forwards;
}

@keyframes home-ember-hunt {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  28% { transform: translate3d(var(--drift-x-1), var(--drift-y-1), 0) rotate(7deg); }
  63% { transform: translate3d(var(--drift-x-2), var(--drift-y-2), 0) rotate(-5deg); }
  100% { transform: translate3d(var(--drift-x-3), var(--drift-y-3), 0) rotate(4deg); }
}

@keyframes home-ember-burst {
  to {
    opacity: 0;
    transform: translate(var(--burst-x), var(--burst-y)) scale(0.2);
  }
}

.home-v4-featured__body {
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-v4-featured__date {
  margin: 0 0 13px;
  color: var(--home-faint);
  font-size: 12px;
  font-weight: 600;
}

.home-v4-featured h2 {
  margin: 0;
  font-size: clamp(23px, 2.6vw, 34px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.home-v4-featured h2 a {
  color: var(--home-text);
}

.home-v4-featured h2 a:hover {
  color: var(--home-accent-light);
}

.home-v4-featured__excerpt {
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.home-v4-meta {
  width: 100%;
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--home-faint);
  font-size: 11px;
}

.home-v4-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.home-v4-meta > span:first-child {
  margin-right: auto;
}

.home-v4-meta .material-icons-round {
  font-size: 14px;
}

.home-v4-read {
  margin-top: 20px;
  color: var(--home-accent-light);
}

.home-v4-updates {
  margin-top: 10px;
  border-top: 1px solid var(--home-line);
}

.home-v4-update {
  min-height: 62px;
  padding: 10px 6px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 80px 20px;
  align-items: center;
  gap: 16px;
  color: var(--home-muted);
  border-bottom: 1px solid var(--home-line-soft);
}

.home-v4-update:hover {
  color: var(--home-text);
  background: rgba(255, 255, 255, 0.018);
}

.home-v4-update time,
.home-v4-update__replies {
  color: var(--home-faint);
  font-size: 11px;
}

.home-v4-update__title {
  overflow: hidden;
  color: var(--home-text);
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v4-update__replies {
  text-align: right;
  white-space: nowrap;
}

.home-v4-update__arrow {
  color: var(--home-faint);
  font-size: 17px;
  transition: transform 160ms ease;
}

.home-v4-update:hover .home-v4-update__arrow {
  color: var(--home-accent-light);
  transform: translateX(2px);
}

.home-v4-empty {
  min-height: 220px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: 6px;
}

.home-v4-empty > .material-icons-round {
  color: var(--home-accent-light);
  font-size: 36px;
}

.home-v4-empty h2,
.home-v4-empty p {
  margin: 0;
}

.home-v4-empty p {
  margin-top: 6px;
  color: var(--home-muted);
}

.home-v4-section-head--forums {
  align-items: center;
}

.home-v4-section-head--forums .btn {
  min-height: 40px;
  border-radius: 4px;
}

.home-v4-board-index {
  border-top: 1px solid var(--home-line);
}

.home-v4-board-group {
  border-bottom: 1px solid var(--home-line);
}

.home-v4-board-group__title {
  margin: 0;
  padding: 20px 8px 10px;
  color: var(--home-faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-v4-board {
  min-height: 76px;
  padding: 11px 8px;
  display: grid;
  grid-template-columns: 40px minmax(180px, 1fr) 56px minmax(180px, 0.66fr) 20px;
  align-items: center;
  gap: 14px;
  color: var(--home-muted);
  border-top: 1px solid var(--home-line-soft);
}

.home-v4-board:hover {
  background: var(--home-surface);
}

.home-v4-board__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #d49a70;
  background: rgba(218, 122, 50, 0.09);
  border: 1px solid rgba(218, 122, 50, 0.16);
  border-radius: 4px;
  font-size: 19px;
}

.home-v4-board__copy,
.home-v4-board__count,
.home-v4-board__last {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-v4-board__copy strong,
.home-v4-board__last strong {
  overflow: hidden;
  color: var(--home-text);
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v4-board__copy small,
.home-v4-board__last small,
.home-v4-board__count small {
  overflow: hidden;
  color: var(--home-faint);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-v4-board__count {
  text-align: center;
}

.home-v4-board__count strong {
  color: #c9cec6;
  font-size: 14px;
}

.home-v4-board__last {
  padding-left: 16px;
  border-left: 1px solid var(--home-line-soft);
}

.home-v4-board__last strong {
  color: #bdc3ba;
  font-size: 12px;
}

.home-v4-board__arrow {
  color: var(--home-faint);
  font-size: 18px;
}

.home-v4-board:hover .home-v4-board__arrow {
  color: var(--home-accent-light);
}

.home-v4-rail {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 14px;
}

.home-v4-rail-card {
  padding: 20px;
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: 5px;
}

.home-v4-rail-card--welcome {
  padding: 24px;
  background: linear-gradient(150deg, #1c211c 0%, #151815 72%);
  border-top: 2px solid #9e6237;
}

.home-v4-rail-card h2 {
  margin: 0;
  color: var(--home-text);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.3;
}

.home-v4-rail-card--welcome h2 {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.home-v4-rail-card--welcome > p:not(.home-v4-kicker),
.home-v4-muted {
  margin: 11px 0 18px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.6;
}

.home-v4-primary-action,
.home-v4-secondary-action {
  min-height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.home-v4-primary-action {
  color: #1a1008;
  background: var(--home-accent-light);
  border: 1px solid var(--home-accent-light);
}

.home-v4-primary-action:hover {
  color: #110c07;
  background: #f5b071;
}

.home-v4-secondary-action {
  margin-top: 8px;
  color: #cbd0c8;
  background: transparent;
  border: 1px solid var(--home-line);
}

.home-v4-secondary-action:hover {
  color: var(--home-text);
  background: var(--home-surface-soft);
}

.home-v4-primary-action .material-icons-round,
.home-v4-secondary-action .material-icons-round {
  font-size: 17px;
}

.home-v4-rail-head {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-v4-rail-head a {
  color: var(--home-accent-light);
  font-size: 11px;
  font-weight: 650;
}

.home-v4-recent-list {
  margin: 0 -6px -6px;
}

.home-v4-recent {
  padding: 11px 6px;
  display: block;
  border-top: 1px solid var(--home-line-soft);
}

.home-v4-recent:first-child {
  border-top: 0;
}

.home-v4-recent:hover {
  background: rgba(255, 255, 255, 0.018);
}

.home-v4-recent__category {
  display: block;
  color: #b5825e;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v4-recent strong {
  margin-top: 4px;
  display: -webkit-box;
  overflow: hidden;
  color: #dfe2dc;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-v4-recent small {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--home-faint);
  font-size: 10px;
}

.home-v4-recent small span {
  white-space: nowrap;
}

.home-v4-votes {
  margin-top: 4px;
  border-top: 1px solid var(--home-line-soft);
}

.home-v4-votes a {
  min-height: 40px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #c9cec6;
  border-bottom: 1px solid var(--home-line-soft);
  font-size: 12px;
}

.home-v4-votes a:hover {
  color: var(--home-accent-light);
}

.home-v4-votes .material-icons-round {
  color: var(--home-faint);
  font-size: 15px;
}

.home-v4-people {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.home-v4-person {
  position: relative;
  padding-left: 10px;
  color: var(--home-muted);
  font-size: 11px;
}

.home-v4-person::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555c54;
  transform: translateY(-50%);
}

.home-v4-person.is-online::before {
  background: var(--home-success);
}

.home-v4-summary {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 44px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-v4-summary > div {
  padding: 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-left: 1px solid var(--home-line-soft);
}

.home-v4-summary > div:first-child {
  border-left: 0;
}

.home-v4-summary span {
  color: var(--home-faint);
  font-size: 11px;
}

.home-v4-summary strong {
  color: var(--home-text);
  font-size: 18px;
}

.page-home-redesign .site-footer--home {
  margin-top: 0;
  color: var(--home-muted);
  background: #0a0c0a !important;
  border-top: 1px solid var(--home-line) !important;
}

.site-footer-home__main,
.site-footer-home__bottom {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.site-footer-home__main {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto 230px;
  align-items: center;
  gap: 30px;
}

.site-footer-home__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--home-text);
  font: 700 14px/1 'Monocraft', monospace;
}

.site-footer-home__brand:hover {
  color: var(--home-text);
  text-decoration: none;
}

.site-footer-home__brand img {
  width: 34px;
  height: 34px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-footer-home__brand strong {
  color: #d89a6d;
  font-weight: inherit;
}

.site-footer-home__note {
  margin: 0;
  color: var(--home-faint);
  font-size: 12px;
}

.site-footer-home__nav,
.site-footer-home__bottom nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer-home__nav a,
.site-footer-home__bottom a {
  color: #969e95;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.site-footer-home__nav a:hover,
.site-footer-home__bottom a:hover {
  color: var(--home-text);
  text-decoration: none;
}

.site-footer-home__server {
  min-height: 58px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  color: var(--home-text);
  text-align: left;
  background: #111411;
  border: 1px solid var(--home-line-soft);
  border-radius: 4px;
  cursor: pointer;
}

.site-footer-home__server:hover {
  background: var(--home-surface);
  border-color: var(--home-line);
}

.site-footer-home__server > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer-home__server small {
  color: var(--home-faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-home__server strong {
  overflow: hidden;
  font: 600 11px/1 'Monocraft', monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer-home__server .material-icons-round {
  color: var(--home-faint);
  font-size: 16px;
}

.site-footer-home__online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-success);
  box-shadow: 0 0 0 3px rgba(118, 183, 120, 0.1);
}

.site-footer-home__bottom {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #646c64;
  border-top: 1px solid var(--home-line-soft);
  font-size: 11px;
}

.page-home-redesign :where(a, button):focus-visible {
  outline: 2px solid var(--home-accent-light);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .home-v4-shell {
    grid-template-columns: minmax(0, 1fr) 286px;
    gap: 22px;
  }

  .home-v4-board {
    grid-template-columns: 40px minmax(170px, 1fr) 50px 20px;
  }

  .home-v4-board__last {
    display: none;
  }

  .site-footer-home__main {
    grid-template-columns: auto minmax(0, 1fr) 220px;
  }

  .site-footer-home__note {
    display: none;
  }
}

@media (max-width: 900px) {
  .home-v4-shell {
    grid-template-columns: 1fr;
  }

  .home-v4-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v4-rail-card--welcome {
    grid-row: span 2;
  }

  .home-v4-featured {
    grid-template-columns: 1fr 1fr;
  }

  .home-v4-summary {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .home-v4-summary > div:nth-child(3) {
    border-left: 0;
  }

  .site-footer-home__main {
    padding: 26px 0;
    grid-template-columns: 1fr 220px;
    gap: 20px;
  }

  .site-footer-home__nav {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .page-home-redesign .top-app-bar {
    height: 58px !important;
  }

  .page-home-redesign .top-app-bar__inner {
    width: calc(100% - 20px);
    height: 58px !important;
    gap: 8px;
  }

  .page-home-redesign .brand {
    padding-right: 0;
    border-right: 0;
  }

  .page-home-redesign .brand__logo {
    width: 30px;
    height: 30px;
  }

  .page-home-redesign .brand__text {
    font-size: 14px !important;
  }

  .page-home-redesign .mobile-nav-toggle,
  .page-home-redesign .auth-btn-icon {
    width: 40px;
    height: 40px;
    color: #aeb5ac;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px !important;
  }

  .page-home-redesign .mobile-nav-toggle:hover,
  .page-home-redesign .auth-btn-icon:hover {
    color: var(--home-text);
    background: var(--home-surface);
    border-color: var(--home-line);
  }

  .page-home-redesign #app-main {
    padding-top: 58px !important;
  }

  .home-v4-status__inner,
  .home-v4-shell,
  .home-v4-summary {
    width: min(100% - 28px, 1320px);
  }

  .home-v4-status__inner {
    min-height: 50px;
    gap: 8px;
  }

  .home-v4-status__server .sidebar__online-text,
  .home-v4-status__links {
    display: none;
  }

  .home-v4-status__ip {
    margin-left: auto;
  }

  .home-v4-shell {
    padding-top: 26px;
  }

  .home-v4-section-head {
    align-items: center;
  }

  .home-v4-section-head h1,
  .home-v4-section-head h2 {
    font-size: 25px;
  }

  .home-v4-featured {
    grid-template-columns: 1fr;
  }

  .home-v4-featured__media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .home-v4-featured__body {
    padding: 24px 20px;
  }

  .home-v4-featured h2 {
    font-size: 24px;
  }

  .home-v4-featured__excerpt {
    -webkit-line-clamp: 4;
  }

  .home-v4-update {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 10px;
  }

  .home-v4-update time,
  .home-v4-update__replies {
    display: none;
  }

  .home-v4-forums {
    margin-top: 42px;
  }

  .home-v4-section-head--forums .btn {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .home-v4-section-head--forums .btn .material-icons-round {
    font-size: 18px;
  }

  .home-v4-board {
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    gap: 11px;
  }

  .home-v4-board__count {
    display: none;
  }

  .home-v4-rail {
    grid-template-columns: 1fr;
  }

  .home-v4-rail-card--welcome {
    grid-row: auto;
  }

  .home-v4-summary {
    padding: 0;
    grid-template-columns: 1fr 1fr;
  }

  .home-v4-summary > div {
    padding: 16px 12px;
    flex-direction: column;
  }

  .home-v4-summary > div:nth-child(3) {
    border-left: 0;
  }

  .site-footer-home__main,
  .site-footer-home__bottom {
    width: min(100% - 28px, 1320px);
  }

  .site-footer-home__main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer-home__nav {
    grid-row: auto;
    grid-column: auto;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .site-footer-home__server {
    width: 100%;
  }

  .site-footer-home__bottom {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer-home__bottom nav {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v4-featured__media img,
  .home-v4-update__arrow {
    transition: none;
  }

  .home-v4-ember {
    animation: none;
  }
}
