@media (max-width: 768px) {
    /* На мобильном колокольчик переезжает в сайдбар, а панель раскрывается снизу листом */
    .global-notify-wrap { display: none !important; }
    .global-notify-panel {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: 82vh;
        border-radius: 18px 18px 0 0;
        transform: translateY(100%);
    }
    .global-notify-panel.open { transform: translateY(0); }
    .global-notify-handle { display: block; width: 36px; height: 4px; border-radius: 999px; background: #e2e8f0; margin: 8px auto 0; flex-shrink: 0; }
    .dark-theme .global-notify-handle { background: #334155; }
    .global-notify-close { display: flex; }
    .global-notify-tab { font-size: 12.5px; padding: 9px 6px; }
    .global-notify-item { padding: 12px 8px; }
}

/* FAB - только десктоп, скрыт на мобильном */
@media (max-width: 768px) { #ai-fab { display: none !important; } }

/* Окно чата - мобайл: растянуть снизу на всю ширину */
@media (max-width: 768px) {
    #ai-chat-window {
        bottom: 0; right: 0; left: 0;
        width: 100%; border-radius: 20px 20px 0 0;
        max-height: 75vh; z-index: 20001;
    }
}

@media (max-width: 640px) {
    .cache-consent-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .cache-consent-actions { justify-content: center; }
}
