/* Тема Cosmo cats — вариант Cosmic (data-cosmic-variant="cats"): вместо
   чёрной дыры небо с котами-планетами (cosmo-cats.js). Цвета у неё общие
   с остальными темами — они в theme-colors.css. */

/* --- Фон: вместо чёрной дыры — небо и планеты из cosmo-cats.js ---------- */

.cosmo-cats-layer {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
}

:root[data-theme="cosmic"][data-cosmic-variant="cats"] .cosmo-cats-layer {
    display: block;
}

:root[data-theme="cosmic"][data-cosmic-variant="cats"] .cosmic-canvas {
    display: none;
}

/* --- Комета: настройки в Администрировании → Интерфейс ------------------- */

.comet-controls {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    max-width: 440px;
}

.comet-interval {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 650;
}

.comet-interval input {
    width: 76px;
    padding: 8px 10px;
    border: 1px solid var(--field-line);
    border-radius: 10px;
    background: var(--surface-soft);
    color: var(--ink);
    font: inherit;
}

@media (max-width: 760px) {
    .comet-settings {
        flex-direction: column;
        align-items: stretch;
    }

    .comet-controls {
        justify-content: flex-start;
        max-width: none;
    }
}
