:root {
    --sch-bg: #f7f5f7;
    --sch-paper: #fff;
    --sch-soft: #fff6f8;
    --sch-text: #17213a;
    --sch-muted: #6f788d;
    --sch-line: #efd5dd;
    --sch-aqua: #d85f7d;
    --sch-aqua-dark: #aa3658;
    --sch-coral: #f04f72;
    --sch-lilac: #c45879;
    --sch-shadow: 0 4px 18px rgba(92,42,58,.05);
    --sch-width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--sch-bg); color: var(--sch-text); font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
.sch-container { width: min(calc(100% - 48px), var(--sch-width)); margin-inline: auto; }
.sch-site { min-height: 100vh; }
.sch-skip { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 9px 13px; border-radius: 8px; background: var(--sch-text); color: #fff; transform: translateY(-150%); }
.sch-skip:focus { transform: none; }

.sch-header { background: var(--sch-paper); }
.sch-header { border-bottom: 1px solid var(--sch-line); }
.sch-header__row { display: grid; grid-template-columns: auto 1fr auto; min-height: 64px; align-items: center; gap: 34px; }
.sch-logo { display: inline-flex; }
.sch-logo img { width: 142px; height: auto; }
.sch-nav { display: flex; justify-self: center; gap: 30px; align-self: stretch; font-size: 14px; font-weight: 600; }
.sch-nav > a { display: flex; height: 100%; align-items: center; padding: 3px 0 0; border-bottom: 3px solid transparent; transition: color .18s ease, border-color .18s ease; }
.sch-nav a:hover { color: var(--sch-coral); }
.sch-nav a[aria-current="page"] { border-color: var(--sch-coral); color: var(--sch-coral); }
.sch-search-button { display: grid; width: 36px; height: 36px; place-items: center; justify-self: end; border: 1px solid var(--sch-line); border-radius: 8px; background: var(--sch-soft); color: var(--sch-aqua-dark); }
.sch-search-button:hover { border-color: var(--sch-coral); color: var(--sch-coral); }
.sch-search-button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.sch-discuss { border-top: 1px solid #f2f2f5; background: #fff; }
.sch-discuss__row { display: flex; min-height: 38px; align-items: center; gap: 15px; overflow: hidden; color: var(--sch-muted); font-size: 12px; white-space: nowrap; }
.sch-discuss strong { color: var(--sch-coral); font-size: 12px; letter-spacing: .035em; text-transform: uppercase; }
.sch-discuss strong::before { margin-right: 7px; content: "●"; }

.sch-main { padding: 16px 0 42px; }
.sch-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; }
.sch-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 1fr); align-items: start; gap: 18px; }
.sch-feed-card, .sch-sidebox, .sch-article-card, .sch-comments, .sch-service, .sch-static__body, .sch-search-box, .sch-search-result {
    border: 1px solid var(--sch-line);
    border-radius: 7px;
    background: var(--sch-paper);
    box-shadow: var(--sch-shadow);
}
.sch-feed-card { overflow: hidden; }
.sch-feed-head { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 18px; padding: 9px 16px; border-bottom: 1px solid var(--sch-line); background: linear-gradient(90deg, var(--sch-aqua), var(--sch-coral)); color: #fff; }
.sch-feed-head h1 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.sch-feed-head h1 span { color: var(--sch-aqua-dark); }
.sch-feed-head small { flex: 0 0 auto; color: var(--sch-muted); font-size: 11px; }
.sch-feed { padding: 0; }
.sch-feed-item { display: grid; grid-template-columns: 146px minmax(0, 1fr); gap: 15px; min-height: 105px; padding: 10px 12px; border-bottom: 1px solid var(--sch-line); }
.sch-feed-item:last-child { border-bottom: 0; }
.sch-feed-item--no-image { grid-template-columns: 1fr; min-height: 0; padding: 16px; }
.sch-feed-item--no-image .sch-feed-copy { max-width: 760px; }
.sch-feed-item--no-image.sch-feed-item--episode .sch-episode-label { position: static; align-self: flex-start; margin-bottom: 8px; }
.sch-feed-thumb { position: relative; height: 82px; overflow: hidden; border-radius: 3px; background: var(--sch-soft); }
.sch-feed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.sch-feed-item:hover .sch-feed-thumb img { transform: scale(1.025); }
.sch-feed-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.sch-feed-copy h2 { margin: 0 0 5px; font-size: 15px; font-weight: 700; letter-spacing: -.012em; line-height: 1.25; }
.sch-feed-copy h2 a:hover { color: var(--sch-coral); }
.sch-feed-copy p { display: -webkit-box; margin: 0 0 8px; overflow: hidden; color: var(--sch-muted); font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sch-episode-label { position: static; z-index: 3; display: inline-flex; align-self: flex-start; margin: 0 0 5px; padding: 3px 7px; border-radius: 3px; background: var(--sch-coral); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sch-feed-item--episode { position: relative; }
.sch-meta { display: flex; flex-wrap: wrap; gap: 14px; color: #8b969c; font-size: 11px; }
.sch-meta span, .sch-meta time { display: inline-flex; align-items: center; gap: 5px; }
.sch-meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.sch-play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: rgba(240,79,114,.9); color: #fff; box-shadow: 0 5px 16px rgba(23,33,58,.18); transform: translate(-50%,-50%); }
.sch-play svg { width: 15px; fill: currentColor; }
.sch-player-fallback { background: radial-gradient(circle at 70% 20%, rgba(255,111,97,.55), transparent 28%), linear-gradient(135deg, #352d58, #171822 68%, #5a3154); }
.sch-player-fallback::after { position: absolute; right: -12%; bottom: -55%; width: 70%; height: 120%; border-radius: 50%; background: rgba(255,255,255,.07); content: ""; }

.sch-sidebar { display: grid; gap: 18px; }
.sch-sidebar--blank { align-self: stretch; border: 1px solid var(--sch-line); border-radius: 7px; background: linear-gradient(180deg, var(--sch-soft), var(--sch-paper) 44%); }
.sch-feed:empty::before { display: block; padding: 34px 20px; color: var(--sch-muted); font-size: 13px; text-align: center; content: "Публикации появятся здесь после добавления материалов"; }
.sch-sidebox { overflow: hidden; }
.sch-sidebox__head { display: flex; min-height: 48px; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--sch-line); background: var(--sch-soft); }
.sch-sidebox__head h2 { margin: 0; color: var(--sch-aqua-dark); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.sch-popular { padding: 0 14px; counter-reset: popular; }
.sch-popular-item { position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; min-height: 88px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--sch-line); counter-increment: popular; }
.sch-popular-item:last-child { border-bottom: 0; }
.sch-popular-item::before { position: absolute; z-index: 2; top: 6px; left: -6px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--sch-coral); color: #fff; font-size: 12px; font-weight: 700; content: counter(popular); }
.sch-popular-thumb { display: block; width: 82px; height: 62px; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg, #ffd8dc, #dceff0); }
.sch-popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sch-popular-copy { min-width: 0; }
.sch-popular-item strong { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.sch-popular-item small, .sch-series-mini small { display: block; margin-top: 5px; color: var(--sch-muted); font-size: 10px; }
.sch-popular-item:hover strong { color: var(--sch-coral); }
.sch-side-note { padding: 19px; border-radius: 10px; background: var(--sch-soft); }
.sch-side-note strong { display: block; margin-bottom: 6px; color: var(--sch-aqua-dark); font-size: 15px; }
.sch-side-note p { margin: 0; color: var(--sch-muted); font-size: 12px; }
.sch-series-mini-list { padding: 6px 17px; }
.sch-series-mini { display: grid; grid-template-columns: 47px 1fr; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sch-line); }
.sch-series-mini:last-child { border-bottom: 0; }
.sch-series-mini__icon { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #b8abed, #6554bd); color: #fff; }
.sch-series-mini__icon svg { width: 18px; fill: currentColor; }
.sch-series-mini strong { display: block; font-size: 13px; line-height: 1.3; }

.sch-seo-copy { margin-top: 22px; padding: 23px 25px; border: 1px solid var(--sch-line); border-radius: 8px; background: rgba(255,255,255,.74); }
.sch-seo-copy h2 { margin: 0 0 8px; font-size: 19px; }
.sch-seo-copy p { margin: 0 0 10px; color: var(--sch-muted); font-size: 13px; }
.sch-seo-copy p:last-child { margin-bottom: 0; }
.sch-seo-copy em { color: var(--sch-text); font-style: normal; font-weight: 700; }
.sch-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; color: var(--sch-muted); font-size: 12px; }
.sch-breadcrumbs a { color: var(--sch-aqua-dark); }
.sch-breadcrumbs > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sch-layout--full { grid-template-columns: minmax(0, 760px) minmax(260px, 1fr); }
.sch-article-card { overflow: hidden; }
.sch-article-head { padding: 25px 28px 20px; border-bottom: 1px solid var(--sch-line); }
.sch-article-head h1 { max-width: 790px; margin: 0 0 12px; font-size: 31px; font-weight: 700; letter-spacing: -.035em; line-height: 1.17; }
.sch-article-head .sch-episode-label { position: static; margin-bottom: 9px; }
.sch-meta--full { gap: 16px; font-size: 12px; }
.sch-article-body { padding: 24px 28px 30px; }
.sch-cover { margin: 0 0 24px; overflow: hidden; border-radius: 13px; background: var(--sch-soft); }
.sch-cover img { width: 100%; max-height: 720px; object-fit: cover; }
.sch-article-text { font-size: 16px; line-height: 1.72; }
.sch-article-text > :first-child { margin-top: 0; }
.sch-article-text > :last-child { margin-bottom: 0; }
.sch-article-text p { margin: 0 0 17px; }
.sch-article-text h2 { margin: 28px 0 11px; font-size: 23px; line-height: 1.25; }
.sch-article-text h3 { margin: 23px 0 9px; font-size: 19px; }
.sch-article-text a { color: var(--sch-aqua-dark); text-decoration: underline; text-underline-offset: 3px; }
.sch-article-text img { height: auto; margin: 20px auto; border-radius: 12px; }
.sch-article-text blockquote { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--sch-coral); border-radius: 0 10px 10px 0; background: #fff5f3; font-size: 17px; }
.sch-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; color: var(--sch-muted); font-size: 12px; }
.sch-tags a { padding: 4px 8px; border-radius: 7px; background: var(--sch-soft); }
.sch-related { margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--sch-line); }
.sch-related h2 { margin: 0 0 12px; font-size: 22px; }
.sch-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.sch-related-item { padding: 14px; border-radius: 10px; background: var(--sch-soft); font-size: 13px; font-weight: 700; line-height: 1.35; }
.sch-related-item:hover { color: var(--sch-aqua-dark); }

.sch-player-shell { margin-bottom: 23px; overflow: hidden; border-radius: 13px; background: #111820; }
.sch-video-object, .sch-player, .sch-player-empty { position: relative; aspect-ratio: 16 / 9; }
.sch-player iframe, .sch-player video, .sch-video-object iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sch-player-poster { position: absolute; inset: 0; width: 100%; overflow: hidden; border: 0; background: #111820; color: #fff; cursor: pointer; }
.sch-player-poster::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.54)); content: ""; }
.sch-player-poster img, .sch-player-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sch-player-poster__play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 72px; height: 72px; place-items: center; border-radius: 50%; background: var(--sch-coral); color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.34); transform: translate(-50%,-50%); }
.sch-player-poster__play svg { width: 28px; fill: currentColor; }
.sch-player-poster__text { position: absolute; z-index: 2; right: 24px; bottom: 20px; left: 24px; font-size: 13px; font-weight: 700; text-align: left; }
.sch-player-empty { display: grid; place-items: center; color: #fff; }
.sch-player-empty .sch-player-fallback { position: absolute; }
.sch-player-empty strong { position: relative; z-index: 2; padding: 8px 12px; border-radius: 8px; background: rgba(0,0,0,.55); font-size: 13px; }
.sch-player--tabs { padding-top: 48px; aspect-ratio: auto; }
.sch-tabs { position: absolute; z-index: 3; top: 0; right: 0; left: 0; display: flex; gap: 5px; padding: 7px; overflow-x: auto; background: #20272d; }
.sch-tabs button { flex: 0 0 auto; padding: 7px 12px; border: 0; border-radius: 7px; background: transparent; color: #c8cfd2; cursor: pointer; }
.sch-tabs button.is-active { background: var(--sch-coral); color: #fff; }
.sch-tab-panel { position: relative; aspect-ratio: 16 / 9; }
.sch-tab-panel iframe, .sch-tab-panel video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sch-comments { margin-top: 22px; padding: 23px 28px 28px; }
.sch-comments h2 { margin: 0 0 15px; font-size: 21px; }
.sch-vk-slot { display: flex; min-height: 118px; align-items: center; justify-content: center; gap: 9px; padding: 22px; border-radius: 11px; background: var(--sch-soft); color: var(--sch-muted); text-align: center; }
.sch-vk-slot svg { width: 20px; fill: none; stroke: currentColor; stroke-linejoin: round; stroke-width: 1.5; }

.sch-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 20px 22px 23px; border-top: 1px solid var(--sch-line); }
.sch-pagination a, .sch-pagination span { display: grid; min-width: 38px; height: 38px; padding: 0 9px; place-items: center; border: 1px solid var(--sch-line); border-radius: 9px; background: var(--sch-paper); font-size: 13px; }
.sch-pagination span { border-color: var(--sch-aqua-dark); background: var(--sch-aqua-dark); color: #fff; }

.sch-static { max-width: 920px; margin: 0 auto; }
.sch-static .sch-page-head { margin-bottom: 14px; }
.sch-static .sch-page-head h1, .sch-search-page h1, .sch-service h1 { margin: 0; font-size: 30px; }
.sch-static__body, .sch-service { padding: 28px; }
.sch-static__body h2 { margin-top: 28px; font-size: 22px; }
.sch-static__body p, .sch-static__body li { line-height: 1.7; }
.sch-service { max-width: 950px; margin: 0 auto; }
.sch-search-page { max-width: 900px; margin: 0 auto; }
.sch-search-page .sch-page-head { margin-bottom: 16px; }
.sch-search-page .sch-page-head p { color: var(--sch-muted); }
.sch-search-box { padding: 20px; }
.sch-search-row { display: flex; gap: 9px; }
.sch-search-row input, .sch-service input, .sch-service textarea, .sch-service select { width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid var(--sch-line); border-radius: 9px; background: #fff; color: var(--sch-text); }
.sch-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 18px; border: 0; border-radius: 9px; background: var(--sch-aqua-dark); color: #fff; cursor: pointer; }
.sch-search-result { margin-top: 14px; padding: 20px; }
.sch-search-result h2 { margin: 5px 0; font-size: 20px; }
.sch-search-result p { margin: 0; color: var(--sch-muted); }
.sch-info { margin: 14px 0; padding: 14px 16px; border-left: 4px solid var(--sch-aqua); background: var(--sch-soft); }
.sch-empty { max-width: 660px; margin: 45px auto; text-align: center; }
.sch-empty__code { display: block; color: var(--sch-coral); font-size: 90px; font-weight: 700; line-height: 1; }
.sch-empty h1 { margin: 8px 0; }
.sch-empty p { margin: 0 0 20px; color: var(--sch-muted); }
.sch-profile__head, .sch-pm-thread article header { display: flex; align-items: center; gap: 15px; }
.sch-profile__head img { border-radius: 15px; }
.sch-profile__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.sch-form-stack { display: grid; gap: 13px; }

.sch-footer { padding: 22px 0; border-top: 1px solid var(--sch-line); background: var(--sch-paper); }
.sch-footer__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.sch-footer__brand img { width: 145px; height: auto; }
.sch-footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 17px; color: var(--sch-muted); font-size: 11px; }
.sch-footer__nav a:hover { color: var(--sch-aqua-dark); }
.sch-footer__copy { color: var(--sch-muted); font-size: 11px; white-space: nowrap; }

@media (max-width: 820px) {
    .sch-container { width: min(calc(100% - 36px), var(--sch-width)); }
    .sch-header__row { grid-template-columns: 1fr 40px; min-height: 68px; gap: 10px; padding-top: 12px; padding-bottom: 10px; }
    .sch-logo { grid-column: 1; grid-row: 1; }
    .sch-logo img { width: 160px; height: auto; }
    .sch-search-button { grid-column: 2; grid-row: 1; }
    .sch-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-self: stretch; }
    .sch-nav > a { flex: 1; justify-content: center; padding: 9px 6px; text-align: center; }
    .sch-layout, .sch-layout--full { grid-template-columns: 1fr; }
    .sch-sidebar { grid-template-columns: 1fr; }
    .sch-sidebar--blank { display: none; }
    .sch-layout--full .sch-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .sch-container { width: min(calc(100% - 26px), var(--sch-width)); }
    .sch-discuss { display: none; }
    .sch-main { padding-top: 15px; }
    .sch-feed-card, .sch-sidebox, .sch-article-card, .sch-comments { border-radius: 12px; }
    .sch-feed-head { min-height: 52px; padding: 10px 15px; }
    .sch-feed-head h1 { font-size: 19px; }
    .sch-feed-head small { display: none; }
    .sch-feed { padding: 0; }
    .sch-feed-item { grid-template-columns: 118px minmax(0, 1fr); gap: 13px; min-height: 120px; padding: 12px; }
    .sch-feed-item--no-image { grid-template-columns: 1fr; min-height: 0; padding: 16px 15px; }
    .sch-feed-thumb { min-height: 90px; }
    .sch-feed-copy h2 { font-size: 16px; }
    .sch-feed-copy p { display: none; }
    .sch-sidebar, .sch-layout--full .sch-sidebar { grid-template-columns: 1fr; }
    .sch-article-head { padding: 20px 18px 17px; }
    .sch-article-head h1 { font-size: 25px; }
    .sch-article-body { padding: 18px; }
    .sch-article-text { font-size: 15px; }
    .sch-related-grid { grid-template-columns: 1fr; }
    .sch-comments { padding: 20px 18px 23px; }
    .sch-player-poster__play { width: 62px; height: 62px; }
    .sch-footer__row { grid-template-columns: 1fr auto; align-items: start; }
    .sch-footer__nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
    .sch-profile__facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
