/* =========================================================
   WORLD ACTION RIVALRY
   WAR PROFILE / WAR NETWORK
   VERSION 5
========================================================= */

:root {

  --profile-red:
    #e50914;

  --profile-red-bright:
    #ff2833;

  --profile-red-dark:
    #8d0008;

  --profile-black:
    #030303;

  --profile-panel:
    #0c0c0c;

  --profile-panel-light:
    #121212;

  --profile-panel-soft:
    #181818;

  --profile-white:
    #ffffff;

  --profile-text:
    #ededed;

  --profile-grey:
    #b8b8b8;

  --profile-muted:
    #747474;

  --profile-gold:
    #f1c75b;

  --profile-gold-light:
    #ffe89a;

  --profile-border:
    rgba(255, 255, 255, 0.10);

  --profile-border-light:
    rgba(255, 255, 255, 0.16);

  --profile-width:
    1180px;

  --profile-content-width:
    980px;

  --profile-radius:
    20px;

  --profile-shadow:
    0 28px 80px
    rgba(0, 0, 0, 0.46);

}


/* =========================================================
   BASE
========================================================= */

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #030303;
}

body.war-profile-page {
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;

  margin: 0;

  overflow-x: hidden;

  color: var(--draft-white);

  background:
    radial-gradient(
      circle at 50% -5%,
      rgba(229, 9, 20, 0.17),
      transparent 36rem
    ),
    linear-gradient(
      180deg,
      #050505 0%,
      #020202 48%,
      #050505 100%
    );

  background-color: var(--draft-black);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


.war-profile-page *,
.war-profile-page *::before,
.war-profile-page *::after {
  box-sizing: border-box;
}


.war-profile-page img,
.war-profile-page video,
.war-profile-page iframe {

  display: block;

  max-width: 100%;

}


[hidden] {
  display: none !important;
}


.sr-only {

  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;

  overflow: hidden;

  clip: rect(
    0,
    0,
    0,
    0
  );

  white-space: nowrap;

  border: 0;

}


/* =========================================================
   WAR NETWORK
========================================================= */

.war-network {

  width:
    min(
      calc(100% - 24px),
      var(--profile-width)
    );

  margin:
    52px
    auto
    0;

}


.war-network__inner {

  width:
    min(
      var(--profile-content-width),
      100%
    );

  margin:
    0
    auto;

  padding:
    clamp(
      24px,
      4vw,
      34px
    );

  background:

    radial-gradient(
      circle at 0% 0%,
      rgba(229, 9, 20, 0.14),
      transparent 18rem
    ),

    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.032),
      transparent 48%
    ),

    #0a0a0a;

  border:
    1px solid
    rgba(229, 9, 20, 0.24);

  border-radius:
    var(--profile-radius);

  box-shadow:
    0 24px 65px
    rgba(0, 0, 0, 0.40);

}


.war-network__heading {

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 23px;

}


.war-network__kicker {

  color:
    var(--profile-red-bright);

  font-size: 0.60rem;
  font-weight: 950;

  letter-spacing: 0.18em;

  text-transform: uppercase;

}


.war-network__heading h2 {

  margin:
    10px
    0
    0;

  color:
    var(--profile-white);

  font-size:
    clamp(
      1.9rem,
      5vw,
      3.2rem
    );

  font-weight: 950;

  line-height: 0.96;

  letter-spacing: -0.045em;

}


.war-network__my-profile {

  padding:
    10px
    14px;

  color:
    var(--profile-grey);

  border:
    1px solid
    var(--profile-border-light);

  border-radius: 9px;

  font-size: 0.62rem;
  font-weight: 950;

  letter-spacing: 0.08em;

  text-decoration: none;

}


.war-network__search {

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 10px;

}


.war-network__search input {

  width: 100%;
  min-width: 0;

  height: 54px;

  padding:
    0
    18px;

  color:
    var(--profile-white);

  background:
    #070707;

  border:
    1px solid
    rgba(255, 255, 255, 0.13);

  border-radius: 10px;

  outline: none;

  font: inherit;

  font-size: 0.76rem;
  font-weight: 850;

  letter-spacing: 0.08em;

}


.war-network__search input:focus {

  border-color:
    rgba(229, 9, 20, 0.70);

  box-shadow:
    0 0 0 3px
    rgba(229, 9, 20, 0.10);

}


.war-network__search button {

  min-width: 120px;

  padding:
    0
    19px;

  color:
    var(--profile-white);

  background:

    linear-gradient(
      135deg,
      var(--profile-red-bright),
      var(--profile-red-dark)
    );

  border:
    1px solid
    var(--profile-red-bright);

  border-radius: 10px;

  cursor: pointer;

  font: inherit;

  font-size: 0.64rem;
  font-weight: 950;

  letter-spacing: 0.10em;

}


.war-network__message {

  min-height: 20px;

  margin-top: 12px;

  color:
    var(--profile-muted);

  font-size: 0.69rem;

}


.war-network__results {

  display: grid;

  gap: 9px;

  margin-top: 8px;

}


.war-network-result {

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  padding: 14px;

  color:
    inherit;

  background:
    var(--profile-panel-light);

  border:
    1px solid
    var(--profile-border);

  border-radius: 11px;

  text-decoration: none;

  transition:
    transform 0.20s ease,
    border-color 0.20s ease,
    background 0.20s ease;

}


.war-network-result:hover {

  background:
    #161616;

  border-color:
    rgba(229, 9, 20, 0.34);

  transform:
    translateY(-2px);

}


.war-network-result__main {

  display: flex;

  align-items: center;

  gap: 13px;

  min-width: 0;

}


.war-network-result__avatar {

  display: grid;

  place-items: center;

  flex: 0 0 auto;

  width: 43px;
  height: 43px;

  color:
    var(--profile-white);

  background:
    #080808;

  border:
    1px solid
    rgba(229, 9, 20, 0.45);

  border-radius: 50%;

  font-size: 0.80rem;
  font-weight: 950;

}


.war-network-result__copy {

  display: grid;

  gap: 4px;

  min-width: 0;

}


.war-network-result__copy strong {

  overflow: hidden;

  color:
    var(--profile-white);

  text-overflow: ellipsis;

  white-space: nowrap;

}


.war-network-result__copy small {

  color:
    var(--profile-muted);

  font-size: 0.66rem;

}


.war-network-result__side {

  display: grid;

  gap: 4px;

  text-align: right;

}


.war-network-result__side span {

  color:
    var(--profile-gold);

  font-size: 0.61rem;
  font-weight: 950;

}


/* =========================================================
   HERO
========================================================= */

.war-profile-hero {

  position: relative;

  width:
    min(
      calc(100% - 24px),
      var(--profile-width)
    );

  margin:
    0
    auto;

  padding:
    38px
    0
    54px;

}


.war-profile-hero__glow {

  position: absolute;

  top: 0;
  left: 50%;

  width: 680px;
  max-width: 92vw;

  height: 360px;

  background:
    radial-gradient(
      circle,
      rgba(229, 9, 20, 0.16),
      transparent 68%
    );

  transform:
    translateX(-50%);

  pointer-events: none;

}


.war-profile-hero__inner {

  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 28px;

  padding:
    clamp(
      30px,
      5vw,
      48px
    );

  overflow: hidden;

  background:

    radial-gradient(
      circle at 90% 0%,
      rgba(229, 9, 20, 0.10),
      transparent 18rem
    ),

    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      transparent 45%
    ),

    rgba(10, 10, 10, 0.97);

  border:
    1px solid
    var(--profile-border);

  border-radius:
    var(--profile-radius);

  box-shadow:
    var(--profile-shadow);

}


.war-profile-hero__inner::before {

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  content: "";

  background:

    linear-gradient(
      90deg,
      transparent,
      var(--profile-red-bright),
      transparent
    );

}


.war-profile-kicker {

  position: absolute;

  top: 20px;
  left: 27px;

  margin: 0;

  color:
    var(--profile-red-bright);

  font-size: 0.61rem;
  font-weight: 950;

  letter-spacing: 0.18em;

  text-transform: uppercase;

}


.war-profile-identity {

  display: flex;

  align-items: center;

  gap: 22px;

  min-width: 0;

  padding-top: 21px;

}


.war-profile-avatar {

  display: grid;

  place-items: center;

  flex: 0 0 auto;

  width: 92px;
  height: 92px;

  color:
    var(--profile-white);

  background:

    radial-gradient(
      circle at 35% 30%,
      #303030,
      #0c0c0c 70%
    );

  border:
    2px solid
    rgba(229, 9, 20, 0.55);

  border-radius: 50%;

  box-shadow:

    0 12px 32px
    rgba(0, 0, 0, 0.40),

    0 0 30px
    rgba(229, 9, 20, 0.12);

  font-size: 2rem;
  font-weight: 950;

}


.war-profile-identity__copy {
  min-width: 0;
}


.war-profile-identity__label {

  display: block;

  margin-bottom: 7px;

  color:
    var(--profile-red-bright);

  font-size: 0.56rem;
  font-weight: 950;

  letter-spacing: 0.14em;

  text-transform: uppercase;

}


.war-profile-identity h1 {

  margin: 0;

  overflow-wrap: anywhere;

  color:
    var(--profile-white);

  font-size:
    clamp(
      2.35rem,
      6vw,
      4.7rem
    );

  font-weight: 950;

  line-height: 0.94;

  letter-spacing: -0.055em;

  text-transform: uppercase;

}


/* =========================================================
   BELT / LEVEL
========================================================= */

.war-profile-belt-row {

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 14px;

}


.war-profile-belt,
.war-profile-current-belt {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 31px;

  padding:
    7px
    12px;

  color:
    #d0d0d0;

  background:
    rgba(255, 255, 255, 0.05);

  border:
    1px solid
    rgba(255, 255, 255, 0.13);

  border-radius: 999px;

  font-size: 0.61rem;
  font-weight: 950;

  letter-spacing: 0.08em;

  text-transform: uppercase;

}


.war-profile-level {

  color:
    var(--profile-muted);

  font-size: 0.67rem;
  font-weight: 850;

  letter-spacing: 0.07em;

}


.war-profile-level strong {

  color:
    var(--profile-gold);

  font-size: 0.94rem;

}


/* =========================================================
   FOLLOW COUNTS
========================================================= */

.war-profile-social-stats {

  display: flex;

  gap: 8px;

  margin-top: 14px;

}


.war-profile-social-stat {

  display: flex;

  align-items: baseline;

  gap: 6px;

  padding:
    7px
    9px;

  color:
    var(--profile-grey);

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid
    var(--profile-border);

  border-radius: 8px;

  cursor: default;

  font: inherit;

}


.war-profile-social-stat strong {

  color:
    var(--profile-white);

  font-size: 0.79rem;

}


.war-profile-social-stat span {

  color:
    var(--profile-muted);

  font-size: 0.49rem;
  font-weight: 950;

  letter-spacing: 0.07em;

}


/* =========================================================
   HERO ACTIONS
========================================================= */

.war-profile-hero__actions {

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 10px;

  flex:
    0
    0
    auto;

}


.war-profile-primary-action,
.war-profile-secondary-action,
.war-profile-secondary-link {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding:
    11px
    17px;

  border-radius: 9px;

  cursor: pointer;

  font: inherit;

  font-size: 0.66rem;
  font-weight: 950;

  letter-spacing: 0.08em;

  text-decoration: none;

  text-transform: uppercase;

}


.war-profile-primary-action {

  color:
    var(--profile-white);

  background:

    linear-gradient(
      135deg,
      var(--profile-red-bright),
      var(--profile-red-dark)
    );

  border:
    1px solid
    var(--profile-red-bright);

  box-shadow:
    0 12px 28px
    rgba(229, 9, 20, 0.22);

}


.war-profile-follow-action.is-following {

  color:
    var(--profile-gold);

  background:
    rgba(241, 199, 91, 0.06);

  border-color:
    rgba(241, 199, 91, 0.36);

  box-shadow: none;

}


.war-profile-secondary-action,
.war-profile-secondary-link {

  color:
    var(--profile-grey);

  background:
    transparent;

  border:
    1px solid
    var(--profile-border-light);

}


/* =========================================================
   MAIN
========================================================= */

.war-profile-main {

  width:
    min(
      calc(100% - 24px),
      var(--profile-width)
    );

  margin:
    0
    auto;

  padding-bottom: 120px;

}


/* =========================================================
   PUBLIC NOTICE
========================================================= */

.war-profile-viewing-notice {

  width:
    min(
      var(--profile-content-width),
      100%
    );

  margin:
    0
    auto
    22px;

  padding:
    16px
    18px;

  color:
    var(--profile-grey);

  background:
    rgba(241, 199, 91, 0.045);

  border:
    1px solid
    rgba(241, 199, 91, 0.20);

  border-radius: 11px;

}


.war-profile-viewing-notice span {

  color:
    var(--profile-gold);

  font-size: 0.58rem;
  font-weight: 950;

  letter-spacing: 0.12em;

}


.war-profile-viewing-notice p {

  margin:
    7px
    0
    0;

  font-size: 0.72rem;

  line-height: 1.55;

}


/* =========================================================
   STATUS
========================================================= */

.war-profile-status-grid {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 16px;

  width:
    min(
      var(--profile-content-width),
      100%
    );

  margin:
    0
    auto;

}


.war-profile-status-card {

  padding: 24px;

  background:

    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.025),
      transparent
    ),

    var(--profile-panel);

  border:
    1px solid
    var(--profile-border);

  border-radius: 16px;

  box-shadow:
    0 18px 45px
    rgba(0, 0, 0, 0.26);

}


.war-profile-status-card--wallet {

  background:

    radial-gradient(
      circle at 85% 15%,
      rgba(241, 199, 91, 0.10),
      transparent 12rem
    ),

    var(--profile-panel);

}


.war-profile-status-card__label {

  display: block;

  color:
    var(--profile-muted);

  font-size: 0.56rem;
  font-weight: 950;

  letter-spacing: 0.12em;

}


.war-profile-status-card > strong {

  display: block;

  margin-top: 11px;

  color:
    var(--profile-white);

  font-size:
    clamp(
      1.55rem,
      4vw,
      2.35rem
    );

  font-weight: 950;

  line-height: 1;

}


.war-profile-status-card--wallet > strong {

  color:
    var(--profile-gold);

}


.war-profile-status-card p {

  margin:
    12px
    0
    0;

  color:
    var(--profile-muted);

  font-size: 0.71rem;

  line-height: 1.55;

}


/* =========================================================
   PANELS
========================================================= */

.war-profile-panel {

  width:
    min(
      var(--profile-content-width),
      100%
    );

  margin:
    28px
    auto
    0;

  padding:
    clamp(
      28px,
      5vw,
      44px
    );

  background:

    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.025),
      transparent 45%
    ),

    var(--profile-panel);

  border:
    1px solid
    var(--profile-border);

  border-radius:
    var(--profile-radius);

  box-shadow:
    var(--profile-shadow);

}


.war-profile-panel__heading {

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 22px;

  margin-bottom: 28px;

}


.war-profile-section-kicker {

  margin: 0;

  color:
    var(--profile-red-bright);

  font-size: 0.60rem;
  font-weight: 950;

  letter-spacing: 0.17em;

  text-transform: uppercase;

}


.war-profile-panel h2 {

  margin:
    11px
    0
    0;

  color:
    var(--profile-white);

  font-size:
    clamp(
      1.9rem,
      5vw,
      3.4rem
    );

  font-weight: 950;

  line-height: 0.98;

  letter-spacing: -0.045em;

}


/* =========================================================
   ACTIVITY
========================================================= */

.war-profile-activity-badge {

  padding:
    8px
    12px;

  color:
    var(--profile-gold);

  background:
    rgba(241, 199, 91, 0.06);

  border:
    1px solid
    rgba(241, 199, 91, 0.22);

  border-radius: 999px;

  font-size: 0.56rem;
  font-weight: 950;

}


.war-profile-activity__grid {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 11px;

}


.war-profile-activity__grid > div {

  display: grid;

  gap: 7px;

  padding: 17px;

  background:
    var(--profile-panel-light);

  border:
    1px solid
    var(--profile-border);

  border-radius: 11px;

}


.war-profile-activity__grid span {

  color:
    var(--profile-muted);

  font-size: 0.52rem;
  font-weight: 950;

}


.war-profile-activity__grid strong {

  color:
    var(--profile-white);

  font-size: 0.84rem;

}


/* =========================================================
   CURRENT WAR
========================================================= */

.war-profile-current-draft--featured {

  position: relative;

  overflow: hidden;

  border-color:
    rgba(229, 9, 20, 0.24);

}


.war-profile-live-badge {

  padding:
    8px
    12px;

  color:
    var(--profile-white);

  background:

    linear-gradient(
      135deg,
      var(--profile-red-bright),
      var(--profile-red-dark)
    );

  border-radius: 999px;

  font-size: 0.56rem;
  font-weight: 950;

}


.war-profile-current-poster {

  margin-bottom: 22px;

  overflow: hidden;

  background:
    #080808;

  border:
    1px solid
    var(--profile-border);

  border-radius: 15px;

}


.war-profile-current-poster img {

  width: 100%;

  aspect-ratio: 16 / 9;

  object-fit: cover;

}


.war-profile-current-draft__grid {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 11px;

}


.war-profile-current-draft__grid > div {

  display: grid;

  gap: 7px;

  padding: 17px;

  background:
    var(--profile-panel-light);

  border:
    1px solid
    var(--profile-border);

  border-radius: 11px;

}


.war-profile-current-draft__grid span {

  color:
    var(--profile-muted);

  font-size: 0.52rem;
  font-weight: 950;

}


.war-profile-current-draft__grid strong {

  color:
    var(--profile-white);

  font-size: 0.82rem;

}


/* =========================================================
   OWNER SAVED DRAFT
========================================================= */

.war-profile-current-empty {

  margin-top: 18px;

  padding: 25px;

  color:
    var(--profile-muted);

  background:
    rgba(255, 255, 255, 0.018);

  border:
    1px dashed
    rgba(255, 255, 255, 0.13);

  border-radius: 12px;

  text-align: center;

}


.war-profile-current-empty > span {

  color:
    var(--profile-red-bright);

  font-size: 0.61rem;
  font-weight: 950;

}


.war-profile-saved-draft {

  margin-top: 20px;

  padding:
    clamp(
      20px,
      4vw,
      28px
    );

  background:
    #0a0a0a;

  border:
    1px solid
    rgba(229, 9, 20, 0.22);

  border-radius: 14px;

}


.war-profile-saved-draft__top {

  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 20px;

}


.war-profile-saved-draft__eyebrow {

  color:
    var(--profile-red-bright);

  font-size: 0.54rem;
  font-weight: 950;

}


.war-profile-saved-draft__top h3 {

  margin:
    7px
    0
    0;

  color:
    var(--profile-white);

  font-size: 1.7rem;

}


.war-profile-saved-status {

  padding:
    7px
    11px;

  color:
    var(--profile-gold);

  border:
    1px solid
    rgba(241, 199, 91, 0.22);

  border-radius: 999px;

  font-size: 0.54rem;
  font-weight: 950;

}


.war-profile-saved-draft__stats {

  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 10px;

  margin-bottom: 16px;

}


.war-profile-saved-draft__stats > div {

  display: grid;

  gap: 6px;

  padding: 14px;

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid
    var(--profile-border);

  border-radius: 10px;

}


.war-profile-saved-draft__stats span,
.war-profile-saved-fighter span {

  color:
    var(--profile-muted);

  font-size: 0.49rem;
  font-weight: 950;

}


.war-profile-saved-draft__stats strong {

  color:
    var(--profile-white);

  font-size: 0.82rem;

}


.war-profile-saved-fighters {

  display: grid;

  gap: 8px;

}


.war-profile-saved-fighter {

  display: grid;

  grid-template-columns:
    minmax(0, 1.5fr)
    minmax(80px, 0.7fr)
    minmax(80px, 0.7fr);

  gap: 11px;

  padding: 14px;

  background:
    var(--profile-panel-light);

  border:
    1px solid
    var(--profile-border);

  border-radius: 10px;

}


.war-profile-saved-fighter > div {

  display: grid;

  gap: 4px;

}


.war-profile-saved-fighter strong {

  color:
    var(--profile-white);

  font-size: 0.77rem;

}


.war-profile-draft-button {

  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;

  min-height: 55px;

  margin-top: 20px;

  color:
    var(--profile-white);

  background:

    linear-gradient(
      135deg,
      var(--profile-red-bright),
      var(--profile-red-dark)
    );

  border:
    1px solid
    var(--profile-red-bright);

  border-radius: 10px;

  font-size: 0.68rem;
  font-weight: 950;

  letter-spacing: 0.09em;

  text-decoration: none;

}


/* =========================================================
   PUBLIC CURRENT WAR
========================================================= */

.war-profile-public-current__content {

  display: grid;

  gap: 11px;

}


.war-profile-public-entry {

  padding: 19px;

  background:
    var(--profile-panel-light);

  border:
    1px solid
    var(--profile-border);

  border-radius: 12px;

}


.war-profile-public-entry__top {

  display: flex;

  justify-content: space-between;

  gap: 18px;

}


.war-profile-public-entry h3 {

  margin: 0;

  color:
    var(--profile-white);

}


.war-profile-public-entry p {

  margin:
    8px
    0
    0;

  color:
    var(--profile-muted);

  font-size: 0.74rem;

}


.war-profile-private-picks {

  margin-top: 15px;

  padding:
    18px;

  color:
    var(--profile-grey);

  background:
    rgba(229, 9, 20, 0.04);

  border:
    1px dashed
    rgba(229, 9, 20, 0.28);

  border-radius: 10px;

  font-size: 0.72rem;

}


/* =========================================================
   PROGRESSION
========================================================= */

.war-profile-progress-copy {

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 14px;

}


.war-profile-progress-copy div {

  display: grid;

  gap: 5px;

}


.war-profile-progress-copy span {

  color:
    var(--profile-muted);

  font-size: 0.55rem;
  font-weight: 950;

}


#nextBeltProgress {

  color:
    var(--profile-gold);

}


.war-profile-progress {

  width: 100%;
  height: 11px;

  overflow: hidden;

  background:
    #080808;

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 999px;

}


.war-profile-progress__fill {

  width: 0%;
  height: 100%;

  background:

    linear-gradient(
      90deg,
      var(--profile-red-dark),
      var(--profile-red-bright)
    );

  border-radius: inherit;

  transition:
    width 0.35s ease;

}


.war-profile-progression > p {

  color:
    var(--profile-muted);

  font-size: 0.74rem;

}


/* =========================================================
   CAREER
========================================================= */

.war-profile-stats-grid {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 12px;

}


.war-profile-stats-grid article {

  display: grid;

  gap: 10px;

  min-height: 120px;

  padding: 20px;

  background:
    var(--profile-panel-light);

  border:
    1px solid
    var(--profile-border);

  border-radius: 12px;

}


.war-profile-stats-grid span {

  color:
    var(--profile-muted);

  font-size: 0.54rem;
  font-weight: 950;

}


.war-profile-stats-grid strong {

  align-self: end;

  color:
    var(--profile-white);

  font-size:
    clamp(
      1.2rem,
      3vw,
      1.7rem
    );

  font-weight: 950;

}


/* =========================================================
   HISTORY
========================================================= */

.war-profile-history-count {

  padding:
    7px
    12px;

  color:
    var(--profile-grey);

  background:
    rgba(255, 255, 255, 0.04);

  border:
    1px solid
    var(--profile-border);

  border-radius: 999px;

  font-size: 0.55rem;
  font-weight: 950;

}


.war-profile-history__empty {

  padding:
    38px
    22px;

  background:
    rgba(255, 255, 255, 0.018);

  border:
    1px dashed
    rgba(255, 255, 255, 0.13);

  border-radius: 12px;

  text-align: center;

}


.war-profile-history__empty > span {

  color:
    var(--profile-red-bright);

  font-size: 0.63rem;
  font-weight: 950;

}


.war-profile-history__empty p {

  color:
    var(--profile-muted);

}


.war-profile-history__action {

  display: inline-flex;

  margin-top: 15px;

  padding:
    10px
    14px;

  color:
    var(--profile-white);

  border:
    1px solid
    var(--profile-border-light);

  border-radius: 8px;

  text-decoration: none;

}


.war-profile-history__list {

  display: grid;

  gap: 12px;

}


.war-profile-history-card {

  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    repeat(
      3,
      minmax(90px, 0.65fr)
    );

  gap: 12px;

  padding: 18px;

  background:
    var(--profile-panel-light);

  border:
    1px solid
    var(--profile-border);

  border-radius: 12px;

}


.war-profile-history-card > div {

  display: grid;

  gap: 5px;

}


.war-profile-history-card span {

  color:
    var(--profile-muted);

  font-size: 0.51rem;
  font-weight: 950;

}


.war-profile-history-card strong {

  color:
    var(--profile-white);

  font-size: 0.81rem;

}


.war-profile-history-card__event {

  padding-left: 12px;

  border-left:
    3px solid
    var(--profile-red);

}


.war-profile-history-card__event small {

  color:
    var(--profile-muted);

}


.war-profile-history-card__fighters {

  grid-column:
    1 / -1;

  padding-top: 13px;

  border-top:
    1px solid
    var(--profile-border);

}


.war-profile-history-card__perfect {

  padding: 11px;

  background:
    rgba(241, 199, 91, 0.05);

  border:
    1px solid
    rgba(241, 199, 91, 0.18);

  border-radius: 8px;

}


.war-profile-history-card__perfect strong {

  color:
    var(--profile-gold);

}


.war-profile-picks-locked {

  color:
    var(--profile-gold) !important;

}


.war-profile-history__footer {

  margin-top: 20px;

}


.war-profile-history__view-all {

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 18px;

  width: 100%;

  min-height: 54px;

  padding:
    13px
    18px;

  color:
    var(--profile-white);

  background:
    #090909;

  border:
    1px solid
    var(--profile-border-light);

  border-radius: 10px;

  font-size: 0.65rem;
  font-weight: 950;

  letter-spacing: 0.09em;

  text-decoration: none;

}


.war-profile-history__view-all strong {

  color:
    var(--profile-gold);

  font-size: 1rem;

}


/* =========================================================
   TRANSPARENCY
========================================================= */

.war-profile-transparency {

  width:
    min(
      var(--profile-content-width),
      100%
    );

  margin:
    70px
    auto
    20px;

  padding:
    clamp(
      55px,
      8vw,
      82px
    )
    24px;

  background:

    radial-gradient(
      circle at 50% 10%,
      rgba(229, 9, 20, 0.14),
      transparent 30rem
    ),

    #090909;

  border:
    1px solid
    var(--profile-border);

  border-radius:
    var(--profile-radius);

  text-align: center;

}


.war-profile-transparency > span {

  color:
    var(--profile-red-bright);

  font-size: 0.60rem;
  font-weight: 950;

  letter-spacing: 0.17em;

}


.war-profile-transparency h2 {

  margin:
    17px
    0
    0;

  color:
    var(--profile-white);

  font-size:
    clamp(
      2.3rem,
      6vw,
      4.5rem
    );

  font-weight: 950;

  line-height: 0.95;

}


.war-profile-transparency p {

  max-width: 650px;

  margin:
    19px
    auto
    0;

  color:
    var(--profile-grey);

  font-size: 0.80rem;

  line-height: 1.75;

}


/* =========================================================
   BELT COLOURS
========================================================= */

body[data-belt="white"]
.war-profile-belt,

body[data-belt="white"]
.war-profile-current-belt {

  color: #111;

  background: #f3f3f3;

}


body[data-belt="blue"]
.war-profile-belt,

body[data-belt="blue"]
.war-profile-current-belt {

  color: #fff;

  background: #1757c7;

}


body[data-belt="purple"]
.war-profile-belt,

body[data-belt="purple"]
.war-profile-current-belt {

  color: #fff;

  background: #6c2ca8;

}


body[data-belt="brown"]
.war-profile-belt,

body[data-belt="brown"]
.war-profile-current-belt {

  color: #fff;

  background: #6b3b1f;

}


body[data-belt="black"]
.war-profile-belt,

body[data-belt="black"]
.war-profile-current-belt {

  color: #fff;

  background: #050505;

  border-color: #555;

}


/* =========================================================
   MOBILE
========================================================= */

@media (
  max-width: 820px
) {

  .war-profile-hero__inner {

    align-items: flex-start;

    flex-direction: column;

  }


  .war-profile-hero__actions {

    width: 100%;

  }


  .war-profile-primary-action,
  .war-profile-secondary-action,
  .war-profile-secondary-link {

    flex: 1;

  }


  .war-profile-status-grid {

    grid-template-columns: 1fr;

  }


  .war-profile-stats-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

  }


  .war-profile-saved-draft__stats {

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

  }

}


@media (
  max-width: 660px
) {

  .war-network {

    margin-top: 32px;

  }


  .war-network__heading {

    align-items: flex-start;

    flex-direction: column;

  }


  .war-network__search {

    grid-template-columns: 1fr;

  }


  .war-network__search button {

    min-height: 50px;

  }


  .war-profile-identity {

    align-items: flex-start;

  }


  .war-profile-avatar {

    width: 68px;
    height: 68px;

    font-size: 1.5rem;

  }


  .war-profile-identity h1 {

    font-size:
      clamp(
        2rem,
        11vw,
        3.2rem
      );

  }


  .war-profile-social-stats {

    flex-wrap: wrap;

  }


  .war-profile-panel__heading {

    align-items: flex-start;

    flex-direction: column;

  }


  .war-profile-activity__grid,
  .war-profile-current-draft__grid {

    grid-template-columns: 1fr;

  }


  .war-profile-saved-fighter {

    grid-template-columns: 1fr;

  }


  .war-profile-stats-grid {

    grid-template-columns: 1fr;

  }


  .war-profile-history-card {

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

  }


  .war-profile-history-card__event {

    grid-column:
      1 / -1;

  }


  .war-profile-history-card__fighters {

    grid-column:
      1 / -1;

  }


  .war-profile-public-entry__top {

    flex-direction: column;

  }

}


@media (
  max-width: 460px
) {

  .war-profile-hero__actions {

    flex-direction: column;

  }


  .war-profile-primary-action,
  .war-profile-secondary-action,
  .war-profile-secondary-link {

    width: 100%;

  }


  .war-profile-history-card {

    grid-template-columns: 1fr;

  }


  .war-profile-history-card__event,
  .war-profile-history-card__fighters {

    grid-column: auto;

  }

}

/* =========================================================
   WAR SOCIAL MODAL
========================================================= */

.war-social-modal {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: grid;

  place-items: center;

  padding: 20px;
}


.war-social-modal__backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(0, 0, 0, 0.82);

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);
}


.war-social-modal__panel {
  position: relative;

  z-index: 2;

  width:
    min(
      620px,
      100%
    );

  max-height:
    min(
      720px,
      calc(100vh - 40px)
    );

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.025),
      transparent 45%
    ),
    #090909;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 18px;

  box-shadow:
    0 35px 100px
    rgba(0, 0, 0, 0.72);
}


.war-social-modal__panel::before {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  content: "";

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--profile-red-bright),
      transparent
    );
}


.war-social-modal__header {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  padding:
    25px
    25px
    20px;

  border-bottom:
    1px solid
    var(--profile-border);
}


.war-social-modal__header span {
  color:
    var(--profile-red-bright);

  font-size: 0.56rem;
  font-weight: 950;

  letter-spacing: 0.17em;
}


.war-social-modal__header h2 {
  margin:
    8px
    0
    0;

  color:
    var(--profile-white);

  font-size:
    clamp(
      1.6rem,
      5vw,
      2.5rem
    );

  font-weight: 950;

  line-height: 1;
}


.war-social-modal__close {
  display: grid;

  place-items: center;

  flex: 0 0 auto;

  width: 42px;
  height: 42px;

  color:
    var(--profile-grey);

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid
    var(--profile-border);

  border-radius: 50%;

  cursor: pointer;

  font-size: 1.4rem;

  line-height: 1;
}


.war-social-modal__close:hover {
  color:
    var(--profile-white);

  border-color:
    rgba(229, 9, 20, 0.45);
}


.war-social-modal__message {
  padding:
    17px
    25px;

  color:
    var(--profile-muted);

  font-size: 0.68rem;

  border-bottom:
    1px solid
    var(--profile-border);
}


.war-social-modal__list {
  display: grid;

  gap: 8px;

  max-height:
    520px;

  padding: 14px;

  overflow-y: auto;
}


.war-social-user {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  padding:
    14px;

  color: inherit;

  background:
    var(--profile-panel-light);

  border:
    1px solid
    var(--profile-border);

  border-radius: 11px;

  text-decoration: none;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.war-social-user:hover {
  background:
    #171717;

  border-color:
    rgba(229, 9, 20, 0.34);

  transform:
    translateY(-1px);
}


.war-social-user__main {
  display: flex;

  align-items: center;

  gap: 12px;

  min-width: 0;
}


.war-social-user__avatar {
  display: grid;

  place-items: center;

  flex: 0 0 auto;

  width: 46px;
  height: 46px;

  color:
    var(--profile-white);

  background:
    #080808;

  border:
    1px solid
    rgba(229, 9, 20, 0.48);

  border-radius: 50%;

  font-size: 0.78rem;
  font-weight: 950;
}


.war-social-user__copy {
  display: grid;

  gap: 4px;

  min-width: 0;
}


.war-social-user__copy strong {
  overflow: hidden;

  color:
    var(--profile-white);

  font-size: 0.84rem;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.war-social-user__copy small {
  color:
    var(--profile-muted);

  font-size: 0.64rem;
}


.war-social-user__side {
  display: grid;

  gap: 4px;

  flex: 0 0 auto;

  text-align: right;
}


.war-social-user__side strong {
  color:
    var(--profile-gold);

  font-size: 0.65rem;
}


.war-social-user__side span {
  color:
    var(--profile-muted);

  font-size: 0.57rem;
}


body.war-social-open {
  overflow: hidden;
}


@media (max-width: 560px) {

  .war-social-modal {
    padding: 10px;
  }


  .war-social-modal__panel {
    max-height:
      calc(100vh - 20px);
  }


  .war-social-user__side span {
    display: none;
  }

}

/* =========================================================
   WAR PROFILE NOT FOUND
========================================================= */

.war-profile-not-found {
  width:
    min(
      var(--profile-content-width),
      100%
    );

  margin:
    40px
    auto
    0;

  padding:
    clamp(
      55px,
      8vw,
      90px
    )
    24px;

  text-align: center;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(229, 9, 20, 0.15),
      transparent 28rem
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.025),
      transparent
    ),
    #090909;

  border:
    1px solid
    rgba(229, 9, 20, 0.24);

  border-radius:
    var(--profile-radius);

  box-shadow:
    var(--profile-shadow);
}


.war-profile-not-found__mark {
  display: grid;

  place-items: center;

  width: 92px;
  height: 92px;

  margin:
    0
    auto
    24px;

  color:
    var(--profile-white);

  background:
    linear-gradient(
      135deg,
      var(--profile-red-bright),
      var(--profile-red-dark)
    );

  border-radius: 50%;

  box-shadow:
    0 20px 45px
    rgba(229, 9, 20, 0.25);

  font-size: 1.45rem;
  font-weight: 950;

  letter-spacing: -0.04em;
}


.war-profile-not-found__eyebrow {
  color:
    var(--profile-red-bright);

  font-size: 0.59rem;
  font-weight: 950;

  letter-spacing: 0.17em;

  text-transform: uppercase;
}


.war-profile-not-found h1 {
  margin:
    16px
    0
    0;

  color:
    var(--profile-white);

  font-size:
    clamp(
      2.3rem,
      7vw,
      4.7rem
    );

  font-weight: 950;

  line-height: 0.94;

  letter-spacing: -0.05em;
}


.war-profile-not-found p {
  max-width: 580px;

  margin:
    20px
    auto
    0;

  color:
    var(--profile-grey);

  font-size: 0.78rem;

  line-height: 1.75;
}


.war-profile-not-found__actions {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 30px;
}


.war-profile-not-found__primary,
.war-profile-not-found__secondary {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding:
    11px
    17px;

  border-radius: 9px;

  cursor: pointer;

  font: inherit;

  font-size: 0.63rem;
  font-weight: 950;

  letter-spacing: 0.08em;

  text-decoration: none;

  text-transform: uppercase;
}


.war-profile-not-found__primary {
  color:
    var(--profile-white);

  background:
    linear-gradient(
      135deg,
      var(--profile-red-bright),
      var(--profile-red-dark)
    );

  border:
    1px solid
    var(--profile-red-bright);
}


.war-profile-not-found__secondary {
  color:
    var(--profile-grey);

  background:
    transparent;

  border:
    1px solid
    var(--profile-border-light);
}


@media (max-width: 520px) {

  .war-profile-not-found__actions {
    flex-direction: column;
  }

  .war-profile-not-found__primary,
  .war-profile-not-found__secondary {
    width: 100%;
  }

}

/* =========================================================
   WAR ACCOUNT SECURITY
========================================================= */

.war-profile-security {
  position: relative;
  overflow: hidden;
}

.war-profile-security::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  background:
    linear-gradient(
      180deg,
      var(--profile-red-bright),
      var(--profile-red-dark)
    );
}

.war-profile-security-badge {
  padding: 8px 12px;
  color: var(--profile-gold);
  background: rgba(241, 199, 91, 0.06);
  border: 1px solid rgba(241, 199, 91, 0.22);
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.war-profile-security__intro {
  max-width: 720px;
  margin: -4px 0 26px;
  color: var(--profile-muted);
  font-size: 0.74rem;
  line-height: 1.7;
}

.war-profile-security__grid {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );
  gap: 14px;
}

.war-profile-security-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 122px;
  padding: 22px;
  color: var(--profile-white);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      transparent 48%
    ),
    #0a0a0a;
  border: 1px solid var(--profile-border);
  border-radius: 12px;
  text-align: left;
  text-decoration: none;
  transition:
    transform 0.20s ease,
    border-color 0.20s ease,
    background 0.20s ease,
    box-shadow 0.20s ease;
}

.war-profile-security-card:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(
      145deg,
      rgba(229, 9, 20, 0.07),
      transparent 52%
    ),
    #0c0c0c;
  border-color: rgba(229, 9, 20, 0.42);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.war-profile-security-card__copy {
  min-width: 0;
}

.war-profile-security-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--profile-red-bright);
  font-size: 0.53rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.war-profile-security-card h3 {
  margin: 0;
  color: var(--profile-white);
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.war-profile-security-card p {
  margin: 8px 0 0;
  color: var(--profile-muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.war-profile-security-card__arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: var(--profile-white);
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.28);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 950;
  transition:
    transform 0.20s ease,
    background 0.20s ease,
    border-color 0.20s ease;
}

.war-profile-security-card:hover
.war-profile-security-card__arrow {
  transform: translateX(2px);
  background: var(--profile-red);
  border-color: var(--profile-red-bright);
}

.war-profile-security-card--logout {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 660px) {
  .war-profile-security__grid {
    grid-template-columns: 1fr;
  }

  .war-profile-security-card {
    min-height: 108px;
    padding: 19px;
  }
}

