/* Fractured Online: взлом 19.11.2023 — хроника на тёмном пергаменте в тонах ключевого арта;
   19 ноября — «журнал сервера» с командой unclaim city; внизу — деревня, огонь в окне. */

.ev-fractured-online-hack { --bone: #efe0c4; --ember: #e0552f; --term: #9be29b; }
.ev-fractured-online-hack .ev-cover { filter: saturate(.85); }
.ev-fractured-online-hack .ev-cover::after { background:
  linear-gradient(90deg, rgba(14,11,9,.82) 0%, rgba(14,11,9,.45) 50%, rgba(14,11,9,.15) 100%),
  linear-gradient(180deg, rgba(14,11,9,.1) 0%, rgba(14,11,9,.25) 55%, #0e0b09 98%) !important; }
.ev-fractured-online-hack.s-chronicle h1 em { font-style: normal; color: var(--bone); }
.ev-fractured-online-hack .ev-sub { margin-top: 12px; font-size: 17px; color: #c9b493; }

/* хронология */
.ev-fractured-online-hack.s-chronicle .tl::before { background: linear-gradient(180deg, rgba(217,185,138,.8), rgba(217,185,138,.25)); }
.ev-fractured-online-hack.s-chronicle .ev-i::before { background: #0e0b09; border: 3px solid #d9b98a; }
.ev-fractured-online-hack.s-chronicle .ev-i .d { color: #e7cfa5; }
.ev-fractured-online-hack.s-chronicle .ev-i p { margin-bottom: 10px; }
.ev-fractured-online-hack.s-chronicle .ev-i p b { color: #fff; }

/* обещание «без вайпов» — пунктирная рамка, как печать на договоре */
.ev-fractured-online-hack.s-chronicle .ev-i.promise > div:last-child { padding: 14px 18px; border: 1px dashed rgba(217,185,138,.55); border-radius: 10px; }

/* 19 ноября — журнал сервера */
.ev-fractured-online-hack.s-chronicle .ev-i.now { margin: 14px -22px; padding: 22px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(60,18,10,.75), rgba(30,10,6,.7)); border: 1px solid rgba(224,85,47,.6);
  box-shadow: 0 0 40px rgba(224,85,47,.15); }
.ev-fractured-online-hack.s-chronicle .ev-i.now::before { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 14px rgba(224,85,47,.8); }
.ev-fractured-online-hack.s-chronicle .ev-i.now .d { color: #ff9a7a; }
.ev-fractured-online-hack.s-chronicle .ev-i.now h3 { color: #fff; }
.ev-fractured-online-hack .ev-i code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em;
  padding: 2px 8px; border-radius: 6px; background: #0b0f0b; color: var(--term); border: 1px solid rgba(155,226,155,.35); white-space: nowrap; }
.ev-fractured-online-hack .ev-i.now code::before { content: "> /"; color: rgba(155,226,155,.6); margin-right: 2px; }

/* рекорд онлайна */
.ev-fractured-online-hack.s-chronicle .ev-i.record p:last-child { padding-left: 14px; border-left: 3px solid #d9b98a; }

/* низ: деревня во всю ширину */
body.ev-fractured-online-hack { position: relative; isolation: isolate; }
body.ev-fractured-online-hack::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0;
  height: max(620px, calc(100vw * 972 / 1920));
  background: linear-gradient(180deg, rgba(14,11,9,.55), rgba(14,11,9,.15) 55%, rgba(14,11,9,.45)),
              url("../../img/fractured/village.jpg?v=a02ff064") 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-fractured-online-hack .ev-meta { padding: 14px 18px; border-radius: 12px; border-top: 0; background: rgba(14,11,9,.8); backdrop-filter: blur(6px); }
.ev-fractured-online-hack .neighbours a { background: rgba(14,11,9,.82); backdrop-filter: blur(6px); }
.ev-fractured-online-hack .site-foot { background: rgba(14,11,9,.75); backdrop-filter: blur(6px); }

@media (max-width: 760px) {
  .ev-fractured-online-hack .ev-cover::after { background: linear-gradient(180deg, rgba(14,11,9,.1) 0%, rgba(14,11,9,.45) 55%, #0e0b09 98%) !important; }
  .ev-fractured-online-hack.s-chronicle .ev-i.now { margin: 14px -12px; padding: 18px 16px 18px 50px; }
  .ev-fractured-online-hack.s-chronicle .ev-i.now::before { left: 13px; }
  .ev-fractured-online-hack .ev-i code { white-space: normal; }
}

/* текст в блоке 19 ноября — светлый */
.ev-fractured-online-hack.s-chronicle .ev-i.now p { color: #f0e2d2; }
.ev-fractured-online-hack.s-chronicle .ev-i.now p b { color: #fff; }
.ev-fractured-online-hack.s-chronicle .ev-i.now .d small { color: #c99a86; }

/* шапка: текст ниже логотипа на арте */
.ev-fractured-online-hack .ev-cover { background-position: center top !important; }
.ev-fractured-online-hack .ev-hero-in { padding-top: 300px; }
@media (max-width: 760px) {
  .ev-fractured-online-hack .ev-cover { background-size: 100% auto !important; }
  .ev-fractured-online-hack .ev-cover::after { background: linear-gradient(180deg, rgba(14,11,9,0) 0, rgba(14,11,9,0) calc(100vw * 1000 / 1778 - 80px), #0e0b09 calc(100vw * 1000 / 1778)) !important; }
  .ev-fractured-online-hack .ev-hero-in { padding-top: calc(100vw * 1000 / 1778 - 30px); }
}

/* ════════ журнальная хроника ════════
   главное — что произошло: дата мелкой подводкой, крупный заголовок;
   вехи идут «лесенкой» влево-вправо, тёмные повороты сюжета — красной подводкой;
   19 ноября — разворот во всю ширину экрана с консольной командой. */
.ev-fractured-online-hack.s-chronicle .tl { margin-top: 64px; counter-reset: step; }
.ev-fractured-online-hack.s-chronicle .tl::before { display: none; }
.ev-fractured-online-hack.s-chronicle .ev-i { counter-increment: step; display: block; position: relative; width: 66%; padding: 0; margin: 0 0 64px; border: 0; }
.ev-fractured-online-hack.s-chronicle .ev-i:nth-child(even) { margin-left: auto; }
.ev-fractured-online-hack.s-chronicle .ev-i::before { content: counter(step, decimal-leading-zero); position: absolute; left: auto; right: calc(100% + 22px); top: -6px;
  width: auto; height: auto; border: 0; border-radius: 0; background: none; box-shadow: none;
  font-size: 15px; font-weight: 800; letter-spacing: .1em; color: rgba(217,185,138,.45); }
.ev-fractured-online-hack.s-chronicle .ev-i:nth-child(even)::before { right: auto; left: calc(100% + 22px); }

/* дата — мелкая подводка с чертой */
.ev-fractured-online-hack.s-chronicle .ev-i .d { display: flex; align-items: center; gap: 12px; flex-direction: row; text-align: left; white-space: nowrap;
  font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #c9a26b; line-height: 1; margin-bottom: 14px; }
.ev-fractured-online-hack.s-chronicle .ev-i .d::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.ev-fractured-online-hack.s-chronicle .ev-i .d small { display: inline; margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; }
.ev-fractured-online-hack.s-chronicle .ev-i .d.rng small::before { content: "–"; }
.ev-fractured-online-hack.s-chronicle .ev-i .d:not(.rng) small:not(:empty)::before { content: " "; }

.ev-fractured-online-hack.s-chronicle .ev-i h3 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: #fbf3e4; margin-bottom: 14px; }
.ev-fractured-online-hack.s-chronicle .ev-i p { font-size: 18px; line-height: 1.65; color: #d4c8b6; margin-bottom: 10px; }
.ev-fractured-online-hack.s-chronicle .ev-i p b { color: #fff; }

/* тёмные повороты: «Стоп», «Второй откат» */
.ev-fractured-online-hack.s-chronicle .ev-i.dark .d { color: #ff7a52; }
.ev-fractured-online-hack.s-chronicle .ev-i.dark h3 { color: #ff9a7a; }

/* обещание — как вынесенная цитата */
.ev-fractured-online-hack.s-chronicle .ev-i.promise { width: 100%; text-align: center; }
.ev-fractured-online-hack.s-chronicle .ev-i.promise .d { justify-content: center; }
.ev-fractured-online-hack.s-chronicle .ev-i.promise .d::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.ev-fractured-online-hack.s-chronicle .ev-i.promise::before { display: none; }
.ev-fractured-online-hack.s-chronicle .ev-i.promise h3 { font-size: clamp(42px, 6.4vw, 78px); line-height: .98; color: #efe0c4; }
.ev-fractured-online-hack.s-chronicle .ev-i.promise p { max-width: 640px; margin: 0 auto; font-size: 20px; }

/* 19 ноября — разворот во всю ширину экрана */
body.ev-fractured-online-hack { overflow-x: clip; }
.ev-fractured-online-hack.s-chronicle .ev-i.now { width: 100%; margin: 0 0 72px; padding: 70px 0 66px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: clip;
  border-image: linear-gradient(120deg, #3a0f08, #1c0805 70%) fill 0 / 0 / 0 100vw; }
.ev-fractured-online-hack.s-chronicle .ev-i.now::before { display: none; }
.ev-fractured-online-hack.s-chronicle .ev-i.now::after { content: "19.11"; position: absolute; right: -2vw; bottom: -4vw; z-index: 0;
  font-size: 26vw; font-weight: 900; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(224,85,47,.28); pointer-events: none; }
.ev-fractured-online-hack.s-chronicle .ev-i.now > * { position: relative; z-index: 1; max-width: 780px; }
.ev-fractured-online-hack.s-chronicle .ev-i.now .d { color: #ff8d6a; }
.ev-fractured-online-hack.s-chronicle .ev-i.now h3 { font-size: clamp(44px, 6.6vw, 84px); color: #fff; }
.ev-fractured-online-hack.s-chronicle .ev-i.now p { font-size: 19.5px; color: #f0e2d2; }
.ev-fractured-online-hack .ev-i code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 1.05em;
  padding: 3px 10px; border-radius: 6px; background: #0b0f0b; color: var(--term); border: 1px solid rgba(155,226,155,.35); white-space: nowrap; }
.ev-fractured-online-hack .ev-i.now code::before { content: "> /"; color: rgba(155,226,155,.6); margin-right: 2px; }

/* рекорд — крупная цифра */
.ev-fractured-online-hack.s-chronicle .ev-i.record p:last-child { position: relative; margin-top: 22px; padding: 0 0 0 160px; border: 0; min-height: 70px; }
.ev-fractured-online-hack.s-chronicle .ev-i.record p:last-child::before { content: "1100"; position: absolute; left: 0; top: -8px;
  font-size: 62px; font-weight: 900; letter-spacing: -.05em; line-height: 1; color: #e7cfa5; }

@media (max-width: 760px) {
  .ev-fractured-online-hack.s-chronicle .ev-i, .ev-fractured-online-hack.s-chronicle .ev-i:nth-child(even) { width: auto; margin: 0 0 48px; }
  .ev-fractured-online-hack.s-chronicle .ev-i::before { display: none; }
  .ev-fractured-online-hack.s-chronicle .ev-i h3 { font-size: 28px; }
  .ev-fractured-online-hack.s-chronicle .ev-i p { font-size: 16.5px; }
  .ev-fractured-online-hack.s-chronicle .ev-i.promise h3 { font-size: 40px; }
  .ev-fractured-online-hack.s-chronicle .ev-i.now { padding: 46px 0 48px; }
  .ev-fractured-online-hack.s-chronicle .ev-i.now h3 { font-size: 40px; }
  .ev-fractured-online-hack.s-chronicle .ev-i.now::after { font-size: 44vw; bottom: -8vw; }
  .ev-fractured-online-hack .ev-i code { white-space: normal; }
  .ev-fractured-online-hack.s-chronicle .ev-i.record p:last-child { padding: 60px 0 0; }
}
.ev-fractured-online-hack.s-chronicle .ev-i .d { gap: 0; }
.ev-fractured-online-hack.s-chronicle .ev-i .d::before { margin-right: 12px; }
.ev-fractured-online-hack.s-chronicle .ev-i.promise .d::after { margin-left: 12px; }
.ev-fractured-online-hack.s-chronicle .ev-i.promise > div:last-child { padding: 26px 24px 30px; }

/* ════════ заголовки вех — наклонные плашки ════════ */
.ev-fractured-online-hack.s-chronicle .ev-i h3 { display: inline-block; padding: .1em .32em .08em; margin: 2px 0 20px;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.08; color: #1a120c; background: #efe0c4;
  transform: rotate(-1.6deg); box-shadow: 7px 7px 0 #a8804a; }
.ev-fractured-online-hack.s-chronicle .ev-i:nth-child(even) h3 { transform: rotate(1.4deg); }
.ev-fractured-online-hack.s-chronicle .ev-i.dark h3 { color: #fff; background: #d24a26; box-shadow: 7px 7px 0 #5a1608; }
.ev-fractured-online-hack.s-chronicle .ev-i.promise h3 { padding: .08em .3em .04em; font-size: clamp(38px, 5.6vw, 68px); color: #1a120c; background: #efe0c4; box-shadow: 10px 10px 0 #a8804a; transform: rotate(-2deg); }
.ev-fractured-online-hack.s-chronicle .ev-i.promise > div:last-child { border: 0; padding: 0; }
.ev-fractured-online-hack.s-chronicle .ev-i.now h3 { padding: .06em .3em .02em; font-size: clamp(42px, 6.2vw, 78px); color: #1c0805; background: #fff; box-shadow: 10px 10px 0 #e0552f; transform: rotate(-2deg); }
@media (max-width: 760px) {
  .ev-fractured-online-hack.s-chronicle .ev-i h3 { font-size: 24px; box-shadow: 5px 5px 0 #a8804a; }
  .ev-fractured-online-hack.s-chronicle .ev-i.dark h3 { box-shadow: 5px 5px 0 #5a1608; }
  .ev-fractured-online-hack.s-chronicle .ev-i.promise h3 { font-size: 34px; }
  .ev-fractured-online-hack.s-chronicle .ev-i.now h3 { font-size: 36px; box-shadow: 6px 6px 0 #e0552f; }
}
.ev-fractured-online-hack.s-chronicle .ev-i .d:not(.rng) small:not(:empty) { margin-left: .6em; }
.ev-fractured-online-hack.s-chronicle .ev-i .d:not(.rng) small:not(:empty)::before { content: none; }

/* повёрнутые плашки на узких окнах давали лишние ~18 px горизонтальной прокрутки */
html:has(body.ev-fractured-online-hack), body.ev-fractured-online-hack { overflow-x: clip; }
