#content {
  --patch-line: #32404d;
  --patch-quiet: #b5c1cc;
  --patch-accent: #82dcf3;
}
#content > .wrap { width: min(1232px, 92%); }
.patch-mast {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: clamp(22px, 3vw, 42px) 20px;
}
.patch-date, .story-title span, .patch-highlights small, .patch-index h2,
.patch-section thead th, .patch-releases dt {
  font: 650 12px/1.35 Arial, sans-serif;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.patch-date { margin: 0 0 7px; color: var(--patch-quiet); }
.patch-date span { color: var(--patch-accent); margin-right: 11px; padding-right: 11px; border-right: 1px solid #54616f; }
.patch-mast h1 { color: #f2f6fa; font-size: clamp(32px, 3.8vw, 55px); letter-spacing: -.05em; line-height: 1.01; text-wrap: balance; }
.patch-front { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); padding-bottom: 19px; }
.patch-story { min-width: 0; }
.story-link { display: block; color: #fff; }
.story-art { position: relative; isolation: isolate; background: #161e25; }
.story-art img { display: block; width: 100%; height: clamp(205px, 22vw, 306px); object-fit: cover; }
.story-art::after { content: ""; position: absolute; inset: 26% 0 0; z-index: 0; background: linear-gradient(transparent, #070c13ee); pointer-events: none; }
.story-title { position: absolute; z-index: 1; inset: auto 0 0; padding: 15px clamp(15px, 2vw, 27px); }
.story-title span { display: block; color: #b4f3ff; margin-bottom: 5px; text-shadow: 0 1px 4px #000; }
.patch-story[data-game=warzone] .story-title span { color: #ffe2a0; }
.story-title h2 { color: #fff; max-width: 25ch; font-size: clamp(23px, 2.5vw, 38px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; text-shadow: 0 2px 6px #0009; }
.story-link p { margin: 12px 0 4px; max-width: 65ch; color: #cfdae2; font-size: 16px; line-height: 1.45; }
.story-action { color: var(--patch-accent); font-size: 14px; font-weight: 650; }
.story-action b { padding-left: .2em; }
.story-link:hover .story-action { text-decoration: underline; text-underline-offset: 3px; }
.art-credit, .patch-section p.art-credit { color: #aab8c4; font-size: 12px; line-height: 1.5; margin: 6px 0 0; }
.art-credit a, .patch-section .art-credit a, .patch-figure figcaption a { color: #b9c6d0; text-decoration: underline; text-decoration-color: #748591; text-underline-offset: 3px; }
.art-credit a:hover { color: #fff; }
.patch-front:has(.patch-story[hidden]) { display: block; }
.patch-front:has(.patch-story[hidden]) .story-link { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(190px, .85fr); grid-template-rows: 1fr 1fr; gap: 0 22px; align-items: start; }
.patch-front:has(.patch-story[hidden]) .story-art { grid-row: 1 / 3; }
.patch-front:has(.patch-story[hidden]) .story-link p { align-self: end; margin-block: 0 8px; }
.patch-highlights { display: flex; gap: clamp(15px, 2.5vw, 34px); padding-block: 17px; border-block: 1px solid #475461; }
.patch-highlights a { flex: 1 1 0; min-width: 0; color: #edf5f9; }
.patch-highlights small { display: block; margin-bottom: 4px; color: var(--patch-accent); font-size: 10px; }
.patch-highlights a[data-game=warzone] small { color: #edcb88; }
.patch-highlights strong { display: block; font-size: clamp(17px, 1.8vw, 24px); line-height: 1.14; letter-spacing: -.025em; }
.patch-highlights span { display: block; margin-top: 4px; color: var(--patch-quiet); font-size: 14px; line-height: 1.5; }
.patch-highlights a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.patch-figure, .weapon-pair figure { margin: 0; }
.patch-section .patch-figure { margin-block: 20px; max-width: 820px; }
.patch-figure img, .weapon-pair img { display: block; width: 100%; height: auto; }
.patch-figure figcaption { margin-top: 6px; color: var(--patch-quiet); font-size: 13px; line-height: 1.5; }
.patch-figure figcaption a { display: inline-block; }
.patch-section .patch-landscape { max-width: 620px; }
.weapon-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.weapon-pair figcaption { padding: 8px 0 0; }
.weapon-pair strong, .weapon-pair span { display: block; }
.weapon-pair strong { color: #f3f7fa; font-size: clamp(16px, 2vw, 23px); }
.weapon-pair span { color: var(--patch-quiet); font-size: 14px; }
.patch-layout {
  display: grid;
  grid-template-columns: minmax(165px, .55fr) minmax(0, 2.45fr);
  gap: clamp(28px, 5.5vw, 88px);
  padding-block: 35px 65px;
}
.patch-index-inner { position: sticky; top: 30px; }
.patch-index h2 { margin: 12px 0 14px; color: var(--patch-quiet); }
.patch-index nav { border-top: 1px solid var(--patch-line); }
.patch-index nav a { display: block; padding: 13px 0; color: #bccad5; font-size: 14px; text-decoration: none; border-bottom: 1px solid #263441; }
.patch-index nav a:hover,
.patch-section a:hover { color: #fff; }
.patch-sections { min-width: 0; }
.brief-filter {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--patch-line);
}
.brief-filter button {
  min-height: 44px;
  color: var(--patch-quiet);
  background: none;
  padding: 8px 17px 11px;
  font: 600 15px/1.3 Arial, sans-serif;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}
.brief-filter button[aria-pressed=true] { border-bottom-color: var(--patch-accent); color: #fff; }
.patch-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.patch-section { padding: clamp(27px, 3.4vw, 45px) 0; border-bottom: 1px solid var(--patch-line); scroll-margin-top: 90px; }
.patch-section h2 { margin: 0 0 18px; font-size: clamp(24px, 2.5vw, 37px); line-height: 1.14; letter-spacing: -.04em; color: #f1f5f8; }
.patch-section p, .patch-section li { font-size: 16px; line-height: 1.7; color: #c2ced8; }
.patch-section p { margin: 15px 0; }
.patch-section p:last-child { margin-bottom: 0; }
.patch-section a { color: var(--patch-accent); text-underline-offset: 4px; }
.patch-section .patch-source { margin-top: 19px; font-size: 13px; color: var(--patch-quiet); }
.patch-section table { width: 100%; border-collapse: collapse; border-top: 1px solid #425666; text-align: left; font-size: 15px; line-height: 1.55; }
.patch-section :is(td, th) { padding: 13px 12px; border-bottom: 1px solid #283744; text-align: left; vertical-align: top; }
.patch-section thead { background: #131f2a; color: var(--patch-quiet); }
.patch-section thead th { font-size: 11px; }
.patch-section tbody th { width: 31%; font-weight: 650; color: #e1e9ef; }
.patch-section td { color: #c3d0da; }
.patch-section details { margin-top: 20px; padding-block: 2px; border-block: 1px solid var(--patch-line); }
.patch-section summary { cursor: pointer; padding: 12px 0; min-height: 44px; color: #e2eef5; font-weight: 650; }
.patch-section details[open] { padding-bottom: 16px; }
.patch-links { display: flex; flex-wrap: wrap; gap: 12px 25px; font-weight: 650; }
.patch-releases { margin: 12px 0; }
.patch-releases > div,
.patch-map-list li {
  display: grid;
  grid-template-columns: minmax(120px, .65fr) minmax(0, 1.7fr);
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #283744;
}
.patch-releases dt { color: var(--patch-accent); }
.patch-releases dd { margin: 0; }
.patch-releases strong { color: #edf4f7; }
.patch-releases p, .patch-sources p { margin: 2px 0 0; font-size: 14px; }
.patch-map-list { list-style: none; padding: 0; }
.patch-map-list li { font-size: 15px; }
.patch-map-list a { font-weight: 650; }
.patch-sources a { display: inline-block; font-weight: 650; margin-top: 15px; }
.patch-sources a:first-child { margin-top: 0; }
.patch-mast :focus-visible, .patch-front :focus-visible, .patch-highlights :focus-visible, .patch-layout :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
[data-game][hidden] { display: none !important; }

@media (max-width: 850px) {
  .patch-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 24px 40px; }
  .patch-index-inner { position: static; }
  .patch-index nav { display: flex; gap: 16px; overflow-x: auto; border-bottom: 1px solid var(--patch-line); }
  .patch-index nav a { flex: none; border: 0; }
  .patch-mast { align-items: flex-start; }
}
@media (max-width: 650px) {
  .patch-mast { display: block; padding-bottom: 12px; }
  .brief-filter { margin-top: 7px; }
  .brief-filter button:first-child { padding-left: 0; padding-right: 16px; }
  .patch-front, .patch-front:has(.patch-story[hidden]) { display: flex; flex-direction: column; gap: 16px; }
  .patch-front:has(.patch-story[hidden]) .story-link { display: block; }
  .patch-front:has(.patch-story[hidden]) .story-link p { margin: 9px 0 4px; }
  .story-art img { height: auto; aspect-ratio: 2 / 1; }
  .story-link p { font-size: 15px; margin: 8px 0 2px; }
  .story-title { padding: 12px 14px; }
  .story-title h2 { font-size: clamp(24px, 5.8vw, 31px); }
  .patch-story:not([hidden]) + .patch-story .story-link { display: grid; grid-template-columns: minmax(92px, 30%) minmax(0, 1fr); gap: 4px 12px; align-items: start; }
  .patch-story:not([hidden]) + .patch-story .story-art { display: contents; }
  .patch-story:not([hidden]) + .patch-story .story-art::after { display: none; }
  .patch-story:not([hidden]) + .patch-story .story-art img { grid-row: 1 / 4; height: auto; aspect-ratio: 1; }
  .patch-story:not([hidden]) + .patch-story .story-title { position: static; padding: 0; }
  .patch-story:not([hidden]) + .patch-story .story-title h2 { font-size: 20px; text-shadow: none; }
  .patch-story:not([hidden]) + .patch-story .story-link p { margin: 0; font-size: 14px; }
  .patch-highlights { flex-direction: column; gap: 14px; }
  .patch-highlights small { margin-bottom: 2px; }
  .patch-highlights span { margin-top: 2px; }
  .patch-section :is(td, th) { padding: 10px 7px; }
  .patch-section table { font-size: 14px; }
  .patch-releases > div, .patch-map-list li { grid-template-columns: 1fr; gap: 5px; }
  .weapon-pair { gap: 10px; }
  .weapon-pair span { font-size: 13px; }
}

.patch-section h3 { color: #edf4f7; font-size: clamp(19px, 2vw, 24px); margin: 24px 0 12px; }
.brief-filter { flex-wrap: wrap; }
@media (max-width: 400px) {
  .brief-filter button { padding-inline: 9px; font-size: 14px; }
}
