:root {
    --paper: #0b1017;
    --surface: #131c27;
    --ink: #e8edf5;
    --muted: #8997aa;
    --line: #263140;
    --accent: #66d8ef;
    --soft: #15212d;
    --display: "Segoe UI", Arial, sans-serif;
}
.container {
    width: min(1320px, calc(100% - 96px));
}
.top-note {
    font-family: Consolas, monospace;
    color: #7192a4;
}
.site-header {
    min-height: 100px;
}
.site-brand {
    font-size: 36px;
    font-weight: 750;
    letter-spacing: -2px;
}
.site-brand small {
    font-family: Consolas, monospace;
    font-size: 8px;
    letter-spacing: 1px;
}
.main-nav a:last-child {
    color: var(--accent);
}
.header-search button {
    color: var(--accent);
}
.kicker {
    font-family: Consolas, monospace;
    color: var(--accent);
    font-weight: 400;
}
.signal-hero {
    padding-block: 30px 0;
}
.signal-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.live-dot {
    display: inline-block;
    background: #64d4ec;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 8px;
}
.signal-edition {
    color: #66778c;
    font: 9px Consolas, monospace;
    letter-spacing: 1px;
}
.signal-title {
    display: grid;
    grid-template-columns: 1.5fr 0.6fr;
    gap: 45px;
    align-items: end;
    padding-block: 35px 40px;
}
.signal-title h1 {
    font-size: clamp(48px, 5.6vw, 82px);
    line-height: 1.02;
    font-weight: 650;
    letter-spacing: -4px;
}
.signal-title h1 em {
    color: #63d5ee;
    font-style: normal;
    font-weight: 400;
}
.signal-title p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
    max-width: 290px;
}
.signal-title p a {
    display: block;
    margin-top: 23px;
    color: var(--accent);
}
.signal-picture {
    border: 1px solid #233444;
    position: relative;
    background: #0d1725;
}
.signal-picture img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
}
.signal-picture figcaption {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid #213444;
    color: #8299ae;
    font: 9px Consolas, monospace;
}
.section-title h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -1px;
}
.title-number {
    font: 13px Consolas, monospace;
    color: #66d8ef;
    margin-right: 20px;
}
.home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-grid .lead-story {
    grid-column: span 2;
    grid-row: span 2;
}
.home-grid .lead-story h3 {
    font-size: 31px;
}
.home-grid .story-card:not(.lead-story) {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 0.65fr 1fr;
    align-items: start;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
}
.home-grid .story-card:not(.lead-story) h3 {
    font-size: 18px;
    letter-spacing: -0.4px;
}
.home-grid .story-card:not(.lead-story) .story-copy > p {
    display: none;
}
.home-grid .story-card:not(.lead-story) .story-meta {
    margin-top: 0;
    font-size: 8px;
}
.story-card h3 {
    font-size: 23px;
    font-weight: 550;
    line-height: 1.3;
}
.story-image img {
    filter: saturate(0.85);
}
.story-tags a {
    border: 1px solid #2c4050;
    background: transparent;
    color: #78a5b8;
    font-family: Consolas, monospace;
    padding: 3px 6px;
}
.signal-popular {
    background: #101a24;
    border-block: 1px solid var(--line);
    padding-block: 45px;
}
.popular-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
.rank-story {
    display: block;
    padding: 25px 0 0;
}
.rank {
    font: 40px Consolas, monospace;
    color: #2c586d;
}
.rank-story h3 {
    font-size: 19px;
    margin-top: 18px;
}
.rank-story > span:last-child {
    display: block;
    text-align: right;
    color: var(--accent);
    margin-top: 20px;
}
.tag-block .home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tag-block .home-grid .story-card {
    display: block;
    grid-column: auto;
}
.tag-block .home-grid .story-meta {
    margin-top: 15px;
}
.full-article h1, .list-heading h1 {
    font-weight: 600;
    letter-spacing: -2px;
}
.prose {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.95;
    color: #bfc9d7;
}
.prose h2 {
    font-weight: 550;
    font-size: 29px;
    color: var(--ink);
}
.tag-sidebar {
    border-top-color: #62cde6;
}
.tag-sidebar h2 {
    font-size: 21px;
    font-weight: 500;
}
.site-footer {
    background: #080d13;
}
.footer-brand > a {
    font-weight: 650;
}
.cookie-actions button:first-child {
    background: var(--accent);
    color: #101b24;
}
.pagination [aria-current] {
    background: var(--accent);
    color: #101b24;
}
.error-code {
    color: var(--accent);
}
@media (max-width: 900px) {
    .signal-title {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .signal-title p {
        max-width: 500px;
    }
    .popular-list {
        grid-template-columns: 1fr;
    }
    .rank-story {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .rank-story h3, .rank-story > span:last-child {
        margin-top: 0;
    }
}
@media (max-width: 760px) {
    .container {
        width: calc(100% - 40px);
    }
    .signal-title h1 {
        font-size: 52px;
        letter-spacing: -2.5px;
    }
    .signal-edition {
        display: none;
    }
    .home-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    .home-grid .lead-story, .home-grid .story-card:not(.lead-story) {
        grid-column: auto;
        grid-row: auto;
    }
    .home-grid .story-card:not(.lead-story) {
        grid-template-columns: 0.8fr 1fr;
    }
    .signal-picture figcaption {
        gap: 20px;
        font-size: 7px;
    }
    .tag-block .home-grid {
        grid-template-columns: 1fr;
    }
}

/* Акценты и редакционные страницы МатчПульс. */
:root { --accent: #c8f04b; }
.kicker, .signal-title h1 em, .title-number, .main-nav a:last-child, .header-search button,
.rank-story > span:last-child, .error-code { color: #c8f04b; }
.live-dot { background: #c8f04b; }
.signal-picture { border-color: #34432a; }
.site-footer { background: #080d0a; }
.responsible-note { border-top: 1px solid var(--line); padding-block: 35px 55px; }
.responsible-note p { max-width: 760px; font-size: 19px; line-height: 1.6; margin: 14px 0; }
.responsible-note a { color: var(--accent); font-size: 12px; }
.editorial-page { padding-block: 55px 80px; }
.editorial-page h1 { max-width: 900px; font-size: clamp(42px, 6vw, 78px); line-height: 1.05; letter-spacing: -3px; margin: 24px 0; }
.editorial-lead { max-width: 760px; font-size: 21px; line-height: 1.65; color: var(--muted); margin-bottom: 45px; }
.editorial-page .prose { max-width: 760px; }
@media (max-width: 760px) {
    .editorial-page { padding-block: 35px 55px; }
    .editorial-page h1 { letter-spacing: -1.5px; }
    .editorial-lead { font-size: 17px; }
    .responsible-note p { font-size: 16px; }
}
