/* The previous HAP wall uses a full-viewport fixed gallery and player.
   Keep its playlist data available to the studio, but do not render its UI. */
#hap-wrapper { display:none !important; }
/* This stylesheet is loaded only by Crossing Sound. The shared site theme
   otherwise clips the body to one viewport, hiding the bottom of the studio. */
html { height:auto !important; min-height:100%; overflow-y:auto !important; }
body.vpc-crossing-sound-page { height:auto !important; min-height:100vh; overflow-x:hidden !important; overflow-y:visible !important; }
body.vpc-crossing-sound-page #page, body.vpc-crossing-sound-page #content { height:auto; overflow:visible; }
body.vpc-crossing-sound-page #content > .container { width:100%; max-width:1600px; }
#vpc-dj-studio { position:relative; z-index:1; }
#vpc-dj-studio #vpc-dj-list { max-height:480px; overflow-y:auto; padding-right:5px; }
/* Crossing Sound - DJ Auto Mix, isolated from legacy HAP styles. */
#vpc-dj-studio { box-sizing:border-box; width:100%; margin:24px 0 30px; padding:22px; background:#111719; color:#f5f7f5; border:1px solid #35413a; border-radius:18px; box-shadow:0 12px 35px rgba(0,0,0,.16); font-family:Arial,sans-serif; }
#vpc-dj-studio *, #vpc-dj-studio *:before, #vpc-dj-studio *:after { box-sizing:border-box; }
#vpc-dj-studio .vpc-dj-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
#vpc-dj-studio .vpc-dj-kicker { color:#a4d054; letter-spacing:2px; font-size:11px; font-weight:700; }
#vpc-dj-studio h2 { color:#fff; margin:4px 0 6px; font-size:25px; line-height:1.2; }
#vpc-dj-studio h2 small { font-size:11px; color:#bac3bb; vertical-align:middle; font-weight:normal; }
#vpc-dj-studio .vpc-dj-heading p { color:#b7c1b8; font-size:13px; margin:0 0 18px; }
#vpc-dj-studio .vpc-dj-state { border:1px solid #527332; color:#a4d054; padding:6px 10px; border-radius:20px; font-size:12px; white-space:nowrap; }
#vpc-dj-studio .vpc-dj-decks { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
#vpc-dj-studio .vpc-dj-deck { min-width:0; padding:15px; background:#1e2728; border-radius:13px; border:1px solid #3a4944; display:flex; flex-direction:column; gap:9px; }
#vpc-dj-studio .vpc-dj-deck > span { color:#a4d054; font-size:11px; font-weight:bold; letter-spacing:1px; }
#vpc-dj-studio .vpc-dj-deck:nth-child(2) > span { color:#d3a6ff; }
#vpc-dj-studio .vpc-dj-deck strong { font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#vpc-dj-studio .vpc-dj-deck small { color:#b7c1b8; font-size:12px; }
#vpc-dj-studio .vpc-dj-meter { width:100%; height:7px; overflow:hidden; border-radius:8px; background:#37443b; }
#vpc-dj-studio .vpc-dj-meter i { display:block; width:0; height:100%; background:#90bc40; transition:width .25s linear; }
#vpc-dj-studio .vpc-dj-deck:nth-child(2) .vpc-dj-meter i { background:#b78ce9; }
#vpc-dj-studio .vpc-dj-toolbar { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin:17px 0 12px; }
#vpc-dj-studio .vpc-dj-toolbar label { display:flex; flex:1 1 190px; gap:10px; align-items:center; font-size:13px; }
#vpc-dj-studio input[type=range] { accent-color:#90bc40; min-width:65px; flex:1; cursor:pointer; }
#vpc-dj-studio output { min-width:28px; text-align:right; }
#vpc-dj-studio button { border:1px solid #91bc40; border-radius:9px; padding:10px 14px; font-size:13px; font-weight:700; background:#83ae37; color:#0d1707; cursor:pointer; }
#vpc-dj-studio button:hover { background:#a9d25b; }
#vpc-dj-studio button:disabled { opacity:.45; cursor:not-allowed; }
#vpc-dj-studio button.vpc-dj-outline { background:transparent; color:#e5efe1; border-color:#586b5e; }
#vpc-dj-studio .vpc-dj-note { color:#afc1ae; font-size:12px; line-height:1.5; }
#vpc-dj-studio .vpc-dj-library { margin-top:20px; border-top:1px solid #3b4841; padding-top:12px; }
#vpc-dj-studio h3 { font-size:16px; color:#f7f9f4; margin:3px 0 12px; }
#vpc-dj-studio .vpc-dj-track { display:flex; justify-content:space-between; align-items:center; gap:10px; border-bottom:1px solid #2e3b35; padding:11px 0; }
#vpc-dj-studio .vpc-dj-track-name { min-width:0; display:flex; flex-direction:column; gap:4px; }
#vpc-dj-studio .vpc-dj-track-name strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px; }
#vpc-dj-studio .vpc-dj-track-name small { color:#94a39a; font-size:11px; }
#vpc-dj-studio .vpc-dj-track label { display:flex; align-items:center; white-space:nowrap; gap:7px; font-size:12px; color:#c9d2ca; }
#vpc-dj-studio select { color:#eef6e8; background:#27352d; border:1px solid #586b5e; border-radius:6px; padding:6px; font-size:12px; }
@media (max-width:620px) { #vpc-dj-studio { padding:14px; } #vpc-dj-studio .vpc-dj-decks { grid-template-columns:1fr; } #vpc-dj-studio .vpc-dj-heading { align-items:center; } #vpc-dj-studio h2 { font-size:21px; } #vpc-dj-studio .vpc-dj-track { flex-wrap:wrap; } }

#vpc-dj-studio .vpc-dj-toolbar .vpc-dj-sync { flex:0 0 auto; white-space:nowrap; cursor:pointer; color:#d9e6d8; font-size:12px; }
#vpc-dj-studio .vpc-dj-sync input { accent-color:#90bc40; margin:0 4px 0 0; cursor:pointer; }

/* Choix explicite du premier morceau à mixer. */
#vpc-dj-studio .vpc-dj-track.vpc-dj-selected { background:rgba(144,188,64,.10); border-left:3px solid #a4d054; padding-left:10px; border-radius:6px; }
#vpc-dj-studio .vpc-dj-track .vpc-dj-track-name { flex:1 1 240px; }
#vpc-dj-studio .vpc-dj-track button.vpc-dj-pick { flex:0 0 auto; padding:7px 11px; color:#e2f0d4; background:#25372b; border-color:#527332; white-space:nowrap; font-size:12px; }
#vpc-dj-studio .vpc-dj-track.vpc-dj-selected button.vpc-dj-pick { color:#0d1707; background:#a4d054; border-color:#a4d054; }
#vpc-dj-studio .vpc-dj-track .vpc-dj-pick:focus-visible { outline:2px solid #e4ffa9; outline-offset:2px; }

/* Crossing Sound - EQ graphique 20 bandes */
#vpc-dj-studio .vpc-eq-panel { margin:18px 0 12px; padding:18px; border:1px solid #44574b; background:linear-gradient(145deg,#1a2525,#151e1e); border-radius:14px; }
#vpc-dj-studio .vpc-eq-header { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
#vpc-dj-studio .vpc-eq-header h3 { margin:0 0 4px; }
#vpc-dj-studio .vpc-eq-header h3 small { font-size:11px; font-weight:normal; color:#bad3bd; }
#vpc-dj-studio .vpc-eq-header p,#vpc-dj-studio .vpc-eq-help { font-size:11px; color:#a8bdb0; margin:4px 0 9px; }
#vpc-dj-studio .vpc-eq-toggle { white-space:nowrap; font-size:12px; color:#e2eee1; display:flex; gap:7px; align-items:center; cursor:pointer; }
#vpc-dj-studio .vpc-eq-toggle input { accent-color:#92c244; }
#vpc-dj-studio .vpc-eq-controls { display:flex; align-items:center; flex-wrap:wrap; gap:14px; padding:12px 0 8px; }
#vpc-dj-studio .vpc-eq-controls label { display:flex; align-items:center; gap:8px; font-size:12px; color:#dae4da; }
#vpc-dj-studio .vpc-eq-controls #vpc-eq-preamp { width:130px; flex:0 0 130px; }
#vpc-dj-studio .vpc-eq-controls #vpc-eq-preamp-value { width:53px; font-size:11px; font-variant-numeric:tabular-nums; color:#b7d98d; }
#vpc-dj-studio .vpc-eq-controls #vpc-eq-reset { background:transparent; border-color:#587160; color:#dbe8da; padding:7px 11px; }
#vpc-dj-studio .vpc-eq-scroller { width:100%; overflow-x:auto; padding-bottom:7px; }
#vpc-dj-studio .vpc-eq-bands { display:grid; grid-template-columns:repeat(20,minmax(48px,1fr)); gap:5px; min-width:1120px; padding:5px 3px; }
#vpc-dj-studio .vpc-eq-band { min-width:0; display:flex; align-items:center; flex-direction:column; justify-content:space-between; gap:8px; border:1px solid #32443c; border-radius:10px; background:#202e2b; padding:10px 3px; font-size:11px; color:#dce7da; }
#vpc-dj-studio .vpc-eq-band strong { font-size:11px; white-space:nowrap; color:#c4dbb2; }
#vpc-dj-studio .vpc-eq-band output { font-size:10px; min-width:unset; text-align:center; color:#b6dc74; white-space:nowrap; font-variant-numeric:tabular-nums; }
#vpc-dj-studio .vpc-eq-band input[type=range] { appearance:slider-vertical; -webkit-appearance:slider-vertical; writing-mode:vertical-lr; direction:rtl; width:25px; min-width:25px; height:165px; flex:0 0 165px; margin:0; accent-color:#95c447; }
#vpc-dj-studio .vpc-eq-band input:disabled { opacity:.36; }
#vpc-dj-studio .vpc-eq-help { margin:7px 0 0; }
@media(max-width:700px) { #vpc-dj-studio .vpc-eq-panel { padding:12px; } #vpc-dj-studio .vpc-eq-controls { gap:8px; } #vpc-dj-studio .vpc-eq-bands { min-width:1120px; } }

#vpc-dj-studio .vpc-dj-gallery { margin:-2px 0 22px; overflow:hidden; border-radius:12px; background:#0b1112; }
#vpc-dj-studio .vpc-dj-gallery-images { display:flex; gap:4px; overflow-x:auto; min-height:100px; scrollbar-width:thin; }
#vpc-dj-studio .vpc-dj-gallery-images:empty { display:none; }
#vpc-dj-studio .vpc-dj-gallery-images img { flex:1 0 160px; min-width:0; width:200px; max-width:350px; height:clamp(130px,18vw,240px); object-fit:cover; animation:vpc-creator-in .45s ease; }
#vpc-dj-studio .vpc-dj-gallery p { margin:0; padding:12px; font-size:13px; color:#dce9cf; }
#vpc-dj-studio .vpc-eq-rail { display:block; position:relative; height:165px; width:32px; }
#vpc-dj-studio .vpc-eq-applied { position:absolute; left:-3px; right:-3px; height:3px; border-radius:3px; background:#e9ffb8; box-shadow:0 0 7px #a4d054; pointer-events:none; transition:bottom .8s ease; }
#vpc-dj-studio #vpc-eq-adaptive-status { min-height:17px; }
@keyframes vpc-creator-in { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) { #vpc-dj-studio .vpc-eq-applied { transition:none; } #vpc-dj-studio .vpc-dj-gallery-images img { animation:none; } }

/* The gallery belongs to the site header, outside the studio console. */
.vpc-crossing-sound-page .vpc-sound-banner { width:100%; height:auto; min-height:0; margin:0; padding:0; background:#17191b; }
.vpc-crossing-sound-page .vpc-sound-banner-images { --vpc-gallery-items:1; --vpc-gallery-height:250px; display:flex; width:100%; overflow-x:auto; scrollbar-width:thin; }
.vpc-crossing-sound-page .vpc-sound-banner .item { position:relative; display:block; flex:0 0 calc(100% / var(--vpc-gallery-items)); min-width:0; }
.vpc-crossing-sound-page .vpc-sound-banner .img-resize { width:100%; height:var(--vpc-gallery-height); overflow:hidden; }
.vpc-crossing-sound-page .vpc-sound-banner img { display:block; width:100%; height:100%; object-fit:cover; object-position:center top; }
#vpc-dj-studio [hidden], .vpc-crossing-sound-page #vpc-sound-banner[hidden] { display:none !important; }
/* Same item counts as the homepage carousel, without stretching sparse galleries. */
@media(min-width:350px) { .vpc-crossing-sound-page .vpc-sound-banner-images { --vpc-gallery-items:2; } }
@media(min-width:400px) { .vpc-crossing-sound-page .vpc-sound-banner-images { --vpc-gallery-items:3; } }
@media(min-width:800px) { .vpc-crossing-sound-page .vpc-sound-banner-images { --vpc-gallery-items:5; } }
@media(min-width:1000px) { .vpc-crossing-sound-page .vpc-sound-banner-images { --vpc-gallery-items:6; } }
@media(min-width:1600px) { .vpc-crossing-sound-page .vpc-sound-banner-images { --vpc-gallery-items:7; } }
@media(max-width:767px) { .vpc-crossing-sound-page .vpc-sound-banner-images { --vpc-gallery-height:200px; } }
@media(min-width:1601px) { .vpc-crossing-sound-page .vpc-sound-banner-images { --vpc-gallery-height:300px; } }
#vpc-dj-studio #vpc-dj-volume { max-width:180px; }
#vpc-dj-studio #vpc-dj-volume-value { min-width:45px; }

/* Owl fills the full site banner, including when fewer originals than visible
   items are available. The flex layout above remains the no-JS fallback. */
.vpc-crossing-sound-page .vpc-sound-banner-images.owl-loaded { display:block; overflow:hidden; }
.vpc-crossing-sound-page .vpc-sound-banner-images.owl-loaded .item { display:block; width:100%; max-width:none; }
.vpc-crossing-sound-page .vpc-sound-banner .owl-nav button { border:0; padding:0; font-size:30px; cursor:pointer; }
