:root {
    --accent: #dc2626;
    --accent-2: #f59e0b;
    --background: #130b0b;
    --panel: #241414;
    --panel-2: #301919;
    --line: #573131;
    --muted: #d7bebe;
    --ink: #f8fafc;
    --focus: #fde68a;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--background);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}
body.article-page { font-size: 18px; }
a { color: inherit; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
    position: fixed;
    left: 12px;
    top: -80px;
    z-index: 999;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: #111;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 20px 16px 70px; }
.article-wrap { max-width: 980px; }

.brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 96px;
    padding: 14px 18px;
    border: 1px solid #3f2323;
    border-radius: 20px;
    background:
        radial-gradient(circle at 7% 50%, #dc262622, transparent 25%),
        linear-gradient(115deg, #1d0e0e 0%, #130b0b 72%);
    box-shadow: 0 14px 40px #00000024;
}
.brand-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}
.brand-mark {
    position: relative;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border: 3px solid #ef2b2f;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    font-size: .92rem;
    font-weight: 950;
    letter-spacing: -.08em;
    background: #241010;
    box-shadow: 0 0 0 1px #5b1719 inset, 0 0 24px #dc262640;
}
.brand-mark::before {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: var(--accent);
}
.brand-mark::after {
    content: "PF";
    position: relative;
    z-index: 1;
    letter-spacing: -.12em;
    transform: translateX(-1px);
}
.brand-mark { font-size: 0; }
.brand-copy { min-width: 0; display: grid; gap: 2px; }
.brand-title {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: .98;
    letter-spacing: .025em;
    font-weight: 900;
    white-space: nowrap;
}
.brand-tagline {
    color: #eccccc;
    font-size: clamp(.92rem, 1.8vw, 1.12rem);
    line-height: 1.25;
}
.brand p, .muted { margin: 3px 0; color: var(--muted); }
.brand-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.brand-actions .button, .brand-actions button { padding: 9px 12px; border-radius: 10px; }

.button, button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    text-decoration: none;
    padding: 11px 14px;
    border-radius: 12px;
    font-weight: 850;
}
.button.secondary, button.secondary { background: #3a2020; }
.button.ghost { background: transparent; border: 1px solid var(--line); }
.button:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.hero {
    position: relative;
    overflow: hidden;
    margin: 22px 0;
    padding: clamp(26px, 6vw, 62px);
    border: 1px solid var(--line);
    border-radius: 26px;
    background: radial-gradient(circle at 85% 25%, #dc262630, transparent 35%), linear-gradient(125deg, #381717, #100707);
}
.hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 55px solid #dc262618;
    border-radius: 50%;
    right: -95px;
    top: -145px;
}
.hero > * { position: relative; z-index: 1; }
.hero-kicker { color: #fecaca; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero h2 { max-width: 820px; font-size: clamp(34px, 6vw, 68px); line-height: 1.02; margin: 9px 0 15px; }
.hero h2 strong { color: var(--accent); }
.hero p { max-width: 850px; margin-bottom: 0; font-size: 1.08rem; color: #f5dddd; }

.daily { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.daily-card, .radar, .card, .pinned-zone, .article-card, .source-card, .gallery-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
}
.daily-card { padding: 17px; }
.daily-card strong { display: block; font-size: 1.65rem; }
.daily-card span { color: var(--muted); }

.radar { padding: 20px; }
.radar-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.radar-head h2 { margin: 0; }
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 15px; }
.filters input, .filters select {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #684040;
    border-radius: 11px;
    background: #190e0e;
    color: #fff;
}
.check { display: flex; align-items: center; gap: 8px; min-height: 46px; color: #f5dddd; }
.check input { width: auto; accent-color: var(--accent); }
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.cache-note { margin-top: 10px; font-size: .88rem; color: var(--muted); }

.pinned-zone {
    padding: 18px;
    margin: 20px 0;
    border-color: #744a2b;
    background: linear-gradient(135deg, #21172d, #241414);
}
.pinned-zone h2 { margin: 0 0 13px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin: 24px 0 12px; }
.section-title h2 { margin: 0; }

.card { overflow: hidden; position: relative; }
.card.pinned { border-color: #e99d38; box-shadow: 0 0 0 1px #e99d3844; }
.card-media { display: block; background: #190e0e; }
.card img { display: block; width: 100%; height: 270px; object-fit: cover; background: #190e0e; }
.content { padding: 20px; }
.badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #3d2323;
    border: 1px solid #704040;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .74rem;
    font-weight: 900;
}
.badge.own { background: #f6d34a; color: #17120a; border-color: #f6d34a; }
.badge.press { background: #f5eaea; color: #311515; border-color: #f5eaea; }
.badge.new { background: var(--accent); border-color: var(--accent); }
.badge.updated { background: #991b1b; border-color: #991b1b; }
.badge.ended { background: #625050; border-color: #625050; }
.badge.pin { background: #7c2d12; border-color: #b45309; }
.meta { display: block; color: var(--muted); font-size: .9rem; }
.card h2 { font-size: clamp(23px, 3vw, 32px); line-height: 1.12; margin: 12px 0; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.subtitle { font-weight: 850; color: #f8eded; }
.teaser { color: #f4e2e2; line-height: 1.55; }
.empty { grid-column: 1 / -1; padding: 35px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; }

footer { text-align: center; color: #c7aaaa; margin-top: 38px; }
footer a { margin: 0 4px; }

.article-back { display: inline-flex; margin: 20px 0 16px; color: #f5dddd; }
.article-hero {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    background: #190e0e;
    border-radius: 24px;
    border: 1px solid var(--line);
}
.article-card { padding: clamp(21px, 5vw, 44px); margin-top: 18px; }
.article-card h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.04; margin: .3em 0; }
.article-card h2 { font-size: clamp(22px, 3.2vw, 34px); line-height: 1.2; color: #f4e6e6; }
.article-teaser { font-size: 1.08em; }
.article-body p { margin: 1.15em 0; }
.article-body a { color: #fecaca; overflow-wrap: anywhere; }
.share { display: flex; gap: 9px; flex-wrap: wrap; margin: 20px 0; }
.share .button, .share button { padding: 10px 13px; }
.source-card { padding: 18px; margin: 28px 0 0; background: #1a0d0d; }
.source-card.own { border-color: #b45309; background: #2a160b; }
.source-card h3 { margin: 0 0 8px; }
.source-card p { margin: 8px 0; }
.media-credit { color: var(--muted); font-size: .9rem; margin-top: 10px; }

.gallery-section { margin-top: 24px; }
.gallery-section h2 { margin-bottom: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery-card { overflow: hidden; margin: 0; }
.gallery-card img { display: block; width: 100%; height: 330px; object-fit: cover; background: #190e0e; }
.gallery-card figcaption { padding: 10px 12px; color: var(--muted); font-size: .88rem; }

@media (max-width: 900px) {
    .daily { grid-template-columns: 1fr 1fr; }
    .filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .wrap { padding-top: 10px; }
    .brand {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
        min-height: 0;
        padding: 13px 14px;
        border-radius: 16px;
    }
    .brand-main { gap: 12px; }
    .brand-mark { width: 52px; height: 52px; flex-basis: 52px; }
    .brand-mark::before { inset: 9px; }
    .brand-title { font-size: clamp(25px, 8.3vw, 34px); white-space: normal; }
    .brand-tagline { font-size: .9rem; }
    .brand-actions { width: 100%; justify-content: stretch; }
    .brand-actions .button, .brand-actions button { flex: 1 1 135px; text-align: center; }
    .grid, .daily, .filters, .gallery-grid { grid-template-columns: 1fr; }
    .card img { height: 220px; }
    .gallery-card img { height: auto; max-height: 520px; }
    .radar-head { align-items: stretch; flex-direction: column; }
    .hero { padding: 27px 22px; }
    .section-title { align-items: flex-start; flex-direction: column; }
}


.event-line{margin:10px 0 2px;color:#f4d7d7;font-weight:750;font-size:.94rem}.badge.event{background:#9f3131;border-color:#d45858}.event-card{margin:22px 0;padding:18px;border:1px solid #9f3131;border-radius:18px;background:linear-gradient(135deg,#301515,#241414)}.event-card h2{margin-top:0}.event-card p{margin:8px 0}.event-card .button{display:inline-block;margin-top:8px}.brand-mark{font-size:1.15rem;letter-spacing:.04em}.hero strong{white-space:normal}

.badge.source{background:#4a1f1f;border-color:#7f3030}.source-line{margin:10px 0 2px;color:#f0caca;font-weight:800;font-size:.92rem}.source-overview{margin:22px 0;padding:18px;border:1px solid #7f3030;border-radius:18px;background:linear-gradient(135deg,#301515,#241414)}.source-overview h2{margin-top:0}.source-overview p{margin:8px 0}.source-overview .button{display:inline-block;margin-top:8px}.filters{grid-template-columns:repeat(4,minmax(0,1fr))}.hero strong{white-space:normal}
