/* ==========================================================================
   FASOOLLKA — страница для рекламодателей (mediakit.php, с 10.10.2026)
   Основа — stats.css (шапка .statp__*, плитки .sttile, блоки .stbox, полоски .cats, кнопка ▶ .top10__go);
   здесь: 1. Кнопки и подписи  2. Когда и где  3. Прошлые рекламные стримы  4. Форматы  5. Почта
   6. Телефон  7. Печать («Сохранить в PDF»)
   Классы — mk*, а не ad* / ads*: такие прячут блокировщики рекламы.
   ========================================================================== */

/* ---------- 1. Кнопки под заголовком, подписи ---------- */
.mk__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.mk__actions .ico { font-size: 18px; }
.mk__note { margin-top: 10px; font-size: 13px; color: var(--text-faint); }
.mk__note a { color: var(--link); }
.mk__note a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mk__note--center { margin-top: 14px; text-align: center; }
.mk__title { margin-bottom: 12px; }
/* подписи прямо на фоне — с тенью, как заголовок «Рекорды» */
:root[data-theme="hell"] .mk__title, :root[data-theme="hell"] .mk__note--center { text-shadow: 0 1px 2px #000, 0 0 14px #000; }
:root[data-theme="heaven"] .mk__title, :root[data-theme="heaven"] .mk__note--center { text-shadow: 0 0 10px #fff; }
.mk__games { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--text-soft); }
.mk__games span { color: var(--text-faint); }

/* ---------- 2. Когда и где ---------- */
.mk__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.mk__facts > div {
    display: flex;
    flex-direction: column-reverse;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--ghost-bg);
}
.mk__facts dt { font-size: 12px; color: var(--text-faint); }
.mk__facts dd { font-weight: 600; }
.mk__h { margin: 16px 0 8px; font-size: 13px; font-weight: 600; color: var(--text-faint); }
.mk__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mkchip {
    --brand: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px 0 5px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--ghost-bg);
    font-size: 14px;
    font-weight: 600;
    transition: border-color .2s ease, transform .3s var(--ease-out), box-shadow .3s ease;
}
.mkchip:hover, .mkchip:focus-visible { border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 22px -12px var(--brand); }
/* кружок со значком: цвет площадки — из .linkcard__icon (base.css) */
.mkchip__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 15px; }
.mkchip__icon.linkcard__icon--wtv, .mkchip__icon.linkcard__icon--kick { color: #111; }
.mkchip__name small { font-size: 12px; font-weight: 500; color: var(--text-faint); }

/* ---------- 3. Прошлые рекламные стримы ---------- */
.mkads { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mkads__i {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 8px;
    border-radius: 10px;
    transition: background .2s ease;
}
.mkads__i:hover { background: var(--chip-bg); }
/* дата: число крупно, под ним «июн 2026» */
.mkads__d { display: flex; flex-direction: column; align-items: center; line-height: 1.1; text-align: center; }
.mkads__d b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mkads__d small { font-size: 11.5px; color: var(--text-faint); white-space: nowrap; }
.mkads__body { min-width: 0; }
.mkads__t { font-size: 15px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkads__t a:hover { color: var(--accent-hot); text-decoration: underline; text-underline-offset: 3px; }
.mkads__m { font-size: 12.5px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkads__v { text-align: right; font-size: 12.5px; line-height: 1.25; color: var(--text-faint); white-space: nowrap; }
.mkads__v b { font-size: 16px; color: var(--text); font-variant-numeric: tabular-nums; }
.mkads__v small { display: block; font-size: 12px; }

/* ---------- 4. Форматы ---------- */
.mkfmt { margin-bottom: clamp(16px, 2.6vh, 24px); }
.mkfmt__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.mkfmt__i { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.mkfmt__ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 4px;
    border-radius: 12px;
    color: var(--btn-text);
    background: var(--btn-bg);
    box-shadow: var(--btn-glow);
    font-size: 20px;
}
:root[data-theme="heaven"] .mkfmt__ico { border-radius: 50%; }
.mkfmt__name { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.15; }
.mkfmt__text { font-size: 14px; color: var(--text-soft); }
.mkfmt__ex { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--text-soft); }
.mkfmt__ex span { color: var(--text-faint); }

/* ---------- 5. Почта ---------- */
.mkmail { text-align: center; padding-block: clamp(22px, 3.4vh, 34px); }
.mkmail__lead { max-width: 52ch; margin: 6px auto 12px; color: var(--text-soft); }
.mkmail__addr {
    display: inline-block;
    font-family: var(--ui);
    font-weight: 600;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.3;
    color: var(--text);
    border-bottom: 2px solid var(--accent);
    overflow-wrap: anywhere;
    transition: color .2s ease;
}
.mkmail__addr:hover, .mkmail__addr:focus-visible { color: var(--accent-hot); }

/* ---------- 6. Средние экраны и телефон ---------- */
@media (max-width: 1000px) {
    .mkfmt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .mkfmt__grid, .mk__facts { grid-template-columns: 1fr; }
    .mkads__i {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-areas: "d b go" "d v go";
        row-gap: 2px;
        padding: 8px 4px;
    }
    .mkads__d { grid-area: d; }
    .mkads__body { grid-area: b; }
    .mkads__v { grid-area: v; text-align: left; }
    .mkads__v b { font-size: 14px; }
    .mkads__v small { display: inline; margin-left: 6px; }
    .mkads__i .top10__go { grid-area: go; }
}

/* ---------- 7. Печать: «Сохранить в PDF» ----------
   Светлый лист в обоих мирах: без фона, эффектов и кнопок, блоки не рвутся между страницами. */
@media print {
    @page { margin: 12mm; }
    :root[data-theme] {
        --text: #1d1626;
        --text-soft: #443d52;
        --text-faint: #6d6780;
        --panel-bg: #fff;
        --panel-border: #ddd5c6;
        --panel-shadow: none;
        --line: #e3dccd;
        --ghost-bg: #faf8f3;
        --chip-bg: transparent;
        --surface: #fff;
        --ch-grid: #ece6da;
    }
    :root[data-theme="hell"] { --ch-mark: #c0172b; --link: #a0101f; --accent: #c0172b; }
    html, body { background: #fff !important; }
    * { -webkit-print-color-adjust: exact; print-color-adjust: exact; text-shadow: none !important; }
    .scene, .front-canvas, .flash, .toast, .subhead, .realm, .mk__actions, .top10__go, #monMetric, .vp { display: none !important; }
    .statp { width: 100%; padding: 0; }
    .statp__title { color: #1d1626 !important; font-size: 44px; }
    .statp__kicker { color: #6d6780 !important; }
    .sttile, .panel { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; }
    .sttile::after, .panel::before, .panel::after { display: none !important; }
    .sttile, .stbox, .mkads__i, .mkfmt__i { break-inside: avoid; }
    .sttiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .sttile { padding: 10px 12px; }
    .sttile__v { font-size: 24px; }
    .chart__scroll { overflow: visible; }
    .chart__scroll .chart { min-width: 0; }
    .mkfmt__ico { box-shadow: none; }
    .mkmail__addr { border-bottom-color: currentColor; }
    a { color: inherit; }
}
