/* ===== Pendulum Harmonics plugin =====
   All selectors scoped under [data-cb-type="pendulum"].

   Dark mode: nothing to override here. The container is transparent and the
   whole visual (including its background) is drawn on the canvas from the
   `color` / `bgColor` / `transparentBg` settings — see index.js. Set those to
   suit a light or dark section; there is no theme-dependent CSS color. */
[data-cb-type="pendulum"] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background: transparent;
}

[data-cb-type="pendulum"] canvas {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    [data-cb-type="pendulum"] {
        padding: 10px 0;
    }

    [data-cb-type="pendulum"] canvas {
        border-radius: 4px;
    }
}
