/* V6 : deux pastilles discrètes dans les commandes du Hero, cible tactile de 44 px.
   Le thème pétrole est actif par défaut, le noir reprend la V2. */
html.celios-theme-petrole body { background: #09282a; color: #f7f3ec; }
.theme-logo--petrole { display: none !important; }
.celios-theme-petrole .theme-logo--noir { display: none !important; }
.celios-theme-petrole .theme-logo--petrole { display: block !important; }
.transition-note__inner { max-width: 1320px; margin: auto; display: flex; justify-content: center; align-items: center; gap: 4px 14px; flex-wrap: wrap; }
.transition-note__message { margin: 0; }
.theme-switch { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 0; }
.theme-switch button {
    appearance: none; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: 0 0 44px; padding: 0; margin: 0;
    border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
    touch-action: manipulation;
}
.theme-swatch { display: block; width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; border: 1px solid #ca9e64; }
.theme-swatch--noir { background: #0b0b0a; }
.theme-swatch--petrole { background: #09282a; }
.theme-switch button[aria-pressed="true"] .theme-swatch { box-shadow: 0 0 0 3px #f0d59e; }
@media (hover: hover) { .theme-switch button:hover .theme-swatch { border-color: #f7f3ec; } }
.theme-switch button:focus-visible { outline: 2px solid #f0d59e; outline-offset: -2px; }
@media (forced-colors: active) {
    .theme-swatch { forced-color-adjust: none; }
    .theme-switch button[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -3px; }
    .theme-switch button:focus-visible { outline: 3px dashed Highlight; outline-offset: -1px; }
}
@media (max-width: 700px) { .transition-note__inner { flex-direction: column; gap: 0; } }

/* V6 — les commandes d’affichage partagent un même axe horizontal. */
.hero-display-controls {
    position: absolute;
    z-index: 4;
    right: 24px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.hero-display-controls .motion-control {
    position: static;
    min-height: 36px;
    margin: 0;
    line-height: 1.25;
    font: inherit;
    font-size: 13px;
    white-space: normal;
}
@media (max-width: 700px) {
    .hero-display-controls {
        position: relative;
        inset: auto;
        align-self: stretch;
        padding: 0 16px 16px;
        flex-wrap: wrap;
    }
}
