/* ── Сторисы: фикс прогресс-баров ───────────────────── */
.modal-story__progress-item {
    background-color: rgba(255, 255, 255, 0.5);
}
.modal-story__progress-item::before {
    background-color: #ffffff;
}

/* ── Сторисы: текст всегда белый (var(--color-white) не определена в dark теме) */
body[data-theme=dark] .modal-story__images-date,
body[data-theme=dark] .modal-story__images-title,
body[data-theme=dark] .modal-story__images-desc,
body[data-theme=dark] .modal-story__title {
    color: #ffffff;
}


.qr-content .button { margin: auto; }
.quiz-holder .quiz { display: none; }
.quiz-holder .quiz.visible { display: flex; }
.button-quiz { display: none; }
.button-quiz.visible { display: block; }
.mfp-iframe-holder div.mfp-content { max-width: none; height: 100%; }
.article__image img { margin: auto; }
.main { padding-bottom: 4rem; }

/* =====================================================
   VOICE CHAT POPUP — масштабируется под 4K через clamp()
   clamp(MIN, PREFERRED_VW, MAX)
   ===================================================== */

.mfp-bg { background: rgba(0,0,0,0.55); }

.mfp-wrap { padding: 0 !important; }
.mfp-container { padding: 0 !important; }
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100% !important;
    max-width: 100% !important;
}

#voice-assistant-popup {
    background: #F5F7FA;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── Шапка ─────────────────────────────────────────── */
.vc-header {
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.8vw, 24px);
    padding: clamp(10px, 1vh, 24px) clamp(14px, 1.2vw, 40px);
    background: #F5F7FA;
    border-bottom: 1px solid #e2e2ea;
    flex-shrink: 0;
}

#voice-assistant-popup > .mfp-close { display: none !important; }

.vc-header-title {
    font-size: clamp(16px, 1.4vw, 52px);
    font-weight: 700;
    color: #000;
    flex: 1;
    white-space: nowrap;
}

.vc-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    padding: 0;
    width: clamp(32px, 2.5vw, 72px);
    height: clamp(32px, 2.5vw, 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.7;
}
.vc-close:hover { opacity: 1; }
.vc-close svg {
    width: clamp(20px, 1.6vw, 48px);
    height: clamp(20px, 1.6vw, 48px);
    pointer-events: none;
}

.vc-tabs { display: flex; gap: clamp(6px, 0.5vw, 16px); }

.vc-tab-btn {
    background: #e4e4ee;
    border: none;
    border-radius: clamp(14px, 1.2vw, 32px);
    padding: clamp(5px, 0.5vh, 14px) clamp(12px, 1vw, 32px);
    font-size: clamp(13px, 1.1vw, 36px);
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.vc-tab-btn--active { background: #222370; color: #fff; }
.vc-tab-btn:hover:not(.vc-tab-btn--active) { background: #d0d0e4; }

/* ── Вкладки ─────────────────────────────────────────── */
.vc-tab-content {
    display: none;
    flex-direction: column;
    flex: 1 1 0;
    overflow: hidden;
}
.vc-tab-content--active { display: flex; }

/* ── Список сообщений ─────────────────────────────────── */
.vc-messages {
    flex: 1 1 0;
    overflow-y: auto;
    padding: clamp(12px, 1.2vw, 40px) clamp(12px, 1.2vw, 40px) 0;
    display: flex;
    flex-direction: column;
}

.vc-msg-row {
    display: flex;
    align-items: flex-start;
    padding: 0 clamp(4px, 0.3vw, 12px);
    margin-bottom: clamp(10px, 1vh, 28px);
}

.vc-msg-avatar {
    width: clamp(36px, 2.8vw, 80px);
    height: clamp(36px, 2.8vw, 80px);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: clamp(8px, 0.6vw, 20px);
    margin-top: 2px;
}

.vc-msg-bot-col {
    flex: 1;
    margin-right: clamp(40px, 4vw, 120px);
    display: flex;
    flex-direction: column;
}

.vc-msg-row--user { justify-content: flex-end; }

/* ── Пузыри ─────────────────────────────────────────── */
.vc-bubble {
    padding: clamp(10px, 0.8vh, 22px) clamp(14px, 1.1vw, 36px);
    font-size: clamp(16px, 1.4vw, 48px);
    line-height: 1.35;
    word-break: break-word;
    white-space: pre-line;
    width: fit-content;
    max-width: 100%;
}

.vc-bubble--bot {
    background: #ffffff;
    color: #000000;
    border-radius: clamp(8px, 0.7vw, 20px) clamp(8px, 0.7vw, 20px) clamp(8px, 0.7vw, 20px) 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    align-self: flex-start;
}

.vc-bubble--user {
    background: #222370;
    color: #ffffff;
    border-radius: clamp(8px, 0.7vw, 20px) clamp(8px, 0.7vw, 20px) 0 clamp(8px, 0.7vw, 20px);
    margin-left: clamp(40px, 4vw, 120px);
}

.vc-bubble--loading {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.4vw, 12px);
    padding: clamp(12px, 1vh, 28px) clamp(16px, 1.2vw, 40px);
}
.vc-bubble--loading span {
    display: inline-block;
    width: clamp(7px, 0.6vw, 18px);
    height: clamp(7px, 0.6vw, 18px);
    background: #aaa;
    border-radius: 50%;
    animation: vc-dot 1.2s infinite ease-in-out;
}
.vc-bubble--loading span:nth-child(1) { animation-delay: 0s; }
.vc-bubble--loading span:nth-child(2) { animation-delay: 0.2s; }
.vc-bubble--loading span:nth-child(3) { animation-delay: 0.4s; }
@keyframes vc-dot {
    0%,80%,100% { transform: scale(0.65); opacity: 0.45; }
    40%         { transform: scale(1);    opacity: 1; }
}

/* ── Кнопка скачать в чате ───────────────────────────── */
.vc-download-btn {
    display: inline-flex;
    align-items: center;
    margin-top: clamp(8px, 0.7vw, 20px);
    padding: clamp(8px, 0.7vw, 20px) clamp(16px, 1.4vw, 44px);
    font-size: clamp(14px, 1.2vw, 40px);
    font-weight: 600;
    color: #ffffff;
    background: #222370;
    border: none;
    border-radius: clamp(8px, 0.7vw, 20px);
    cursor: pointer;
    letter-spacing: 0.01em;
}
.vc-download-btn:hover { background: #1a1a5a; }

.vc-back-to-assistant-btn {
    display: inline-flex;
    align-items: center;
    margin-top: clamp(6px, 0.5vw, 14px);
    padding: clamp(8px, 0.7vw, 20px) clamp(16px, 1.4vw, 44px);
    font-size: clamp(14px, 1.2vw, 40px);
    font-weight: 600;
    color: #222370;
    background: transparent;
    border: 2px solid #222370;
    border-radius: clamp(8px, 0.7vw, 20px);
    cursor: pointer;
    letter-spacing: 0.01em;
}
.vc-back-to-assistant-btn:hover { background: rgba(34,35,112,0.08); }

/* ── Чипы ────────────────────────────────────────────── */
.vc-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(6px, 0.5vw, 16px);
    margin-top: clamp(8px, 0.7vw, 20px);
}

.vc-chip {
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 0.3vw, 10px);
    background: #222370;
    color: #fff;
    border: none;
    border-radius: clamp(8px, 0.7vw, 20px);
    min-height: clamp(40px, 3.2vh, 80px);
    padding: clamp(8px, 0.7vh, 20px) clamp(10px, 0.8vw, 28px) clamp(8px, 0.7vh, 20px) clamp(14px, 1.1vw, 36px);
    font-size: clamp(15px, 1.3vw, 44px);
    font-weight: 400;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    margin-right: clamp(6px, 0.5vw, 16px);
    margin-bottom: clamp(6px, 0.5vw, 16px);
}
.vc-chip:hover { background: #1a1a5a; }
.vc-chip-label { flex: 1; }
.vc-chip-arrow {
    width: clamp(18px, 1.5vw, 44px);
    height: clamp(18px, 1.5vw, 44px);
    flex-shrink: 0;
    opacity: 0.9;
}

/* ── Зона ввода ─────────────────────────────────────── */
.vc-input-wrapper {
    flex-shrink: 0;
    position: relative;
    margin: 0 clamp(16px, 1.8vw, 56px) clamp(16px, 1.8vh, 48px);
    padding-top: clamp(10px, 0.8vw, 24px);
}

.vc-bot-float {
    position: absolute;
    top: 0;
    left: clamp(12px, 1vw, 32px);
    width: clamp(40px, 3vw, 88px);
    height: clamp(40px, 3vw, 88px);
    z-index: 2;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}
.vc-bot-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
}

.vc-input-area {
    background: #222370;
    border-radius: clamp(20px, 1.8vw, 48px);
    padding: clamp(10px, 0.9vh, 24px) clamp(6px, 0.4vw, 16px) clamp(6px, 0.5vh, 16px);
    box-shadow: 0 8px 16px rgba(34,35,112,0.35);
    display: flex;
    flex-direction: column;
}

.vc-input-top {
    display: flex;
    align-items: center;
    padding: 0 clamp(8px, 0.7vw, 22px) clamp(6px, 0.5vh, 14px);
    min-height: clamp(28px, 2.2vw, 64px);
}

.vc-avatar-space {
    width: clamp(46px, 3.6vw, 100px);
    flex-shrink: 0;
}

.vc-input-label {
    color: #fff;
    font-size: clamp(12px, 1vw, 32px);
    font-weight: 700;
    flex: 1;
}

.vc-field-row {
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 0 clamp(6px, 0.4vw, 14px) clamp(6px, 0.4vh, 14px);
}

.vc-field {
    flex: 1;
    background: #F0F0F0;
    border: none;
    border-radius: clamp(18px, 1.5vw, 42px);
    padding: clamp(12px, 1vh, 28px) clamp(52px, 4.5vw, 130px) clamp(12px, 1vh, 28px) clamp(14px, 1.2vw, 36px);
    font-size: clamp(16px, 1.4vw, 48px);
    color: #000;
    outline: none;
    min-height: clamp(72px, 5.5vw, 240px);
    max-height: clamp(120px, 11vw, 460px);
    resize: none;
    font-family: inherit;
    line-height: 1.4;
    vertical-align: top;
}
.vc-field::placeholder { color: #B7B7B7; }

.vc-send-btn {
    position: absolute;
    right: clamp(14px, 1.1vw, 32px);
    bottom: clamp(12px, 1vh, 28px);
    width: clamp(44px, 3.5vw, 96px);
    height: clamp(44px, 3.5vw, 96px);
    background: #222370;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 4px 8px rgba(34,35,112,0.4);
    transition: background 0.15s;
    flex-shrink: 0;
}
.vc-send-btn:hover { background: #1a1a5a; }
.vc-send-btn svg {
    width: clamp(16px, 1.3vw, 40px);
    height: clamp(16px, 1.3vw, 40px);
}

/* ── QR-вкладка ─────────────────────────────────────── */
.vc-tab-content[data-tab-content="qr"] {
    overflow-y: auto;
    align-items: center;
    text-align: center;
    padding: clamp(14px, 1.2vw, 40px);
}

#voice-assistant-popup p { line-height: 1.7; color: #333; width: 100%; }
#voice-assistant-popup p.greeting {
    font-size: clamp(20px, 1.8vw, 56px);
    font-weight: bold;
    margin-bottom: 5px;
}
#voice-assistant-popup p.info {
    font-size: clamp(14px, 1.2vw, 40px);
    margin-bottom: 12px;
}

.popup-close-button {
    background: #fff;
    color: #333;
    padding: clamp(10px, 0.9vh, 24px) clamp(16px, 1.4vw, 44px);
    border: none;
    border-radius: clamp(8px, 0.7vw, 20px);
    cursor: pointer;
    font-size: clamp(14px, 1.2vw, 40px);
    font-weight: 500;
    width: 100%;
    margin-top: clamp(10px, 0.9vh, 24px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.2s;
}
.popup-close-button:hover { background: #f5f5f5; }

.qr-code-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 12px;
    padding: 0 10px;
    box-sizing: border-box;
}
.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(25% - 10px);
    margin: 0 5px;
    text-align: center;
}
.qr-code-item img { max-width: 75%; height: auto; margin-bottom: 5px; }
.qr-code-item .store-badge { width: 100%; height: auto; display: block; object-fit: contain; }

/* ── Русская клавиатура ──────────────────────────────── */
.vc-keyboard {
    display: none;
    flex-direction: column;
    gap: clamp(4px, 0.4vw, 10px);
    padding: clamp(8px, 0.7vw, 18px) clamp(10px, 0.9vw, 24px);
    background: #dde0e8;
    flex-shrink: 0;
}
.vc-keyboard--visible { display: flex; }

.vc-keyboard__row {
    display: flex;
    justify-content: center;
    gap: clamp(3px, 0.3vw, 8px);
}

.vc-key {
    flex: 1;
    background: #fff;
    border: none;
    border-radius: clamp(5px, 0.4vw, 10px);
    padding: clamp(7px, 0.65vh, 16px) clamp(2px, 0.2vw, 6px);
    font-size: clamp(13px, 1.1vw, 34px);
    font-weight: 500;
    cursor: pointer;
    color: #222;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), 0 1px 0 #aaa;
    transition: background 0.1s, transform 0.05s;
    min-width: 0;
    user-select: none;
}
.vc-key:active {
    background: #c8cad4;
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.vc-key--backspace {
    flex: 1.6;
    background: #b0b4bf;
    font-size: clamp(14px, 1.2vw, 36px);
}
.vc-key--backspace:active { background: #9096a0; }

.vc-key--space {
    flex: 6;
    font-size: clamp(11px, 0.9vw, 28px);
    letter-spacing: 0.05em;
}

/* =====================================================
   ЭКРАН ПОСЛЕДНИХ НОВОСТЕЙ
   ===================================================== */

.vc-news-screen {
    position: absolute;
    inset: 0;
    background: #F5F7FA;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.vc-news-screen--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* Back button row */
.vc-news-back-row {
    flex-shrink: 0;
    padding: clamp(8px, 0.7vw, 20px);
}
.vc-news-back {
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    padding: clamp(8px, 0.6vw, 18px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    border-radius: 50%;
    transition: opacity 0.15s, background 0.15s;
}
.vc-news-back:hover { opacity: 1; background: rgba(0,0,0,0.06); }
.vc-news-back svg {
    width: clamp(22px, 1.8vw, 52px);
    height: clamp(22px, 1.8vw, 52px);
}

/* Content area centered, like Android */
.vc-news-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(12px, 1.2vw, 40px) clamp(24px, 2vw, 64px);
}

/* AI avatar — 80dp analog */
.vc-news-avatar {
    width: clamp(64px, 5vw, 140px);
    height: clamp(64px, 5vw, 140px);
    border-radius: 50%;
    margin-top: clamp(6px, 0.5vw, 16px);
    margin-bottom: clamp(10px, 0.9vw, 28px);
}

/* Title — Black_Default_15 analog: normal weight, gray */
.vc-news-title {
    font-size: clamp(14px, 1.2vw, 40px);
    font-weight: 400;
    color: #333;
    text-align: center;
    margin: 0 0 clamp(8px, 0.7vw, 20px);
    line-height: 1.4;
    width: 100%;
}

/* Subtitle — Black_Bold_16 analog: bold */
.vc-news-subtitle {
    font-size: clamp(15px, 1.3vw, 44px);
    font-weight: 700;
    color: #000;
    text-align: center;
    margin: 0 0 clamp(14px, 1.2vw, 40px);
    line-height: 1.4;
    width: 100%;
}

/* Spinner — ProgressBar analog */
.vc-news-spinner {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.5vw, 16px);
    margin-bottom: clamp(12px, 1vw, 32px);
}
.vc-news-spinner span {
    display: inline-block;
    width: clamp(8px, 0.7vw, 20px);
    height: clamp(8px, 0.7vw, 20px);
    background: #aaa;
    border-radius: 50%;
    animation: vc-dot 1.2s infinite ease-in-out;
}
.vc-news-spinner span:nth-child(1) { animation-delay: 0s; }
.vc-news-spinner span:nth-child(2) { animation-delay: 0.2s; }
.vc-news-spinner span:nth-child(3) { animation-delay: 0.4s; }

/* News items container — news_container analog */
.vc-news-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.9vw, 28px);
}

/* Card — gradient_bg + 12sdp padding analog */
.vc-news-card {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f7 100%);
    border-radius: clamp(10px, 0.9vw, 26px);
    padding: clamp(10px, 0.9vw, 28px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

/* Date — Gray_Default_12 analog */
.vc-news-card-date {
    font-size: clamp(11px, 0.95vw, 30px);
    color: #888;
    margin-bottom: clamp(4px, 0.35vw, 10px);
    line-height: 1.3;
}

/* Text — Black_Default_13 analog, maxLines=3 */
.vc-news-card-text {
    font-size: clamp(13px, 1.1vw, 36px);
    color: #111;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: clamp(4px, 0.35vw, 10px);
}

/* Author — Gray_Default_12 analog, maxLines=1 */
.vc-news-card-author {
    font-size: clamp(11px, 0.95vw, 30px);
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* =====================================================
   ТЁМНАЯ ТЕМА — Голосовой чат
   ===================================================== */

body[data-theme=dark] #voice-assistant-popup {
    background: #222228;
}

body[data-theme=dark] .vc-header {
    background: #222228;
    border-bottom-color: #535378;
}
body[data-theme=dark] .vc-header-title {
    color: #fff;
}
body[data-theme=dark] .vc-close {
    color: #fff;
}

body[data-theme=dark] .vc-tab-btn {
    background: #2d2d38;
    color: #989898;
}
body[data-theme=dark] .vc-tab-btn--active {
    background: #494bd3;
    color: #fff;
}
body[data-theme=dark] .vc-tab-btn:hover:not(.vc-tab-btn--active) {
    background: #3a3a50;
}

body[data-theme=dark] .vc-bubble--bot {
    background: #2d2d38;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
body[data-theme=dark] .vc-bubble--user {
    background: #494bd3;
}
body[data-theme=dark] .vc-bubble--loading span {
    background: #535378;
}

body[data-theme=dark] .vc-chip {
    background: #494bd3;
}
body[data-theme=dark] .vc-chip:hover {
    background: #3e3f88;
}

body[data-theme=dark] .vc-download-btn {
    background: #494bd3;
}
body[data-theme=dark] .vc-download-btn:hover {
    background: #3e3f88;
}

body[data-theme=dark] .vc-back-to-assistant-btn {
    color: #8d8fff;
    border-color: #8d8fff;
}
body[data-theme=dark] .vc-back-to-assistant-btn:hover {
    background: rgba(141,143,255,0.1);
}

body[data-theme=dark] .vc-input-area {
    background: #494bd3;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
body[data-theme=dark] .vc-field {
    background: #2d2d38;
    color: #fff;
}
body[data-theme=dark] .vc-field::placeholder {
    color: #989898;
}
body[data-theme=dark] .vc-send-btn {
    background: #222228;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}
body[data-theme=dark] .vc-send-btn:hover {
    background: #1a1a24;
}

body[data-theme=dark] .vc-keyboard {
    background: #1a1a24;
}
body[data-theme=dark] .vc-key {
    background: #2d2d38;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 1px 0 #111;
}
body[data-theme=dark] .vc-key:active {
    background: #3a3a50;
}
body[data-theme=dark] .vc-key--backspace {
    background: #444460;
}
body[data-theme=dark] .vc-key--backspace:active {
    background: #535378;
}

body[data-theme=dark] #voice-assistant-popup p {
    color: #989898;
}
body[data-theme=dark] #voice-assistant-popup p.greeting {
    color: #fff;
}
body[data-theme=dark] #voice-assistant-popup p.info {
    color: #989898;
}

body[data-theme=dark] .popup-close-button {
    background: #2d2d38;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
body[data-theme=dark] .popup-close-button:hover {
    background: #3a3a50;
}

body[data-theme=dark] .vc-news-screen {
    background: #222228;
}
body[data-theme=dark] .vc-news-back {
    color: #fff;
}
body[data-theme=dark] .vc-news-back:hover {
    background: rgba(255,255,255,0.08);
}
body[data-theme=dark] .vc-news-title {
    color: #989898;
}
body[data-theme=dark] .vc-news-subtitle {
    color: #fff;
}
body[data-theme=dark] .vc-news-spinner span {
    background: #535378;
}
body[data-theme=dark] .vc-news-card {
    background: linear-gradient(135deg, #2d2d38 0%, #222228 100%);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
body[data-theme=dark] .vc-news-card-date {
    color: #989898;
}
body[data-theme=dark] .vc-news-card-text {
    color: #fff;
}
body[data-theme=dark] .vc-news-card-author {
    color: #989898;
}

/* =====================================================
   4K (3840px) — РАЗМЕРЫ
   ===================================================== */
@media (min-width: 3840px) {

    /* ── Сторисы: уменьшить текст (был 5-6rem = 200-240px) ── */
    .modal-story__images-date  { font-size: 2rem !important; }
    .modal-story__images-title { font-size: 2.6rem !important; }
    .modal-story__images-desc  { font-size: 1.8rem !important; }

    /* ── Чат: увеличить элементы (clamp maxes были малы) ──── */
    .vc-header-title { font-size: 2.4rem; }

    .vc-tab-btn {
        font-size: 1.8rem;
        padding: 0.6rem 2rem;
        border-radius: 2rem;
    }

    .vc-close svg { width: 3rem; height: 3rem; }

    .vc-bubble {
        font-size: 1.8rem;
        padding: 1.2rem 1.8rem;
        border-radius: 1.2rem;
    }

    .vc-msg-avatar { width: 5rem; height: 5rem; }

    .vc-chip {
        font-size: 1.7rem;
        padding: 1rem 1.6rem 1rem 1.8rem;
        min-height: 4rem;
        border-radius: 1.2rem;
    }
    .vc-chip-arrow { width: 2.4rem; height: 2.4rem; }

    .vc-download-btn {
        font-size: 1.8rem;
        padding: 1rem 2.4rem;
        border-radius: 1.2rem;
    }

    .vc-back-to-assistant-btn {
        font-size: 1.8rem;
        padding: 1rem 2.4rem;
        border-radius: 1.2rem;
    }

    .vc-field {
        font-size: 1.8rem;
        padding: 1.2rem 6rem 1.2rem 1.8rem;
        border-radius: 2.4rem;
        min-height: 9rem;
        max-height: 18rem;
    }

    .vc-send-btn {
        width: 4rem;
        height: 4rem;
        right: 1rem;
        bottom: 1rem;
    }
    .vc-send-btn svg { width: 1.8rem; height: 1.8rem; }

    .vc-input-label { font-size: 1.6rem; }

    .vc-bot-float {
        width: 5.5rem;
        height: 5.5rem;
        left: 1.2rem;
        top: -2.75rem;
    }
    .vc-avatar-space {
        width: 6.5rem;
    }

    .vc-key {
        font-size: 1.6rem;
        padding: 0.8rem 0.4rem;
        border-radius: 0.8rem;
    }
    .vc-key--space { font-size: 1.4rem; }

    .vc-news-title    { font-size: 1.8rem; }
    .vc-news-subtitle { font-size: 2rem; }
    .vc-news-card-date   { font-size: 1.4rem; }
    .vc-news-card-text   { font-size: 1.7rem; }
    .vc-news-card-author { font-size: 1.4rem; }
    .vc-news-avatar { width: 7rem; height: 7rem; }
    .vc-news-back svg { width: 3rem; height: 3rem; }

    #voice-assistant-popup p.greeting { font-size: 2.4rem; }
    #voice-assistant-popup p.info     { font-size: 1.8rem; }
}
