

/* Start:/local/components/china/feed/templates/.default/style.css?177662257330242*/
/* ================================================================
   China-RU · Социальная сеть (/social/)
   Phase 1 · Web 3.0 редизайн — feed / post / profile / create
   ================================================================ */

:root {
    --s-brand: #c62828;
    --s-brand-light: #e53935;
    --s-brand-dark: #8e1f1f;
    --s-ink: #0f1419;
    --s-ink-2: #1a1f2e;
    --s-ink-3: #2a3142;
    --s-text: #1a1f2e;
    --s-text-muted: #5f6b7c;
    --s-text-dim: #8a94a6;
    --s-border: #e6eaf0;
    --s-border-soft: #eef1f5;
    --s-bg: #ffffff;
    --s-bg-soft: #f6f8fb;
    --s-shadow-sm: 0 2px 8px rgba(15, 20, 25, 0.04);
    --s-shadow-md: 0 8px 24px rgba(15, 20, 25, 0.08);
    --s-shadow-lg: 0 20px 48px rgba(15, 20, 25, 0.14);
    --s-radius-sm: 8px;
    --s-radius: 14px;
    --s-radius-lg: 22px;
    --s-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --s-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --s-verified: #1da1f2;
}

.feed-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 0 64px;
    font-family: var(--s-font);
    color: var(--s-text);
}

/* ================================================================
   1. HERO-БАННЕР
   ================================================================ */

.feed-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--s-radius-lg);
    padding: 40px 56px 44px;
    margin-bottom: 28px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 22px;
    background-color: var(--s-ink);
    background-image:
        linear-gradient(135deg, rgba(15, 20, 25, .85) 0%, rgba(26, 31, 46, .72) 55%, rgba(42, 49, 66, .55) 100%),
        url('/upload/social/social-banner.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    isolation: isolate;
}
.feed-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% -10%, rgba(198, 40, 40, .3) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.feed-hero__content { position: relative; z-index: 1; max-width: 760px; }
.feed-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 14px;
}
.feed-hero__eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--s-brand-light);
}
.feed-hero__title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -.025em;
    line-height: 1.05;
    color: #fff;
}
.feed-hero__text p {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .82);
    max-width: 680px;
}
.feed-hero__text p:last-child {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}
.feed-hero__stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.feed-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--s-radius);
}
.feed-hero__stat-value {
    font-family: var(--s-mono);
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    letter-spacing: -.02em;
}
.feed-hero__stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .55);
    font-weight: 600;
}

/* ================================================================
   2. LAYOUT: 3 колонки
   ================================================================ */

.feed-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}
.feed-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.feed-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* --- Категории (левый sidebar) --- */
.feed-nav-card {
    background: #fff;
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    padding: 8px;
    box-shadow: var(--s-shadow-sm);
}
.feed-nav-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--s-text-dim);
    padding: 12px 14px 8px;
}
.feed-categories {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.feed-categories__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--s-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: all .15s;
}
.feed-categories__item:hover {
    background: var(--s-bg-soft);
}
.feed-categories__item--active {
    background: var(--s-ink);
    color: #fff;
}
.feed-categories__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.feed-categories__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0,0,0,.06);
}

/* --- Правый sidebar: виджеты --- */
.feed-widget {
    background: #fff;
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    padding: 18px 20px;
    box-shadow: var(--s-shadow-sm);
}
.feed-widget__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--s-text-dim);
    margin: 0 0 14px;
}
.feed-blogger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border-radius: 10px;
    color: var(--s-text);
    text-decoration: none;
    transition: background .15s;
}
.feed-blogger:hover { background: var(--s-bg-soft); }
.feed-blogger__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    background: linear-gradient(135deg, var(--s-ink) 0%, var(--s-ink-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
}
.feed-blogger__info { min-width: 0; flex-grow: 1; }
.feed-blogger__name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--s-ink);
    display: flex;
    align-items: center;
    gap: 4px;
}
.feed-blogger__meta {
    font-size: 12px;
    color: var(--s-text-dim);
    font-family: var(--s-mono);
    font-weight: 500;
}
.feed-verified {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.feed-verified--sm { width: 12px; height: 12px; }

/* ================================================================
   3. COMPOSER (CTA в ленте)
   ================================================================ */

.feed-composer {
    background: #fff;
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    padding: 16px 20px;
    box-shadow: var(--s-shadow-sm);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color .2s, box-shadow .2s;
}
.feed-composer:hover {
    border-color: var(--s-brand);
    box-shadow: var(--s-shadow-md);
}
.feed-composer__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--s-ink) 0%, var(--s-ink-2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    overflow: hidden;
    object-fit: cover;
}
.feed-composer__input {
    flex-grow: 1;
    padding: 12px 18px;
    background: var(--s-bg-soft);
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    color: var(--s-text);
    cursor: pointer;
    text-align: left;
    transition: all .2s;
}
.feed-composer__input:hover {
    background: #fff;
    border-color: var(--s-border);
}
.feed-composer__input::placeholder { color: var(--s-text-dim); }
.feed-composer__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--s-brand);
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -.01em;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
.feed-composer__btn:hover {
    background: var(--s-brand-dark);
    transform: translateY(-1px);
}
.feed-composer__guest {
    flex-grow: 1;
    font-size: 14px;
    color: var(--s-text-muted);
}
.feed-composer__guest a {
    color: var(--s-brand);
    font-weight: 700;
    text-decoration: none;
}
.feed-composer__guest a:hover { text-decoration: underline; }

/* ================================================================
   4. КАРТОЧКА ПОСТА
   ================================================================ */

.feed-card {
    background: #fff;
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    overflow: hidden;
    box-shadow: var(--s-shadow-sm);
    transition: border-color .2s, box-shadow .25s;
}
.feed-card:hover {
    border-color: var(--s-border);
    box-shadow: var(--s-shadow-md);
}
.feed-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    gap: 12px;
}
.feed-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.feed-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--s-ink) 0%, var(--s-ink-2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    overflow: hidden;
    object-fit: cover;
}
.feed-card__author-info { min-width: 0; }
.feed-card__author-name {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--s-ink);
    line-height: 1.2;
}
.feed-card__date {
    font-size: 12px;
    color: var(--s-text-dim);
    font-family: var(--s-mono);
    font-weight: 500;
}
.feed-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    background: var(--s-bg-soft);
    border: 1px solid var(--s-border-soft);
    flex-shrink: 0;
}
.feed-card__tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.feed-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 4px 20px 16px;
}
.feed-card__cover {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 0 -20px 16px;
    overflow: hidden;
    background: var(--s-bg-soft);
}
.feed-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.feed-card:hover .feed-card__cover img {
    transform: scale(1.03);
}
.feed-card__title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 8px;
    line-height: 1.25;
    color: var(--s-ink);
    transition: color .15s;
}
.feed-card__link:hover .feed-card__title { color: var(--s-brand); }
.feed-card__preview {
    margin: 0;
    font-size: 15px;
    color: var(--s-text-muted);
    line-height: 1.55;
}
.feed-card__footer {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px 12px;
    border-top: 1px solid var(--s-border-soft);
    margin-top: 0;
}
.feed-card__footer > * + * { margin-left: 0; }
.feed-card__stat,
.feed-react {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--s-text-muted);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: all .15s;
}
.feed-card__stat:hover,
.feed-react:hover {
    background: var(--s-bg-soft);
    color: var(--s-ink);
}
.feed-react svg { transition: transform .2s; }
.feed-react:hover svg { transform: scale(1.15); }
.feed-react.is-active {
    color: var(--s-brand);
}
.feed-react.is-active svg {
    fill: var(--s-brand);
    stroke: var(--s-brand);
}
.feed-react.is-animating svg {
    animation: feed-pulse .4s cubic-bezier(.2, .7, .2, 1);
}
@keyframes feed-pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* ================================================================
   5. ПАГИНАЦИЯ / LOAD MORE
   ================================================================ */

.feed-pagination {
    display: flex;
    justify-content: center;
    padding: 12px 0;
}
.feed-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #fff;
    border: 1.5px solid var(--s-border);
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    color: var(--s-text);
    cursor: pointer;
    transition: all .2s;
    letter-spacing: -.01em;
}
.feed-load-more:hover {
    border-color: var(--s-brand);
    color: var(--s-brand);
}
.feed-load-more[disabled],
.feed-load-more.is-loading { opacity: .6; cursor: wait; }
.feed-load-more__spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(198, 40, 40, .25);
    border-top-color: var(--s-brand);
    border-radius: 50%;
    animation: feed-spin .7s linear infinite;
}
.feed-load-more.is-loading .feed-load-more__spinner { display: inline-block; }
@keyframes feed-spin {
    to { transform: rotate(360deg); }
}

.feed-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--s-bg-soft);
    border: 1.5px dashed var(--s-border);
    border-radius: var(--s-radius-lg);
    color: var(--s-text-muted);
}
.feed-empty p { font-size: 16px; margin: 0 0 18px; }

/* ================================================================
   6. ДЕТАЛЬНАЯ СТРАНИЦА ПОСТА (Medium-стиль)
   ================================================================ */

.feed-post {
    max-width: 780px;
    margin: 0 auto;
    padding: 24px 0 64px;
    font-family: var(--s-font);
    color: var(--s-text);
}
.feed-post__cover {
    position: relative;
    margin: 0 0 32px;
    border-radius: var(--s-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--s-ink) 0%, var(--s-ink-2) 100%);
}
.feed-post__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feed-post__header { margin-bottom: 28px; }
.feed-post__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--s-bg-soft);
    color: var(--s-brand);
    text-decoration: none;
    margin-bottom: 16px;
}
.feed-post__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 0 0 24px;
    color: var(--s-ink);
}
.feed-post__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--s-border-soft);
    border-bottom: 1px solid var(--s-border-soft);
}
.feed-post__author {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}
.feed-post__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--s-ink) 0%, var(--s-ink-2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    overflow: hidden;
    object-fit: cover;
}
.feed-post__author-info { min-width: 0; }
.feed-post__author-name {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 700;
    color: var(--s-ink);
    letter-spacing: -.01em;
}
.feed-post__date {
    font-size: 13px;
    color: var(--s-text-muted);
    font-family: var(--s-mono);
    font-weight: 500;
    margin-top: 2px;
}
.feed-post__actions {
    display: flex;
    gap: 6px;
}

/* --- Содержимое поста --- */
.feed-post__body {
    font-size: 18px;
    line-height: 1.7;
    color: #2a3142;
    margin-bottom: 36px;
}
.feed-post__body p { margin: 0 0 20px; }
.feed-post__body h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 36px 0 16px;
    color: var(--s-ink);
}
.feed-post__body h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.015em;
    margin: 28px 0 12px;
    color: var(--s-ink);
}
.feed-post__body a {
    color: var(--s-brand);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.feed-post__body blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 24px;
    border-left: 4px solid var(--s-brand);
    font-style: italic;
    color: var(--s-text-muted);
}
.feed-post__body ul,
.feed-post__body ol {
    margin: 0 0 20px;
    padding-left: 24px;
}
.feed-post__body li { margin-bottom: 8px; }
.feed-post__body img {
    max-width: 100%;
    border-radius: var(--s-radius);
    margin: 16px 0;
}
.feed-post__body code {
    background: var(--s-bg-soft);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--s-mono);
    font-size: .92em;
}

/* --- Bar действий --- */
.feed-post__actionbar {
    position: sticky;
    bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--s-border);
    border-radius: 999px;
    box-shadow: var(--s-shadow-lg);
    margin: 40px auto;
    width: fit-content;
    z-index: 10;
}
.feed-post__actionbar .feed-react,
.feed-post__actionbar .feed-card__stat {
    padding: 10px 18px;
    font-size: 14px;
}

/* ================================================================
   7. КОММЕНТАРИИ
   ================================================================ */

.feed-comments {
    border-top: 1px solid var(--s-border-soft);
    padding-top: 36px;
    margin-top: 36px;
}
.feed-comments__title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 24px;
}
.feed-comments__title span {
    color: var(--s-text-dim);
    font-weight: 700;
    font-family: var(--s-mono);
}
.feed-comment-form {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    padding: 16px;
    background: var(--s-bg-soft);
    border-radius: var(--s-radius);
}
.feed-comment-form__body { flex-grow: 1; }
.feed-comment-form textarea {
    width: 100%;
    min-height: 70px;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid var(--s-border);
    border-radius: var(--s-radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--s-text);
    resize: vertical;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.feed-comment-form textarea:focus {
    border-color: var(--s-brand);
    box-shadow: 0 0 0 4px rgba(198, 40, 40, .08);
}
.feed-comment-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.feed-comment-form button {
    padding: 10px 22px;
    background: var(--s-brand);
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.feed-comment-form button:hover {
    background: var(--s-brand-dark);
    transform: translateY(-1px);
}

.feed-comment {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.feed-comment__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--s-ink) 0%, var(--s-ink-2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    overflow: hidden;
    object-fit: cover;
}
.feed-comment__body {
    flex-grow: 1;
    min-width: 0;
    background: var(--s-bg-soft);
    padding: 12px 16px;
    border-radius: var(--s-radius);
}
.feed-comment__author {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}
.feed-comment__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--s-ink);
    text-decoration: none;
    letter-spacing: -.01em;
}
.feed-comment__date {
    font-size: 12px;
    color: var(--s-text-dim);
    font-family: var(--s-mono);
    font-weight: 500;
}
.feed-comment__text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--s-text);
    word-break: break-word;
}

/* ================================================================
   8. СТРАНИЦЫ CREATE / EDIT / PROFILE
   ================================================================ */

.feed-form {
    max-width: 780px;
    margin: 0 auto;
    padding: 24px 0 64px;
}
.feed-form__header {
    margin-bottom: 32px;
}
.feed-form__title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 6px;
    color: var(--s-ink);
}
.feed-form__subtitle {
    font-size: 15px;
    color: var(--s-text-muted);
    margin: 0;
}
.feed-form__card {
    background: #fff;
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    padding: 28px;
    box-shadow: var(--s-shadow-sm);
}
.feed-form__group {
    margin-bottom: 22px;
}
.feed-form__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--s-text-muted);
    margin-bottom: 8px;
}
.feed-form__input,
.feed-form__select,
.feed-form__textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid var(--s-border);
    border-radius: var(--s-radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--s-text);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.feed-form__input:focus,
.feed-form__select:focus,
.feed-form__textarea:focus {
    border-color: var(--s-brand);
    box-shadow: 0 0 0 4px rgba(198, 40, 40, .08);
}
.feed-form__textarea { min-height: 240px; resize: vertical; }

/* --- Drag-n-drop обложка --- */
.feed-form__cover {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--s-bg-soft);
    border: 2px dashed var(--s-border);
    border-radius: var(--s-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: all .2s;
}
.feed-form__cover:hover {
    border-color: var(--s-brand);
    background: #fff;
}
.feed-form__cover.is-dragover {
    border-color: var(--s-brand);
    background: rgba(198, 40, 40, .04);
}
.feed-form__cover-placeholder {
    text-align: center;
    color: var(--s-text-muted);
}
.feed-form__cover-placeholder svg {
    display: block;
    margin: 0 auto 10px;
    color: var(--s-text-dim);
}
.feed-form__cover-placeholder-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--s-ink);
    margin-bottom: 4px;
    letter-spacing: -.01em;
}
.feed-form__cover-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feed-form__cover-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 20, 25, .7);
    color: #fff;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    border: 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s;
}
.feed-form__cover:hover .feed-form__cover-remove { opacity: 1; }
.feed-form input[type="file"] { display: none; }

.feed-form__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--s-border-soft);
}
.feed-form__errors {
    list-style: none;
    padding: 14px 18px;
    margin: 0 0 20px;
    background: rgba(198, 40, 40, .08);
    border: 1px solid rgba(198, 40, 40, .18);
    border-radius: var(--s-radius);
    color: var(--s-brand-dark);
    font-size: 14px;
    font-weight: 600;
}
.feed-form__errors li { margin: 2px 0; }

/* ================================================================
   9. КНОПКИ (общие)
   ================================================================ */

.feed-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -.01em;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.feed-btn--primary {
    background: var(--s-brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(198, 40, 40, .25);
}
.feed-btn--primary:hover {
    background: var(--s-brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(198, 40, 40, .3);
}
.feed-btn--outline {
    background: #fff;
    border-color: var(--s-border);
    color: var(--s-text);
}
.feed-btn--outline:hover {
    border-color: var(--s-brand);
    color: var(--s-brand);
}

/* ================================================================
   10. ПРОФИЛЬ АВТОРА
   ================================================================ */

.feed-profile {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 0 64px;
}
.feed-profile__hero {
    position: relative;
    background: linear-gradient(135deg, var(--s-ink) 0%, var(--s-ink-2) 65%, var(--s-ink-3) 100%);
    color: #fff;
    border-radius: var(--s-radius-lg);
    padding: 40px 48px;
    margin-bottom: 28px;
    overflow: hidden;
    isolation: isolate;
}
.feed-profile__hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(198, 40, 40, .28) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.feed-profile__hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: center;
}
.feed-profile__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff 0%, #eceff3 100%);
    color: var(--s-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 48px;
    overflow: hidden;
    object-fit: cover;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .15), 0 16px 40px rgba(0, 0, 0, .35);
}
.feed-profile__name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 8px;
    color: #fff;
}
.feed-profile__login {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    font-family: var(--s-mono);
    font-weight: 500;
}
.feed-profile__stats {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}
.feed-profile__stat-value {
    font-family: var(--s-mono);
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    letter-spacing: -.02em;
}
.feed-profile__stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .55);
    font-weight: 600;
    margin-top: 2px;
}
.feed-profile__avatar-edit {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    text-align: center;
    text-decoration: underline;
}
.feed-profile__avatar-edit:hover { color: var(--s-brand-light); }

/* ================================================================
   11. АДАПТИВНОСТЬ
   ================================================================ */

@media (max-width: 1100px) {
    .feed-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }
    .feed-sidebar--right { display: none; }
}
@media (max-width: 820px) {
    .feed-page,
    .feed-post,
    .feed-form,
    .feed-profile { padding: 16px 16px 48px; }
    .feed-hero {
        padding: 28px 22px 32px;
        min-height: 300px;
        border-radius: var(--s-radius);
    }
    .feed-hero__title { font-size: 28px; }
    .feed-layout {
        grid-template-columns: 1fr;
    }
    .feed-sidebar--left {
        position: static;
        order: 2;
    }
    .feed-content { order: 1; }
    .feed-nav-card {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 8px;
    }
    .feed-nav-card::-webkit-scrollbar { display: none; }
    .feed-nav-title { display: none; }
    .feed-categories {
        flex-direction: row;
        gap: 6px;
    }
    .feed-categories__item {
        flex-shrink: 0;
        padding: 8px 14px;
        white-space: nowrap;
    }
    .feed-post__title { font-size: 26px; }
    .feed-post__body { font-size: 16px; }
    .feed-profile__hero {
        padding: 24px 20px;
    }
    .feed-profile__hero-grid {
        grid-template-columns: 80px 1fr;
        gap: 16px;
    }
    .feed-profile__avatar { width: 80px; height: 80px; font-size: 32px; }
    .feed-form__card { padding: 20px; }
}

/* End */
/* /local/components/china/feed/templates/.default/style.css?177662257330242 */
