/* ===== MOBILE SITE — KUMARI PHASES ===== */
/* Подключается ТОЛЬКО для мобильных шаблонов. Десктопные CSS не грузятся. */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --kp-burgundy: #7b0000;
    --kp-burgundy-deep: #5c0000;
    --kp-intro-bg: #f3f1ee;
    --kp-text-on-dark: #ffffff;

    --color-dark: #303a4d;
    --color-heading: #4f5987;
    --color-subheading: #2c3544;
    --color-muted: #808793;
    --color-bg: #ffffff;
    --color-surface: #f8f9fb;
    --color-card-shadow: rgba(0, 0, 0, 0.08);

    --font-primary: 'Open Sans', sans-serif;
    --font-accent: 'Zen Maru Gothic', serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 30px;
}

html, body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-dark);
    -webkit-text-size-adjust: 100%;
}

/* ===== PAGE WRAPPER ===== */
.mobile-page-wrapper {
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--color-bg);
    padding-bottom: 70px; /* место под фиксированный bottom-nav */
}

/* ===== HEADER ===== */
.app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    background: var(--kp-burgundy);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-title {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--font-accent);
    font-size: clamp(11px, 3.2vw, 14px);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-login-btn {
    position: absolute;
    right: 20px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.app-header__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.app-header__actions .header-login-btn,
.app-header__actions .header-shop-btn,
.app-header__actions .header-profile-btn {
    position: static;
}
.header-shop-btn {
    font-size: 11px;
    padding: 6px 10px;
}
.header-login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}
.header-profile-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 60px 24px 56px;
    text-align: center;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/img/Red_23.png') center center / cover no-repeat;
    z-index: 0;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.7),
        rgba(51, 51, 51, 0.7)
    );
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-family: var(--font-primary);
    font-size: 34px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #fff;
    max-width: 300px;
    margin: 0 auto;
    font-weight: 300;
}

/* ===== SECTIONS ===== */
.section {
    padding: 28px 20px;
}
.section-title {
    font-family: var(--font-accent);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 6px;
}
.section-subtitle {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 18px;
}

/* ===== ABOUT / AUTHOR SECTION ===== */
.about-section {
    background: #ffffff;
    padding: 28px 20px 16px;
}
.about-section--intro {
    padding-bottom: 16px;
}
.about-section--intro .about-text {
    margin-bottom: 0;
}
.about-text,
.about-text p {
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: 0.35px;
    color: var(--color-dark);
    margin-bottom: 0;
}
.about-text strong,
.about-text b {
    font-weight: 600;
}
.author-photos-section {
    padding: 24px 20px 30px;
    background: var(--kp-burgundy);
}
.author-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: min(22.5rem, 90vw);
    margin: 0 auto;
}
.author-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    scroll-snap-align: none;
}
.after-photos-section {
    padding: 35px 20px 40px;
    background: #fff;
}
.after-photos-text,
.after-photos-text p {
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: 0.3px;
    color: var(--color-dark);
    text-align: center;
}
.after-photos-sep,
.prose-sep {
    text-align: center;
    margin: 0.75rem 0;
    font-size: 0;
    line-height: 0;
}
.after-photos-sep .kp-t676__divider,
.prose-sep .kp-t676__divider {
    display: inline-block;
    vertical-align: middle;
    fill: #000;
}
.prose-section,
.intro-lesson-section {
    background: #fff;
    padding: 35px 20px 40px;
}
.prose-text,
.prose-text p {
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: 0.3px;
    color: var(--color-dark);
    text-align: center;
}
.intro-lesson-text,
.intro-lesson-text p {
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--color-dark);
}
.intro-lesson-text .kp-tilda-quote-band + .kp-tilda-sep + p {
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: 0.3px;
    text-align: center;
}
.intro-lesson-kicker {
    margin: 0 0 6px;
    text-align: center;
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0.16em;
    text-transform: lowercase;
}
.intro-lesson-title {
    margin: 0 0 16px;
    text-align: center;
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    text-transform: lowercase;
}
.home-reviews-section {
    background: #000;
    padding: 60px 0 70px;
}
.home-reviews-section .section-title--light {
    color: #fff;
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    padding: 0 20px;
    margin-bottom: 6px;
}
.home-reviews-section .kp-mobile-scroll-hint-wrap {
    padding-left: 20px;
    padding-right: 20px;
}
.home-reviews-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 max(20px, calc((100vw - 72.624rem) / 2 + 20px));
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.home-reviews-scroll .review-card {
    flex: 0 0 min(85vw, 320px);
    width: min(85vw, 320px);
    height: 440px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 0;
    margin-bottom: 0;
}
.home-reviews-scroll .review-card__text {
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.55;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}
.home-reviews-scroll .review-card__name {
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
}
.home-reviews-scroll .review-card__date {
    font-family: "TildaSans", Arial, sans-serif;
    font-size: 14px;
}
.intro-lesson-text .kp-tilda-quote-band {
    width: 100vw;
    max-width: 100vw;
    margin: 16px calc(50% - 50vw);
    padding: 35px 0;
    background-color: var(--kp-burgundy);
    color: #000;
    text-align: center;
    box-sizing: border-box;
}
.intro-lesson-text .kp-tilda-quote-band__inner {
    width: 100%;
    max-width: 72.624rem;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.intro-lesson-text .kp-tilda-quote-band p {
  color: #000;
  margin: 0;
  font-family: "TildaSans", Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 34px;
  text-align: center;
}
.intro-lesson-text .kp-tilda-prose-t220 {
  font-family: "TildaSans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 300;
}
.intro-lesson-text .kp-tilda-prose-t220 p {
  margin: 0;
}
.intro-lesson-text .kp-tilda-prose-impact,
.intro-lesson-text .kp-tilda-prose-impact p {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  font-weight: 300;
  margin: 24px auto 30px;
}
.intro-lesson-text .kp-t676__divider {
    display: inline-block;
    vertical-align: middle;
    fill: #000;
}
.intro-lesson-text .kp-tilda-sep,
.intro-lesson-text .kp-tilda-sep--arrows {
    text-align: center;
    margin: 0.75rem 0;
    font-size: 0;
    line-height: 0;
}
.intro-lesson-section {
    overflow-x: hidden;
}

/* ===== Mobile carousel: анимация прокрутки над лентой ===== */
.kp-mobile-scroll-hint-wrap {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-bottom: 8px;
    text-align: right;
    line-height: 0;
    overflow: visible;
}
.kp-mobile-scroll-hint {
    display: inline-block;
    vertical-align: top;
    min-height: 48px;
    overflow: visible;
}
.kp-mobile-scroll-hint--hidden {
    display: none !important;
}
.kp-mobile-scroll-hint svg {
    display: block;
    width: 48px;
    height: 48px;
    overflow: visible;
}
.kp-mobile-scroll-hint .tooltip-horizontal-scroll-icon_card {
    fill: rgba(255, 255, 255, 0.25);
    animation: kp-mobile-scroll-card 2s infinite !important;
}
.kp-mobile-scroll-hint .tooltip-horizontal-scroll-icon_hand {
    fill: #fff;
    opacity: 1;
    animation: kp-mobile-scroll-hand 2s infinite !important;
}
.kp-mobile-scroll-hint-wrap--mono .kp-mobile-scroll-hint .tooltip-horizontal-scroll-icon_card {
    fill: rgba(255, 255, 255, 0.35);
}
.kp-mobile-scroll-hint-wrap--mono .kp-mobile-scroll-hint .tooltip-horizontal-scroll-icon_hand {
    fill: #fff;
}
.kp-mobile-scroll-hint-wrap--mono .kp-mobile-scroll-hint path.tooltip-horizontal-scroll-icon_hand {
    fill: #fff;
}
@keyframes kp-mobile-scroll-hand {
    0% { transform: translateX(80px) scale(1); opacity: 0; }
    10% { transform: translateX(80px) scale(1); opacity: 1; }
    20%, 60% { transform: translateX(175px) scale(0.6); opacity: 1; }
    80% { transform: translateX(5px) scale(0.6); opacity: 1; }
    100% { transform: translateX(5px) scale(0.6); opacity: 0; }
}
@keyframes kp-mobile-scroll-card {
    0%, 60% { transform: translateX(0); }
    80%, 100% { transform: translateX(-240px); }
}
@media (prefers-reduced-motion: reduce) {
    .kp-mobile-scroll-hint .tooltip-horizontal-scroll-icon_hand,
    .kp-mobile-scroll-hint .tooltip-horizontal-scroll-icon_card {
        animation: none !important;
        opacity: 1;
    }
}

/* ===== PHASES HORIZONTAL SCROLL ===== */
.phases-section {
    background: var(--kp-burgundy);
    padding-bottom: 32px;
}
.phases-section .section-title {
    color: #fff;
}
.phases-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}
.phases-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 20px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.phases-scroll::-webkit-scrollbar {
    display: none;
}
.phase-card {
    flex-shrink: 0;
    width: 200px;
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    text-decoration: none;
    display: block;
}
.phase-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.phase-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}
.phase-card__number {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.phase-card__title {
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.phase-card__desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 12px;
}
.phase-card__btn {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
}

/* ===== METHOD CARDS ===== */
.method-section {
    background: var(--color-surface);
}
.method-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.method-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 18px 14px;
    box-shadow: 0 2px 12px var(--color-card-shadow);
    text-decoration: none;
    display: block;
}
.method-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kp-burgundy), var(--kp-burgundy-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    margin-bottom: 10px;
}
.method-card__title {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-subheading);
    margin-bottom: 4px;
}
.method-card__desc {
    font-size: 11px;
    color: var(--color-muted);
    line-height: 1.4;
}

/* ===== LESSONS LIST ===== */
.lessons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lesson-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
}
.lesson-item__play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--kp-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}
.lesson-item__play .fa {
    margin-left: 2px;
}
.lesson-item__info {
    flex: 1;
}
.lesson-item__info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 2px;
}
.lesson-item__info span {
    font-size: 11px;
    color: var(--color-muted);
}
.lesson-item__arrow {
    color: var(--color-muted);
    font-size: 12px;
}

/* ===== HOME PROJECTS ===== */
.home-projects-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.home-project-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 2px 12px var(--color-card-shadow);
    text-decoration: none;
    color: inherit;
}
.home-project-item__info {
    flex: 1;
}
.home-project-item__meta {
    font-size: 11px;
    color: var(--color-muted);
    margin-bottom: 2px;
}
.home-project-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}
.home-project-item > .fa {
    color: var(--color-muted);
    font-size: 12px;
}

/* ===== BOTTOM NAV ===== */
.nav-spacer {
    height: 70px;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 8px max(env(safe-area-inset-bottom, 0px), 10px);
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 200;
    max-width: 600px;
    margin: 0 auto;
}
/* центрирование nav на широких экранах */
@media (min-width: 600px) {
    .bottom-nav {
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        right: auto;
    }
}
.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1 1 0;
    min-width: 0;
    text-decoration: none;
    color: var(--color-muted);
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 2px 1px;
}
.bottom-nav__item span {
    max-width: 100%;
    text-align: center;
    line-height: 1.15;
    overflow: hidden;
    word-break: break-word;
    hyphens: auto;
}
.bottom-nav__item i {
    font-size: 20px;
}
.bottom-nav__item--active {
    color: var(--kp-burgundy);
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
    background: var(--kp-burgundy);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.page-header__back {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    padding: 4px;
    line-height: 1;
}
.page-header__title {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.page-header--back-only {
    min-height: 54px;
}

/* ===== PAGE INTRO ===== */
.page-intro {
    padding: 16px 20px 8px;
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.5;
}

/* ===== CMS / ARTICLE CONTENT ===== */
.cms-content {
    padding: 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-dark);
}
.cms-content--centered {
    text-align: center;
}
.cms-content--centered h1,
.cms-content--centered h2,
.cms-content--centered h3,
.cms-content--centered p {
    text-align: center;
}
.cms-content h1, .cms-content h2 {
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-heading);
    margin: 24px 0 12px;
}
.cms-content h3 {
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-subheading);
    margin: 18px 0 8px;
}
.cms-content p {
    margin-bottom: 14px;
}
.cms-content img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 12px 0;
}
.cms-content a {
    color: var(--kp-burgundy);
}

.cms-content.kp-tilda-phase-detail {
    padding-top: 2rem;
    font-size: inherit;
    line-height: inherit;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__head {
    text-align: center;
    padding: 0 0 0.9375rem;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__title {
    margin: 0;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.23;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-intro-lesson__kicker {
    margin: 0 0 0.35rem;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: lowercase;
    text-align: center;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__content {
    padding: 0;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__empty {
    color: var(--color-muted);
    text-align: center;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__preface,
.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__preface p {
    max-width: 35rem;
    margin: 0 auto 2rem;
    text-align: center;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 300;
    opacity: 0.7;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-results > h2,
.cms-content.kp-tilda-phase-detail .kp-tilda-phase-results__heading {
    margin: 0 0 2.8125rem;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.23;
    text-align: center;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-results__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 0;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-results__card {
    position: relative;
    text-align: center;
    padding: 0;
    border-left: none;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-results__card::before {
    display: none;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-results__card + .kp-tilda-phase-results__card {
    border-top: 1px solid #e0e0e0;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-results__card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.875rem;
    background-image: url('/img/Red_23.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-results__card-title {
    margin-bottom: 0.625rem;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-results__card-descr {
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 300;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__prose > p {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 1.875rem 0;
    text-align: center;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 300;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__prose > .kp-tilda-phase-results + p {
    padding-top: 3.75rem;
    font-size: 22px;
    line-height: 34px;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__prose > span {
    display: block;
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 1.875rem;
    text-align: center;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 300;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-detail__prose a {
    color: var(--kp-burgundy);
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-highlight {
    width: 100vw;
    max-width: 100vw;
    margin: 2.8125rem calc(50% - 50vw);
    padding: 2.8125rem 1.25rem;
    background: var(--kp-burgundy);
    text-align: center;
    box-sizing: border-box;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-highlight p,
.cms-content.kp-tilda-phase-detail .kp-tilda-phase-highlight span {
    max-width: 35rem;
    margin: 0 auto;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 34px;
    font-weight: 500;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-cta {
    width: 100vw;
    max-width: 100vw;
    margin: 2.8125rem calc(50% - 50vw) 0;
    padding: 3.75rem 1.25rem 2.8125rem;
    background: #fafafa;
    text-align: center;
    box-sizing: border-box;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-cta__shop {
    max-width: 35rem;
    margin: 0 auto 1.25rem;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 300;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-cta__phones {
    max-width: 35rem;
    margin: 0 auto 1.5rem;
    font-family: 'TildaSans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 300;
    color: #000;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-cta__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-cta__social-item {
    margin: 0;
    padding: 0;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-cta__social-item a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

.cms-content.kp-tilda-phase-detail .kp-tilda-phase-cta__social-svg {
    display: block;
    width: 30px;
    height: 30px;
}

/* ===== PHASES LIST (vertical) ===== */
.phase-list-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: 0 2px 12px var(--color-card-shadow);
    margin-bottom: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.phase-list-card__img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--kp-intro-bg);
}
.phase-list-card__info {
    flex: 1;
    min-width: 0;
}
.phase-list-card__num {
    font-size: 10px;
    font-weight: 600;
    color: var(--kp-burgundy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.phase-list-card__title {
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-subheading);
    margin-bottom: 4px;
}
.phase-list-card__desc {
    font-size: 11px;
    color: var(--color-muted);
    line-height: 1.4;
}
.phase-list-card__arrow {
    color: var(--color-muted);
    font-size: 14px;
    flex-shrink: 0;
}

/* ===== LECTURES CARDS ===== */
.lecture-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 2px 12px var(--color-card-shadow);
    margin-bottom: 12px;
}
.lecture-card__title {
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-subheading);
    margin-bottom: 6px;
}
.lecture-card__desc {
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}
.lecture-card__body {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.55;
    margin-bottom: 12px;
}
.lecture-card__body.kp-rich img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}
.lecture-card__audio {
    width: 100%;
    border-radius: var(--radius-pill);
    accent-color: var(--kp-burgundy);
    margin-top: 4px;
}
.lecture-card__empty {
    font-size: 12px;
    color: var(--color-muted);
}
.lecture-card__no-audio {
    font-size: 12px;
    color: var(--color-muted);
}

/* ===== PUBLICATION CARDS ===== */
.pub-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.pub-tag--article { background: #fce4e4; color: var(--kp-burgundy); }
.pub-tag--book    { background: #e4ecfc; color: #2c4a8a; }
.pub-tag--diary   { background: #e9f5e4; color: #2e6b1e; }

.pub-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 2px 12px var(--color-card-shadow);
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
    color: inherit;
}
.pub-card__title {
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-subheading);
    margin-bottom: 4px;
}
.pub-card__excerpt {
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1.4;
}

/* ===== REVIEW CARDS ===== */
.review-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 2px 12px var(--color-card-shadow);
    margin-bottom: 12px;
}
.review-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.review-card__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--kp-intro-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--kp-burgundy);
    flex-shrink: 0;
}
.review-card__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}
.review-card__date {
    font-size: 11px;
    color: var(--color-muted);
}
.review-card__text {
    font-size: 13px;
    color: var(--color-dark);
    line-height: 1.5;
}

/* ===== PROJECT CARDS ===== */
.project-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 2px 12px var(--color-card-shadow);
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
}
.project-card__img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--kp-intro-bg);
}
.project-card__info {
    flex: 1;
    min-width: 0;
}
.project-card__meta {
    font-size: 11px;
    color: var(--color-muted);
    margin-bottom: 4px;
}
.project-card__title {
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-subheading);
    margin-bottom: 4px;
}
.project-card__excerpt {
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1.4;
}
.project-card > .fa {
    color: var(--color-muted);
    font-size: 12px;
    flex-shrink: 0;
    align-self: center;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--color-muted);
}
.empty-state__icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}
.empty-state__text {
    font-size: 14px;
}

/* ===== FOOTER (как на десктопе) ===== */
body.kp-mobile-site .footer {
    line-height: 1.5;
    background: #fff;
}
body.kp-mobile-site .footer__container {
    padding: 28px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
body.kp-mobile-site .footer__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
body.kp-mobile-site .footer__logo img {
    display: block;
    height: auto;
    width: auto;
    max-height: 72px;
    object-fit: contain;
    pointer-events: auto;
}
body.kp-mobile-site .footer__copyright {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #303a4d;
    letter-spacing: 0.02em;
}

/* ===== "ПЕРЕКЛЮЧИТЬ НА ДЕСКТОП" ===== */
.mobile-switch-desktop {
    text-align: center;
    padding: 12px 20px;
    font-size: 11px;
    color: var(--color-muted);
}
.mobile-switch-desktop a {
    color: var(--kp-burgundy);
    text-decoration: underline;
}

/* ===== MORE MENU ===== */
.more-menu {
    padding: 0 20px 12px;
}

.more-menu__link,
.more-menu__toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
    text-decoration: none;
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.more-menu__link > i:first-child,
.more-menu__toggle > i:first-child {
    width: 24px;
    text-align: center;
    color: var(--kp-burgundy);
    font-size: 18px;
    flex-shrink: 0;
}

.more-menu__link > span,
.more-menu__toggle > span {
    flex: 1;
}

.more-menu__chevron {
    margin-left: auto;
    color: var(--color-muted);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.more-menu__group.is-open .more-menu__chevron {
    transform: rotate(180deg);
}

.more-menu__external {
    margin-left: auto;
    color: var(--color-muted);
    font-size: 12px;
}

.more-menu__link--active,
.more-menu__toggle--active,
.more-menu__sublink--active {
    color: var(--kp-burgundy);
}

.more-menu__sublist {
    display: none;
    margin: 0;
    padding: 0 0 8px 38px;
    list-style: none;
    border-bottom: 1px solid #eee;
}

.more-menu__group.is-open .more-menu__sublist {
    display: block;
}

.more-menu__sublink {
    display: block;
    padding: 12px 0 12px 14px;
    border-left: 2px solid #e8e8e8;
    text-decoration: none;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

.more-menu__sublink--active {
    border-left-color: var(--kp-burgundy);
    font-weight: 500;
}

/* ===== FORUM ===== */
.forum-phase-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 2px 12px var(--color-card-shadow);
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
}
.forum-phase-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--kp-burgundy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    font-family: var(--font-accent);
}
.forum-phase-card__info { flex: 1; }
.forum-phase-card__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 2px;
}
.forum-phase-card__meta {
    font-size: 11px;
    color: var(--color-muted);
}
.forum-phase-card__arrow {
    color: var(--color-muted);
    font-size: 14px;
}
.forum-phase-card--locked {
    opacity: 0.4;
}

.forum-topic-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}
.forum-topic-item__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--kp-intro-bg, #f9f4f4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--kp-burgundy);
    flex-shrink: 0;
}
.forum-topic-item__info { flex: 1; }
.forum-topic-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 2px;
}
.forum-topic-item__meta {
    font-size: 11px;
    color: var(--color-muted);
}
.forum-fab {
    position: fixed;
    bottom: 88px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--kp-burgundy);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(123, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 210;
}

.forum-new-topic-panel {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.forum-new-topic-panel[hidden] {
    display: none !important;
}

.forum-new-topic-panel__backdrop {
    position: absolute;
    inset: 0;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.forum-new-topic-panel__sheet {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px 20px max(env(safe-area-inset-bottom, 0px), 20px);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.forum-new-topic-panel__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
}

.forum-new-topic-panel__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--color-muted);
}

.forum-new-topic-panel__input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm, 8px);
    font-size: 16px;
    margin-bottom: 14px;
}

.forum-new-topic-panel__accept {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.forum-new-topic-panel__accept input {
    margin-top: 3px;
    flex-shrink: 0;
}

.forum-new-topic-panel__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.forum-new-topic-panel__btn {
    border: none;
    border-radius: var(--radius-sm, 8px);
    padding: 12px 18px;
    font-size: 15px;
    cursor: pointer;
}

.forum-new-topic-panel__btn--ghost {
    background: #f3f3f3;
    color: var(--color-dark);
}

.forum-new-topic-panel__btn--primary {
    background: var(--kp-burgundy);
    color: #fff;
}

/* ===== LK PHASES ===== */
.lk-phase-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: 0 2px 12px var(--color-card-shadow);
    margin-bottom: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.lk-phase-card--locked {
    opacity: 0.4;
}
.lk-phase-card__img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}
.lk-phase-card__info { flex: 1; min-width: 0; }
.lk-phase-card__title {
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-subheading);
    margin-bottom: 2px;
}
.lk-phase-card__status {
    font-size: 11px;
    margin-bottom: 4px;
}
.lk-phase-card__status--active  { color: #2e6b1e; }
.lk-phase-card__status--expired { color: var(--kp-burgundy); }
.lk-phase-card__status--locked  { color: var(--color-muted); }
.lk-phase-card__progress {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
}
.lk-phase-card__progress-bar {
    height: 100%;
    background: var(--kp-burgundy);
    border-radius: 2px;
}

/* ===== Мои фазы (ЛК) ===== */
.lk-my-phases__block + .lk-my-phases__block {
    margin-top: 28px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.lk-my-phases__heading {
    margin: 0 0 14px;
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 700;
    color: var(--kp-burgundy);
}

/* ===== PROFILE ===== */
.profile-avatar {
    text-align: center;
    padding: 32px 20px 20px;
}
.profile-avatar__circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f9f4f4;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--kp-burgundy);
    overflow: hidden;
}
.profile-avatar__name {
    font-family: var(--font-accent);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
}
.profile-avatar__email {
    font-size: 13px;
    color: var(--color-muted);
}
.profile-menu {
    padding: 0 20px;
}
.profile-menu__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 500;
}
.profile-menu__item i {
    width: 20px;
    text-align: center;
    color: var(--kp-burgundy);
    font-size: 16px;
}
.profile-menu__item .fa-chevron-right {
    margin-left: auto;
    color: var(--color-muted);
    font-size: 12px;
}
.profile-menu__item--danger { color: var(--kp-burgundy); }

/* ===== AUTH FORMS ===== */
.auth-section {
    padding: 40px 24px;
    text-align: center;
}
.auth-section__logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
    opacity: 0.8;
}
.auth-section__title {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}
.auth-section__subtitle {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 28px;
}
.auth-form { text-align: left; }
.auth-form__group { margin-bottom: 16px; }
.auth-form__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}
.auth-form__input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-primary);
    outline: none;
    transition: border 0.2s;
}
.auth-form__input:focus { border-color: var(--kp-burgundy); }
.auth-form__btn {
    width: 100%;
    padding: 14px;
    background: var(--kp-burgundy);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}
.auth-form__link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--kp-burgundy);
    text-decoration: none;
}
.auth-form__error {
    color: var(--kp-burgundy);
    font-size: 13px;
    margin-bottom: 12px;
    text-align: center;
}
.auth-form__success {
    color: #2e6b1e;
    font-size: 13px;
    margin-bottom: 12px;
    text-align: center;
}

/* ===== MOBILE FORUM TOPIC ===== */
.m-forum-thread {
    padding-top: 8px;
}
.m-forum-post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(48, 58, 77, 0.08);
    margin-bottom: 10px;
    padding: 12px 14px;
}
.m-forum-post--deleted {
    opacity: 0.5;
}
.m-forum-post__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.m-forum-post__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.m-forum-post__avatar-ph {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f9f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--kp-burgundy);
    flex-shrink: 0;
}
.m-forum-post__who {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    flex: 1;
    min-width: 0;
}
.m-forum-post__time {
    font-size: 11px;
    color: var(--color-muted);
}
.m-forum-post__num {
    font-size: 11px;
    color: var(--color-muted);
}
.m-forum-post__body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-dark);
    word-break: break-word;
}
.m-forum-post__body img,
.m-forum-post__figure img {
    max-width: 100%;
    border-radius: 6px;
}
.m-forum-post__atts {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.m-forum-post__dl {
    font-size: 13px;
    color: var(--kp-burgundy);
    text-decoration: none;
}
.m-forum-post__actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.m-forum-action-btn {
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid var(--kp-burgundy);
    color: var(--kp-burgundy);
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
}
.m-forum-mod-btn {
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #aaa;
    color: #555;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
}
.m-forum-quote {
    background: #f9f4f4;
    border-left: 3px solid var(--kp-burgundy);
    border-radius: 4px;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 13px;
}
.m-forum-quote__meta {
    font-size: 11px;
    font-weight: 600;
    color: var(--kp-burgundy);
    margin-bottom: 4px;
}
.m-forum-pager {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 4px;
    justify-content: center;
}
.m-forum-pager__btn {
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid var(--kp-burgundy);
    color: var(--kp-burgundy);
    border-radius: 4px;
    text-decoration: none;
}
.m-forum-pager__stat {
    font-size: 12px;
    color: var(--color-muted);
}
.m-forum-reply {
    padding-top: 16px;
    padding-bottom: 80px;
}
.m-forum-reply__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 10px;
}
.m-forum-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-primary);
    resize: vertical;
    outline: none;
}
.m-forum-textarea:focus {
    border-color: var(--kp-burgundy);
}
.m-forum-quote-preview {
    background: #f9f4f4;
    border-left: 3px solid var(--kp-burgundy);
    border-radius: 4px;
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 13px;
}
.m-forum-reply__accept {
    display: block;
    font-size: 12px;
    margin: 8px 0;
    line-height: 1.4;
}

/* ===== KP-RICH (форматированный контент форума) ===== */
.kp-rich img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.kp-rich p {
    margin-bottom: 0.8em;
}
.kp-rich p:last-child {
    margin-bottom: 0;
}
.kp-rich ul,
.kp-rich ol {
    padding-left: 1.4em;
    margin-bottom: 0.8em;
}
.kp-rich li {
    margin-bottom: 0.25em;
}
.kp-rich strong, .kp-rich b {
    font-weight: 700;
}
.kp-rich em, .kp-rich i {
    font-style: italic;
}
.kp-rich blockquote {
    border-left: 3px solid var(--kp-burgundy);
    margin: 0.5em 0;
    padding: 4px 10px;
    background: #f9f4f4;
    border-radius: 4px;
    font-size: 0.93em;
}
.kp-rich a {
    color: var(--kp-burgundy);
    word-break: break-all;
}
.kp-rich pre, .kp-rich code {
    font-size: 12px;
    background: #f3f3f3;
    border-radius: 4px;
    padding: 2px 5px;
    overflow-x: auto;
    white-space: pre-wrap;
}
