.faction-home-wrap,
.faction-scoreboard-wrap {
  padding-top: 42px;
}
.faction-scoreboard-wrap {
  padding-bottom: 32px;
}
.faction-war {
  --rebel: #ffc183;
  --empire: #ff999c;
  background: #101611;
  border: 1px solid #354333;
  border-radius: 4px;
  overflow: hidden;
  color: #edf0e9;
}
.faction-war-heading {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #354333;
}
.faction-eyebrow {
  font:
    9px/1.6 Consolas,
    monospace;
  letter-spacing: 1.4px;
  color: #a8b49f;
}
.faction-war-heading h2 {
  font-size: 34px;
  margin: 5px 0 0;
}
.faction-war-heading > a {
  font-size: 12px;
  color: #c5e5aa;
  white-space: nowrap;
}
.faction-versus {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: stretch;
  background: linear-gradient(90deg, #21190f, #0d130f 45%, #211013);
}
.faction-side {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 32px 28px;
  min-width: 0;
}
.faction-sigil {
  font-size: 58px;
  flex-shrink: 0;
}
.faction-rebellion {
  color: var(--rebel, #ffc183);
}
.faction-empire {
  color: var(--empire, #ff999c);
}
.faction-identity {
  min-width: 0;
}
.faction-identity .faction-eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.faction-side h3 {
  font-size: 38px;
  line-height: 1.1;
  margin: 5px 0 7px;
  color: inherit;
}
.faction-team-count {
  font-size: 11px;
  color: #aebaa7;
}
.faction-score {
  margin-left: auto;
  text-align: right;
}
.faction-score strong {
  font:
    600 54px/1.05 "Barlow Condensed",
    "Arial Narrow",
    sans-serif;
  display: block;
  overflow-wrap: anywhere;
}
.faction-score > span {
  font:
    8px Consolas,
    monospace;
  letter-spacing: 1.1px;
  color: #c5cfbc;
  display: block;
  margin-top: 8px;
}
.faction-score small {
  font-size: 10px;
  display: block;
  color: #aebaa7;
  margin-top: 9px;
}
.faction-vs {
  display: grid;
  place-items: center;
  font:
    600 19px "Barlow Condensed",
    sans-serif;
  color: #a6b49e;
  position: relative;
}
.faction-vs:before,
.faction-vs:after {
  content: "";
  position: absolute;
  width: 1px;
  background: #354333;
  left: 50%;
  height: 28%;
}
.faction-vs:before {
  top: 12%;
}
.faction-vs:after {
  bottom: 12%;
}
.faction-war-footer {
  border-top: 1px solid #354333;
  padding: 17px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.faction-status {
  font:
    8px Consolas,
    monospace;
  letter-spacing: 1px;
  color: #c7e6b3;
  white-space: nowrap;
}
.faction-war-footer p {
  font-size: 12px;
  margin: 0;
  color: #b8c9ac;
}
.faction-refresh {
  font:
    8px Consolas,
    monospace;
  color: #a1af98;
  margin-left: auto;
}
.faction-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font:
    10px/1.3 Lato,
    Arial,
    sans-serif;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 4px 8px;
  margin-left: 10px;
  vertical-align: middle;
  white-space: nowrap;
  background: #101611;
}
.faction-badge.faction-rebellion {
  color: #ffc183;
}
.faction-badge.faction-empire {
  color: #ff999c;
}
h1 + .faction-badge {
  margin: 12px 0 0;
  font-size: 13px;
  padding: 7px 12px;
}
.faction-intro {
  color: #b0c0a5;
  margin: 20px 0 0;
  font-size: 15px;
}
.faction-command {
  padding-bottom: 60px;
}
.faction-enlistment {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid #38482f;
  background: #14200f;
  padding: 26px;
  margin-top: 28px;
  border-radius: 4px;
}
.faction-enlistment h2 {
  font-size: 28px;
  margin: 0 0 8px;
}
.faction-enlistment p {
  color: #b6c5aa;
  font-size: 13px;
  margin: 0;
  line-height: 1.8;
}
.faction-enlistment > .btn {
  margin-left: auto;
  white-space: nowrap;
}
.faction-enlistment > .faction-badge {
  margin: 0;
}
.faction-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 43px 0 20px;
}
.faction-rules > div > span {
  font:
    9px Consolas,
    monospace;
  letter-spacing: 1px;
  color: #c3d6b0;
}
.faction-rules h3 {
  font-size: 27px;
  margin: 16px 0 12px;
}
.faction-rules p,
.faction-method {
  color: #a8b89d;
  font-size: 13px;
  line-height: 1.9;
}
.faction-method {
  padding-top: 20px;
  border-top: 1px solid #354333;
  font-size: 11px;
}
.faction-ranking-link {
  font-size: 13px;
}
@media (max-width: 1199px) {
  .faction-side {
    gap: 14px;
    padding: 25px 20px;
  }
  .faction-sigil {
    font-size: 42px;
  }
  .faction-side h3 {
    font-size: 32px;
  }
  .faction-score strong {
    font-size: 44px;
  }
  .faction-identity .faction-eyebrow {
    display: none;
  }
}
@media (max-width: 767px) {
  .faction-home-wrap,
  .faction-scoreboard-wrap {
    padding-top: 28px;
  }
  .faction-war-heading {
    padding: 20px;
    align-items: flex-start;
  }
  .faction-war-heading h2 {
    font-size: 29px;
  }
  .faction-war-heading > a {
    font-size: 10px;
    margin-top: 7px;
  }
  .faction-eyebrow {
    font-size: 8px;
  }
  .faction-versus {
    grid-template-columns: 1fr;
    grid-template-rows: auto 25px auto;
    background: linear-gradient(#21190f, #0d130f 45%, #211013);
  }
  .faction-side {
    padding: 24px 20px;
    gap: 18px;
  }
  .faction-side h3 {
    font-size: 34px;
  }
  .faction-sigil {
    font-size: 48px;
  }
  .faction-score strong {
    font-size: 48px;
  }
  .faction-vs:before,
  .faction-vs:after {
    height: 1px;
    width: 32%;
    top: 50%;
    left: auto;
  }
  .faction-vs:before {
    left: 8%;
  }
  .faction-vs:after {
    right: 8%;
  }
  .faction-war-footer {
    padding: 18px 20px;
    gap: 12px;
  }
  .faction-war-footer p {
    width: 100%;
    order: 3;
    font-size: 11px;
  }
  .faction-refresh {
    font-size: 7px;
  }
  .faction-enlistment {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 17px;
  }
  .faction-enlistment > .btn {
    margin-left: 0;
  }
  .faction-rules {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 32px;
  }
  .faction-badge {
    font-size: 9px;
    margin-left: 6px;
  }
  .faction-intro {
    font-size: 13px;
  }
  .faction-war-heading {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faction-war * {
    transition: none !important;
  }
}
