/* PlanetSide 2 — «тактический HUD»: тёмный терминал, строки развёртки на шапке, бирюзовые моноширинные
   подписи, полоса баланса трёх империй, блоки в рамках-прицелах, номера в шестиугольниках цвета фракций. */

.ev-planetside-2 { --hud: #5fe0c8; --tr: #e8483b; --nc: #2f7fe0; --vs: #8b4fe0; --amber: #ffd23f; --panel: rgba(18,28,36,.72); }
.ev-planetside-2 .mono, .ev-planetside-2 .kicker, .ev-planetside-2 .ev-sub, .ev-planetside-2 .ev-meta { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
body.ev-planetside-2 { background: #07090c; }

/* ── шапка ── */
.ev-planetside-2 .ev-cover { background-position: center 20% !important; }
.ev-planetside-2 .ev-cover::after { background:
  repeating-linear-gradient(0deg, rgba(0,0,0,.2) 0 1px, transparent 1px 3px),
  linear-gradient(180deg, rgba(7,9,12,.05) 0%, rgba(7,9,12,.3) 55%, #07090c 97%) !important; }
.ev-planetside-2 .ev-hero-in { padding-top: calc(min(100vw, 1600px) * .38); }
.ev-planetside-2 .kicker { font-size: 13px; font-weight: 500; letter-spacing: .28em; color: var(--hud); }
.ev-planetside-2 .kicker::before { content: "▸ "; }
.ev-planetside-2 .kicker b { color: var(--hud); font-weight: 700; }
.ev-planetside-2.s-classic .ev-years { margin-top: 14px; gap: 12px; }
.ev-planetside-2.s-classic .ev-years .num { background: none; -webkit-background-clip: border-box; background-clip: border-box; filter: none;
  font-size: clamp(30px, 3vw, 40px); font-weight: 700; color: #9fb6c4; letter-spacing: 0; }
.ev-planetside-2.s-classic .ev-years .lbl { font-size: clamp(30px, 3vw, 40px); font-weight: 700; color: #9fb6c4; }
.ev-planetside-2.s-classic .ev-lead { margin-top: 0; }
.ev-planetside-2.s-classic .ev-lead b { font-size: clamp(48px, 7vw, 92px); font-weight: 900; letter-spacing: -.025em; line-height: 1; color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.7); }
/* полоса баланса трёх империй */
.ev-planetside-2 .ev-sub { margin-top: 18px; font-size: 13px; letter-spacing: .08em; color: #7f97a5; }
.ev-planetside-2 .ev-sub::before { content: ""; display: block; width: min(560px, 100%); height: 8px; margin-bottom: 12px;
  background: linear-gradient(90deg, var(--tr) 0 32.5%, transparent 32.5% 33.5%, var(--nc) 33.5% 66%, transparent 66% 67%, var(--vs) 67% 100%); }

/* ── блоки-терминалы ── */
.ev-planetside-2.s-classic .rule, .ev-planetside-2.s-classic .pts:empty { display: none; }
.ev-planetside-2 .ev-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 34px; }
.ev-planetside-2 .ev-body > :not(.feat) { grid-column: 1 / -1; }
.ev-planetside-2 .feat.sec { position: relative; margin: 0; padding: 26px 28px 22px; background: var(--panel); border: 1px solid rgba(95,224,200,.22); backdrop-filter: blur(4px); }
.ev-planetside-2 .feat.sec::before, .ev-planetside-2 .feat.sec::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--hud); pointer-events: none; }
.ev-planetside-2 .feat.sec::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.ev-planetside-2 .feat.sec::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.ev-planetside-2 .feat.sec h2 { position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; color: #fff; }
.ev-planetside-2 .feat.sec p { font-size: 16.5px; line-height: 1.65; color: #b9cbd5; margin-bottom: 10px; }
.ev-planetside-2 .feat.sec p b { color: #fff; }

/* номера — шестиугольники цвета фракций по очереди */
.ev-planetside-2 .feat.sec h2 .num { flex: none; display: grid; place-items: center; width: 40px; height: 46px; padding-top: 1px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--tr); color: #fff;
  font-family: Inter, sans-serif; font-size: 18px; font-weight: 900; }
.ev-planetside-2 .feat.sec:nth-of-type(3n+3) h2 .num { background: var(--nc); }
.ev-planetside-2 .feat.sec:nth-of-type(3n+1) h2 .num { background: var(--vs); }

/* вступление — широкий блок, названия империй цветными метками */
.ev-planetside-2 .feat.sec.intro { grid-column: 1 / -1; }
.ev-planetside-2 .feat.sec.intro h2::before { content: "▸ AURAXIS"; position: absolute; top: -18px; left: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; font-weight: 500; letter-spacing: .3em; color: var(--hud); }
.ev-planetside-2 .feat.sec.intro p:first-of-type b { padding: 0 6px; border-left: 3px solid; background: rgba(255,255,255,.06); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ev-planetside-2 .feat.sec.intro p:first-of-type b:nth-of-type(1) { border-color: var(--tr); color: #ff8b80; }
.ev-planetside-2 .feat.sec.intro p:first-of-type b:nth-of-type(2) { border-color: var(--nc); color: #7db6ff; }
.ev-planetside-2 .feat.sec.intro p:first-of-type b:nth-of-type(3) { border-color: var(--vs); color: #b996ff; }

/* «облачка» — как перехваченная радиопередача */
.ev-planetside-2 .bubble { margin: 0 0 14px; padding: 10px 14px; border-left: 3px solid var(--amber); background: rgba(255,210,63,.07); }
.ev-planetside-2 .bubble p { margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; color: var(--amber); }
.ev-planetside-2 .bubble p::before { content: "◉ REC  "; color: #e8483b; }
.ev-planetside-2 .bubble cite { display: block; margin-top: 4px; font-family: ui-monospace, Menlo, Consolas, monospace; font-style: normal; font-size: 11.5px; letter-spacing: .08em; color: #7f97a5; }

/* цифры масштаба — показания приборов */
.ev-planetside-2 .feat.sec:nth-of-type(4) p b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.25em; color: var(--amber); }

/* 5 и 6 — во всю ширину */
.ev-planetside-2 .feat.sec:nth-of-type(6), .ev-planetside-2 .feat.sec.shop { grid-column: 1 / -1; }
.ev-planetside-2 .feat.sec .items { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 4px; }
.ev-planetside-2 .feat.sec .items li { padding: 14px 16px; background: rgba(7,9,12,.6); border-top: 3px solid var(--tr); }
.ev-planetside-2 .feat.sec .items li:nth-child(2) { border-color: var(--nc); }
.ev-planetside-2 .feat.sec .items li:nth-child(3) { border-color: var(--vs); }
.ev-planetside-2 .feat.sec .items li:nth-child(4) { border-color: var(--amber); }
.ev-planetside-2 .feat.sec .items b { display: block; margin-bottom: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.ev-planetside-2 .feat.sec .items span { font-size: 14.5px; line-height: 1.55; color: #b9cbd5; }

/* финал — рекорд */
.ev-planetside-2 .feat.sec.final { grid-column: 1 / -1; margin-top: 10px; padding: 34px 34px 26px; border-color: rgba(255,210,63,.45); background: linear-gradient(120deg, rgba(60,46,8,.55), rgba(18,28,36,.75)); }
.ev-planetside-2 .feat.sec.final::before, .ev-planetside-2 .feat.sec.final::after { border-color: var(--amber); }
.ev-planetside-2 .feat.sec.final h2::before { content: "▸ ИТОГ"; position: absolute; top: -20px; left: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; font-weight: 500; letter-spacing: .3em; color: var(--amber); }
.ev-planetside-2 .feat.sec.final p { font-size: 17.5px; color: #dfe7ea; }
.ev-planetside-2 .feat.sec.final p b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.5em; color: var(--amber); }

/* ── подвал: база с танками ── */
body.ev-planetside-2 { position: relative; isolation: isolate; }
body.ev-planetside-2::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0;
  height: max(600px, calc(100vw * 415 / 739));
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px),
              linear-gradient(180deg, rgba(7,9,12,.6), rgba(7,9,12,.15) 55%, rgba(7,9,12,.45)),
              url("../../img/planetside2/base.jpg?v=6218a617") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 40%, rgba(0,0,0,.55) 68%, transparent 100%);
          mask-image: linear-gradient(0deg, #000 0%, #000 40%, rgba(0,0,0,.55) 68%, transparent 100%);
  pointer-events: none; }
.ev-planetside-2 .ev-meta { margin-top: 44px; padding: 12px 16px; border: 1px solid rgba(95,224,200,.25); border-radius: 0; background: rgba(7,9,12,.82); backdrop-filter: blur(6px); font-size: 13px; color: #9fb6c4; }
.ev-planetside-2 .ev-meta b { color: var(--hud); }
.ev-planetside-2 .neighbours a { border-radius: 0; border-color: rgba(95,224,200,.25); background: rgba(7,9,12,.85); backdrop-filter: blur(6px); }
.ev-planetside-2 .site-foot { background: rgba(7,9,12,.8); backdrop-filter: blur(6px); }

@media (max-width: 860px) {
  .ev-planetside-2 .ev-body { grid-template-columns: 1fr; }
  .ev-planetside-2 .feat.sec .items { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ev-planetside-2 .ev-cover { background-size: 100% auto !important; background-position: center top !important; }
  .ev-planetside-2 .ev-cover::after { background: linear-gradient(180deg, rgba(7,9,12,0) 0, rgba(7,9,12,0) calc(100vw * 2240 / 3600 - 70px), #07090c calc(100vw * 2240 / 3600)) !important; }
  .ev-planetside-2 .ev-hero-in { padding-top: calc(100vw * 2240 / 3600 - 10px); }
  .ev-planetside-2 .kicker { letter-spacing: .14em; }
  .ev-planetside-2 .feat.sec { padding: 24px 18px 18px; }
  .ev-planetside-2 .feat.sec .items { grid-template-columns: 1fr; }
}
.ev-planetside-2 .feat.sec { max-width: none; width: auto; }

/* ── I. брифинг ── */
.ev-planetside-2 .feat.sec.intro { padding: 0 0 22px; background: rgba(10,16,20,.88); counter-reset: line; }
.ev-planetside-2 .feat.sec.intro h2 { margin: 0 0 18px; padding: 12px 28px; font-size: 15px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  font-family: ui-monospace, Menlo, Consolas, monospace; color: #07090c; background: var(--hud); }
.ev-planetside-2 .feat.sec.intro h2::before { content: "БРИФИНГ //"; position: static; font-size: inherit; letter-spacing: inherit; color: inherit; font-weight: 800; }
.ev-planetside-2:lang(uk) .feat.sec.intro h2::before { content: "БРИФІНГ //"; }
.ev-planetside-2:lang(en) .feat.sec.intro h2::before { content: "BRIEFING //"; }
.ev-planetside-2 .feat.sec.intro h2::after { content: "● LIVE"; margin-left: auto; color: #b3121b; letter-spacing: .18em; }
.ev-planetside-2 .feat.sec.intro > p, .ev-planetside-2 .feat.sec.intro > .items { margin-left: 28px; margin-right: 28px; }
.ev-planetside-2 .feat.sec.intro > p::before { display: block; margin-bottom: 4px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; letter-spacing: .26em; color: var(--hud); }
.ev-planetside-2 .feat.sec.intro > p:first-of-type::before { content: "ОПЕРАЦИЯ"; }
.ev-planetside-2 .feat.sec.intro > p:last-of-type::before { content: "ОБСТАНОВКА"; }
.ev-planetside-2:lang(uk) .feat.sec.intro > p:first-of-type::before { content: "ОПЕРАЦІЯ"; }
.ev-planetside-2:lang(uk) .feat.sec.intro > p:last-of-type::before { content: "ОБСТАНОВКА"; }
.ev-planetside-2:lang(en) .feat.sec.intro > p:first-of-type::before { content: "OPERATION"; }
.ev-planetside-2:lang(en) .feat.sec.intro > p:last-of-type::before { content: "SITUATION"; }
.ev-planetside-2 .feat.sec.intro > p:first-of-type { font-size: 19px; color: #fff; }
.ev-planetside-2 .feat.sec.intro .items { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; margin-bottom: 18px; }
.ev-planetside-2 .feat.sec.intro .items::before { content: "СТОРОНЫ КОНФЛИКТА"; grid-column: 1 / -1; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; letter-spacing: .26em; color: var(--hud); margin-bottom: -4px; }
.ev-planetside-2:lang(uk) .feat.sec.intro .items::before { content: "СТОРОНИ КОНФЛІКТУ"; }
.ev-planetside-2:lang(en) .feat.sec.intro .items::before { content: "PARTIES TO THE CONFLICT"; }
.ev-planetside-2 .feat.sec.intro .items li { position: relative; padding: 14px 16px 14px 20px; border-top: 0; border-left: 4px solid var(--tr); background: rgba(232,72,59,.1); }
.ev-planetside-2 .feat.sec.intro .items li:nth-child(2) { border-color: var(--nc); background: rgba(47,127,224,.1); }
.ev-planetside-2 .feat.sec.intro .items li:nth-child(3) { border-color: var(--vs); background: rgba(139,79,224,.12); }
.ev-planetside-2 .feat.sec.intro .items b { font-family: Inter, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: 0; text-transform: none; color: #ff8b80; }
.ev-planetside-2 .feat.sec.intro .items li:nth-child(2) b { color: #7db6ff; }
.ev-planetside-2 .feat.sec.intro .items li:nth-child(3) b { color: #b996ff; }
@media (max-width: 760px) {
  .ev-planetside-2 .feat.sec.intro h2 { padding: 10px 18px; font-size: 12px; }
  .ev-planetside-2 .feat.sec.intro > p, .ev-planetside-2 .feat.sec.intro > .items { margin-left: 18px; margin-right: 18px; }
  .ev-planetside-2 .feat.sec.intro .items { grid-template-columns: 1fr; }
}

.ev-planetside-2 .feat.sec.intro > p:last-of-type, .ev-planetside-2 .feat.sec.intro .items { margin-top: 18px; }
@media (max-width: 760px) {
  .ev-planetside-2 .feat.sec.intro h2 { display: block; line-height: 1.5; }
  .ev-planetside-2 .feat.sec.intro h2::after { display: none; }
}

/* ════════ спокойная версия, как эскиз A: монохромный бирюзовый HUD,
   цвет фракций — только в полосе под заголовком и маленьких метках; янтарь — только цифры ════════ */

/* номера — моноширинная подпись «01 /» над заголовком вместо цветных шестиугольников */
.ev-planetside-2 .feat.sec h2 { display: block; }
.ev-planetside-2 .feat.sec h2 .num, .ev-planetside-2 .feat.sec:nth-of-type(n) h2 .num { display: block; width: auto; height: auto; padding: 0; margin-bottom: 6px; clip-path: none; background: none;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--hud); }
.ev-planetside-2 .feat.sec h2 .num::before { content: "0"; }
.ev-planetside-2 .feat.sec h2 .num::after { content: " /"; }

/* брифинг — без цветных плашек */
.ev-planetside-2 .feat.sec.intro .items li, .ev-planetside-2 .feat.sec.intro .items li:nth-child(n) { border-left: 1px solid rgba(95,224,200,.3); background: rgba(95,224,200,.04); }
.ev-planetside-2 .feat.sec.intro .items b, .ev-planetside-2 .feat.sec.intro .items li:nth-child(n) b { color: #fff; }
.ev-planetside-2 .feat.sec.intro .items b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; vertical-align: 2px; background: var(--tr); }
.ev-planetside-2 .feat.sec.intro .items li:nth-child(2) b::before { background: var(--nc); }
.ev-planetside-2 .feat.sec.intro .items li:nth-child(3) b::before { background: var(--vs); }
.ev-planetside-2 .feat.sec.intro h2::after { color: #07090c; }

/* реплики — бирюзовые, без красного REC */
.ev-planetside-2 .bubble { border-left-color: var(--hud); background: rgba(95,224,200,.06); }
.ev-planetside-2 .bubble p { color: #dff6f1; }
.ev-planetside-2 .bubble p::before { content: "▸ "; color: var(--hud); }

/* магазин — нейтральные колонки */
.ev-planetside-2 .feat.sec .items li, .ev-planetside-2 .feat.sec .items li:nth-child(n) { border-top: 1px solid rgba(95,224,200,.35); }
.ev-planetside-2 .feat.sec .items b { color: var(--hud); }

/* финал — тот же терминал, янтарь только у цифры */
.ev-planetside-2 .feat.sec.final { border-color: rgba(95,224,200,.22); background: var(--panel); }
.ev-planetside-2 .feat.sec.final::before, .ev-planetside-2 .feat.sec.final::after { border-color: var(--hud); }
.ev-planetside-2 .feat.sec.final h2::before { color: var(--hud); }
.ev-planetside-2 .feat.sec.intro h2 { display: flex; gap: 12px; }
.ev-planetside-2 .feat.sec.intro .items li, .ev-planetside-2 .feat.sec.intro .items li:nth-child(n) { border-top: 1px solid rgba(95,224,200,.3); }
@media (max-width: 760px) { .ev-planetside-2 .feat.sec.intro h2 { display: block; } }

/* брифинг — холодный бирюзовый, с сеткой тактической карты */
.ev-planetside-2 .feat.sec.intro { background:
  linear-gradient(rgba(95,224,200,.07) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(95,224,200,.07) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(160deg, #0d2a2a, #0a1618 70%); }
/* рекорд — тёплый, тёмный янтарь с тонкой штриховкой */
.ev-planetside-2 .feat.sec.final { border-color: rgba(255,210,63,.3); background:
  repeating-linear-gradient(135deg, rgba(255,210,63,.045) 0 2px, transparent 2px 12px),
  linear-gradient(160deg, #2a210c, #15130d 70%); }
.ev-planetside-2 .feat.sec.final::before, .ev-planetside-2 .feat.sec.final::after { border-color: var(--amber); }
.ev-planetside-2 .feat.sec.final h2::before { color: var(--amber); }

.ev-planetside-2:lang(uk) .feat.sec.final h2::before { content: "▸ ПІДСУМОК"; }
.ev-planetside-2:lang(en) .feat.sec.final h2::before { content: "▸ DEBRIEF"; }
.ev-planetside-2:lang(ru) .feat.sec.final h2::before { content: "▸ ИТОГ"; }
/* таблица сравнения */
.ev-planetside-2 .cmp { width: 100%; border-collapse: collapse; margin: 6px 0 22px; }
.ev-planetside-2 .cmp th, .ev-planetside-2 .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255,210,63,.18); }
.ev-planetside-2 .cmp thead th { font-size: 20px; font-weight: 800; color: #fff; border-bottom: 1px solid rgba(255,210,63,.45); }
.ev-planetside-2 .cmp thead th:first-child { width: 30%; }
.ev-planetside-2 .cmp small { display: block; margin-top: 4px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #a89a74; }
.ev-planetside-2 .cmp tbody th { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); padding-top: 18px; }
.ev-planetside-2 .cmp td { font-size: 15px; color: #dfe7ea; }
.ev-planetside-2 .cmp td b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 30px; font-weight: 700; color: var(--amber); line-height: 1.1; }
.ev-planetside-2 .cmp td small { letter-spacing: .08em; text-transform: none; font-size: 12.5px; }
.ev-planetside-2 .cmp tbody tr:last-child th, .ev-planetside-2 .cmp tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .ev-planetside-2 .cmp th, .ev-planetside-2 .cmp td { padding: 10px 8px; }
  .ev-planetside-2 .cmp thead th { font-size: 15px; }
  .ev-planetside-2 .cmp thead th:first-child { width: 26%; }
  .ev-planetside-2 .cmp tbody th { font-size: 10px; letter-spacing: .06em; }
  .ev-planetside-2 .cmp td b { font-size: 22px; }
}

/* ── эмблемы фракций вместо трёх полосок ── */
.ev-planetside-2 .ev-sub::before { display: none; }
/* в брифинге — эмблемы вместо цветных квадратиков */
.ev-planetside-2 .feat.sec.intro .items b::before { width: 26px; height: 26px; margin-right: 10px; vertical-align: -7px; filter: drop-shadow(0 0 2px rgba(235,240,245,.75)) drop-shadow(0 0 5px rgba(235,240,245,.25)); background: url("../../img/planetside2/tr.png?v=77b4ceb2") center / contain no-repeat; }
.ev-planetside-2 .feat.sec.intro .items li:nth-child(2) b::before { background: url("../../img/planetside2/nc.png?v=03dc7112") center / contain no-repeat; }
.ev-planetside-2 .feat.sec.intro .items li:nth-child(3) b::before { background: url("../../img/planetside2/vs.png?v=6b1d2659") center / contain no-repeat; }
