/* =========================================================
   WORLD ACTION RIVALRY
   WAR HISTORY
   VERSION 2
========================================================= */

:root {

  --history-red:
    #e50914;

  --history-red-bright:
    #ff2833;

  --history-red-dark:
    #8d0008;

  --history-black:
    #030303;

  --history-panel:
    #0c0c0c;

  --history-panel-light:
    #121212;

  --history-panel-soft:
    #181818;

  --history-white:
    #ffffff;

  --history-text:
    #ededed;

  --history-grey:
    #b8b8b8;

  --history-muted:
    #747474;

  --history-gold:
    #f1c75b;

  --history-gold-light:
    #ffe89a;

  --history-border:
    rgba(255, 255, 255, 0.10);

  --history-border-light:
    rgba(255, 255, 255, 0.16);

  --history-width:
    1180px;

  --history-content-width:
    1000px;

  --history-radius:
    20px;

  --history-shadow:
    0 28px 80px
    rgba(0, 0, 0, 0.46);

}


/* =========================================================
   BASE
========================================================= */

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #030303;
}

body.war-drafts-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-history-page *,
.war-history-page *::before,
.war-history-page *::after {
  box-sizing: border-box;
}


.war-history-page img,
.war-history-page video,
.war-history-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;

}


/* =========================================================
   HERO
========================================================= */

.war-history-hero {

  position: relative;

  width:
    min(
      calc(100% - 24px),
      var(--history-width)
    );

  margin:
    0
    auto;

  padding:
    clamp(
      70px,
      9vw,
      110px
    )
    0
    48px;

}


.war-history-hero__glow {

  position: absolute;

  top: 0;
  left: 50%;

  width: 720px;
  max-width: 94vw;

  height: 380px;

  background:

    radial-gradient(
      circle,
      rgba(229, 9, 20, 0.17),
      transparent 68%
    );

  transform:
    translateX(-50%);

  pointer-events: none;

}


.war-history-hero__inner {

  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 32px;

  padding:
    clamp(
      30px,
      5vw,
      50px
    );

  overflow: hidden;

  background:

    radial-gradient(
      circle at 90% 0%,
      rgba(229, 9, 20, 0.12),
      transparent 20rem
    ),

    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.034),
      transparent 48%
    ),

    rgba(10, 10, 10, 0.98);

  border:
    1px solid
    var(--history-border);

  border-radius:
    var(--history-radius);

  box-shadow:
    var(--history-shadow);

}


.war-history-hero__inner::before {

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  content: "";

  background:

    linear-gradient(
      90deg,
      transparent,
      var(--history-red-bright),
      transparent
    );

}


.war-history-hero__identity {

  display: flex;

  align-items: center;

  gap: 23px;

  min-width: 0;

}


.war-history-avatar {

  display: grid;

  place-items: center;

  flex: 0 0 auto;

  width: 90px;
  height: 90px;

  color:
    var(--history-white);

  background:

    radial-gradient(
      circle at 35% 30%,
      #313131,
      #0b0b0b 72%
    );

  border:
    2px solid
    rgba(229, 9, 20, 0.55);

  border-radius: 50%;

  box-shadow:

    0 15px 35px
    rgba(0, 0, 0, 0.40),

    0 0 28px
    rgba(229, 9, 20, 0.15);

  font-size: 1.9rem;
  font-weight: 950;

}


.war-history-hero__copy {
  min-width: 0;
}


.war-history-eyebrow {

  display: block;

  margin-bottom: 8px;

  color:
    var(--history-red-bright);

  font-size: 0.57rem;
  font-weight: 950;

  letter-spacing: 0.16em;

  text-transform: uppercase;

}


.war-history-hero h1 {

  margin: 0;

  overflow-wrap: anywhere;

  color:
    var(--history-white);

  font-size:
    clamp(
      2.4rem,
      6vw,
      4.8rem
    );

  font-weight: 950;

  line-height: 0.94;

  letter-spacing: -0.055em;

  text-transform: uppercase;

}


.war-history-identity-meta {

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 9px;

  margin-top: 15px;

}


.war-history-identity-meta > span {

  display: inline-flex;

  align-items: center;

  gap: 5px;

  min-height: 31px;

  padding:
    7px
    11px;

  color:
    var(--history-grey);

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid
    var(--history-border);

  border-radius: 999px;

  font-size: 0.58rem;
  font-weight: 900;

  letter-spacing: 0.06em;

}


.war-history-identity-meta strong {

  color:
    var(--history-gold);

  font-size: 0.78rem;

}


.war-history-belt {

  color:
    var(--history-white) !important;

  border-color:
    rgba(229, 9, 20, 0.30)
    !important;

}


.war-history-global-rank {

  color:
    var(--history-gold)
    !important;

}


/* =========================================================
   HERO ACTIONS
========================================================= */

.war-history-hero__actions {

  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  flex:
    0
    0
    auto;

}


.war-history-primary-action,
.war-history-secondary-action {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding:
    11px
    16px;

  border-radius: 9px;

  font-size: 0.64rem;
  font-weight: 950;

  letter-spacing: 0.08em;

  text-decoration: none;

  text-transform: uppercase;

}


.war-history-primary-action {

  color:
    var(--history-white);

  background:

    linear-gradient(
      135deg,
      var(--history-red-bright),
      var(--history-red-dark)
    );

  border:
    1px solid
    var(--history-red-bright);

  box-shadow:
    0 13px 30px
    rgba(229, 9, 20, 0.23);

}


.war-history-secondary-action {

  color:
    var(--history-grey);

  background:
    transparent;

  border:
    1px solid
    var(--history-border-light);

}


/* =========================================================
   MAIN
========================================================= */

.war-history-main {

  width:
    min(
      calc(100% - 24px),
      var(--history-width)
    );

  margin:
    0
    auto;

  padding-bottom: 120px;

}


/* =========================================================
   TRANSPARENCY NOTICE
========================================================= */

.war-history-notice {

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 25px;

  width:
    min(
      var(--history-content-width),
      100%
    );

  margin:
    0
    auto
    24px;

  padding:
    18px
    20px;

  background:

    linear-gradient(
      135deg,
      rgba(241, 199, 91, 0.065),
      rgba(255, 255, 255, 0.018)
    );

  border:
    1px solid
    rgba(241, 199, 91, 0.20);

  border-radius: 12px;

}


.war-history-notice > div {

  display: grid;

  gap: 5px;

}


.war-history-notice span {

  color:
    var(--history-gold);

  font-size: 0.55rem;
  font-weight: 950;

  letter-spacing: 0.14em;

}


.war-history-notice strong {

  color:
    var(--history-white);

  font-size: 0.88rem;

}


.war-history-notice p {

  max-width: 570px;

  margin: 0;

  color:
    var(--history-muted);

  font-size: 0.70rem;

  line-height: 1.6;

  text-align: right;

}


/* =========================================================
   SUMMARY
========================================================= */

.war-history-summary {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 13px;

  width:
    min(
      var(--history-content-width),
      100%
    );

  margin:
    0
    auto;

}


.war-history-summary article {

  position: relative;

  display: grid;

  gap: 10px;

  min-height: 150px;

  padding: 22px;

  overflow: hidden;

  background:

    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.026),
      transparent
    ),

    var(--history-panel);

  border:
    1px solid
    var(--history-border);

  border-radius: 15px;

  box-shadow:
    0 18px 45px
    rgba(0, 0, 0, 0.25);

}


.war-history-summary__gold {

  background:

    radial-gradient(
      circle at 90% 10%,
      rgba(241, 199, 91, 0.11),
      transparent 12rem
    ),

    var(--history-panel)
    !important;

  border-color:
    rgba(241, 199, 91, 0.24)
    !important;

}


.war-history-summary article > span {

  color:
    var(--history-muted);

  font-size: 0.55rem;
  font-weight: 950;

  letter-spacing: 0.11em;

}


.war-history-summary article > strong {

  align-self: end;

  color:
    var(--history-white);

  font-size:
    clamp(
      1.7rem,
      4vw,
      2.6rem
    );

  font-weight: 950;

  line-height: 1;

}


.war-history-summary__gold > strong {

  color:
    var(--history-gold)
    !important;

}


.war-history-summary small {

  color:
    var(--history-muted);

  font-size: 0.65rem;

}


/* =========================================================
   CAREER STRIP
========================================================= */

.war-history-career-strip {

  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  width:
    min(
      var(--history-content-width),
      100%
    );

  margin:
    14px
    auto
    0;

  overflow: hidden;

  background:
    #090909;

  border:
    1px solid
    var(--history-border);

  border-radius: 13px;

}


.war-history-career-strip > div {

  display: grid;

  gap: 7px;

  padding: 17px;

  text-align: center;

}


.war-history-career-strip > div +
.war-history-career-strip > div {

  border-left:
    1px solid
    var(--history-border);

}


.war-history-career-strip span {

  color:
    var(--history-muted);

  font-size: 0.51rem;
  font-weight: 950;

  letter-spacing: 0.10em;

}


.war-history-career-strip strong {

  color:
    var(--history-white);

  font-size: 0.77rem;

}


/* =========================================================
   CONTROLS
========================================================= */

.war-history-controls {

  width:
    min(
      var(--history-content-width),
      100%
    );

  margin:
    70px
    auto
    20px;

  padding:
    clamp(
      24px,
      4vw,
      32px
    );

  background:

    radial-gradient(
      circle at 0% 0%,
      rgba(229, 9, 20, 0.11),
      transparent 16rem
    ),

    var(--history-panel);

  border:
    1px solid
    var(--history-border);

  border-radius:
    var(--history-radius);

  box-shadow:
    var(--history-shadow);

}


.war-history-controls__heading {

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 24px;

}


.war-history-controls__heading span {

  color:
    var(--history-red-bright);

  font-size: 0.57rem;
  font-weight: 950;

  letter-spacing: 0.16em;

}


.war-history-controls__heading h2 {

  margin:
    9px
    0
    0;

  color:
    var(--history-white);

  font-size:
    clamp(
      2rem,
      5vw,
      3.6rem
    );

  font-weight: 950;

  line-height: 0.96;

  letter-spacing: -0.05em;

}


#historyResultCount {

  padding:
    8px
    12px;

  color:
    var(--history-grey);

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid
    var(--history-border);

  border-radius: 999px;

  font-size: 0.57rem;

}


.war-history-controls__toolbar {

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 14px;

}


.war-history-search input {

  width: 100%;
  height: 50px;

  padding:
    0
    16px;

  color:
    var(--history-white);

  background:
    #070707;

  border:
    1px solid
    var(--history-border-light);

  border-radius: 9px;

  outline: none;

  font: inherit;

  font-size: 0.70rem;
  font-weight: 850;

  letter-spacing: 0.06em;

}


.war-history-search input:focus {

  border-color:
    rgba(229, 9, 20, 0.65);

  box-shadow:
    0 0 0 3px
    rgba(229, 9, 20, 0.10);

}


.war-history-filters {

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 7px;

}


.war-history-filter {

  min-height: 42px;

  padding:
    9px
    12px;

  color:
    var(--history-muted);

  background:
    #0a0a0a;

  border:
    1px solid
    var(--history-border);

  border-radius: 8px;

  cursor: pointer;

  font: inherit;

  font-size: 0.56rem;
  font-weight: 950;

  letter-spacing: 0.07em;

}


.war-history-filter:hover {

  color:
    var(--history-white);

}


.war-history-filter.is-active {

  color:
    var(--history-white);

  background:

    linear-gradient(
      135deg,
      var(--history-red-bright),
      var(--history-red-dark)
    );

  border-color:
    var(--history-red-bright);

}


.war-history-status {

  min-height: 20px;

  margin-top: 14px;

  color:
    var(--history-muted);

  font-size: 0.67rem;

}


/* =========================================================
   HISTORY LIST
========================================================= */

.war-history-list {

  display: grid;

  gap: 20px;

  width:
    min(
      var(--history-content-width),
      100%
    );

  margin:
    0
    auto;

}


/* =========================================================
   EVENT CARD
========================================================= */

.war-history-event {

  position: relative;

  overflow: hidden;

  background:

    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.025),
      transparent 45%
    ),

    var(--history-panel);

  border:
    1px solid
    var(--history-border);

  border-radius:
    17px;

  box-shadow:
    0 22px 60px
    rgba(0, 0, 0, 0.32);

}


.war-history-event::before {

  position: absolute;

  top: 0;
  bottom: 0;
  left: 0;

  width: 3px;

  content: "";

  background:
    var(--history-red);

}


.war-history-event.is-winner::before {

  background:
    var(--history-gold);

}


.war-history-event__header {

  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  padding:
    23px
    24px;

  border-bottom:
    1px solid
    var(--history-border);

}


.war-history-event__identity {

  min-width: 0;

}


.war-history-event__eyebrow {

  display: block;

  margin-bottom: 7px;

  color:
    var(--history-red-bright);

  font-size: 0.53rem;
  font-weight: 950;

  letter-spacing: 0.14em;

}


.war-history-event.is-winner
.war-history-event__eyebrow {

  color:
    var(--history-gold);

}


.war-history-event__identity h3 {

  margin: 0;

  color:
    var(--history-white);

  font-size:
    clamp(
      1.65rem,
      4vw,
      2.5rem
    );

  font-weight: 950;

  line-height: 1;

  letter-spacing: -0.035em;

}


.war-history-event__identity time {

  display: block;

  margin-top: 8px;

  color:
    var(--history-muted);

  font-size: 0.66rem;

}


.war-history-event__badges {

  display: flex;

  justify-content: flex-end;

  flex-wrap: wrap;

  gap: 7px;

}


.war-history-badge {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 29px;

  padding:
    6px
    10px;

  color:
    var(--history-grey);

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid
    var(--history-border);

  border-radius: 999px;

  font-size: 0.50rem;
  font-weight: 950;

  letter-spacing: 0.07em;

}


.war-history-badge--complete {

  color:
    var(--history-white);

  border-color:
    rgba(229, 9, 20, 0.34);

}


.war-history-badge--ranked {

  color:
    var(--history-gold);

  border-color:
    rgba(241, 199, 91, 0.24);

}


.war-history-badge--perfect {

  color:
    #080808;

  background:
    var(--history-gold);

  border-color:
    var(--history-gold);

}


/* =========================================================
   EVENT STATS
========================================================= */

.war-history-event__stats {

  display: grid;

  grid-template-columns:
    repeat(
      5,
      minmax(0, 1fr)
    );

  gap: 0;

  background:
    rgba(255, 255, 255, 0.01);

}


.war-history-event__stat {

  display: grid;

  gap: 7px;

  min-width: 0;

  padding:
    17px;

  text-align: center;

}


.war-history-event__stat +
.war-history-event__stat {

  border-left:
    1px solid
    var(--history-border);

}


.war-history-event__stat span {

  color:
    var(--history-muted);

  font-size: 0.49rem;
  font-weight: 950;

  letter-spacing: 0.09em;

}


.war-history-event__stat strong {

  color:
    var(--history-white);

  font-size: 0.83rem;

}


.war-history-event__stat--gold strong {

  color:
    var(--history-gold);

}


/* =========================================================
   PICKS
========================================================= */

.war-history-event__picks {

  padding:
    22px
    24px
    24px;

  border-top:
    1px solid
    var(--history-border);

}


.war-history-event__picks-heading {

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 14px;

}


.war-history-event__picks-heading span {

  color:
    var(--history-muted);

  font-size: 0.52rem;
  font-weight: 950;

  letter-spacing: 0.11em;

}


.war-history-event__picks-heading strong {

  color:
    var(--history-grey);

  font-size: 0.59rem;

}


.war-history-picks-grid {

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 9px;

}


.war-history-pick {

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto
    auto;

  align-items: center;

  gap: 12px;

  padding:
    13px
    14px;

  background:
    var(--history-panel-light);

  border:
    1px solid
    var(--history-border);

  border-radius: 10px;

}


.war-history-pick__name {

  min-width: 0;

  overflow: hidden;

  color:
    var(--history-white);

  font-size: 0.75rem;
  font-weight: 900;

  text-overflow: ellipsis;

  white-space: nowrap;

}


.war-history-pick__price {

  color:
    var(--history-grey);

  font-size: 0.62rem;

}


.war-history-pick__rate {

  color:
    var(--history-gold);

  font-size: 0.65rem;
  font-weight: 950;

}


/* =========================================================
   LOCKED PICKS
========================================================= */

.war-history-picks-locked {

  display: flex;

  align-items: center;

  gap: 14px;

  padding:
    21px;

  color:
    var(--history-grey);

  background:

    linear-gradient(
      135deg,
      rgba(229, 9, 20, 0.055),
      rgba(255, 255, 255, 0.015)
    );

  border:
    1px dashed
    rgba(229, 9, 20, 0.30);

  border-radius: 11px;

}


.war-history-picks-locked__icon {

  display: grid;

  place-items: center;

  flex: 0 0 auto;

  width: 43px;
  height: 43px;

  background:
    rgba(229, 9, 20, 0.08);

  border:
    1px solid
    rgba(229, 9, 20, 0.24);

  border-radius: 50%;

  font-size: 1rem;

}


.war-history-picks-locked strong {

  display: block;

  color:
    var(--history-white);

  font-size: 0.75rem;

}


.war-history-picks-locked p {

  margin:
    5px
    0
    0;

  color:
    var(--history-muted);

  font-size: 0.66rem;

  line-height: 1.55;

}


/* =========================================================
   LOAD MORE
========================================================= */

.war-history-load-more {

  width:
    min(
      var(--history-content-width),
      100%
    );

  margin:
    25px
    auto
    0;

}


.war-history-load-more button {

  width: 100%;
  min-height: 54px;

  color:
    var(--history-white);

  background:
    #0b0b0b;

  border:
    1px solid
    var(--history-border-light);

  border-radius: 10px;

  cursor: pointer;

  font: inherit;

  font-size: 0.62rem;
  font-weight: 950;

  letter-spacing: 0.10em;

}


.war-history-load-more button:hover {

  background:
    #151515;

  border-color:
    rgba(241, 199, 91, 0.30);

}


/* =========================================================
   EMPTY
========================================================= */

.war-history-empty {

  width:
    min(
      var(--history-content-width),
      100%
    );

  margin:
    0
    auto;

  padding:
    60px
    24px;

  background:
    var(--history-panel);

  border:
    1px dashed
    var(--history-border-light);

  border-radius:
    var(--history-radius);

  text-align: center;

}


.war-history-empty > span {

  color:
    var(--history-red-bright);

  font-size: 0.59rem;
  font-weight: 950;

  letter-spacing: 0.15em;

}


.war-history-empty h2 {

  margin:
    14px
    0
    0;

  color:
    var(--history-white);

  font-size:
    clamp(
      2rem,
      6vw,
      3.6rem
    );

  font-weight: 950;

}


.war-history-empty p {

  color:
    var(--history-muted);

}


/* =========================================================
   CLOSING
========================================================= */

.war-history-closing {

  width:
    min(
      var(--history-content-width),
      100%
    );

  margin:
    75px
    auto
    20px;

  padding:
    clamp(
      58px,
      9vw,
      90px
    )
    24px;

  background:

    radial-gradient(
      circle at 50% 15%,
      rgba(229, 9, 20, 0.16),
      transparent 30rem
    ),

    #090909;

  border:
    1px solid
    var(--history-border);

  border-radius:
    var(--history-radius);

  text-align: center;

}


.war-history-closing > span {

  color:
    var(--history-red-bright);

  font-size: 0.59rem;
  font-weight: 950;

  letter-spacing: 0.16em;

}


.war-history-closing h2 {

  margin:
    18px
    0
    0;

  color:
    var(--history-white);

  font-size:
    clamp(
      2.5rem,
      7vw,
      5rem
    );

  font-weight: 950;

  line-height: 0.94;

  letter-spacing: -0.05em;

}


.war-history-closing h2 strong {

  display: block;

  color:
    var(--history-red-bright);

}


.war-history-closing p {

  max-width: 600px;

  margin:
    20px
    auto
    0;

  color:
    var(--history-muted);

  font-size: 0.75rem;

  line-height: 1.7;

}


/* =========================================================
   BELT COLOURS
========================================================= */

body[data-history-belt="white"]
.war-history-belt {

  color: #111 !important;

  background: #f3f3f3;

}


body[data-history-belt="blue"]
.war-history-belt {

  color: #fff !important;

  background: #1757c7;

}


body[data-history-belt="purple"]
.war-history-belt {

  color: #fff !important;

  background: #6c2ca8;

}


body[data-history-belt="brown"]
.war-history-belt {

  color: #fff !important;

  background: #6b3b1f;

}


body[data-history-belt="black"]
.war-history-belt {

  color: #fff !important;

  background: #050505;

  border-color: #555;

}


/* =========================================================
   SHARED NAVBAR + FOOTER
   Owned by css/navbar.css. Keep WAR History page CSS scoped
   to WAR History content so shared site chrome stays identical.
========================================================= */

/* =========================================================
   TABLET
========================================================= */

@media (
  max-width: 850px
) {

  .war-history-hero__inner {

    align-items: flex-start;

    flex-direction: column;

  }


  .war-history-hero__actions {

    width: 100%;

  }


  .war-history-primary-action,
  .war-history-secondary-action {

    flex: 1;

  }


  .war-history-summary {

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

  }


  .war-history-career-strip {

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

  }


  .war-history-career-strip > div:nth-child(3) {

    border-left: 0;

    border-top:
      1px solid
      var(--history-border);

  }


  .war-history-career-strip > div:nth-child(4) {

    border-top:
      1px solid
      var(--history-border);

  }


  .war-history-controls__toolbar {

    grid-template-columns: 1fr;

  }


  .war-history-event__stats {

    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );

  }


  .war-history-event__stat:nth-child(4) {

    border-left: 0;

    border-top:
      1px solid
      var(--history-border);

  }


  .war-history-event__stat:nth-child(5) {

    border-top:
      1px solid
      var(--history-border);

  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
  max-width: 620px
) {

  .war-history-hero {

    padding-top: 52px;

  }


  .war-history-hero__identity {

    align-items: flex-start;

  }


  .war-history-avatar {

    width: 65px;
    height: 65px;

    font-size: 1.35rem;

  }


  .war-history-hero h1 {

    font-size:
      clamp(
        2rem,
        11vw,
        3.2rem
      );

  }


  .war-history-hero__actions {

    flex-direction: column;

  }


  .war-history-primary-action,
  .war-history-secondary-action {

    width: 100%;

  }


  .war-history-notice {

    align-items: flex-start;

    flex-direction: column;

  }


  .war-history-notice p {

    text-align: left;

  }


  .war-history-summary {

    grid-template-columns: 1fr;

  }


  .war-history-career-strip {

    grid-template-columns: 1fr;

  }


  .war-history-career-strip > div +
  .war-history-career-strip > div {

    border-top:
      1px solid
      var(--history-border);

    border-left: 0;

  }


  .war-history-controls__heading {

    align-items: flex-start;

    flex-direction: column;

  }


  .war-history-filters {

    display: grid;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    width: 100%;

  }


  .war-history-filter {

    width: 100%;

  }


  .war-history-event__header {

    flex-direction: column;

  }


  .war-history-event__badges {

    justify-content: flex-start;

  }


  .war-history-event__stats {

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

  }


  .war-history-event__stat {

    border-top:
      1px solid
      var(--history-border);

  }


  .war-history-event__stat:nth-child(1),
  .war-history-event__stat:nth-child(2) {

    border-top: 0;

  }


  .war-history-event__stat:nth-child(odd) {

    border-left: 0;

  }


  .war-history-picks-grid {

    grid-template-columns: 1fr;

  }


  .war-history-pick {

    grid-template-columns:
      minmax(0, 1fr)
      auto;

  }


  .war-history-pick__rate {

    grid-column: 1 / -1;

  }

}