/* H51F1 (чат 64, 15.11.2026) — слой поверх всех стилей. DECISION_H-51-f1.
 * 1) строка о правах снята с зоны ADD VIDEO CONTENT (разметка не тронута, только скрыта);
 * 2) карточка согласия перед загрузкой (ui-consent.js), стилистика сайта: Outfit, стекло, градиент логотипа;
 * 3) подпись SCENES — шрифт сайта, весь блок −30% (zoom 0.7), время целиком в одну строку.
 * Подключается ПОСЛЕДНИМ из стилей (после ui-fixes.css).
 */

/* 1. Строка о правах — не на кнопке */
#dragZone .upload-consent { display: none !important; }

/* 2. Карточка согласия */
#consentModal[hidden] { display: none !important; }
#consentModal {
    position: fixed; inset: 0; z-index: 10050;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', -apple-system, sans-serif;
}
#consentModal .consent-overlay {
    position: absolute; inset: 0;
    background: rgba(40, 30, 60, 0.45);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
#consentModal .consent-card {
    position: relative; width: 380px; max-width: calc(100vw - 32px);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px; padding: 26px 26px 22px; text-align: center;
    box-shadow: 0 20px 60px rgba(40, 30, 60, 0.25);
}
#consentModal .consent-title {
    font-size: 18px; font-weight: 700; letter-spacing: 1.5px; color: #2d2540;
}
#consentModal .consent-text {
    font-size: 14px; font-weight: 400; line-height: 1.6; color: #4a4060;
    margin: 14px 0 22px;
}
#consentModal .consent-text a { color: inherit; text-decoration: underline; }
#consentModal .consent-actions { display: flex; gap: 12px; }
#consentModal .consent-btn {
    font-family: 'Outfit', -apple-system, sans-serif;
    border: 0; border-radius: 14px; padding: 12px 0; cursor: pointer;
    font-size: 14px; letter-spacing: 1px; transform: none;
}
#consentModal .consent-cancel { flex: 1; background: rgba(0, 0, 0, 0.05); color: #4a4060; font-weight: 500; }
#consentModal .consent-agree {
    flex: 1.4; color: #fff; font-weight: 700;
    background: linear-gradient(90deg, #FF99B3, #B794F6, #70C0F0);
}
#consentModal .consent-btn:hover { transform: none !important; filter: brightness(1.04); }
#consentModal .consent-cancel:hover { color: #4a4060 !important; }
#consentModal .consent-agree:hover { color: #fff !important; }
#consentModal .consent-btn:focus-visible { outline: 2px solid #B794F6; outline-offset: 2px; }

/* 3. SCENES 0:00 / 0:55 — шрифт сайта, −30%, время целиком */
html body .scene-strip-title {
    zoom: 0.7;
    font-family: 'Outfit', -apple-system, sans-serif !important;
}
html body .scene-strip-time {
    font-family: 'Outfit', -apple-system, sans-serif !important;
    font-variant-numeric: normal !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}
