
:root{
  --bg:#07111f;
  --bg2:#0b1b33;
  --panel:rgba(11,24,43,.78);
  --panel-2:rgba(18,35,59,.9);
  --line:rgba(160,196,255,.16);
  --text:#eef4ff;
  --muted:#b4c0db;
  --accent:#8f7cff;
  --accent2:#46d5ff;
  --good:#37e49b;
  --warn:#ffcf5a;
  --danger:#ff5f7a;
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --radius:20px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,Segoe UI,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(143,124,255,.20), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(70,213,255,.18), transparent 28%),
    linear-gradient(160deg, var(--bg), #09162a 40%, var(--bg2));
  min-height:100vh;
}
a{color:inherit;text-decoration:none}
.site-shell{max-width:1450px;margin:0 auto;padding:18px}
.panel{
  background:linear-gradient(180deg, rgba(13,25,45,.82), rgba(7,16,31,.84));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 20px;position:sticky;top:12px;backdrop-filter:blur(12px);z-index:20}
.brand-wrap{display:flex;align-items:center;gap:16px}
.logo-img{width:66px;height:66px;object-fit:contain;border-radius:16px;background:rgba(255,255,255,.03);padding:6px}
h1,h2,h3,h4,p{margin:0}
.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent2);margin-bottom:4px}
.nav{display:flex;gap:12px;flex-wrap:wrap}
.nav a{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid transparent;color:var(--muted)}
.nav a.active,.nav a:hover{background:rgba(143,124,255,.14);border-color:rgba(143,124,255,.35);color:var(--text)}
.main-layout{display:grid;grid-template-columns:1.45fr .92fr;gap:18px;margin-top:18px}
.left-column,.right-column{display:flex;flex-direction:column;gap:18px}
.hero-panel{padding:22px;overflow:hidden;position:relative}
.hero-panel::before{
  content:"";position:absolute;inset:0;background:
  linear-gradient(90deg, rgba(4,10,20,.65), rgba(4,10,20,.2)),
  url('assets/images/bg-studio.svg') center/cover no-repeat;opacity:.42;pointer-events:none
}
.hero-panel > *{position:relative;z-index:1}
.hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.state-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(55,228,155,.12);border:1px solid rgba(55,228,155,.24);color:#c4ffe7;font-size:13px;margin-bottom:10px}
.state-pill.off{background:rgba(255,95,122,.08);border-color:rgba(255,95,122,.22);color:#ffc8d3}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.card-soft{background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:18px;padding:16px}
.player-head{display:flex;justify-content:space-between;align-items:center}
.muted{color:var(--muted)}
.small{font-size:12px}
.play-btn,.primary,.soft,.join-btn{
  border:none;border-radius:14px;padding:12px 16px;font-weight:700;cursor:pointer
}
.primary{background:linear-gradient(135deg,var(--accent),#6f8dff);color:white;box-shadow:0 12px 24px rgba(111,141,255,.25)}
.primary.large{padding:14px 20px}
.soft{background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--text)}
.blink-btn{animation:blink 1.25s infinite}
@keyframes blink{0%,100%{transform:translateY(0); box-shadow:0 10px 18px rgba(111,141,255,.18)}50%{transform:translateY(-1px); box-shadow:0 0 0 5px rgba(70,213,255,.12)}}
.equalizer{display:flex;gap:6px;align-items:flex-end;height:62px;margin:18px 0}
.equalizer span{display:block;flex:1;min-width:8px;background:linear-gradient(180deg,var(--accent2),var(--accent));border-radius:999px;animation:eq 1.4s ease-in-out infinite}
.equalizer span:nth-child(2){animation-delay:.12s}.equalizer span:nth-child(3){animation-delay:.24s}.equalizer span:nth-child(4){animation-delay:.36s}.equalizer span:nth-child(5){animation-delay:.48s}.equalizer span:nth-child(6){animation-delay:.60s}
@keyframes eq{0%,100%{height:15%}40%{height:95%}70%{height:50%}}
.countdown{font-size:34px;font-weight:800;margin:16px 0 6px}
.player-meta,.count-foot,.chat-toolbar{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}
.cta-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;margin-top:18px}
.cta-box{padding:18px;background:linear-gradient(140deg, rgba(70,213,255,.08), rgba(143,124,255,.08));border:1px solid var(--line);border-radius:18px}
.join-btn{display:inline-flex;align-items:center;gap:10px;background:linear-gradient(135deg,var(--accent2),var(--accent));color:#09111f;margin-top:14px}
.banner-box{min-height:170px;display:flex;align-items:flex-end;padding:18px;background:
 linear-gradient(180deg,rgba(6,12,25,.15),rgba(6,12,25,.65)),
 url('assets/images/dedi-ia.svg') center/cover no-repeat;border:1px solid var(--line);border-radius:18px}
.chat-panel,.dedicace-panel,.shortcut-panel,.activity-panel,.ticker-panel{padding:18px}
.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
.head-actions{display:flex;gap:10px}
.chat-toolbar{padding:10px 12px;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:999px;margin-bottom:14px}
.chat-shell{display:flex;flex-direction:column;gap:14px}
.chat-list{display:flex;flex-direction:column;gap:12px;min-height:280px;max-height:420px;overflow:auto;padding-right:4px}
.message{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05)}
.message .meta{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center}
.nick{font-weight:800;cursor:pointer}
.badge{font-size:11px;padding:4px 8px;border-radius:999px;background:rgba(70,213,255,.12);color:#bff3ff;border:1px solid rgba(70,213,255,.2)}
.chat-composer{display:flex;gap:10px}
.chat-composer input{flex:1;padding:14px 16px;border-radius:14px;border:1px solid var(--line);background:rgba(0,0,0,.18);color:var(--text)}
.right-column .dedicace-panel{height:100%}
.side-intro{margin-bottom:12px}
.side-list{display:flex;flex-direction:column;gap:10px;max-height:760px;overflow:auto}
.dedi-card{padding:14px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line);cursor:pointer}
.dedi-card:hover{transform:translateY(-1px);transition:.16s ease}
.rate{color:#ffe38d;font-weight:700}
.shortcut-grid{display:grid;grid-template-columns:1fr;gap:12px}
.shortcut{display:flex;justify-content:space-between;align-items:center}
.ticker-panel{margin-top:18px}
.ticker-title{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent2);margin-bottom:12px}
.ticker-window{overflow:hidden;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.03)}
.ticker-track{display:flex;gap:26px;padding:14px 18px;white-space:nowrap;animation:marq 24s linear infinite}
@keyframes marq{from{transform:translateX(4%)}to{transform:translateX(-40%)}}
.pm-float{position:fixed;bottom:22px;right:22px;width:54px;height:54px;border-radius:50%;border:none;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#06111f;font-size:20px;font-weight:900;box-shadow:var(--shadow);cursor:pointer;z-index:22}
.overlay{position:fixed;inset:0;background:rgba(3,8,16,.65);backdrop-filter:blur(4px);z-index:30}
.hidden{display:none!important}
.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:31;padding:18px;width:min(94vw,760px)}
.modal-sm{width:min(94vw,420px)} .modal-md{width:min(94vw,640px)} .modal-lg{width:min(94vw,880px)}
.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.close-modal{border:none;background:transparent;color:var(--text);font-size:28px;cursor:pointer}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-stack{display:grid;gap:12px}
.form-grid label,.form-stack label{display:grid;gap:8px;color:var(--muted);font-size:13px}
.form-grid input,.form-grid select,.form-grid textarea,.form-stack input,.form-stack textarea{
  width:100%;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:rgba(0,0,0,.2);color:var(--text)
}
.form-grid textarea,.form-stack textarea{min-height:110px;resize:vertical}
.form-grid .full{grid-column:1/-1}
.modal-actions{display:flex;justify-content:flex-end;margin-top:14px}
.user-mini{display:grid;grid-template-columns:60px 1fr;gap:12px}
.user-mini img{width:60px;height:60px;border-radius:50%;object-fit:cover}
.activity-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}
.video-card iframe,.video-card .video-placeholder{width:100%;aspect-ratio:16/9;border:none;border-radius:16px;background:#020814}
.text-card,.banner-card{min-height:100%}
.banner-card{background:
 linear-gradient(180deg,rgba(6,12,25,.25),rgba(6,12,25,.55)),
 url('assets/images/bg-studio.svg') center/cover no-repeat;border:1px solid var(--line);border-radius:18px;padding:18px;display:flex;align-items:flex-end;min-height:220px}
.banner-card h3{font-size:28px;max-width:10ch}
.admin-grid{display:grid;grid-template-columns:1.25fr .95fr;gap:18px;margin-top:18px}
.admin-main,.admin-side{padding:18px}
.admin-actions,.stats-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.stat-card{min-width:180px}
.queue-grid,.stack-list{display:grid;gap:12px}
.queue-item{display:grid;grid-template-columns:1fr auto;gap:12px;padding:14px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.queue-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.work-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
textarea.code-ish{min-height:120px}
.admin-block{padding:16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.table-like{display:grid;gap:10px}
.table-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:12px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.tag-ban{padding:6px 10px;border-radius:999px;background:rgba(255,95,122,.12);color:#ffc9d2;border:1px solid rgba(255,95,122,.25)}
.page-foot-note{margin-top:10px;color:var(--muted);font-size:13px}
@media (max-width:1100px){
  .main-layout,.admin-grid,.activity-grid,.work-grid,.cta-grid{grid-template-columns:1fr}
  .hero-grid{grid-template-columns:1fr}
}
@media (max-width:700px){
  .topbar,.hero-top,.section-head,.player-meta,.count-foot{flex-direction:column;align-items:flex-start}
  .nav{width:100%}
  .form-grid{grid-template-columns:1fr}
  .chat-toolbar{display:none}
}
#themeConfigModal{
  width: min(96vw, 1000px);
  max-height: 88vh;
  overflow-y: auto;
}

#themeConfigModal .form-stack{
  overflow-y: auto;
}

.dedi-thumb-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.dedi-thumb{
  width:60px;
  height:60px;
  border-radius:16px;
  object-fit:cover;
  flex:0 0 60px;
  box-shadow:0 8px 24px rgba(0,0,0,0.25);
}

.dedi-popup-cover-wrap{
  display:flex;
  justify-content:center;
  margin-bottom:14px;
}

.dedi-popup-cover{
  width:160px;
  height:160px;
  border-radius:24px;
  object-fit:cover;
  box-shadow:0 12px 30px rgba(0,0,0,0.30);
}

.dedi-vote{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:10px;
}

.dedi-star{
  font-size:22px;
  cursor:pointer;
  opacity:0.5;
  transition: transform 0.1s ease, opacity 0.1s ease;
}

.dedi-star.active{
  opacity:1;
  transform: scale(1.15);
}

.dedi-star:hover{
  opacity:1;
}
.top-dedicace-panel{
  border:1px solid rgba(250,204,21,.22);
  box-shadow:0 18px 50px rgba(0,0,0,.28);
}

#topDedicationBlock{
  min-height:320px;
  padding:18px;
  border-radius:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(15,23,42,.72);
  border:1px solid rgba(255,255,255,.08);
}

#topDedicationBlock .dedi-card{
  width:100%;
  max-width:none;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  padding:20px;
  border-radius:22px;
  box-shadow:none;
}

#topDedicationBlock .dedi-thumb-row{
  align-items:flex-start;
  gap:18px;
  width:100%;
}

#topDedicationBlock .dedi-thumb{
  width:92px;
  height:92px;
  border-radius:20px;
  flex:0 0 92px;
}

#topDedicationBlock strong{
  display:block;
  line-height:1.2;
}

#topDedicationBlock iframe,
#topDedicationBlock audio{
  display:block;
  width:100%;
  margin-top:12px;
  border-radius:14px;
  overflow:hidden;
}

#topDedicationBlock .soft{
  margin-top:6px;
}

.top-dedicace-panel .section-head h3{
  font-size:24px;
}

.top-dedi-label{
  color:rgba(255,255,255,.72);
  letter-spacing:.08em;
}

.top-dedi-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.top-dedi-stars{
  font-size:16px;
  color:#facc15;
  letter-spacing:.08em;
}

}
#topDedicationBlock .muted{
  font-size:15px;
}

#topDedicationBlock .dedi-thumb-row > div:last-child{
  width:100%;
}

#topDedicationBlock .soft{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border-radius:14px;
}

#topDedicationBlock a.soft{
  text-decoration:none;
}

#topDedicationBlock > .muted{
  width:100%;
}

#topDedicationBlock{
  display:block !important;
}

#topDedicationBlock .dedi-card strong{
  font-size:17px;
  margin-bottom:6px;
}

#topDedicationBlock audio,
#topDedicationBlock iframe{
  background:rgba(0,0,0,.2);
}
#topDedicationBlock a.soft{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

#topDedicationBlock a.soft,
#topDedicationBlock button.soft{
  margin-left:auto;
  margin-right:auto;
}

#topDedicationBlock div[style*="background:#111827"]{
  text-align:center !important;
}

#topDedicationBlock div[style*="background:#111827"] a.soft{
  margin-top:10px;
}
.top-dedi-card{
  width:100%;
}

.top-dedi-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) 140px;
  gap:18px;
  align-items:start;
}

.top-dedi-content{
  min-width:0;
}

.top-dedi-cover-wrap{
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
}

.top-dedi-cover{
  width:130px;
  height:130px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 24px rgba(0,0,0,.28);
}

@media (max-width:700px){
  .top-dedi-main{
    grid-template-columns:1fr;
  }

  .top-dedi-cover-wrap{
    justify-content:flex-start;
  }

  .top-dedi-cover{
    width:100%;
    max-width:180px;
    height:auto;
    aspect-ratio:1/1;
  }
}

/* ========= STREAM VISUAL ROOM ========= */
.stream-visual{
  margin-top:18px;
  padding:18px 16px 16px;
  border-radius:20px;
  border:1px solid rgba(143,124,255,.28);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  box-shadow:0 14px 30px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.03);
  backdrop-filter:blur(6px);
  overflow:hidden;
}

.stream-visual-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#f7f8ff;
  text-shadow:0 0 12px rgba(143,124,255,.35);
}

.stream-dot{
  width:12px;
  height:12px;
  border-radius:999px;
  background:#7df9ff;
  box-shadow:0 0 0 0 rgba(125,249,255,.7);
  animation:streamPulse 1.6s infinite;
}

.stream-eq{
  height:190px;
  display:flex;
  align-items:flex-end;
  gap:8px;
  padding:12px 6px 0;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}

.stream-eq span{
  flex:1;
  min-width:10px;
  border-radius:999px 999px 0 0;
  transform-origin:bottom center;
  animation:streamBounce 1.1s ease-in-out infinite;
  box-shadow:0 0 18px rgba(255,255,255,.08);
}

.stream-eq span:nth-child(1){height:30%;background:linear-gradient(180deg,#36e4ff,#00b7ff);animation-delay:.05s}
.stream-eq span:nth-child(2){height:52%;background:linear-gradient(180deg,#ff67f8,#cc49ff);animation-delay:.18s}
.stream-eq span:nth-child(3){height:38%;background:linear-gradient(180deg,#ffe66d,#ffc947);animation-delay:.31s}
.stream-eq span:nth-child(4){height:68%;background:linear-gradient(180deg,#36e4ff,#00b7ff);animation-delay:.44s}
.stream-eq span:nth-child(5){height:46%;background:linear-gradient(180deg,#ff67f8,#cc49ff);animation-delay:.57s}
.stream-eq span:nth-child(6){height:82%;background:linear-gradient(180deg,#ffe66d,#ffc947);animation-delay:.70s}
.stream-eq span:nth-child(7){height:58%;background:linear-gradient(180deg,#36e4ff,#00b7ff);animation-delay:.83s}
.stream-eq span:nth-child(8){height:74%;background:linear-gradient(180deg,#ff67f8,#cc49ff);animation-delay:.96s}
.stream-eq span:nth-child(9){height:40%;background:linear-gradient(180deg,#ffe66d,#ffc947);animation-delay:1.09s}
.stream-eq span:nth-child(10){height:64%;background:linear-gradient(180deg,#36e4ff,#00b7ff);animation-delay:1.22s}
.stream-eq span:nth-child(11){height:36%;background:linear-gradient(180deg,#ff67f8,#cc49ff);animation-delay:1.35s}
.stream-eq span:nth-child(12){height:56%;background:linear-gradient(180deg,#ffe66d,#ffc947);animation-delay:1.48s}

@keyframes streamBounce{
  0%,100%{transform:scaleY(.45);opacity:.72}
  50%{transform:scaleY(1.05);opacity:1}
}

@keyframes streamPulse{
  0%{box-shadow:0 0 0 0 rgba(125,249,255,.65)}
  70%{box-shadow:0 0 0 14px rgba(125,249,255,0)}
  100%{box-shadow:0 0 0 0 rgba(125,249,255,0)}
}
/* ======== END STREAM VISUAL ROOM ======== */


/* ===== STREAM VISUAL PRO ===== */

.stream-visual{
  margin-top:18px;
  padding:22px 20px 20px;
  border-radius:26px;
  background:
    radial-gradient(circle at top center, rgba(143,124,255,.10), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    0 16px 40px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(10px);
  overflow:hidden;
}

.stream-visual-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:10px;
}

.stream-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:#77f7ff;
  box-shadow:0 0 0 0 rgba(119,247,255,.75);
  animation:livePulsePro 1.8s infinite;
}

.stream-live-badge{
  font-size:11px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#dff8ff;
  opacity:.95;
}

.stream-visual-title-wrap{
  text-align:center;
  margin-bottom:18px;
}

.stream-visual-title{
  font-size:24px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#f8fbff;
  text-shadow:
    0 0 18px rgba(143,124,255,.18),
    0 0 28px rgba(125,249,255,.08);
}

.stream-visual-subtitle{
  margin-top:8px;
  font-size:11px;
  letter-spacing:.20em;
  text-transform:uppercase;
  color:rgba(228,235,255,.62);
}

.stream-wave-shell{
  position:relative;
  min-height:180px;
  padding:18px 18px 14px;
  border-radius:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)),
    radial-gradient(circle at center, rgba(125,249,255,.05), transparent 55%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    inset 0 -20px 50px rgba(0,0,0,.16);
}

.stream-wave-center-line{
  position:absolute;
  left:18px;
  right:18px;
  top:50%;
  height:1px;
  transform:translateY(-50%);
  background:linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(125,249,255,.12),
    rgba(143,124,255,.18),
    rgba(255,255,255,0)
  );
  pointer-events:none;
}

.stream-eq{
  position:relative;
  z-index:1;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}

.stream-eq span{
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg, #86fbff 0%, #8f7cff 55%, #5bd4ff 100%);
  box-shadow:
    0 0 10px rgba(125,249,255,.14),
    0 0 18px rgba(143,124,255,.10);
  animation:waveStudio 1.45s ease-in-out infinite;
  transform-origin:center;
  opacity:.96;
}

.stream-eq span:nth-child(1){height:16%;animation-delay:.03s}
.stream-eq span:nth-child(2){height:28%;animation-delay:.08s}
.stream-eq span:nth-child(3){height:42%;animation-delay:.13s}
.stream-eq span:nth-child(4){height:58%;animation-delay:.18s}
.stream-eq span:nth-child(5){height:72%;animation-delay:.23s}
.stream-eq span:nth-child(6){height:54%;animation-delay:.28s}
.stream-eq span:nth-child(7){height:34%;animation-delay:.33s}
.stream-eq span:nth-child(8){height:20%;animation-delay:.38s}
.stream-eq span:nth-child(9){height:14%;animation-delay:.43s}
.stream-eq span:nth-child(10){height:24%;animation-delay:.48s}
.stream-eq span:nth-child(11){height:38%;animation-delay:.53s}
.stream-eq span:nth-child(12){height:63%;animation-delay:.58s}
.stream-eq span:nth-child(13){height:80%;animation-delay:.63s}
.stream-eq span:nth-child(14){height:67%;animation-delay:.68s}
.stream-eq span:nth-child(15){height:46%;animation-delay:.73s}
.stream-eq span:nth-child(16){height:25%;animation-delay:.78s}
.stream-eq span:nth-child(17){height:14%;animation-delay:.83s}
.stream-eq span:nth-child(18){height:18%;animation-delay:.88s}
.stream-eq span:nth-child(19){height:30%;animation-delay:.93s}
.stream-eq span:nth-child(20){height:48%;animation-delay:.98s}
.stream-eq span:nth-child(21){height:66%;animation-delay:1.03s}
.stream-eq span:nth-child(22){height:52%;animation-delay:1.08s}
.stream-eq span:nth-child(23){height:34%;animation-delay:1.13s}
.stream-eq span:nth-child(24){height:18%;animation-delay:1.18s}

@keyframes waveStudio{
  0%,100%{
    transform:scaleY(.72);
    opacity:.68;
  }
  50%{
    transform:scaleY(1.18);
    opacity:1;
  }
}

@keyframes livePulsePro{
  0%{box-shadow:0 0 0 0 rgba(119,247,255,.6)}
  70%{box-shadow:0 0 0 12px rgba(119,247,255,0)}
  100%{box-shadow:0 0 0 0 rgba(119,247,255,0)}
}

/* ===== END STREAM VISUAL PRO ===== */


/* ===== WAVEFORM STUDIO PRO ===== */

.stream-visual{
  margin-top:18px;
  padding:26px 24px 24px;
  border-radius:28px;

  background:
    radial-gradient(circle at top, rgba(125,249,255,.08), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));

  border:1px solid rgba(255,255,255,.08);

  backdrop-filter:blur(10px);

  box-shadow:
    0 18px 40px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.05);

  overflow:hidden;
}

/* header */

.stream-visual-head{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
}

.stream-dot{
  width:10px;
  height:10px;
  border-radius:999px;

  background:#7df9ff;

  box-shadow:0 0 0 0 rgba(125,249,255,.7);

  animation:livePulse 1.8s infinite;
}

.stream-live-badge{
  font-size:12px;
  font-weight:800;
  letter-spacing:.25em;

  color:#e9faff;
}

/* titre */

.stream-visual-title{
  margin-top:12px;

  text-align:center;

  font-size:24px;
  font-weight:900;

  letter-spacing:.14em;

  color:#ffffff;

  text-shadow:
    0 0 14px rgba(143,124,255,.25);
}

/* zone waveform */

.stream-wave-shell{

  margin-top:22px;

  position:relative;

  height:160px;

  border-radius:22px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.03),
      rgba(255,255,255,.008)
    );

  box-shadow:
    inset 0 0 30px rgba(0,0,0,.35);
}

/* ligne centrale */

.stream-wave-center-line{

  position:absolute;

  left:20px;
  right:20px;

  top:50%;

  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(125,249,255,.18),
      transparent
    );
}

/* waveform */

.stream-eq{

  height:100%;

  display:flex;

  align-items:center;

  justify-content:center;

  gap:4px;
}

.stream-eq span{

  width:3px;

  border-radius:999px;

  background:

    linear-gradient(
      180deg,
      #7df9ff,
      #8f7cff
    );

  opacity:.95;

  animation:waveMove 1.6s ease-in-out infinite;

  transform-origin:center;
}

/* variations */

.stream-eq span:nth-child(1){height:18%; animation-delay:.05s;}
.stream-eq span:nth-child(2){height:30%; animation-delay:.10s;}
.stream-eq span:nth-child(3){height:45%; animation-delay:.15s;}
.stream-eq span:nth-child(4){height:60%; animation-delay:.20s;}
.stream-eq span:nth-child(5){height:72%; animation-delay:.25s;}
.stream-eq span:nth-child(6){height:52%; animation-delay:.30s;}
.stream-eq span:nth-child(7){height:34%; animation-delay:.35s;}
.stream-eq span:nth-child(8){height:22%; animation-delay:.40s;}
.stream-eq span:nth-child(9){height:15%; animation-delay:.45s;}
.stream-eq span:nth-child(10){height:25%; animation-delay:.50s;}
.stream-eq span:nth-child(11){height:40%; animation-delay:.55s;}
.stream-eq span:nth-child(12){height:63%; animation-delay:.60s;}
.stream-eq span:nth-child(13){height:78%; animation-delay:.65s;}
.stream-eq span:nth-child(14){height:68%; animation-delay:.70s;}
.stream-eq span:nth-child(15){height:48%; animation-delay:.75s;}
.stream-eq span:nth-child(16){height:28%; animation-delay:.80s;}
.stream-eq span:nth-child(17){height:16%; animation-delay:.85s;}
.stream-eq span:nth-child(18){height:20%; animation-delay:.90s;}
.stream-eq span:nth-child(19){height:32%; animation-delay:.95s;}
.stream-eq span:nth-child(20){height:50%; animation-delay:1.00s;}

@keyframes waveMove{

  0%,100%{

    transform:scaleY(.6);
    opacity:.65;

  }

  50%{

    transform:scaleY(1.15);
    opacity:1;

  }

}

@keyframes livePulse{

  0%{
    box-shadow:0 0 0 0 rgba(125,249,255,.7);
  }

  70%{
    box-shadow:0 0 0 14px rgba(125,249,255,0);
  }

  100%{
    box-shadow:0 0 0 0 rgba(125,249,255,0);
  }

}

/* ===== END WAVEFORM STUDIO PRO ===== */


.login-status-box{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

#userCardContent img{
  width:96px !important;
  height:96px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  border:2px solid rgba(255,255,255,.18) !important;
  background:#0b1020 !important;
}


/* =========================
AVATAR CHAT FIX VISIBILITÉ
========================= */

.chat-avatar,
.user-avatar,
.avatar,
.user-mini img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #0b1020;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 8px rgba(143,124,255,0.45);
}

/* FIX AVATAR CHAT PROPRE */


/* FIX AVATAR CHAT PROPRE */

/* AVATAR CHAT RECTANGLE ARRONDI */
/* AVATAR CHAT GRANDE QUALITÉ */
.message img{
  width: 72px !important;
  height: 72px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: transparent !important;
  display: block !important;
  flex: 0 0 72px !important;
}

.profile-status-row{margin-top:8px}
.profile-status{display:inline-block;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:12px}
.profile-3dx-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.tag-online,.tag-offline{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;border:1px solid rgba(255,255,255,.10)}
.tag-online{background:rgba(80,220,140,.14);color:#b9ffd3}
.tag-offline{background:rgba(255,255,255,.06);color:#d6dcef}

.profile-font-default{font-family:inherit}
.profile-font-clean{font-family:Arial,Helvetica,sans-serif}
.profile-font-soft{font-family:"Trebuchet MS","Segoe UI",sans-serif}
.profile-font-strong{font-family:Verdana,Geneva,sans-serif;letter-spacing:.02em}

.public-profile-card{
  display:grid;
  gap:16px;
}

.public-profile-top{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:16px;
  align-items:center;
}

.public-profile-avatar{
  width:96px !important;
  height:96px !important;
  border-radius:22px !important;
  object-fit:cover !important;
  border:2px solid rgba(255,255,255,.16) !important;
  background:#0b1020 !important;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}

.public-profile-head{
  display:grid;
  gap:6px;
}

.public-profile-name{
  margin:0;
  font-size:24px;
  line-height:1.1;
}

.public-profile-role{
  font-size:13px;
}

.public-profile-info{
  display:grid;
  gap:8px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.03);
}

.public-profile-room{
  font-size:13px;
}

.public-profile-bio{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}

.public-profile-bio p{
  margin:8px 0 0 0;
  line-height:1.5;
}

.public-profile-actions{
  display:flex;
  justify-content:flex-end;
}

@media (max-width:640px){
  .public-profile-top{
    grid-template-columns:1fr;
  }

  .public-profile-avatar{
    justify-self:start;
  }

  .public-profile-actions{
    justify-content:stretch;
  }

  .public-profile-actions .primary{
    width:100%;
  }
}

.public-profile-bio,
.public-profile-bio p,
.public-profile-room,
.profile-status{
  overflow-wrap:anywhere;
  word-break:break-word;
}

.public-profile-card{
  max-width:100%;
  overflow:hidden;
}

.public-profile-bio,
.public-profile-bio p,
.public-profile-room,
.profile-status{
  overflow-wrap:anywhere;
  word-break:break-word;
}

.public-profile-card{
  max-width:100%;
  overflow:hidden;
}

.chat-panel.is-fullscreen{
  position:fixed !important;
  inset:12px !important;
  z-index:9999 !important;
  margin:0 !important;
  width:auto !important;
  height:auto !important;
  max-width:none !important;
  max-height:none !important;
  display:flex !important;
  flex-direction:column !important;
  padding:18px !important;
  box-shadow:0 24px 80px rgba(0,0,0,.55) !important;
}

.chat-panel.is-fullscreen .chat-shell{
  flex:1 1 auto !important;
  min-height:0 !important;
  height:100% !important;
}

.chat-panel.is-fullscreen #chatMessages{
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:none !important;
  height:100% !important;
}

.chat-panel.is-fullscreen .chat-composer{
  margin-top:12px;
}

body.chat-fullscreen-lock{
  overflow:hidden !important;
}

#toggleChatFullscreen.is-active{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#06111f;
  border-color:transparent;
}

/* === PRIVATE CHAT REAL === */
.private-chat-modal{
  width:min(94vw,720px);
}

.private-chat-messages{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:52vh;
  overflow:auto;
  padding:12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(0,0,0,.16);
}

.private-chat-msg{
  max-width:82%;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.05);
}

.private-chat-msg.me{
  align-self:flex-end;
  background:rgba(143,124,255,.16);
}

.private-chat-msg.other{
  align-self:flex-start;
}

.private-chat-msg strong{
  display:block;
  font-size:12px;
  margin-bottom:4px;
}

.private-chat-msg p{
  margin:0;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.private-chat-composer{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.private-chat-composer input{
  flex:1;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:var(--text);
}

/* === PM FLOATING ENVELOPE BADGE === */
.pm-float{
  position:fixed;
}

.pm-float-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:#ff2f6d;
  color:#fff;
  font-size:12px;
  font-weight:900;
  display:none;
  align-items:center;
  justify-content:center;
  border:2px solid #06111f;
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}

/* === PM ENVELOPE VISIBLE ALERT === */
.pm-float.has-pm-alert{
  box-shadow:0 0 0 4px rgba(255,47,109,.22), 0 0 28px rgba(255,47,109,.65) !important;
  animation:pmAlertPulse 1.1s infinite;
}

@keyframes pmAlertPulse{
  0%{transform:scale(1)}
  50%{transform:scale(1.08)}
  100%{transform:scale(1)}
}

.pm-float-badge{
  display:none;
  z-index:5;
}

/* === CHAT EMOJI PANEL + ADMIN DELETE === */
.emoji-toggle{
  min-width:48px;
  font-size:20px;
}

.emoji-panel{
  display:grid;
  grid-template-columns:repeat(10, 1fr);
  gap:6px;
  padding:10px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(5,10,24,.96);
  box-shadow:0 18px 50px rgba(0,0,0,.45);
}

.emoji-panel.hidden{
  display:none;
}

.emoji-pick{
  border:none;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:20px;
  padding:8px;
  cursor:pointer;
}

.emoji-pick:hover{
  background:rgba(255,255,255,.14);
}

.chat-admin-delete{
  background:rgba(255,47,109,.14);
  color:#ffc9d9;
  border:1px solid rgba(255,47,109,.28);
  border-radius:999px;
  padding:4px 8px;
  cursor:pointer;
  font-size:12px;
}

/* === PRIVATE CHAT TYPING + PRIVATE EMOJI FIX === */
.private-typing-status{
  min-height:18px;
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  font-style:italic;
}

.private-emoji-pick{
  border:none;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:20px;
  padding:8px;
  cursor:pointer;
}

.private-emoji-pick:hover{
  background:rgba(255,255,255,.14);
}

/* === BONJOUR MESSAGE SPECIAL === */
.bonjour-message{
  border:1px solid rgba(255,213,94,.35);
  background:linear-gradient(135deg, rgba(255,213,94,.16), rgba(255,92,168,.12));
  box-shadow:0 18px 45px rgba(0,0,0,.28);
}

.bonjour-title{
  font-weight:900;
  color:#ffe58a;
}

.bonjour-text{
  margin-top:8px;
  font-size:15px;
}

.bonjour-media{
  margin-top:10px;
  max-width:100%;
  max-height:260px;
  border-radius:16px;
  display:block;
  object-fit:contain;
  border:1px solid rgba(255,255,255,.12);
}

/* === BONJOUR MEDIA BIG DISCORD STYLE === */
.bonjour-media-link{
  display:block;
  margin-top:14px;
  max-width:520px;
}

.bonjour-media{
  width:100%;
  max-width:520px;
  max-height:360px;
  border-radius:18px;
  display:block;
  object-fit:contain;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 16px 45px rgba(0,0,0,.35);
  cursor:pointer;
}

.bonjour-message{
  align-items:flex-start;
}

.bonjour-message > div{
  width:100%;
}

/* === BONJOUR IMAGE PLUS GRANDE === */
.bonjour-media-link{
  display:block;
  width:100%;
  max-width:720px;
  margin-top:14px;
}

.bonjour-media{
  width:100%;
  max-width:720px;
  max-height:520px;
  border-radius:20px;
  object-fit:contain;
}

/* === BONJOUR LAYOUT PRO DISCORD === */
.bonjour-message{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.bonjour-message > img{
  flex:0 0 64px;
}

.bonjour-message > div{
  flex:1;
  min-width:0;
}

.bonjour-media-link{
  display:block;
  width:100%;
  max-width:560px;
  margin:14px 0 0 0;
}

.bonjour-media{
  display:block;
  width:100%;
  max-width:560px;
  max-height:420px;
  object-fit:contain;
  border-radius:18px;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 46px rgba(0,0,0,.38);
}

.chat-list .bonjour-message{
  padding:16px;
}

/* === BONJOUR DISCORD PRO FINAL === */
.chat-list .bonjour-message{
  display:grid !important;
  grid-template-columns:72px 1fr !important;
  gap:16px !important;
  align-items:flex-start !important;
  padding:18px !important;
}

.chat-list .bonjour-message > img{
  width:72px !important;
  height:72px !important;
  border-radius:16px !important;
  object-fit:cover !important;
}

.chat-list .bonjour-message > div{
  width:100% !important;
  min-width:0 !important;
}

.chat-list .bonjour-media-link{
  display:block !important;
  margin-top:16px !important;
  width:100% !important;
  max-width:620px !important;
}

.chat-list .bonjour-media{
  display:block !important;
  width:100% !important;
  max-width:620px !important;
  max-height:460px !important;
  object-fit:contain !important;
  border-radius:18px !important;
  background:rgba(0,0,0,.28) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 18px 46px rgba(0,0,0,.38) !important;
}

.chat-list .bonjour-text{
  margin-top:10px !important;
  font-size:18px !important;
  font-weight:800 !important;
}

/* === FORCE IMAGE BONJOUR GRANDE === */
.chat-list .bonjour-message .bonjour-media-link{
  display:block !important;
  width:100% !important;
  max-width:640px !important;
  min-height:260px !important;
  margin-top:14px !important;
}

.chat-list .bonjour-message .bonjour-media-link img.bonjour-media{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:260px !important;
  max-height:460px !important;
  object-fit:cover !important;
  object-position:center !important;
}

.chat-list .bonjour-message .bonjour-media{
  width:100% !important;
  min-width:420px !important;
}

/* === BONJOUR IMAGE PRO SIZE FINAL === */
.chat-list .bonjour-message{
  max-width:100%;
}

.chat-list .bonjour-message .bonjour-media-link{
  display:block !important;
  width:100% !important;
  max-width:420px !important;
  min-height:0 !important;
  margin-top:12px !important;
}

.chat-list .bonjour-message .bonjour-media-link img.bonjour-media,
.chat-list .bonjour-message img.bonjour-media{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:420px !important;
  height:auto !important;
  min-height:0 !important;
  max-height:280px !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:16px !important;
  background:rgba(0,0,0,.28) !important;
}

/* === BONJOUR IMAGE COMPACT PRO === */
.chat-list .bonjour-message .bonjour-media-link{
  max-width:300px !important;
  margin-top:10px !important;
}

.chat-list .bonjour-message .bonjour-media-link img.bonjour-media,
.chat-list .bonjour-message img.bonjour-media{
  width:100% !important;
  max-width:300px !important;
  max-height:210px !important;
  object-fit:contain !important;
  border-radius:14px !important;
}


/* MagicalRadio3D — Background radio studio */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/assets/images/mr3d-radio-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: -1;
}


/* Agenda Google Magicalradio3D */
.agenda-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  overflow:hidden;
}

.agenda-main{
  min-width:0;
  flex:1;
}

.agenda-card strong{
  display:block;
  margin-top:4px;
  line-height:1.15;
}

.agenda-flyer{
  width:80px;
  min-width:80px;
  height:110px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.04);
}

.agenda-flyer img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.agenda-live-now{
  font-size:26px;
  color:#46d5ff;
  text-shadow:0 0 18px rgba(70,213,255,.45);
}

@media(max-width:720px){
  .agenda-card{
    align-items:flex-start;
  }

  .agenda-flyer{
    width:70px;
    min-width:70px;
    height:94px;
  }
}

/* Agenda Google Magicalradio3D */
.agenda-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  overflow:hidden;
}

.agenda-main{
  min-width:0;
  flex:1;
}

.agenda-card strong{
  display:block;
  margin-top:4px;
  line-height:1.15;
}

.agenda-flyer{
  width:80px;
  min-width:80px;
  height:110px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.04);
}

.agenda-flyer img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.agenda-live-now{
  font-size:26px;
  color:#46d5ff;
  text-shadow:0 0 18px rgba(70,213,255,.45);
}

@media(max-width:720px){
  .agenda-card{align-items:flex-start;}
  .agenda-flyer{
    width:70px;
    min-width:70px;
    height:94px;
  }
}
  }
}

/* Agenda popup + grand flyer */
.agenda-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  overflow:hidden;
}

.agenda-main{
  min-width:0;
  flex:1;
}

.agenda-flyer{
  width:130px;
  min-width:130px;
  height:165px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.05);
  box-shadow:0 18px 35px rgba(0,0,0,.28);
}

.agenda-flyer img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.agenda-open-btn{
  margin-top:8px;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
}

.agenda-popup-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.72);
  z-index:99999;
}

.agenda-popup-overlay.open{
  display:flex;
}

.agenda-popup{
  width:min(900px, 96vw);
  max-height:88vh;
  overflow:auto;
  background:#10182d;
  border:1px solid rgba(255,255,255,.16);
  border-radius:24px;
  padding:22px;
  box-shadow:0 28px 80px rgba(0,0,0,.55);
  position:relative;
}

.agenda-popup-close{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:white;
  font-size:26px;
  cursor:pointer;
}

.agenda-popup-list{
  display:grid;
  gap:14px;
  margin-top:16px;
}

.agenda-popup-item{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:16px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
}

.agenda-popup-img{
  width:150px;
  height:190px;
  object-fit:cover;
  border-radius:14px;
}

.agenda-popup-content h3{
  margin:0 0 6px;
}

.agenda-popup-time{
  color:var(--muted);
  font-size:13px;
  margin-bottom:8px;
}

.agenda-popup-content p{
  margin:0;
  white-space:pre-wrap;
  line-height:1.45;
}

@media(max-width:720px){
  .agenda-card{
    align-items:flex-start;
  }

  .agenda-flyer{
    width:96px;
    min-width:96px;
    height:125px;
  }

  .agenda-popup-item{
    grid-template-columns:1fr;
  }

  .agenda-popup-img{
    width:100%;
    height:auto;
    max-height:320px;
  }
}


/* Agenda Google Magicalradio3D popup + flyer */
.agenda-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  overflow:hidden;
}
.agenda-main{min-width:0;flex:1;}
.agenda-flyer{
  width:150px;
  min-width:150px;
  height:190px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.05);
  box-shadow:0 18px 35px rgba(0,0,0,.28);
}
.agenda-flyer img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.agenda-open-btn{
  margin-top:8px;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
}
.agenda-popup-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.72);
  z-index:99999;
}
.agenda-popup-overlay.open{display:flex;}
.agenda-popup{
  width:min(900px,96vw);
  max-height:88vh;
  overflow:auto;
  background:#10182d;
  border:1px solid rgba(255,255,255,.16);
  border-radius:24px;
  padding:22px;
  box-shadow:0 28px 80px rgba(0,0,0,.55);
  position:relative;
}
.agenda-popup-close{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:white;
  font-size:26px;
  cursor:pointer;
}
.agenda-popup-list{
  display:grid;
  gap:14px;
  margin-top:16px;
}
.agenda-popup-item{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:16px;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
}
.agenda-popup-img{
  width:170px;
  height:220px;
  object-fit:cover;
  border-radius:14px;
}
.agenda-popup-content h3{margin:0 0 6px;}
.agenda-popup-time{
  color:var(--muted);
  font-size:13px;
  margin-bottom:8px;
}
.agenda-popup-content p{
  margin:0;
  white-space:pre-wrap;
  line-height:1.45;
}
.agenda-live-now{
  font-size:26px;
  color:#46d5ff;
  text-shadow:0 0 18px rgba(70,213,255,.45);
}
@media(max-width:720px){
  .agenda-card{align-items:flex-start;}
  .agenda-flyer{
    width:105px;
    min-width:105px;
    height:135px;
  }
  .agenda-popup-item{grid-template-columns:1fr;}
  .agenda-popup-img{
    width:100%;
    height:auto;
    max-height:320px;
  }
}

/* Netteté flyer agenda */
.agenda-flyer{
  width:120px !important;
  min-width:120px !important;
  height:150px !important;
  padding:4px;
  background:rgba(0,0,0,.25);
}

.agenda-flyer img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  image-rendering:auto;
  border-radius:12px;
}

/* Flyer agenda plus grand */
.agenda-flyer{
  width:145px !important;
  min-width:145px !important;
  height:175px !important;
}

.agenda-flyer img{
  object-fit:contain !important;
}

/* Clignotement émission en direct */
@keyframes agendaBlinkLive {
  0% {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 8px rgba(70,213,255,.45);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
    text-shadow: 0 0 18px rgba(70,213,255,.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 8px rgba(70,213,255,.45);
  }
}

/* état live clignotant */
.agenda-live-now{
  font-size: 26px;
  font-weight: 900;
  color: #46d5ff;
  animation: agendaBlinkLive 1.2s infinite;
}

/* Clignotement émission en direct */
@keyframes agendaBlinkLive {
  0%,100% {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 8px rgba(70,213,255,.45);
  }
  50% {
    opacity: .35;
    transform: scale(1.05);
    text-shadow: 0 0 18px rgba(70,213,255,.9);
  }
}

.agenda-live-now{
  font-size:26px !important;
  font-weight:900 !important;
  color:#46d5ff !important;
  animation:agendaBlinkLive 1.2s infinite;
}

/* Point LIVE radio */
.agenda-live-now::before{
  content: "● ";
  color: #ff3b3b;
  margin-right: 6px;
  animation: liveDotPulse 1s infinite;
}

@keyframes liveDotPulse {
  0%,100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .3;
    transform: scale(1.3);
  }
}

/* Player radio réel */
#radioPlayer{
  display:none;
}

#radioEqualizer.radio-playing span{
  animation-duration:.65s;
  filter:drop-shadow(0 0 10px rgba(70,213,255,.55));
}

/* Volume player radio */
.radio-volume-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:8px;
}

#radioVolume{
  width:100%;
  accent-color:#46d5ff;
}

/* Player radio pro */
.player-card{
  position:relative;
  overflow:hidden;
}

.player-card::after{
  content:"";
  position:absolute;
  inset:auto -40px -70px auto;
  width:160px;
  height:160px;
  background:radial-gradient(circle, rgba(70,213,255,.18), transparent 65%);
  pointer-events:none;
}

#radioPlayBtn{
  width:52px;
  height:52px;
  border-radius:18px;
  font-size:18px;
  box-shadow:0 14px 30px rgba(111,141,255,.35);
}

#radioStatus{
  color:#46d5ff;
  font-weight:800;
}

.radio-volume-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.04);
}

#radioVolume{
  width:100%;
  accent-color:#46d5ff;
}

#radioEqualizer{
  height:74px;
  gap:8px;
}

#radioEqualizer span{
  background:linear-gradient(180deg,#46d5ff,#8f7cff);
  box-shadow:0 0 18px rgba(70,213,255,.20);
}

#radioEqualizer.radio-playing span{
  animation-duration:.55s;
  filter:drop-shadow(0 0 12px rgba(70,213,255,.65));
}

#radioEqualizer.radio-playing span:nth-child(1){animation-delay:.05s}
#radioEqualizer.radio-playing span:nth-child(2){animation-delay:.16s}
#radioEqualizer.radio-playing span:nth-child(3){animation-delay:.08s}
#radioEqualizer.radio-playing span:nth-child(4){animation-delay:.22s}
#radioEqualizer.radio-playing span:nth-child(5){animation-delay:.12s}
#radioEqualizer.radio-playing span:nth-child(6){animation-delay:.30s}

/* Equaliseur radio premium */
#radioEqualizer.equalizer{
  height:78px !important;
  align-items:center !important;
  gap:7px !important;
  margin:14px 0 10px !important;
  padding:8px 10px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
}

#radioEqualizer.equalizer span{
  flex:1;
  min-width:12px;
  height:18px;
  border-radius:999px;
  background:linear-gradient(180deg,#46d5ff 0%,#8f7cff 100%) !important;
  box-shadow:
    0 0 12px rgba(70,213,255,.35),
    inset 0 0 10px rgba(255,255,255,.16);
  animation:radioWaveIdle 2.4s ease-in-out infinite !important;
}

#radioEqualizer.equalizer span:nth-child(1){height:24px;animation-delay:.05s!important}
#radioEqualizer.equalizer span:nth-child(2){height:38px;animation-delay:.18s!important}
#radioEqualizer.equalizer span:nth-child(3){height:56px;animation-delay:.09s!important}
#radioEqualizer.equalizer span:nth-child(4){height:70px;animation-delay:.24s!important}
#radioEqualizer.equalizer span:nth-child(5){height:48px;animation-delay:.14s!important}
#radioEqualizer.equalizer span:nth-child(6){height:30px;animation-delay:.30s!important}

@keyframes radioWaveIdle{
  0%,100%{transform:scaleY(.45); opacity:.72}
  50%{transform:scaleY(1); opacity:1}
}

#radioEqualizer.radio-playing span{
  animation:radioWaveLive .72s ease-in-out infinite !important;
}

@keyframes radioWaveLive{
  0%,100%{transform:scaleY(.35)}
  50%{transform:scaleY(1.15)}
}

/* Equaliseur radio fin et fluide */
#radioEqualizer.equalizer{
  height:70px !important;
  gap:10px !important;
  padding:10px 14px !important;
}

#radioEqualizer.equalizer span{
  flex:0 0 7px !important;
  min-width:7px !important;
  max-width:7px !important;
  border-radius:999px !important;
  opacity:.85;
  animation:radioWaveSmooth 1.8s ease-in-out infinite !important;
}

#radioEqualizer.equalizer span:nth-child(1){height:22px !important;animation-delay:.05s!important}
#radioEqualizer.equalizer span:nth-child(2){height:42px !important;animation-delay:.18s!important}
#radioEqualizer.equalizer span:nth-child(3){height:58px !important;animation-delay:.10s!important}
#radioEqualizer.equalizer span:nth-child(4){height:66px !important;animation-delay:.26s!important}
#radioEqualizer.equalizer span:nth-child(5){height:46px !important;animation-delay:.14s!important}
#radioEqualizer.equalizer span:nth-child(6){height:28px !important;animation-delay:.32s!important}

@keyframes radioWaveSmooth{
  0%,100%{
    transform:scaleY(.42);
    opacity:.55;
  }
  50%{
    transform:scaleY(1);
    opacity:1;
  }
}

#radioEqualizer.radio-playing span{
  animation:radioWaveSmoothLive .95s ease-in-out infinite !important;
}

@keyframes radioWaveSmoothLive{
  0%,100%{
    transform:scaleY(.35);
    opacity:.65;
  }
  50%{
    transform:scaleY(1.18);
    opacity:1;
  }
}

/* Player Magicalradio3D premium wide equalizer */
.player-card{
  background:linear-gradient(180deg, rgba(18,29,55,.96), rgba(8,15,31,.96)) !important;
  border:1px solid rgba(140,170,255,.22) !important;
  box-shadow:0 22px 55px rgba(0,0,0,.35), inset 0 0 45px rgba(70,213,255,.045);
}

#radioEqualizer.equalizer{
  width:100% !important;
  height:92px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:4px !important;
  padding:16px 14px !important;
  margin:16px 0 12px !important;
  border-radius:18px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:inset 0 0 28px rgba(0,0,0,.22);
}

#radioEqualizer.equalizer span{
  flex:1 1 auto !important;
  min-width:3px !important;
  max-width:6px !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,#d96cff 0%,#7b7cff 46%,#28d9ff 100%) !important;
  box-shadow:0 0 12px rgba(70,213,255,.35);
  opacity:.9;
  animation:radioBarsPremium 1.6s ease-in-out infinite !important;
}

#radioEqualizer.equalizer span:nth-child(3n){height:58px !important;animation-delay:.08s!important}
#radioEqualizer.equalizer span:nth-child(3n+1){height:36px !important;animation-delay:.18s!important}
#radioEqualizer.equalizer span:nth-child(3n+2){height:72px !important;animation-delay:.28s!important}
#radioEqualizer.equalizer span:nth-child(5n){height:44px !important;animation-delay:.36s!important}
#radioEqualizer.equalizer span:nth-child(7n){height:66px !important;animation-delay:.44s!important}

@keyframes radioBarsPremium{
  0%,100%{transform:scaleY(.38); opacity:.58}
  50%{transform:scaleY(1.08); opacity:1}
}

#radioEqualizer.radio-playing span{
  animation-duration:.72s !important;
}

.radio-volume-row{
  border-radius:18px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  padding:10px 12px !important;
}

#radioStatus{
  color:#28d9ff !important;
  font-weight:900 !important;
  text-shadow:0 0 12px rgba(40,217,255,.45);
}

/* Message bienvenue vivant */
#welcomeTitle{
  text-shadow:0 0 18px rgba(70,213,255,.18);
}

.welcome-live-text{
  color:#dce7ff;
  animation:welcomeSoftGlow 3.5s ease-in-out infinite;
}

@keyframes welcomeSoftGlow{
  0%,100%{opacity:.88}
  50%{opacity:1;text-shadow:0 0 14px rgba(70,213,255,.22)}
}

/* POPUP ENTREE - BOUTONS PRO */
.entry-popup-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:18px;
}

.entry-popup-actions .join-btn,
.entry-popup-actions .entry-site-btn{
  min-height:46px;
  padding:12px 18px;
  border-radius:16px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.entry-popup-actions .join-btn:hover,
.entry-popup-actions .entry-site-btn:hover{
  transform:translateY(-2px);
}

.entry-popup-actions .entry-site-btn{
  background:rgba(255,255,255,.08);
  color:#dfe8ff;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}

.entry-popup-actions .entry-site-btn:hover{
  background:rgba(255,255,255,.13);
}

/* FIX POPUP BOUTONS MEME LIGNE */
.entry-popup-actions{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:nowrap !important;
  margin-top:18px !important;
}

.entry-popup-actions .join-btn{
  margin-top:0 !important;
  height:46px !important;
  min-height:46px !important;
  padding:0 18px !important;
  border-radius:16px !important;
  border:0 !important;
  font-weight:900 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none !important;
  cursor:pointer !important;
  white-space:nowrap !important;
  font-size:15px !important;
}

.entry-popup-actions .entry-site-btn{
  background:linear-gradient(135deg,#51d4ff,#8c6bff) !important;
  color:#06111f !important;
  box-shadow:0 12px 28px rgba(81,212,255,.22) !important;
}

/* FOOTER LEGAL PRO */
.site-footer-legal{
  margin:28px auto 0;
  padding:18px 14px 26px;
  color:#9aa6d6;
  font-size:12px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
  max-width:1280px;
}

.footer-legal-inner{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
}

.footer-legal-copy{
  line-height:1.6;
  max-width:900px;
}

.footer-legal-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}

.footer-legal-links button,
.footer-legal-links a{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.09);
  color:#d8e2ff;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  text-decoration:none;
  cursor:pointer;
}

.footer-legal-links button:hover,
.footer-legal-links a:hover{
  background:rgba(143,124,255,.16);
  color:#ffffff;
}

.legal-modal{
  max-height:82vh;
  overflow:auto;
}

.legal-modal h2{
  margin-bottom:12px;
}

.legal-modal h3{
  margin:18px 0 8px;
}

.legal-modal p,
.legal-modal li{
  line-height:1.65;
  color:#d8e2ff;
}

.legal-modal ul{
  padding-left:20px;
}

.legal-close{
  float:right;
}

/* === LIVRE D OR STYLE === */

.guestbook-card{
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  transition: transform .2s, box-shadow .2s;
}

.guestbook-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

.guestbook-name{
  font-weight: bold;
  color: #7c5cff;
  font-size: 14px;
}

.guestbook-date{
  font-size: 11px;
  opacity: .6;
  margin-top: 4px;
}

.guestbook-message{
  margin-top: 6px;
  line-height: 1.4;
}

.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s ease;
  z-index: 9999;
}

.modal-box{
  background: #111827;
  padding: 20px;
  border-radius: 14px;
  max-width: 420px;
  width: 90%;
  animation: popIn .2s ease;
}

@keyframes fadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

@keyframes popIn{
  from{
    transform: scale(.9);
    opacity: 0;
  }
  to{
    transform: scale(1);
    opacity: 1;
  }
}


/* === LIVRE D OR EMOJI + SIGNATURE === */
.guestbook-emoji{
  font-size:32px;
  margin-bottom:8px;
}

.guestbook-signature{
  margin-top:10px;
  font-weight:700;
  color:#d8e2ff;
  font-style:italic;
}

.guestbook-message{
  font-size:15px;
  line-height:1.55;
}

#guestbookText,
#guestbookSignature,
#guestbookEmoji{
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
  outline:none;
}


/* === LIVRE D OR VISUEL PRO === */

#guestbookPopup .modal-box{
  max-height: 75vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#guestbookMessages{
  overflow-y: auto;
  max-height: 420px;
  padding-right: 6px;
}

.guestbook-card{
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.guestbook-message{
  font-size: 16px;
  margin-top: 6px;
}

.guestbook-signature{
  margin-top: 8px;
  font-weight: bold;
  font-style: italic;
  color: #d8e2ff;
}

.guestbook-date{
  font-size: 12px;
  opacity: .6;
  margin-top: 4px;
}

.guestbook-emoji{
  font-size: 32px;
  margin-bottom: 6px;
}

.guestbook-count{
  font-size: 12px;
  opacity: .6;
  margin-bottom: 10px;
}

.guestbook-logo{
  position: absolute;
  top: 12px;
  right: 14px;
  width: 46px;
  opacity: .9;
}


/* Livre d’or MagicalRadio3D propre */
.guestbook-open-btn{margin-left:8px}
.guestbook-modal{width:min(92vw,720px);max-height:88vh;overflow:hidden;background:linear-gradient(145deg,rgba(15,23,42,.98),rgba(39,30,78,.96));border:1px solid rgba(255,255,255,.14);box-shadow:0 25px 80px rgba(0,0,0,.55)}
.guestbook-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.guestbook-top h2{margin:4px 0 8px}
.guestbook-top p{margin:0;color:#c8d3f3;line-height:1.55}
.guestbook-logo{width:96px;height:96px;object-fit:contain;border-radius:22px;background:rgba(255,255,255,.06);padding:8px;flex:0 0 auto}
.guestbook-count{display:inline-flex;margin:4px 0 12px;padding:7px 12px;border-radius:999px;background:rgba(143,124,255,.16);border:1px solid rgba(143,124,255,.28);color:#d9dcff;font-size:13px}
.guestbook-messages{max-height:340px;overflow:auto;padding-right:8px;display:flex;flex-direction:column;gap:10px}
.guestbook-card{display:flex;gap:12px;padding:12px;border-radius:16px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10)}
.guestbook-emoji{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:rgba(255,255,255,.08);font-size:24px;flex:0 0 auto}
.guestbook-name{font-weight:800;color:#fff;margin-bottom:5px}
.guestbook-message{color:#e5ebff;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.guestbook-date{margin-top:7px;font-size:11px;opacity:.62}
.guestbook-empty{padding:14px;border-radius:14px;background:rgba(255,255,255,.05);color:#c8d3f3}
.guestbook-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}

/* Livre d’or plein écran lecture */
#guestbookPopup.guestbook-fullscreen .guestbook-modal{
  width:96vw;
  max-width:1200px;
  height:92vh;
  max-height:92vh;
}

#guestbookPopup.guestbook-fullscreen .guestbook-messages{
  max-height:calc(92vh - 250px);
}

/* === INSCRIPTION ÉMISSION — DESIGN PREMIUM === */
body[data-page="emission-signup"] .panel{
  box-shadow:0 18px 60px rgba(0,0,0,.35);
}

.emission-hero{
  margin-top:18px;
  padding:28px;
  border-radius:28px;
  border:1px solid rgba(118,140,255,.35);
  background:
    radial-gradient(circle at 12% 15%, rgba(114,88,255,.32), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(0,220,255,.18), transparent 28%),
    linear-gradient(135deg, rgba(12,23,50,.96), rgba(9,15,31,.88));
}

.emission-hero h2{
  font-size:clamp(28px,4vw,48px);
  line-height:1;
  margin:8px 0 12px;
  letter-spacing:-1px;
}

.emission-hero p{
  max-width:850px;
  font-size:16px;
  line-height:1.55;
}

.emission-tagline{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.emission-tagline span{
  padding:9px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-weight:800;
}

.emission-type-card{
  position:relative;
  overflow:hidden;
  min-height:148px;
  padding:22px !important;
  border:1px solid rgba(126,146,255,.34) !important;
  background:
    linear-gradient(135deg, rgba(28,42,78,.96), rgba(13,22,43,.94)) !important;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.emission-type-card:hover{
  transform:translateY(-3px);
  border-color:rgba(114,220,255,.72) !important;
  box-shadow:0 16px 45px rgba(78,110,255,.22);
}

.emission-type-card h3{
  font-size:24px;
  margin:6px 0 8px;
}

.emission-type-card p{
  color:#dce8ff;
  font-size:14px;
  line-height:1.45;
}

.emission-time-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:10px;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(44,220,255,.12);
  color:#e9fbff;
  border:1px solid rgba(44,220,255,.25);
  font-weight:900;
}

.emission-form-premium{
  padding:22px;
  border-radius:24px;
  background:rgba(12,22,44,.76);
  border:1px solid rgba(126,146,255,.28);
}

.emission-form-premium label{
  color:#e8efff;
  font-weight:800;
}

.emission-form-premium input,
.emission-form-premium textarea{
  margin-top:7px;
  background:rgba(5,11,25,.72) !important;
  border:1px solid rgba(120,145,255,.28) !important;
  color:#fff !important;
}

.emission-form-premium textarea{
  min-height:145px;
}

.emission-submit{
  font-size:16px;
  padding:15px 18px !important;
  border-radius:18px !important;
  box-shadow:0 12px 35px rgba(126,104,255,.35);
}

.emission-note{
  padding:14px 16px;
  border-radius:18px;
  background:rgba(0,220,255,.09);
  border:1px solid rgba(0,220,255,.18);
  color:#dff9ff;
  font-weight:700;
}

/* FIX ouverture PM depuis demandes émission */
#privateChatModal:not(.hidden){
  display:block !important;
  position:fixed !important;
  top:50% !important;
  left:50% !important;
  transform:translate(-50%,-50%) !important;
  z-index:999999 !important;
  width:min(94vw,720px) !important;
  max-height:86vh !important;
  overflow:auto !important;
}

/* === PM privé pro + images === */
.private-chat-modal{
  border-radius:24px !important;
  background:linear-gradient(145deg, rgba(13,23,48,.98), rgba(8,13,30,.96)) !important;
  border:1px solid rgba(120,150,255,.35) !important;
  box-shadow:0 24px 80px rgba(0,0,0,.55), 0 0 40px rgba(120,100,255,.18) !important;
}

.private-chat-messages{
  min-height:160px;
  max-height:48vh;
  overflow:auto;
  padding:14px;
  border-radius:18px;
  background:rgba(3,8,20,.55);
  border:1px solid rgba(120,150,255,.18);
}

.private-chat-msg{
  max-width:78%;
  margin:8px 0;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
}

.private-chat-msg.me{
  margin-left:auto;
  background:linear-gradient(135deg, rgba(126,104,255,.45), rgba(78,130,255,.28));
}

.private-chat-msg.other{
  margin-right:auto;
  background:rgba(0,220,255,.10);
}

.private-chat-image{
  display:block;
  max-width:260px;
  max-height:220px;
  object-fit:cover;
  border-radius:14px;
  margin:6px 0 8px;
  border:1px solid rgba(255,255,255,.18);
}

.private-chat-compose{
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:10px;
}

.private-chat-compose input[type="text"],
#privateChatInput{
  flex:1;
  min-height:40px;
  border-radius:14px !important;
  padding:0 12px !important;
}

/* === INFO INSCRIPTION — PANNEAU LATÉRAL === */
#emissionInfoPopup{
  position:fixed !important;
  top:90px !important;
  right:18px !important;
  left:auto !important;
  transform:none !important;
  width:min(420px, 92vw) !important;
  max-height:82vh !important;
  overflow:auto !important;
  z-index:999999 !important;
  border-radius:24px !important;
}

#emissionInfoPopup iframe{
  height:230px !important;
}

@media(max-width:720px){
  #emissionInfoPopup{
    top:70px !important;
    right:10px !important;
    width:calc(100vw - 20px) !important;
  }
}

/* === INSCRIPTION ÉMISSION — FORMULAIRE MODAL PRO === */
.emission-signup-modal{
  position:fixed !important;
  top:50% !important;
  left:50% !important;
  transform:translate(-50%,-50%) !important;
  width:min(94vw,860px) !important;
  max-height:90vh !important;
  overflow:auto !important;
  z-index:999999 !important;
  border-radius:28px !important;
  background:linear-gradient(145deg, rgba(10,18,42,.98), rgba(19,12,45,.96)) !important;
  border:1px solid rgba(171,92,255,.45) !important;
  box-shadow:0 30px 90px rgba(0,0,0,.65), 0 0 50px rgba(180,70,255,.22) !important;
}

.emission-signup-modal .modal-head{
  position:sticky;
  top:0;
  z-index:2;
  background:linear-gradient(180deg, rgba(10,18,42,.98), rgba(10,18,42,.82));
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

#emissionSignupModalContent{
  padding:8px 4px 2px;
}

#emissionSignupModalContent label{
  display:block;
  margin-top:12px;
  color:#eaf0ff;
  font-weight:800;
}

#emissionSignupModalContent input,
#emissionSignupModalContent textarea{
  width:100%;
  margin-top:6px;
  border-radius:14px;
  border:1px solid rgba(140,170,255,.25);
  background:rgba(4,10,26,.72);
  color:#fff;
  padding:12px 14px;
}

#emissionSignupModalContent textarea{
  min-height:130px;
}

.emission-type-card{
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.emission-type-card:hover{
  transform:translateY(-3px);
  border-color:rgba(190,100,255,.75) !important;
  box-shadow:0 18px 40px rgba(110,70,255,.22);
}

.emission-time-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(0,210,255,.12);
  border:1px solid rgba(0,210,255,.25);
  color:#dffbff;
  font-weight:900;
}

/* === DESIGN PREMIUM PAGE INSCRIPTION ÉMISSION === */

body[data-page="emission-signup"] .site-shell{
  max-width:1380px;
}

body[data-page="emission-signup"] main,
body[data-page="emission-signup"] .panel{
  border-radius:24px;
}

body[data-page="emission-signup"] .emission-hero,
body[data-page="emission-signup"] main > section:first-child{
  background:
    radial-gradient(circle at 78% 28%, rgba(190,55,255,.30), transparent 34%),
    radial-gradient(circle at 65% 70%, rgba(0,195,255,.18), transparent 32%),
    linear-gradient(135deg, rgba(12,18,43,.96), rgba(22,12,54,.92)) !important;
  border:1px solid rgba(170,90,255,.42) !important;
  box-shadow:0 24px 80px rgba(0,0,0,.38), inset 0 0 40px rgba(140,70,255,.10);
}

body[data-page="emission-signup"] h1,
body[data-page="emission-signup"] h2{
  text-shadow:0 0 22px rgba(170,80,255,.45);
}

body[data-page="emission-signup"] #emissionTypes{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

body[data-page="emission-signup"] .emission-type-card{
  position:relative;
  min-height:170px;
  padding:24px !important;
  border-radius:22px !important;
  overflow:hidden;
  background:
    radial-gradient(circle at top right, rgba(176,64,255,.26), transparent 34%),
    linear-gradient(145deg, rgba(21,30,62,.92), rgba(10,16,38,.96)) !important;
  border:1px solid rgba(115,140,255,.35) !important;
  box-shadow:0 16px 45px rgba(0,0,0,.28);
}

body[data-page="emission-signup"] .emission-type-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,.08), transparent 38%);
  opacity:.25;
  pointer-events:none;
}

body[data-page="emission-signup"] .emission-type-card:hover{
  transform:translateY(-5px) scale(1.01);
  border-color:rgba(218,90,255,.85) !important;
  box-shadow:0 22px 60px rgba(144,68,255,.30), 0 0 32px rgba(0,210,255,.12);
}

body[data-page="emission-signup"] .emission-type-card h3{
  font-size:22px;
  margin:8px 0;
  color:#fff;
}

body[data-page="emission-signup"] .emission-type-card p{
  color:#dbe7ff;
  line-height:1.55;
}

body[data-page="emission-signup"] .emission-time-pill{
  background:linear-gradient(135deg, rgba(117,83,255,.35), rgba(0,203,255,.22)) !important;
  border:1px solid rgba(0,220,255,.35) !important;
  box-shadow:0 8px 22px rgba(0,180,255,.10);
}

body[data-page="emission-signup"] .primary,
body[data-page="emission-signup"] .emission-submit{
  background:linear-gradient(135deg, #b526ff, #6d7dff, #00d5ff) !important;
  border:0 !important;
  box-shadow:0 14px 34px rgba(142,75,255,.35);
  font-weight:900;
  letter-spacing:.02em;
}

body[data-page="emission-signup"] input,
body[data-page="emission-signup"] textarea{
  background:rgba(5,10,28,.82) !important;
  border:1px solid rgba(120,150,255,.32) !important;
  color:#fff !important;
}

body[data-page="emission-signup"] input:focus,
body[data-page="emission-signup"] textarea:focus{
  outline:none;
  border-color:rgba(205,90,255,.9) !important;
  box-shadow:0 0 0 3px rgba(180,80,255,.18);
}

body[data-page="emission-signup"] #openEmissionInfo{
  background:linear-gradient(135deg, rgba(100,80,255,.35), rgba(0,190,255,.20)) !important;
  border:1px solid rgba(0,210,255,.35) !important;
  color:#fff !important;
  box-shadow:0 10px 28px rgba(0,160,255,.12);
}

@media(max-width:850px){
  body[data-page="emission-signup"] #emissionTypes{
    grid-template-columns:1fr;
  }
}

/* === GALERIE LIVE SOIRÉE === */
.live-gallery-panel{
  border-color:rgba(255,180,40,.35) !important;
  box-shadow:0 0 28px rgba(255,160,30,.12);
}

.live-gallery-viewer{
  min-height:150px;
  border-radius:18px;
  overflow:hidden;
  background:rgba(3,8,20,.55);
  border:1px solid rgba(255,180,40,.25);
  display:flex;
  align-items:center;
  justify-content:center;
}

.live-gallery-slide{
  width:100%;
  position:relative;
}

.live-gallery-slide img{
  width:100%;
  height:170px;
  object-fit:cover;
  display:block;
}

.live-gallery-caption{
  position:absolute;
  left:10px;
  right:10px;
  bottom:10px;
  padding:8px 10px;
  border-radius:14px;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(8px);
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.live-gallery-upload{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:8px;
  margin-top:10px;
}

.live-gallery-upload input[type="text"]{
  min-width:0;
}

@media(max-width:720px){
  .live-gallery-upload{
    grid-template-columns:1fr;
  }
}

.live-gallery-mini-view{
  margin-top:10px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,180,0,.3);
}

.live-gallery-mini-actions{
  display:flex;
  gap:8px;
  margin-top:8px;
}

.live-gallery-mini-actions button{
  flex:1;
}

/* === GALERIE LIVE PRO === */

.live-gallery-mini-view{
  position:relative;
  width:100%;
  height:140px;
  border-radius:14px;
  overflow:hidden;
  background:rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* image principale */
.live-gallery-item{
  width:100%;
  height:100%;
  position:relative;
}

.live-gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover; /* ⚡ IMPORTANT */
  border-radius:14px;
}

/* overlay texte */
.live-gallery-overlay{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:8px 10px;
  background:linear-gradient(to top, rgba(0,0,0,.7), transparent);
  font-size:12px;
  color:#fff;
}

.live-gallery-overlay strong{
  display:block;
  font-weight:700;
  font-size:13px;
}

.live-gallery-overlay span{
  opacity:.8;
  font-size:11px;
}


/* === GALERIE LIVE — ACTIONS PLUS CLAIRES === */
.live-gallery-mini-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:8px;
}

.live-gallery-pick,
.live-gallery-send{
  min-height:42px;
  border-radius:14px !important;
  font-weight:900 !important;
}

#lgStatus{
  margin-top:6px;
  padding:6px 8px;
  border-radius:10px;
  background:rgba(0,220,160,.08);
  color:#dfffee;
  font-weight:800;
  font-size:12px;
}

.live-gallery-mini-view{
  height:128px !important;
}

.live-gallery-overlay{
  padding:32px 10px 8px !important;
}

.live-gallery-overlay strong{
  font-size:12px !important;
}

.live-gallery-overlay span,
.live-gallery-overlay small{
  font-size:10px !important;
}

/* FIX galerie live : image entière visible */
.live-gallery-mini-view{
  height:170px !important;
  background:#050914 !important;
}

.live-gallery-item img{
  object-fit:contain !important;
  background:#050914 !important;
}

.live-gallery-overlay{
  background:linear-gradient(to top, rgba(0,0,0,.90), rgba(0,0,0,.35), transparent) !important;
}

/* FIX galerie live : format flyer pro */
.live-gallery-mini-view{
  height:260px !important;
  border-radius:18px !important;
}

.live-gallery-item img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
}

.live-gallery-overlay{
  padding:46px 14px 12px !important;
}

/* === GALERIE LIVE : APERÇU STABLE + GRAND FORMAT === */
body[data-page="home"] .live-gallery-mini-view{
  height:170px !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:#050914 !important;
}

body[data-page="home"] .live-gallery-item,
body[data-page="home"] .live-gallery-item img{
  width:100% !important;
  height:100% !important;
}

body[data-page="home"] .live-gallery-item img{
  object-fit:cover !important;
  object-position:center center !important;
  cursor:pointer;
  display:block;
}

body[data-page="home"] .live-gallery-overlay{
  padding:38px 12px 10px !important;
}

#liveGalleryModal{
  display:none;
  position:fixed;
  inset:0;
  z-index:999999;
  background:rgba(0,0,0,.88);
  align-items:center;
  justify-content:center;
  padding:24px;
}

#liveGalleryModal.open{
  display:flex;
}

#liveGalleryModalImg{
  max-width:92vw;
  max-height:88vh;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 24px 80px rgba(0,0,0,.7);
}

#closeLiveGalleryModal{
  position:fixed;
  top:18px;
  right:22px;
  z-index:1000000;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(20,20,30,.85);
  color:#fff;
  font-size:28px;
  cursor:pointer;
}

/* === GALERIE LIVE : aperçu image entière, non coupée === */
body[data-page="home"] .live-gallery-mini-view{
  height:190px !important;
  background:#050914 !important;
}

body[data-page="home"] .live-gallery-item img{
  object-fit:contain !important;
  object-position:center center !important;
  background:#050914 !important;
}

/* === GALERIE LIVE : aperçu plus carré + cadrage droite === */
body[data-page="home"] .live-gallery-mini-view{
  height:215px !important;
  border-radius:18px !important;
}

body[data-page="home"] .live-gallery-item img{
  object-fit:contain !important;
  object-position:65% center !important;
  background:#050914 !important;
}

/* === GALERIE LIVE PRO CLEAN === */
body[data-page="home"] .live-gallery-mini{
  margin-top:12px;
}

/* container */
body[data-page="home"] .live-gallery-mini-view{
  height:240px;
  border-radius:16px;
  overflow:hidden;
  background:#050914;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* image */
body[data-page="home"] .live-gallery-item img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

/* overlay */
body[data-page="home"] .live-gallery-overlay{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:10px;
  background:linear-gradient(to top, rgba(0,0,0,.8), transparent);
  font-size:13px;
}

/* === GALERIE LIVE : CARTE IMAGE + DÉDICACE + AUDIO === */
body[data-page="home"] .live-gallery-mini-view{
  height:210px !important;
  padding:0 !important;
}

body[data-page="home"] .live-gallery-card{
  width:100%;
  height:100%;
  display:grid;
  grid-template-columns:58% 42%;
  background:#050914;
}

body[data-page="home"] .live-gallery-photo{
  min-width:0;
  height:100%;
  background:#050914;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

body[data-page="home"] .live-gallery-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  cursor:pointer;
}

body[data-page="home"] .live-gallery-info{
  padding:12px;
  background:linear-gradient(145deg, rgba(12,19,43,.98), rgba(5,9,20,.98));
  border-left:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  overflow:hidden;
}

body[data-page="home"] .live-gallery-info strong{
  color:#fff;
  font-size:14px;
  line-height:1.15;
}

body[data-page="home"] .live-gallery-info span{
  color:#9feaff;
  font-size:11px;
  font-weight:800;
}

body[data-page="home"] .live-gallery-info p{
  color:#d7e2ff;
  font-size:11px;
  line-height:1.35;
  margin:0;
  max-height:48px;
  overflow:hidden;
}

body[data-page="home"] .live-gallery-info audio{
  width:100%;
  height:30px;
  margin-top:4px;
}

@media(max-width:900px){
  body[data-page="home"] .live-gallery-card{
    grid-template-columns:1fr;
  }

  body[data-page="home"] .live-gallery-info{
    display:none;
  }
}

/* === POPUP GALERIE === */
.lg-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.lg-modal.open{
  display:flex;
}

.lg-modal-box{
  background:#0f1730;
  padding:20px;
  border-radius:14px;
  width:320px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.lg-modal-box input,
.lg-modal-box textarea{
  width:100%;
  padding:8px;
  border-radius:8px;
  border:none;
}

.lg-close{
  position:absolute;
  right:12px;
  top:10px;
  background:none;
  border:none;
  font-size:22px;
  color:#fff;
  cursor:pointer;
}

/* === POPUP GALERIE === */
.lg-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.lg-modal.open{
  display:flex;
}

.lg-modal-box{
  background:#0f1730;
  padding:20px;
  border-radius:14px;
  width:320px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.lg-modal-box input,
.lg-modal-box textarea{
  width:100%;
  padding:8px;
  border-radius:8px;
  border:none;
}

.lg-close{
  position:absolute;
  right:12px;
  top:10px;
  background:none;
  border:none;
  font-size:22px;
  color:#fff;
  cursor:pointer;
}

/* === GALERIE LIVE : CADRAGE INTELLIGENT VIDÉO === */

body[data-page="home"] .live-gallery-mini-view{
  height:220px !important;
  max-height:220px !important;
  overflow:hidden !important;
}

body[data-page="home"] .live-gallery-photo video.smart-video{
  width:100% !important;
  height:100% !important;
  display:block !important;
  background:#050914 !important;
  border-radius:14px !important;
}

body[data-page="home"] .live-gallery-photo video.video-landscape{
  object-fit:cover !important;
  object-position:center center !important;
}

body[data-page="home"] .live-gallery-photo video.video-portrait{
  object-fit:contain !important;
  object-position:center center !important;
  background:
    radial-gradient(circle at center, rgba(120,80,255,.18), transparent 55%),
    #050914 !important;
}

#liveGalleryModalImg,
#liveGalleryModal video{
  max-width:92vw !important;
  max-height:88vh !important;
  object-fit:contain !important;
}

/* === BOUTONS FERMER PRO GALERIE LIVE === */
.lg-close,
#closeLiveGalleryModal{
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  width:42px !important;
  height:42px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.25) !important;
  background:rgba(8,12,28,.88) !important;
  color:#fff !important;
  font-size:28px !important;
  line-height:38px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  z-index:1000000 !important;
  box-shadow:0 10px 30px rgba(0,0,0,.45) !important;
}

.lg-close:hover,
#closeLiveGalleryModal:hover{
  background:rgba(160,70,255,.95) !important;
  transform:scale(1.05);
}

.lg-modal-box{
  position:relative !important;
}

/* === CROIX FERMER RADIO PRO === */
.lg-close,
#closeLiveGalleryModal{
  position:absolute !important;
  top:10px !important;
  right:10px !important;
  width:50px !important;
  height:50px !important;
  border-radius:16px !important;
  border:1px solid rgba(120,220,255,.45) !important;
  background:linear-gradient(135deg, rgba(18,26,58,.96), rgba(60,35,120,.92)) !important;
  color:#ffffff !important;
  font-size:34px !important;
  font-weight:300 !important;
  line-height:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  z-index:1000000 !important;
  box-shadow:0 0 18px rgba(0,210,255,.22), 0 12px 32px rgba(0,0,0,.45) !important;
}

.lg-close:hover,
#closeLiveGalleryModal:hover{
  background:linear-gradient(135deg, rgba(0,205,255,.95), rgba(150,70,255,.95)) !important;
  transform:scale(1.06);
}

/* === CROIX FERMER RADIO PRO === */
.lg-close,
#closeLiveGalleryModal{
  width:52px !important;
  height:52px !important;
  top:18px !important;
  right:18px !important;
  border-radius:18px !important;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.28), transparent 28%),
    linear-gradient(135deg, rgba(130,80,255,.95), rgba(0,210,255,.80)) !important;
  border:1px solid rgba(255,255,255,.38) !important;
  color:#fff !important;
  font-size:34px !important;
  font-weight:900 !important;
  line-height:1 !important;
  box-shadow:
    0 0 22px rgba(110,90,255,.45),
    0 12px 34px rgba(0,0,0,.55) !important;
  text-shadow:0 0 8px rgba(255,255,255,.55);
}

.lg-close:hover,
#closeLiveGalleryModal:hover{
  transform:scale(1.08) rotate(4deg);
  background:linear-gradient(135deg, rgba(255,70,210,.95), rgba(110,90,255,.95)) !important;
}

/* === GALERIE LIVE : BOUTON AUDIO COMPACT === */
body[data-page="home"] .lg-play-btn{
  width:max-content;
  max-width:100%;
  padding:7px 12px;
  border:1px solid rgba(130,180,255,.35);
  border-radius:999px;
  background:linear-gradient(135deg, rgba(109,93,252,.95), rgba(0,170,255,.80));
  color:#fff;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 0 14px rgba(109,93,252,.28);
}

body[data-page="home"] .lg-play-btn:hover{
  transform:scale(1.04);
}

/* === GALERIE LIVE : TEXTE DÉDICACE PLUS LISIBLE === */
body[data-page="home"] .live-gallery-info strong{
  font-size:18px !important;
  line-height:1.15 !important;
  font-weight:1000 !important;
}

body[data-page="home"] .live-gallery-info span{
  font-size:12px !important;
}

body[data-page="home"] .live-gallery-info p{
  font-size:13px !important;
  line-height:1.35 !important;
  max-height:58px !important;
}

/* === GALERIE LIVE : MISE EN AVANT PRO === */
body[data-page="home"] .live-gallery-info{
  padding:16px 14px !important;
  background:
    radial-gradient(circle at top right, rgba(122,92,255,.28), transparent 42%),
    linear-gradient(145deg, rgba(13,22,52,.98), rgba(4,8,20,.98)) !important;
}

body[data-page="home"] .live-gallery-info strong{
  display:block;
  color:#ffffff !important;
  font-size:20px !important;
  line-height:1.08 !important;
  letter-spacing:-.3px;
  text-shadow:0 0 14px rgba(120,100,255,.45);
}

body[data-page="home"] .live-gallery-info span{
  color:#54dcff !important;
  font-size:12px !important;
  font-weight:900 !important;
  text-transform:uppercase;
}

body[data-page="home"] .live-gallery-info p{
  color:#f2f6ff !important;
  font-size:13.5px !important;
  font-weight:800 !important;
  line-height:1.35 !important;
}

body[data-page="home"] .lg-play-btn{
  margin-top:4px;
  padding:9px 15px !important;
  font-size:12px !important;
  background:linear-gradient(135deg, #7c5cff, #00b7ff) !important;
}

/* === GALERIE LIVE : TEXTE VRAIMENT MIS EN AVANT === */
body[data-page="home"] .live-gallery-card{
  grid-template-columns:54% 46% !important;
}

body[data-page="home"] .live-gallery-info{
  padding:18px 16px !important;
  justify-content:flex-start !important;
  gap:8px !important;
}

body[data-page="home"] .live-gallery-info strong{
  font-size:22px !important;
  line-height:1.05 !important;
}

body[data-page="home"] .live-gallery-info p{
  font-size:14px !important;
  line-height:1.35 !important;
  max-height:76px !important;
}

body[data-page="home"] .lg-play-btn{
  width:fit-content !important;
  margin-top:auto !important;
}

/* === GALERIE LIVE : STYLE RADIO COLORÉ PRO === */
body[data-page="home"] .live-gallery-card{
  border-radius:18px !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 0 28px rgba(119,72,255,.18) !important;
}

body[data-page="home"] .live-gallery-photo{
  background:
    radial-gradient(circle at center, rgba(0,210,255,.18), transparent 55%),
    #050914 !important;
}

body[data-page="home"] .live-gallery-info{
  background:
    linear-gradient(180deg, rgba(118,57,255,.32), rgba(4,8,20,.96)),
    radial-gradient(circle at top right, rgba(0,210,255,.30), transparent 45%) !important;
  border-left:1px solid rgba(0,210,255,.35) !important;
}

body[data-page="home"] .live-gallery-info strong{
  color:#ffffff !important;
  font-size:22px !important;
  text-shadow:0 0 12px rgba(156,99,255,.75) !important;
}

body[data-page="home"] .live-gallery-info span{
  display:inline-block !important;
  width:max-content;
  padding:3px 7px;
  border-radius:999px;
  background:rgba(0,210,255,.14);
  color:#62e8ff !important;
  font-size:10px !important;
  letter-spacing:.4px;
}

body[data-page="home"] .live-gallery-info p{
  padding:8px 9px;
  border-radius:12px;
  background:rgba(255,255,255,.07);
  color:#fff !important;
  font-size:13px !important;
  font-weight:800 !important;
}

body[data-page="home"] .lg-play-btn{
  background:linear-gradient(135deg, #ff4fd8, #7c5cff, #00c8ff) !important;
  box-shadow:0 0 18px rgba(255,79,216,.35) !important;
}

/* === GALERIE LIVE : TYPO PRO MOINS FLASHY === */
body[data-page="home"] .live-gallery-info{
  background:
    linear-gradient(145deg, rgba(12,18,42,.98), rgba(7,10,24,.98)) !important;
  border-left:1px solid rgba(120,150,220,.22) !important;
}

body[data-page="home"] .live-gallery-info strong{
  color:#f4f7ff !important;
  font-size:20px !important;
  font-weight:900 !important;
  letter-spacing:-.2px !important;
  text-shadow:0 2px 12px rgba(0,0,0,.45) !important;
}

body[data-page="home"] .live-gallery-info span{
  background:rgba(120,150,220,.12) !important;
  color:#9fc7ff !important;
  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:.35px !important;
}

body[data-page="home"] .live-gallery-info p{
  background:rgba(255,255,255,.045) !important;
  color:#dfe7ff !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1.35 !important;
}

body[data-page="home"] .lg-play-btn{
  background:linear-gradient(135deg, #5b6cff, #18a6d8) !important;
  box-shadow:0 0 14px rgba(70,120,255,.25) !important;
}

/* === DJ LIVE GALLERY INDEX === */
.djlive-section{
  margin:14px 0 18px;
  padding:14px;
  border-radius:18px;
  border:2px solid rgba(255,70,70,.85);
  background:linear-gradient(135deg,rgba(80,0,20,.38),rgba(10,20,45,.92));
  box-shadow:0 0 30px rgba(255,40,80,.18);
}
.djlive-title{
  color:#ff5a6f;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:900;
  margin-bottom:10px;
}
.djlive-card{
  position:relative;
  overflow:hidden;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:16px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}
.djlive-card.is-animated{
  animation:djLiveSlide .45s ease both;
}
.djlive-pulse{
  width:14px;
  height:14px;
  border-radius:50%;
  background:#ff335c;
  box-shadow:0 0 18px #ff335c;
  animation:djLivePulse 1s infinite;
}
.djlive-kicker{
  color:#ff6f83;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.08em;
}
.djlive-info h3{
  margin:4px 0;
  font-size:1.35rem;
}
.djlive-info p{
  margin:0;
}
.djlive-small,.djlive-empty{
  color:rgba(255,255,255,.68);
  font-size:.85rem;
}
.djlive-play{
  border:none;
  border-radius:999px;
  padding:11px 16px;
  color:white;
  font-weight:900;
  cursor:pointer;
  background:linear-gradient(135deg,#ff335c,#7c5cff);
}
.djlive-locked .djlive-card{
  border-color:rgba(80,255,210,.75);
}
@keyframes djLivePulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.55);opacity:.55}
}
@keyframes djLiveSlide{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

/* === DJ LIVE GALLERY PRO PATCH === */
#djLiveIndexSection{
  width:100%;
  margin:18px 0 22px;
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at top left, rgba(255,45,85,.25), transparent 35%),
    linear-gradient(135deg, rgba(17,26,55,.96), rgba(38,18,45,.92));
  box-shadow:0 18px 45px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04);
}

#djLiveIndexSection .djlive-title{
  color:#55e7ff;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:10px;
}

#djLiveGallery .djlive-card{
  min-height:120px;
  padding:18px 20px;
  border-radius:20px;
  background:
    linear-gradient(120deg, rgba(255,45,85,.16), rgba(99,91,255,.18)),
    rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.14);
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  position:relative;
  overflow:hidden;
}

#djLiveGallery .djlive-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform:translateX(-120%);
  animation:djLiveShine 4s infinite;
}

#djLiveGallery .djlive-pulse{
  width:18px;
  height:18px;
  border-radius:999px;
  background:#ff315f;
  box-shadow:0 0 0 8px rgba(255,49,95,.12), 0 0 22px rgba(255,49,95,.9);
  animation:djLivePulse 1.15s infinite;
  z-index:1;
}

#djLiveGallery .djlive-info{
  z-index:1;
}

#djLiveGallery .djlive-kicker{
  display:inline-flex;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,49,95,.18);
  color:#ff6e8a;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:6px;
}

#djLiveGallery h3{
  margin:0 0 4px;
  font-size:clamp(1.4rem,2.6vw,2.1rem);
  line-height:1;
  color:#fff;
  text-shadow:0 0 18px rgba(255,255,255,.25);
}

#djLiveGallery p{
  margin:0;
  color:rgba(255,255,255,.86);
  font-size:1rem;
}

#djLiveGallery .djlive-small{
  display:block;
  margin-top:6px;
  color:rgba(216,226,255,.72);
  font-size:.85rem;
}

#djLiveGallery .djlive-play{
  z-index:1;
  border:none;
  border-radius:999px;
  padding:12px 18px;
  min-width:150px;
  cursor:pointer;
  color:#fff;
  font-weight:900;
  background:linear-gradient(135deg,#ff315f,#6d5dfc,#38d7ff);
  box-shadow:0 10px 30px rgba(109,93,252,.28);
  transition:transform .2s ease, box-shadow .2s ease;
}

#djLiveGallery .djlive-play:hover{
  transform:translateY(-2px) scale(1.02);
  box-shadow:0 16px 38px rgba(109,93,252,.38);
}

#djLiveGallery .djlive-card.is-animated{
  animation:djLiveEnter .55s ease both;
}

#djLiveGallery .djlive-empty{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.7);
}

@keyframes djLiveEnter{
  from{opacity:0;transform:translateY(12px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@keyframes djLiveShine{
  0%{transform:translateX(-120%)}
  45%,100%{transform:translateX(120%)}
}

@media(max-width:720px){
  #djLiveGallery .djlive-card{
    grid-template-columns:1fr;
    gap:12px;
  }
  #djLiveGallery .djlive-pulse{
    display:none;
  }
  #djLiveGallery .djlive-play{
    width:100%;
  }
}

/* === DJ LIVE GALLERY COLOR SOFT OVERRIDE === */
#djLiveIndexSection{
  border:1px solid rgba(109,93,252,.24);
  background:
    radial-gradient(circle at top left, rgba(85,231,255,.12), transparent 34%),
    linear-gradient(135deg, rgba(10,20,45,.96), rgba(28,22,58,.92));
  box-shadow:0 18px 45px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.035);
}

#djLiveGallery .djlive-card{
  background:
    linear-gradient(120deg, rgba(85,231,255,.08), rgba(109,93,252,.12)),
    rgba(255,255,255,.04);
  border:1px solid rgba(109,93,252,.22);
}

#djLiveGallery .djlive-pulse{
  background:#55e7ff;
  box-shadow:0 0 0 8px rgba(85,231,255,.10), 0 0 22px rgba(85,231,255,.55);
}

#djLiveGallery .djlive-kicker{
  background:rgba(85,231,255,.10);
  color:#55e7ff;
}

#djLiveGallery .djlive-play{
  background:linear-gradient(135deg,#6d5dfc,#38d7ff);
  box-shadow:0 10px 30px rgba(56,215,255,.18);
}

#djLiveGallery .djlive-play:hover{
  box-shadow:0 16px 38px rgba(56,215,255,.25);
}

/* === DJ LIVE WIDE PRESENTATION OVERRIDE === */
#djLiveIndexSection{
  padding:14px 16px 16px;
}

#djLiveGallery .djlive-card{
  min-height:145px;
  grid-template-columns:56px minmax(0,1fr) 190px;
  gap:18px;
  padding:20px 22px;
}

#djLiveGallery .djlive-info{
  width:100%;
}

#djLiveGallery .djlive-kicker{
  margin-bottom:10px;
}

#djLiveGallery h3{
  font-size:clamp(2rem,3.2vw,3.1rem);
  margin:0 0 8px;
  line-height:.95;
}

#djLiveGallery p{
  font-size:1.18rem;
  line-height:1.25;
  max-width:100%;
}

#djLiveGallery p strong{
  color:#55e7ff;
  font-size:1.28rem;
  text-shadow:0 0 14px rgba(85,231,255,.25);
}

#djLiveGallery .djlive-small{
  margin-top:10px;
  display:block;
  font-size:.95rem;
  max-width:100%;
}

#djLiveGallery .djlive-play{
  width:100%;
  min-height:52px;
  white-space:normal;
}

@media(max-width:900px){
  #djLiveGallery .djlive-card{
    grid-template-columns:38px 1fr;
  }

  #djLiveGallery .djlive-play{
    grid-column:1 / -1;
  }
}

/* === DJ LIVE WIDE PRESENTATION OVERRIDE === */
#djLiveIndexSection{
  padding:14px 16px 16px;
}

#djLiveGallery .djlive-card{
  min-height:145px;
  grid-template-columns:56px minmax(0,1fr) 190px;
  gap:18px;
  padding:20px 22px;
}

#djLiveGallery .djlive-info{
  width:100%;
}

#djLiveGallery .djlive-kicker{
  margin-bottom:10px;
}

#djLiveGallery h3{
  font-size:clamp(2rem,3.2vw,3.1rem);
  margin:0 0 8px;
  line-height:.95;
}

#djLiveGallery p{
  font-size:1.18rem;
  line-height:1.25;
  max-width:100%;
}

#djLiveGallery p strong{
  color:#55e7ff;
  font-size:1.28rem;
  text-shadow:0 0 14px rgba(85,231,255,.25);
}

#djLiveGallery .djlive-small{
  margin-top:10px;
  display:block;
  font-size:.95rem;
  max-width:100%;
}

#djLiveGallery .djlive-play{
  width:100%;
  min-height:52px;
  white-space:normal;
}

@media(max-width:900px){
  #djLiveGallery .djlive-card{
    grid-template-columns:38px 1fr;
  }

  #djLiveGallery .djlive-play{
    grid-column:1 / -1;
  }
}

/* === DJ LIVE WIDE FIX FINAL === */
#djLiveIndexSection{
  padding:14px 16px 16px !important;
}

#djLiveGallery .djlive-card{
  min-height:145px !important;
  grid-template-columns:56px minmax(0,1fr) 190px !important;
  gap:18px !important;
  padding:20px 22px !important;
}

#djLiveGallery .djlive-info{
  width:100% !important;
}

#djLiveGallery h3{
  font-size:clamp(2rem,3.2vw,3.1rem) !important;
  margin:0 0 8px !important;
  line-height:.95 !important;
}

#djLiveGallery p{
  font-size:1.18rem !important;
  line-height:1.25 !important;
}

#djLiveGallery p strong{
  color:#55e7ff !important;
  font-size:1.28rem !important;
}

#djLiveGallery .djlive-play{
  width:100% !important;
  min-height:52px !important;
}

@media(max-width:900px){
  #djLiveGallery .djlive-card{
    grid-template-columns:38px 1fr !important;
  }
  #djLiveGallery .djlive-play{
    grid-column:1 / -1 !important;
  }
}

/* === DJ LIVE COMPACT FINAL === */
#djLiveIndexSection{
  margin:10px 0 14px !important;
  padding:10px 12px !important;
  border-radius:16px !important;
}

#djLiveGallery .djlive-card{
  min-height:82px !important;
  grid-template-columns:28px minmax(0,1fr) 130px !important;
  gap:10px !important;
  padding:12px 14px !important;
  border-radius:14px !important;
}

#djLiveGallery h3{
  font-size:1.55rem !important;
  margin:0 0 4px !important;
}

#djLiveGallery p{
  font-size:.95rem !important;
}

#djLiveGallery p strong{
  font-size:1rem !important;
}

#djLiveGallery .djlive-small{
  display:none !important;
}

#djLiveGallery .djlive-pulse{
  width:12px !important;
  height:12px !important;
}

#djLiveGallery .djlive-play{
  min-height:38px !important;
  padding:8px 10px !important;
  font-size:.85rem !important;
}

/* === AMBIANCE ACTUELLE + DJ LIVE PRO === */
.live-energy{
  align-items:flex-start !important;
  flex-direction:column !important;
  padding:14px 16px !important;
  border-radius:18px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(85,231,255,.10), transparent 34%),
    rgba(255,255,255,.035) !important;
  border:1px solid rgba(109,93,252,.22) !important;
}

.live-energy > div:first-child{
  width:100% !important;
}

.live-energy > strong{
  position:absolute !important;
  right:18px !important;
  top:28px !important;
  font-size:1.7rem !important;
  color:#fff !important;
  text-shadow:0 0 18px rgba(85,231,255,.25) !important;
}

#djLiveIndexSection{
  width:100% !important;
  margin:12px 0 0 !important;
  padding:10px !important;
  border-radius:16px !important;
  background:
    linear-gradient(135deg, rgba(16,28,58,.88), rgba(35,24,70,.82)) !important;
  border:1px solid rgba(85,231,255,.16) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03), 0 12px 24px rgba(0,0,0,.18) !important;
}

#djLiveIndexSection .djlive-title{
  margin:0 0 8px !important;
  font-size:.72rem !important;
  color:#55e7ff !important;
  letter-spacing:.12em !important;
}

#djLiveGallery .djlive-card{
  min-height:76px !important;
  grid-template-columns:22px minmax(0,1fr) 128px !important;
  padding:10px 12px !important;
  gap:10px !important;
  border-radius:14px !important;
  background:
    linear-gradient(120deg, rgba(85,231,255,.07), rgba(109,93,252,.12)),
    rgba(255,255,255,.035) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

#djLiveGallery .djlive-kicker{
  padding:3px 8px !important;
  font-size:.62rem !important;
  margin-bottom:5px !important;
}

#djLiveGallery h3{
  font-size:1.35rem !important;
  margin:0 0 3px !important;
}

#djLiveGallery p{
  font-size:.88rem !important;
}

#djLiveGallery p strong{
  font-size:.95rem !important;
}

#djLiveGallery .djlive-play{
  min-height:34px !important;
  padding:7px 10px !important;
  font-size:.8rem !important;
}

/* === DJ LIVE PREMIUM FINAL === */
.djlive-premium-shell{
  margin:14px 0 18px !important;
  padding:18px 20px !important;
  border-radius:24px !important;
  border:1px solid rgba(85,231,255,.38) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(85,231,255,.16), transparent 32%),
    linear-gradient(135deg, rgba(9,20,46,.96), rgba(24,22,62,.94)) !important;
  box-shadow:0 22px 55px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.04) !important;
}

.djlive-ambience-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.djlive-ambience-title{
  color:#55e7ff;
  font-weight:900;
  letter-spacing:.18em;
  font-size:.92rem;
}

.djlive-ambience-sub{
  color:rgba(216,226,255,.78);
  font-size:.88rem;
  font-weight:700;
  margin-top:4px;
}

.djlive-counter{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:118px;
  justify-content:center;
  padding:10px 16px;
  border-radius:16px;
  border:1px solid rgba(85,231,255,.42);
  background:rgba(85,231,255,.08);
  color:#55e7ff;
  box-shadow:0 0 24px rgba(85,231,255,.16);
}

.djlive-counter-wave{
  font-size:1.5rem;
  animation:djLiveCounterPulse 1.4s infinite;
}

.djlive-counter strong{
  font-size:2rem;
  line-height:1;
}

#djLiveGallery .djlive-card{
  min-height:155px !important;
  display:grid !important;
  grid-template-columns:180px minmax(0,1fr) 210px !important;
  gap:22px !important;
  align-items:center !important;
  padding:18px !important;
  border-radius:22px !important;
  border:1px solid rgba(109,93,252,.42) !important;
  background:
    linear-gradient(120deg, rgba(8,16,40,.98), rgba(35,29,78,.92)),
    rgba(255,255,255,.04) !important;
  position:relative !important;
  overflow:hidden !important;
}

#djLiveGallery .djlive-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  transform:translateX(-120%);
  animation:djLiveShine 4.4s infinite;
}

#djLiveGallery .djlive-pulse{
  width:100% !important;
  height:118px !important;
  border-radius:18px !important;
  background:
    linear-gradient(rgba(0,0,0,.16),rgba(0,0,0,.22)),
    url('/assets/images/logo-magicalradio.svg') center/56px no-repeat,
    radial-gradient(circle at 50% 35%, rgba(85,231,255,.24), transparent 44%),
    linear-gradient(135deg, rgba(25,39,82,.9), rgba(62,29,74,.9)) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08), 0 12px 30px rgba(0,0,0,.25) !important;
  position:relative !important;
  animation:none !important;
}

#djLiveGallery .djlive-pulse::before{
  content:"LIVE";
  position:absolute;
  left:12px;
  top:12px;
  padding:5px 10px;
  border-radius:999px;
  background:#ff335c;
  color:white;
  font-size:.78rem;
  font-weight:900;
  box-shadow:0 0 20px rgba(255,51,92,.35);
}

#djLiveGallery .djlive-info{
  position:relative;
  z-index:1;
}

#djLiveGallery .djlive-kicker{
  display:inline-flex;
  padding:6px 12px !important;
  border-radius:999px !important;
  background:rgba(85,231,255,.12) !important;
  color:#55e7ff !important;
  font-size:.75rem !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  margin-bottom:10px !important;
}

#djLiveGallery h3{
  font-size:clamp(2.2rem,3.6vw,3.4rem) !important;
  margin:0 0 8px !important;
  line-height:.95 !important;
}

#djLiveGallery p{
  font-size:1.15rem !important;
  margin:0 !important;
}

#djLiveGallery p strong{
  color:#55e7ff !important;
  font-size:1.25rem !important;
}

#djLiveGallery .djlive-small{
  display:block !important;
  margin-top:14px !important;
  color:rgba(216,226,255,.76) !important;
  font-size:.9rem !important;
}

#djLiveGallery .djlive-play{
  position:relative;
  z-index:1;
  width:100% !important;
  min-height:58px !important;
  border-radius:999px !important;
  border:none !important;
  color:white !important;
  font-size:1rem !important;
  font-weight:900 !important;
  cursor:pointer !important;
  background:linear-gradient(135deg,#6d5dfc,#38d7ff) !important;
  box-shadow:0 14px 36px rgba(56,215,255,.24) !important;
}

@keyframes djLiveCounterPulse{
  0%,100%{opacity:.7;transform:scale(1)}
  50%{opacity:1;transform:scale(1.18)}
}

@media(max-width:900px){
  #djLiveGallery .djlive-card{
    grid-template-columns:1fr !important;
  }

  #djLiveGallery .djlive-pulse{
    height:90px !important;
  }
}

/* === DJ LIVE PREMIUM CLEAN FINAL === */
.djlive-premium-shell{
  margin:14px 0 18px !important;
  padding:18px 20px !important;
  border-radius:24px !important;
  border:1px solid rgba(85,231,255,.38) !important;
  background:radial-gradient(circle at 0 0,rgba(85,231,255,.16),transparent 32%),linear-gradient(135deg,rgba(9,20,46,.96),rgba(24,22,62,.94)) !important;
  box-shadow:0 22px 55px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,255,255,.04) !important;
}

.djlive-ambience-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.djlive-ambience-title{color:#55e7ff;font-weight:900;letter-spacing:.18em;font-size:.92rem}
.djlive-ambience-sub{color:rgba(216,226,255,.78);font-size:.88rem;font-weight:700;margin-top:4px}

.djlive-counter{
  display:flex;align-items:center;gap:10px;min-width:112px;justify-content:center;
  padding:9px 14px;border-radius:16px;border:1px solid rgba(85,231,255,.42);
  background:rgba(85,231,255,.08);color:#55e7ff;box-shadow:0 0 24px rgba(85,231,255,.16)
}
.djlive-counter-wave{font-size:1.4rem;animation:djLiveCounterPulse 1.4s infinite}
.djlive-counter strong{font-size:1.85rem;line-height:1}

#djLiveGallery .djlive-card{
  min-height:128px !important;
  display:grid !important;
  grid-template-columns:150px minmax(0,1fr) 180px !important;
  gap:18px !important;
  align-items:center !important;
  padding:16px !important;
  border-radius:22px !important;
  border:1px solid rgba(109,93,252,.42) !important;
  background:linear-gradient(120deg,rgba(8,16,40,.98),rgba(35,29,78,.92)) !important;
  position:relative !important;
  overflow:hidden !important;
}

#djLiveGallery .djlive-card::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.10),transparent);
  transform:translateX(-120%);animation:djLiveShine 4.4s infinite;
}

#djLiveGallery .djlive-pulse{
  width:100% !important;height:96px !important;border-radius:18px !important;
  background:linear-gradient(rgba(0,0,0,.16),rgba(0,0,0,.22)),url('/assets/images/logo-magicalradio.svg') center/54px no-repeat,linear-gradient(135deg,rgba(25,39,82,.9),rgba(62,29,74,.9)) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 12px 30px rgba(0,0,0,.25) !important;
  position:relative !important;animation:none !important;
}

#djLiveGallery .djlive-pulse::before{
  content:"LIVE";position:absolute;left:10px;top:10px;padding:4px 9px;border-radius:999px;
  background:#ff335c;color:white;font-size:.7rem;font-weight:900;box-shadow:0 0 20px rgba(255,51,92,.35)
}

#djLiveGallery .djlive-kicker{
  display:inline-flex;padding:5px 10px !important;border-radius:999px !important;
  background:rgba(85,231,255,.12) !important;color:#55e7ff !important;
  font-size:.7rem !important;font-weight:900 !important;letter-spacing:.08em !important;margin-bottom:8px !important;
}

#djLiveGallery h3{font-size:clamp(1.9rem,3vw,2.8rem) !important;margin:0 0 6px !important;line-height:.95 !important}
#djLiveGallery p{font-size:1.05rem !important;margin:0 !important}
#djLiveGallery p strong{color:#55e7ff !important;font-size:1.12rem !important}
#djLiveGallery .djlive-small{display:block !important;margin-top:10px !important;color:rgba(216,226,255,.76) !important;font-size:.84rem !important}

#djLiveGallery .djlive-play{
  width:100% !important;min-height:50px !important;border-radius:999px !important;border:none !important;
  color:white !important;font-size:.95rem !important;font-weight:900 !important;cursor:pointer !important;
  background:linear-gradient(135deg,#6d5dfc,#38d7ff) !important;
  box-shadow:0 14px 36px rgba(56,215,255,.24) !important;
}

@keyframes djLiveCounterPulse{0%,100%{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.16)}}

@media(max-width:900px){
  #djLiveGallery .djlive-card{grid-template-columns:1fr !important}
  #djLiveGallery .djlive-pulse{height:86px !important}
}

/* === DJ LIVE CLEAN INSIDE AMBIANCE === */
#djLiveIndexSection.djlive-premium-shell{
  margin:12px 0 0 !important;
  padding:10px 12px !important;
  border-radius:16px !important;
  background:linear-gradient(135deg,rgba(14,25,55,.72),rgba(35,25,72,.58)) !important;
  border:1px solid rgba(85,231,255,.18) !important;
  box-shadow:none !important;
}

#djLiveIndexSection .djlive-title{
  margin:0 0 8px !important;
  color:#55e7ff !important;
  font-size:.78rem !important;
  font-weight:900 !important;
  letter-spacing:.12em !important;
}

#djLiveGallery .djlive-card{
  min-height:78px !important;
  grid-template-columns:minmax(0,1fr) 160px !important;
  gap:12px !important;
  padding:12px 14px !important;
  border-radius:14px !important;
}

#djLiveGallery .djlive-pulse{
  display:none !important;
}

#djLiveGallery .djlive-kicker{
  font-size:.62rem !important;
  padding:3px 8px !important;
  margin-bottom:5px !important;
}

#djLiveGallery h3{
  font-size:1.65rem !important;
  margin:0 0 3px !important;
}

#djLiveGallery p{
  font-size:.9rem !important;
}

#djLiveGallery p strong{
  font-size:.95rem !important;
}

#djLiveGallery .djlive-small{
  display:none !important;
}

#djLiveGallery .djlive-play{
  min-height:38px !important;
  font-size:.82rem !important;
  padding:8px 10px !important;
}

/* === DJ LIVE WAVEFORM UNIQUE === */
#djLiveGallery .djlive-waveform{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-width:145px;
  height:48px;
  padding:8px 10px;
  border-radius:14px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
}

#djLiveGallery .djlive-waveform span{
  width:4px;
  border-radius:999px;
  box-shadow:0 0 12px currentColor;
  animation:djLiveWaveMove .9s ease-in-out infinite alternate;
}

@keyframes djLiveWaveMove{
  from{transform:scaleY(.45);opacity:.65}
  to{transform:scaleY(1.15);opacity:1}
}

#djLiveGallery .djlive-card{
  grid-template-columns:minmax(0,1fr) 155px 155px !important;
}

@media(max-width:900px){
  #djLiveGallery .djlive-card{
    grid-template-columns:1fr !important;
  }
}

/* === DJ LIVE WAVEFORM PRO INTEGRATION === */
#djLiveGallery .djlive-card{
  grid-template-columns:minmax(0,1fr) 210px 155px !important;
  align-items:center !important;
}

#djLiveGallery .djlive-waveform{
  min-width:210px !important;
  height:54px !important;
  padding:10px 14px !important;
  border-radius:18px !important;
  background:
    radial-gradient(circle at center, rgba(85,231,255,.12), transparent 62%),
    rgba(6,14,34,.48) !important;
  border:1px solid rgba(85,231,255,.18) !important;
  box-shadow:
    inset 0 0 20px rgba(85,231,255,.08),
    0 8px 22px rgba(0,0,0,.20) !important;
}

#djLiveGallery .djlive-waveform::before{
  content:"";
  position:absolute;
}

#djLiveGallery .djlive-waveform span{
  width:3px !important;
  opacity:.92 !important;
}

#djLiveGallery .djlive-play{
  box-shadow:0 10px 24px rgba(56,215,255,.20) !important;
}

@media(max-width:900px){
  #djLiveGallery .djlive-card{
    grid-template-columns:1fr !important;
  }

  #djLiveGallery .djlive-waveform{
    width:100% !important;
    min-width:0 !important;
  }
}

/* === DJ LIVE PLAYER LOCK === */
#djLiveGallery .djlive-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
}

#djLiveGallery .djlive-unlock{
  min-height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:#d8e2ff;
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
}

#djLiveGallery.djlive-locked .djlive-card{
  border-color:rgba(85,231,255,.38) !important;
  box-shadow:0 0 28px rgba(85,231,255,.14) !important;
}

/* === DJ LIVE PREMIUM CLEAN FINAL === */
.djlive-premium-shell{
  margin:14px 0 18px !important;
  padding:18px 20px !important;
  border-radius:24px !important;
  border:1px solid rgba(85,231,255,.38) !important;
  background:radial-gradient(circle at 0 0,rgba(85,231,255,.16),transparent 32%),linear-gradient(135deg,rgba(9,20,46,.96),rgba(24,22,62,.94)) !important;
  box-shadow:0 22px 55px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,255,255,.04) !important;
}

.djlive-ambience-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.djlive-ambience-title{color:#55e7ff;font-weight:900;letter-spacing:.18em;font-size:.92rem}
.djlive-ambience-sub{color:rgba(216,226,255,.78);font-size:.88rem;font-weight:700;margin-top:4px}

.djlive-counter{
  display:flex;align-items:center;gap:10px;min-width:112px;justify-content:center;
  padding:9px 14px;border-radius:16px;border:1px solid rgba(85,231,255,.42);
  background:rgba(85,231,255,.08);color:#55e7ff;box-shadow:0 0 24px rgba(85,231,255,.16)
}
.djlive-counter-wave{font-size:1.4rem;animation:djLiveCounterPulse 1.4s infinite}
.djlive-counter strong{font-size:1.85rem;line-height:1}

#djLiveGallery .djlive-card{
  min-height:128px !important;
  display:grid !important;
  grid-template-columns:150px minmax(0,1fr) 180px !important;
  gap:18px !important;
  align-items:center !important;
  padding:16px !important;
  border-radius:22px !important;
  border:1px solid rgba(109,93,252,.42) !important;
  background:linear-gradient(120deg,rgba(8,16,40,.98),rgba(35,29,78,.92)) !important;
  position:relative !important;
  overflow:hidden !important;
}

#djLiveGallery .djlive-card::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.10),transparent);
  transform:translateX(-120%);animation:djLiveShine 4.4s infinite;
}

#djLiveGallery .djlive-pulse{
  width:100% !important;height:96px !important;border-radius:18px !important;
  background:linear-gradient(rgba(0,0,0,.16),rgba(0,0,0,.22)),url('/assets/images/logo-magicalradio.svg') center/54px no-repeat,linear-gradient(135deg,rgba(25,39,82,.9),rgba(62,29,74,.9)) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 12px 30px rgba(0,0,0,.25) !important;
  position:relative !important;animation:none !important;
}

#djLiveGallery .djlive-pulse::before{
  content:"LIVE";position:absolute;left:10px;top:10px;padding:4px 9px;border-radius:999px;
  background:#ff335c;color:white;font-size:.7rem;font-weight:900;box-shadow:0 0 20px rgba(255,51,92,.35)
}

#djLiveGallery .djlive-kicker{
  display:inline-flex;padding:5px 10px !important;border-radius:999px !important;
  background:rgba(85,231,255,.12) !important;color:#55e7ff !important;
  font-size:.7rem !important;font-weight:900 !important;letter-spacing:.08em !important;margin-bottom:8px !important;
}

#djLiveGallery h3{font-size:clamp(1.9rem,3vw,2.8rem) !important;margin:0 0 6px !important;line-height:.95 !important}
#djLiveGallery p{font-size:1.05rem !important;margin:0 !important}
#djLiveGallery p strong{color:#55e7ff !important;font-size:1.12rem !important}
#djLiveGallery .djlive-small{display:block !important;margin-top:10px !important;color:rgba(216,226,255,.76) !important;font-size:.84rem !important}

#djLiveGallery .djlive-play{
  width:100% !important;min-height:50px !important;border-radius:999px !important;border:none !important;
  color:white !important;font-size:.95rem !important;font-weight:900 !important;cursor:pointer !important;
  background:linear-gradient(135deg,#6d5dfc,#38d7ff) !important;
  box-shadow:0 14px 36px rgba(56,215,255,.24) !important;
}

@keyframes djLiveCounterPulse{0%,100%{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.16)}}

@media(max-width:900px){
  #djLiveGallery .djlive-card{grid-template-columns:1fr !important}
  #djLiveGallery .djlive-pulse{height:86px !important}
}

/* === DJ INFO POPUP SIDE MODE === */
body[data-page="stream-dj"] #djInfoPopup{
  position:fixed !important;
  top:90px !important;
  right:28px !important;
  left:auto !important;
  transform:none !important;
  width:min(420px, calc(100vw - 32px)) !important;
  max-height:calc(100vh - 120px) !important;
  overflow:auto !important;
  z-index:99999 !important;
}

body[data-page="stream-dj"] #djInfoVideo{
  max-height:230px !important;
  object-fit:cover !important;
}

@media(max-width:900px){
  body[data-page="stream-dj"] #djInfoPopup{
    top:70px !important;
    right:12px !important;
    left:12px !important;
    width:auto !important;
  }
}

/* Vision vidéo - bouton tête de page */
.vision-video-btn{
  margin-left:14px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  color:#fff;
  font-weight:800;
  letter-spacing:.02em;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  white-space:nowrap;
}

.vision-video-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.38);
}

.vision-video-card{
  max-width:860px;
  width:min(92vw, 860px);
}

.vision-video-player{
  width:100%;
  max-height:70vh;
  border-radius:16px;
  background:#000;
  display:block;
}

@media (max-width: 760px){
  .vision-video-btn{
    margin-left:0;
    margin-top:10px;
    width:100%;
  }
}

/* Vision vidéo - cadre pro plus compact */
.vision-video-modal.show{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.vision-video-card{
  width:min(72vw, 620px) !important;
  max-width:620px !important;
  padding:14px !important;
  border-radius:22px !important;
  background:rgba(12,14,24,.96) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 24px 80px rgba(0,0,0,.65) !important;
}

.vision-video-card .modal-head{
  padding:4px 4px 12px 4px;
  margin-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.vision-video-card h3{
  font-size:18px;
  letter-spacing:.03em;
}

.vision-video-player{
  width:100% !important;
  max-height:58vh !important;
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05), 0 14px 40px rgba(0,0,0,.45);
  background:#000;
}

@media (max-width:760px){
  .vision-video-card{
    width:min(94vw, 420px) !important;
  }
  .vision-video-player{
    max-height:52vh !important;
  }
}

/* Vision vidéo - panneau à droite */
.vision-video-modal.show{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  padding:24px 28px !important;
}

.vision-video-card{
  width:min(420px, 92vw) !important;
  max-width:420px !important;
  padding:14px !important;
  border-radius:22px !important;
  background:rgba(12,14,24,.97) !important;
  border:1px solid rgba(255,255,255,.20) !important;
  box-shadow:0 24px 80px rgba(0,0,0,.70) !important;
}

#closeVisionVideo{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

#closeVisionVideo:hover{
  background:rgba(255,255,255,.20);
}

.vision-video-player{
  width:100% !important;
  max-height:62vh !important;
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.16);
  background:#000;
}

@media (max-width:760px){
  .vision-video-modal.show{
    justify-content:center !important;
    padding:16px !important;
  }
  .vision-video-card{
    width:min(94vw, 420px) !important;
  }
}

/* Vision vidéo - vrai panneau pro fixé à droite */
#visionVideoModal.show{
  display:block !important;
  position:fixed !important;
  inset:0 !important;
  z-index:99990 !important;
  background:rgba(0,0,0,.28) !important;
}

#visionVideoModal .vision-video-card{
  position:fixed !important;
  right:28px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:390px !important;
  max-width:calc(100vw - 56px) !important;
  padding:14px !important;
  border-radius:22px !important;
  background:rgba(10,12,22,.98) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  box-shadow:0 28px 90px rgba(0,0,0,.75) !important;
}

#visionVideoModal .modal-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding:0 0 12px 0 !important;
  margin-bottom:12px !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
}

#visionVideoModal .modal-head h3{
  margin:0 !important;
  font-size:17px !important;
}

#closeVisionVideo{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:36px !important;
  height:36px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.25) !important;
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  font-size:24px !important;
  cursor:pointer !important;
}

#visionVideoPlayer{
  width:100% !important;
  max-height:62vh !important;
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.16) !important;
  background:#000 !important;
}

@media (max-width:760px){
  #visionVideoModal .vision-video-card{
    right:50% !important;
    top:50% !important;
    transform:translate(50%, -50%) !important;
    width:92vw !important;
  }
}

/* FIX Vision : caché par défaut, panneau à droite plus bas */
#visionVideoModal{
  display:none !important;
}

#visionVideoModal.show{
  display:block !important;
  position:fixed !important;
  inset:0 !important;
  z-index:99990 !important;
  background:rgba(0,0,0,.18) !important;
}

#visionVideoModal .vision-video-card{
  position:fixed !important;
  right:28px !important;
  top:58% !important;
  transform:translateY(-50%) !important;
  width:390px !important;
  max-width:calc(100vw - 56px) !important;
}

@media (max-width:760px){
  #visionVideoModal .vision-video-card{
    right:50% !important;
    top:56% !important;
    transform:translate(50%, -50%) !important;
    width:92vw !important;
  }
}

/* FIX FINAL Vision : panneau propre à droite, plus bas */
#visionVideoModal{
  display:none !important;
}

#visionVideoModal.show{
  display:block !important;
  position:fixed !important;
  inset:0 !important;
  z-index:99990 !important;
  background:rgba(0,0,0,.10) !important;
  pointer-events:auto !important;
}

#visionVideoModal .vision-video-card{
  position:fixed !important;
  left:auto !important;
  right:34px !important;
  top:63% !important;
  transform:translateY(-50%) !important;
  width:360px !important;
  max-width:360px !important;
  padding:14px !important;
  border-radius:22px !important;
  background:rgba(10,12,22,.98) !important;
  border:1px solid rgba(255,255,255,.24) !important;
  box-shadow:0 24px 80px rgba(0,0,0,.75) !important;
}

#visionVideoPlayer{
  width:100% !important;
  max-height:50vh !important;
  border-radius:16px !important;
  object-fit:contain !important;
  background:#000 !important;
}

@media (max-width:760px){
  #visionVideoModal .vision-video-card{
    right:50% !important;
    top:58% !important;
    transform:translate(50%, -50%) !important;
    width:92vw !important;
    max-width:420px !important;
  }
}

/* Vision vidéo - panneau indépendant propre */
#visionVideoModal{
  display:none !important;
  position:fixed !important;
  inset:auto !important;
  left:auto !important;
  right:24px !important;
  top:170px !important;
  width:360px !important;
  max-width:calc(100vw - 48px) !important;
  z-index:99999 !important;
  background:transparent !important;
  padding:0 !important;
}

#visionVideoModal.show{
  display:block !important;
}

#visionVideoModal .vision-video-card{
  position:relative !important;
  inset:auto !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  transform:none !important;
  width:100% !important;
  max-width:100% !important;
  padding:12px !important;
  border-radius:20px !important;
  background:rgba(8,10,18,.96) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  box-shadow:0 18px 55px rgba(0,0,0,.65) !important;
}

#visionVideoModal .modal-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding:0 0 10px 0 !important;
  margin:0 0 10px 0 !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
}

#visionVideoModal .modal-head h3{
  margin:0 !important;
  font-size:15px !important;
  line-height:1.2 !important;
}

#closeVisionVideo{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.25) !important;
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  font-size:20px !important;
  cursor:pointer !important;
}

#visionVideoPlayer{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:260px !important;
  border-radius:14px !important;
  object-fit:contain !important;
  background:#000 !important;
}

@media (max-width:760px){
  #visionVideoModal{
    right:12px !important;
    left:12px !important;
    top:110px !important;
    width:auto !important;
    max-width:none !important;
  }
}

/* VISION CLEAN - système séparé, non lié à .modal */
#visionVideoModal{
  display:none !important;
  position:fixed !important;
  right:32px !important;
  top:145px !important;
  width:340px !important;
  max-width:calc(100vw - 64px) !important;
  z-index:99999 !important;
  background:transparent !important;
}

#visionVideoModal.show{
  display:block !important;
}

#visionVideoModal .vision-video-card{
  width:100% !important;
  padding:12px !important;
  border-radius:18px !important;
  background:rgba(8,10,18,.97) !important;
  border:1px solid rgba(255,255,255,.22) !important;
  box-shadow:0 18px 55px rgba(0,0,0,.65) !important;
}

#visionVideoModal .modal-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding:0 0 8px 0 !important;
  margin:0 0 8px 0 !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
}

#visionVideoModal .modal-head h3{
  margin:0 !important;
  font-size:14px !important;
  line-height:1.2 !important;
}

#visionVideoPlayer{
  display:block !important;
  width:100% !important;
  max-height:220px !important;
  border-radius:13px !important;
  object-fit:contain !important;
  background:#000 !important;
}

@media (max-width:760px){
  #visionVideoModal{
    left:12px !important;
    right:12px !important;
    top:110px !important;
    width:auto !important;
    max-width:none !important;
  }
}

/* Vision vidéo - placement pro décollé du bord */
#visionVideoModal{
  left:28px !important;
  right:auto !important;
  top:132px !important;
  width:330px !important;
}

#visionVideoPlayer{
  max-height:205px !important;
}

html body #visionVideoModal{
  left:34px !important;
  right:auto !important;
  top:155px !important;
  width:330px !important;
  max-width:330px !important;
}

/* HEADER PRO - uniquement visuel */
.topbar.panel{
  border-radius:22px !important;
  padding:18px 22px !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(116,92,255,.22), transparent 34%),
    linear-gradient(135deg, rgba(10,18,36,.94), rgba(9,12,24,.86)) !important;
  border:1px solid rgba(120,160,255,.28) !important;
  box-shadow:0 18px 55px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.brand-wrap{
  gap:16px !important;
}

.logo-img{
  width:58px !important;
  height:58px !important;
  border-radius:16px !important;
  box-shadow:0 0 24px rgba(124,96,255,.45) !important;
  border:1px solid rgba(255,255,255,.18) !important;
}

.brand-wrap .eyebrow{
  color:#74e8ff !important;
  letter-spacing:.16em !important;
  text-shadow:0 0 14px rgba(116,232,255,.35);
}

.brand-wrap h1{
  font-size:31px !important;
  line-height:1 !important;
  letter-spacing:-.04em !important;
  text-shadow:0 10px 28px rgba(0,0,0,.35) !important;
}

.brand-wrap p{
  max-width:430px !important;
  color:rgba(255,255,255,.86) !important;
  line-height:1.25 !important;
}

.nav{
  gap:10px !important;
}

.nav a{
  padding:11px 16px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.07) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.nav a:hover{
  background:rgba(255,255,255,.13) !important;
  transform:translateY(-1px);
}

.nav a.active{
  background:linear-gradient(135deg, rgba(125,105,255,.95), rgba(76,195,255,.62)) !important;
  border-color:rgba(255,255,255,.22) !important;
  box-shadow:0 10px 26px rgba(95,105,255,.32) !important;
}

.vision-video-btn{
  background:linear-gradient(135deg, rgba(255,188,74,.22), rgba(255,255,255,.08)) !important;
  border:1px solid rgba(255,210,128,.36) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.login-status-box{
  padding:8px 10px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}

/* Galerie Live - Info vidéo en room */
.gallery-info-btn{
  white-space:nowrap;
  border-color:rgba(255,210,120,.32) !important;
}

.gallery-info-video-box{
  display:none;
  margin:10px 0 12px 0;
  padding:10px;
  border-radius:18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(125,95,255,.20), transparent 38%),
    rgba(8,10,18,.94);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 18px 45px rgba(0,0,0,.42);
}

.gallery-info-video-box.show{
  display:block;
}

.gallery-info-video-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 2px 8px 2px;
  margin-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.gallery-info-video-head strong{
  font-size:13px;
}

#closeGalleryInfoVideo{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}

#galleryInfoVideoPlayer{
  display:block;
  width:100%;
  max-height:240px;
  border-radius:14px;
  background:#000;
  border:1px solid rgba(255,255,255,.14);
  object-fit:contain;
}

/* Galerie Live - vidéo info plus petite façon cadre room */
.gallery-info-video-box{
  max-width:300px !important;
  margin:8px auto 12px auto !important;
  padding:8px !important;
  border-radius:20px !important;
  background:
    linear-gradient(135deg, rgba(18,22,38,.96), rgba(8,10,18,.98)) !important;
  border:1px solid rgba(255,210,120,.26) !important;
  box-shadow:0 14px 35px rgba(0,0,0,.48) !important;
}

.gallery-info-video-head strong{
  font-size:11px !important;
}

#galleryInfoVideoPlayer{
  max-height:150px !important;
  border-radius:16px !important;
  object-fit:cover !important;
}

/* Galerie Live - placement pro info vidéo */
.live-gallery-mini .section-head{
  align-items:flex-start !important;
}

.gallery-info-btn{
  width:auto !important;
  margin:0 !important;
  padding:8px 12px !important;
  border-radius:14px !important;
  font-size:12px !important;
}

.gallery-info-video-box{
  max-width:none !important;
  width:100% !important;
  margin:10px 0 12px 0 !important;
  padding:9px !important;
  border-radius:18px !important;
}

#galleryInfoVideoPlayer{
  width:100% !important;
  max-height:135px !important;
  object-fit:cover !important;
}

/* Galerie Live - petite fenêtre info vidéo */
.gallery-info-video-box{
  position:absolute !important;
  right:16px !important;
  top:62px !important;
  width:285px !important;
  max-width:285px !important;
  z-index:50 !important;
  margin:0 !important;
  padding:9px !important;
  border-radius:18px !important;
  background:rgba(8,10,18,.98) !important;
  border:1px solid rgba(255,210,120,.32) !important;
  box-shadow:0 18px 45px rgba(0,0,0,.65) !important;
}

.live-gallery-mini{
  position:relative !important;
  overflow:visible !important;
}

#galleryInfoVideoPlayer{
  width:100% !important;
  max-height:145px !important;
  border-radius:14px !important;
  object-fit:cover !important;
}

/* Galerie Live - fenêtre info dans colonne vide à droite */
.gallery-info-video-box{
  position:absolute !important;
  left:calc(100% + 18px) !important;
  right:auto !important;
  top:64px !important;
  width:300px !important;
  max-width:300px !important;
  z-index:80 !important;
}

@media (max-width:1100px){
  .gallery-info-video-box{
    left:auto !important;
    right:12px !important;
    top:64px !important;
    width:285px !important;
  }
}

/* Flux vivant - bouton plus fin + mise en avant douce */
#sideTicker .view-dedi{
  margin-top:10px !important;
  padding:7px 13px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:800 !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,210,120,.24) !important;
  box-shadow:0 8px 22px rgba(0,0,0,.28) !important;
}

#sideTicker .dedi-card{
  position:relative;
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

#sideTicker .dedi-card.flux-focus{
  transform:translateY(-2px);
  border-color:rgba(255,210,120,.58) !important;
  background:linear-gradient(135deg, rgba(255,210,120,.10), rgba(110,95,255,.08)) !important;
  box-shadow:0 0 0 1px rgba(255,210,120,.16), 0 18px 45px rgba(0,0,0,.42) !important;
}

#sideTicker .dedi-card.flux-focus::after{
  content:"EN MISE EN AVANT";
  position:absolute;
  top:10px;
  right:10px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  color:#ffd36a;
  opacity:.9;
}

/* Flux vivant - finition premium */
#sideTicker .dedi-card{
  overflow:hidden;
  backdrop-filter:blur(10px);
}

#sideTicker .dedi-thumb{
  border-radius:14px !important;
  box-shadow:0 10px 24px rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.16);
}

#sideTicker .view-dedi{
  min-width:118px;
  padding:6px 14px !important;
  background:linear-gradient(135deg, rgba(255,210,120,.18), rgba(120,140,255,.10)) !important;
}

#sideTicker .view-dedi:hover{
  transform:translateY(-1px);
  border-color:rgba(255,220,140,.55) !important;
  box-shadow:0 10px 28px rgba(255,200,90,.16) !important;
}

#sideTicker .dedi-card.flux-focus::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation:fluxShine 2.2s ease-in-out infinite;
}

@keyframes fluxShine{
  0%{transform:translateX(-100%);}
  100%{transform:translateX(100%);}
}

#sideTicker .dedi-card.flux-focus .view-dedi{
  background:linear-gradient(135deg, rgba(255,205,95,.32), rgba(125,105,255,.20)) !important;
}

/* FIX Flux vivant - restaurer scroll et calmer effet */
#sideTicker{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  max-height:760px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}

#sideTicker .dedi-card{
  overflow:visible !important;
}

#sideTicker .dedi-card.flux-focus::before{
  display:none !important;
  animation:none !important;
}

#sideTicker .dedi-card.flux-focus::after{
  content:"" !important;
  display:none !important;
}

/* Dédicaces notées - Info vidéo */
.dedicace-panel{
  position:relative !important;
  overflow:visible !important;
}

.dedicaces-info-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.dedicaces-info-btn{
  white-space:nowrap;
  border-color:rgba(255,210,120,.32) !important;
}

.dedicaces-info-video-box{
  display:none;
  position:absolute;
  left:calc(100% + 18px);
  top:64px;
  width:300px;
  max-width:300px;
  z-index:90;
  padding:9px;
  border-radius:18px;
  background:rgba(8,10,18,.98);
  border:1px solid rgba(255,210,120,.32);
  box-shadow:0 18px 45px rgba(0,0,0,.65);
}

.dedicaces-info-video-box.show{
  display:block;
}

.dedicaces-info-video-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 2px 8px 2px;
  margin-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.dedicaces-info-video-head strong{
  font-size:12px;
}

#closeDedicacesInfoVideo{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}

#dedicacesInfoVideoPlayer{
  display:block;
  width:100%;
  max-height:145px;
  border-radius:14px;
  background:#000;
  border:1px solid rgba(255,255,255,.14);
  object-fit:cover;
}

@media (max-width:1100px){
  .dedicaces-info-video-box{
    left:auto;
    right:12px;
    top:64px;
    width:285px;
  }
}

/* Tchat général - Info vidéo */
.chat-panel{
  position:relative !important;
  overflow:visible !important;
}

.tchat-info-btn{
  white-space:nowrap;
  border-color:rgba(255,210,120,.32) !important;
}

.tchat-info-video-box{
  display:none;
  position:absolute;
  left:calc(100% + 18px);
  top:58px;
  width:300px;
  max-width:300px;
  z-index:95;
  padding:9px;
  border-radius:18px;
  background:rgba(8,10,18,.98);
  border:1px solid rgba(255,210,120,.32);
  box-shadow:0 18px 45px rgba(0,0,0,.65);
}

.tchat-info-video-box.show{
  display:block;
}

.tchat-info-video-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 2px 8px 2px;
  margin-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.tchat-info-video-head strong{
  font-size:12px;
}

#closeTchatInfoVideo{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}

#tchatInfoVideoPlayer{
  display:block;
  width:100%;
  max-height:145px;
  border-radius:14px;
  background:#000;
  border:1px solid rgba(255,255,255,.14);
  object-fit:cover;
}

@media (max-width:1100px){
  .tchat-info-video-box{
    left:auto;
    right:12px;
    top:62px;
    width:285px;
  }
}

/* Tchat info vidéo - position opposée + cadrage propre */
.tchat-info-video-box{
  left:auto !important;
  right:calc(100% + 18px) !important;
  top:70px !important;
  width:280px !important;
  max-width:280px !important;
}

#tchatInfoVideoPlayer{
  height:150px !important;
  max-height:150px !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#000 !important;
}

/* BADGE PROFIL TCHAT */
.nick{
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.chat-profile-badge{
  display:inline-flex;
  align-items:center;
  padding:3px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  background:rgba(124,92,255,.16);
  border:1px solid rgba(124,92,255,.35);
  color:#c4b5fd;
  transition:.18s ease;
}

.nick:hover .chat-profile-badge{
  transform:translateY(-1px);
  background:rgba(124,92,255,.24);
  border-color:rgba(124,92,255,.55);
}

/* AMBIANCE INFO VIDEO */

.ambiance-head-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.ambiance-info-btn{
  white-space:nowrap;
}

.ambiance-info-video-box{
  position:relative;
  margin-bottom:18px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.28);
  display:none;
  animation:fadeIn .25s ease;
}

.ambiance-info-video-box.show{
  display:block;
}

.ambiance-info-video-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 16px;
  background:rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.ambiance-info-video-head button{
  border:none;
  background:none;
  color:#fff;
  font-size:24px;
  cursor:pointer;
}

#ambianceInfoVideoPlayer{
  width:100%;
  max-height:520px;
  background:#000;
  display:block;
  object-fit:cover;
}

/* Ambiance Room - popup info vidéo cadrée */
.ambiance-info-video-box{
  display:none;
  position:absolute;
  right:18px;
  top:76px;
  width:300px;
  max-width:300px;
  z-index:90;
  padding:9px;
  border-radius:18px;
  background:rgba(8,10,18,.98);
  border:1px solid rgba(255,210,120,.32);
  box-shadow:0 18px 45px rgba(0,0,0,.65);
}

.ambiance-info-video-box.show{
  display:block;
}

.ambiance-info-video-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 2px 8px 2px;
  margin-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.ambiance-info-video-head strong{
  font-size:12px;
}

#closeAmbianceInfoVideo{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}

#ambianceInfoVideoPlayer{
  display:block;
  width:100%;
  max-height:145px;
  border-radius:14px;
  background:#000;
  border:1px solid rgba(255,255,255,.14);
  object-fit:cover;
}

.admin-main{
  position:relative;
  overflow:visible;
}

/* Ambiance Room - vidéo info hors formulaire, sur le côté */
.ambiance-info-video-box{
  right:-320px !important;
  top:58px !important;
  width:300px !important;
  max-width:300px !important;
}

@media (max-width:1200px){
  .ambiance-info-video-box{
    right:18px !important;
    top:76px !important;
  }
}

/* Ambiance Room - popup vidéo dans la zone libre à droite */
.ambiance-info-video-box{
  right:-650px !important;
  top:58px !important;
  width:300px !important;
  max-width:300px !important;
}

@media (max-width:1450px){
  .ambiance-info-video-box{
    right:-360px !important;
    top:58px !important;
  }
}

/* Ambiance Room - popup encore plus sur le côté droit */
.ambiance-info-video-box{
  right:-980px !important;
  top:58px !important;
  width:300px !important;
  max-width:300px !important;
}

@media (max-width:1600px){
  .ambiance-info-video-box{
    right:-620px !important;
  }
}

/* PROFILS VIVANTS - slider tchat */
.profile-spotlight{
  margin:10px 0 14px;
  padding:10px;
  border-radius:18px;
  background:
    radial-gradient(circle at 12% 20%, rgba(143,124,255,.22), transparent 34%),
    linear-gradient(135deg, rgba(14,20,42,.92), rgba(9,12,24,.82));
  border:1px solid rgba(143,124,255,.22);
  box-shadow:0 12px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
  overflow:hidden;
}

.profile-spotlight-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}

.profile-spotlight-head small{
  color:var(--muted);
  font-weight:600;
}

.profile-spotlight-card{
  min-height:74px;
}

.profile-slide-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px;
  border-radius:16px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  animation:profileSlideFade .35s ease;
}

.profile-slide-card.is-new{
  border-color:rgba(255,210,120,.45);
  box-shadow:0 0 24px rgba(255,210,120,.12);
}

.profile-slide-avatar{
  width:54px;
  height:54px;
  border-radius:16px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.20);
  box-shadow:0 0 18px rgba(143,124,255,.24);
  flex:0 0 auto;
}

.profile-slide-main{
  min-width:0;
  flex:1;
}

.profile-slide-name{
  font-weight:800;
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.profile-slide-meta{
  margin-top:3px;
  color:var(--muted);
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.profile-slide-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:7px;
}

.profile-slide-new{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,210,120,.14);
  border:1px solid rgba(255,210,120,.30);
}

.profile-slide-open{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
}

@keyframes profileSlideFade{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}

/* PROFILS VIVANTS - effet Magical plus coloré */
.profile-spotlight{
  background:
    radial-gradient(circle at 8% 20%, rgba(0,224,255,.24), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255,58,216,.22), transparent 30%),
    linear-gradient(135deg, rgba(12,18,40,.96), rgba(28,14,54,.86)) !important;
  border-color:rgba(95,210,255,.35) !important;
  box-shadow:
    0 0 22px rgba(0,224,255,.10),
    0 0 34px rgba(143,124,255,.12),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.profile-spotlight-head span{
  color:#7ee7ff;
  text-shadow:0 0 12px rgba(126,231,255,.35);
}

.profile-spotlight-head small{
  color:#ffd27a !important;
}

.profile-slide-card{
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(143,124,255,.08)) !important;
  border-color:rgba(255,255,255,.14) !important;
}

.profile-slide-avatar{
  border-color:rgba(126,231,255,.45) !important;
  box-shadow:
    0 0 16px rgba(126,231,255,.24),
    0 0 26px rgba(255,58,216,.14) !important;
}

.profile-slide-name{
  color:#fff;
  text-shadow:0 0 10px rgba(255,255,255,.16);
}

.profile-slide-open{
  background:linear-gradient(135deg, rgba(143,124,255,.85), rgba(0,184,255,.75)) !important;
  border-color:rgba(126,231,255,.36) !important;
  color:#fff !important;
}

/* PM NOTIFICATION visible sur bouton PM */
#pmButton.has-pm-alert{
  animation: pmPulse 1.2s infinite;
  border-color: rgba(255,210,90,.75) !important;
  box-shadow: 0 0 18px rgba(255,210,90,.38) !important;
}

#pmButton #pmCount{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  margin-left:4px;
  border-radius:999px;
  background:rgba(255,70,110,.95);
  color:#fff;
  font-size:12px;
  font-weight:900;
}

#pmButton #pmCount:empty,
#pmButton #pmCount[data-zero="1"]{
  background:rgba(255,255,255,.10);
  color:#b8c0d8;
}

@keyframes pmPulse{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-1px); }
}


/* PROFIL PUBLIC - VERSION PRO MAGICAL */
#userCardModal{
  max-width:720px !important;
}

#userCardContent{
  max-height:72vh;
  overflow:auto;
  padding-right:4px;
}

.public-profile-card{
  display:grid !important;
  gap:14px !important;
  padding:4px !important;
}

.public-profile-top{
  position:relative;
  display:grid !important;
  grid-template-columns:110px 1fr !important;
  gap:16px !important;
  align-items:center !important;
  padding:16px !important;
  border-radius:24px !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(0,224,255,.18), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(255,58,216,.16), transparent 32%),
    linear-gradient(135deg, rgba(8,14,32,.96), rgba(32,16,60,.88)) !important;
  border:1px solid rgba(126,231,255,.26) !important;
  box-shadow:0 18px 48px rgba(0,0,0,.32) !important;
}

.public-profile-avatar{
  width:110px !important;
  height:110px !important;
  border-radius:26px !important;
  object-fit:cover !important;
  object-position:center !important;
  border:2px solid rgba(126,231,255,.34) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.35), 0 0 18px rgba(126,231,255,.12) !important;
}

.public-profile-name{
  font-size:30px !important;
  line-height:1.05 !important;
  text-shadow:0 0 18px rgba(126,231,255,.16);
}

.public-profile-role{
  display:inline-flex;
  width:max-content;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  color:#dce6ff !important;
}

.profile-status{
  font-size:13px !important;
  line-height:1.35 !important;
  background:rgba(0,224,255,.10) !important;
  border-color:rgba(0,224,255,.22) !important;
  color:#dff8ff !important;
}

.public-profile-info{
  display:grid !important;
  gap:10px !important;
  padding:14px !important;
  border-radius:20px !important;
  background:rgba(255,255,255,.04) !important;
  border:1px solid rgba(255,255,255,.09) !important;
}

.public-profile-room{
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  color:#dce6ff !important;
}

.public-profile-bio{
  padding:16px !important;
  border-radius:20px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

.public-profile-bio .eyebrow{
  color:#7ee7ff !important;
  letter-spacing:.10em;
}

.public-profile-bio p{
  font-size:14px !important;
  line-height:1.7 !important;
  color:#e7edff !important;
}

.public-profile-actions{
  display:grid !important;
  grid-template-columns:1fr !important;
}

.public-profile-actions .primary{
  width:100% !important;
  min-height:46px;
  border-radius:16px;
  font-weight:900;
}

@media (max-width:640px){
  .public-profile-top{
    grid-template-columns:1fr !important;
  }

  .public-profile-avatar{
    width:96px !important;
    height:96px !important;
  }

  .public-profile-name{
    font-size:25px !important;
  }
}


/* PROFIL PUBLIC - ORGANISATION CLEAN */
.public-profile-top{
  grid-template-columns:96px 1fr !important;
  align-items:center !important;
  padding:18px !important;
}

.public-profile-avatar{
  width:86px !important;
  height:86px !important;
  border-radius:50% !important;
}

.public-profile-head{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:8px 10px !important;
}

.public-profile-name{
  flex:1 1 100% !important;
  font-size:28px !important;
  margin-bottom:2px !important;
}

.public-profile-role{
  margin:0 !important;
}

.profile-status-row{
  margin-top:0 !important;
}

.profile-status{
  max-width:100% !important;
}

.public-profile-info{
  padding:10px 12px !important;
}

.public-profile-bio{
  order:1;
  padding:16px 18px !important;
}

.public-profile-bio p{
  min-height:54px;
  max-height:130px;
  overflow:auto;
}

.public-profile-actions{
  margin-top:2px !important;
}


/* PROFIL PUBLIC — FINAL PRO CLEAN */
#userCardModal{
  width:min(92vw, 620px) !important;
  max-width:620px !important;
  padding:16px !important;
}

#userCardContent{
  max-height:74vh !important;
  overflow:auto !important;
  padding-right:4px !important;
}

.public-profile-card{
  display:grid !important;
  gap:12px !important;
  padding:0 !important;
}

.public-profile-top{ order:1 !important; }
.public-profile-bio{ order:2 !important; }
.public-profile-info{ order:3 !important; }
.public-room-box{ order:4 !important; }
.public-profile-actions{ order:5 !important; }

.public-profile-top{
  display:grid !important;
  grid-template-columns:82px 1fr !important;
  gap:14px !important;
  align-items:center !important;
  padding:14px !important;
  border-radius:22px !important;
  background:
    radial-gradient(circle at 8% 10%, rgba(0,224,255,.16), transparent 32%),
    linear-gradient(135deg, rgba(10,17,38,.96), rgba(38,16,64,.82)) !important;
  border:1px solid rgba(126,231,255,.22) !important;
}

.public-profile-avatar{
  width:76px !important;
  height:76px !important;
  border-radius:50% !important;
}

.public-profile-head{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:7px !important;
  min-width:0 !important;
}

.public-profile-name{
  flex:1 1 100% !important;
  font-size:26px !important;
  margin:0 !important;
}

.public-profile-role,
.profile-status{
  display:inline-flex !important;
  width:auto !important;
  max-width:max-content !important;
  padding:5px 10px !important;
  font-size:12px !important;
  border-radius:999px !important;
}

.profile-status-row{
  margin:0 !important;
}

.public-profile-bio{
  padding:14px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.09) !important;
}

.public-profile-bio p{
  margin:8px 0 0 !important;
  line-height:1.6 !important;
  max-height:110px !important;
  overflow:auto !important;
}

.public-profile-info{
  padding:10px 12px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.035) !important;
}

.public-profile-actions .primary{
  min-height:42px !important;
  border-radius:14px !important;
}


/* PROFIL PUBLIC — RETOUCHE AVATAR / LECTURE */
.public-profile-top{
  grid-template-columns:104px 1fr !important;
  min-height:118px !important;
  padding:16px 18px !important;
}

.public-profile-avatar{
  width:96px !important;
  height:96px !important;
  border-radius:26px !important;
  object-fit:cover !important;
  object-position:center top !important;
  image-rendering:auto !important;
  border:2px solid rgba(126,231,255,.42) !important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.36),
    0 0 0 4px rgba(255,255,255,.045) !important;
}

.public-profile-name{
  font-size:29px !important;
  letter-spacing:.01em !important;
}

.public-profile-bio{
  padding:14px 16px !important;
}

.public-profile-bio p{
  max-height:none !important;
  overflow:visible !important;
}

.public-profile-info{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
}

.public-profile-room{
  font-size:12px !important;
}


/* === PROFIL MEMBRE — CLEAN REAL FINAL === */
#userCardModal{
  width:min(92vw, 560px) !important;
  max-width:560px !important;
  padding:14px !important;
}

#userCardContent{
  max-height:76vh !important;
  overflow:auto !important;
}

.public-profile-card{
  gap:10px !important;
}

.public-profile-top{
  display:grid !important;
  grid-template-columns:82px 1fr !important;
  gap:14px !important;
  align-items:center !important;
  min-height:auto !important;
  padding:14px !important;
  border-radius:20px !important;
  background:linear-gradient(135deg, rgba(12,18,38,.96), rgba(39,18,64,.78)) !important;
}

.public-profile-avatar{
  width:78px !important;
  height:78px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  object-position:center center !important;
}

.public-profile-head{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  align-items:center !important;
}

.public-profile-name{
  flex:1 1 100% !important;
  font-size:25px !important;
  line-height:1.05 !important;
  margin:0 !important;
}

.public-profile-role,
.profile-status{
  padding:5px 9px !important;
  font-size:11px !important;
}

.public-profile-bio{
  padding:13px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.04) !important;
}

.public-profile-bio p{
  font-size:13px !important;
  line-height:1.55 !important;
  max-height:115px !important;
  overflow:auto !important;
}

.public-profile-info{
  padding:9px 11px !important;
  border-radius:15px !important;
}

.public-profile-room{
  padding:8px 10px !important;
  font-size:12px !important;
}

.public-profile-actions .primary{
  min-height:38px !important;
  font-size:12px !important;
}


/* PROFIL PUBLIC - NOM MIEUX CENTRÉ */
.public-profile-head{
  display:flex !important;
  flex-wrap:wrap !important;
  align-content:center !important;
  align-items:center !important;
  min-height:78px !important;
}

.public-profile-name{
  flex:1 1 100% !important;
  margin:0 0 4px 0 !important;
  line-height:1 !important;
  transform:translateY(2px) !important;
}

.public-profile-role,
.profile-status{
  margin-top:2px !important;
}


/* Finition douce — Dédicaces notées */
.right-column .dedicace-panel{
  display:flex !important;
  flex-direction:column !important;
  min-height:620px !important;
  height:100% !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at top left, rgba(70,213,255,.10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(250,204,21,.08), transparent 36%),
    linear-gradient(180deg, rgba(10,18,38,.92), rgba(6,12,26,.98)) !important;
  border-color:rgba(70,213,255,.20) !important;
}

.right-column .dedicace-panel .section-head,
.right-column .dedicace-panel .side-intro{
  flex:0 0 auto !important;
}

.right-column .dedicace-panel #sideTicker{
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow-y:auto !important;
  padding:10px 8px 14px 0 !important;
  margin-bottom:0 !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card{
  background:
    linear-gradient(135deg, rgba(70,213,255,.07), rgba(139,92,246,.08)),
    rgba(255,255,255,.035) !important;
  border-color:rgba(255,255,255,.11) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.20) !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card:hover{
  border-color:rgba(250,204,21,.35) !important;
}

/* Ajustement hauteur — Dédicaces notées */
.right-column .dedicace-panel{
  min-height:0 !important;
  height:auto !important;
  max-height:560px !important;
}

.right-column .dedicace-panel #sideTicker{
  max-height:360px !important;
}

/* Ajustement moyen — Dédicaces notées */
.right-column .dedicace-panel{
  min-height:0 !important;
  height:auto !important;
  max-height:660px !important;
}

.right-column .dedicace-panel #sideTicker{
  max-height:500px !important;
}

/* Ajustement plus grand — Dédicaces notées */
.right-column .dedicace-panel{
  max-height:720px !important;
}

.right-column .dedicace-panel #sideTicker{
  max-height:560px !important;
}

/* Ajustement encore plus grand — Dédicaces notées */
.right-column .dedicace-panel{
  max-height:760px !important;
}

.right-column .dedicace-panel #sideTicker{
  max-height:600px !important;
}

/* Ajustement encore + — Dédicaces notées */
.right-column .dedicace-panel{
  max-height:800px !important;
}

.right-column .dedicace-panel #sideTicker{
  max-height:640px !important;
}

/* Chat — tag Room en Balade */
.chat-balade-tag{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  color:#fce7f3;
  background:linear-gradient(135deg, rgba(217,70,239,.24), rgba(34,211,238,.18));
  border:1px solid rgba(217,70,239,.38);
  box-shadow:0 0 14px rgba(217,70,239,.12);
  cursor:pointer;
}

/* Chat — tag Room Balade rouge pro */
.chat-balade-tag{
  color:#ffe4e6 !important;
  background:
    linear-gradient(135deg, rgba(239,68,68,.35), rgba(190,24,93,.28)) !important;
  border:1px solid rgba(248,113,113,.55) !important;
  box-shadow:0 0 16px rgba(239,68,68,.22) !important;
}

.chat-balade-tag:hover{
  transform:translateY(-1px);
  border-color:rgba(252,165,165,.85) !important;
  box-shadow:0 0 22px rgba(239,68,68,.34) !important;
}

/* TOP VOTE — slider global */
.top-vote-card{
  position:relative;
  display:grid;
  grid-template-columns:120px 1fr;
  gap:18px;
  align-items:center;

  width:100%;
  min-height:245px;

  padding:18px;
  border-radius:26px;

  overflow:hidden;

  background:
    radial-gradient(circle at top left, rgba(34,211,238,.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(236,72,153,.24), transparent 36%),
    linear-gradient(135deg, rgba(16,24,44,.96), rgba(35,26,58,.96));

  border:1px solid rgba(125,211,252,.18);

  box-shadow:
    0 20px 44px rgba(0,0,0,.34),
    inset 0 0 0 1px rgba(255,255,255,.03);
}

.top-vote-card::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.05);
  pointer-events:none;
}

.top-vote-cover{
  width:120px;
  height:120px;
  border-radius:24px;
  overflow:hidden;

  background:
    linear-gradient(135deg,
      rgba(34,211,238,.75),
      rgba(236,72,153,.55),
      rgba(250,204,21,.28));

  padding:4px;

  box-shadow:
    0 16px 36px rgba(0,0,0,.42),
    0 0 22px rgba(236,72,153,.12);
}

.top-vote-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:20px;
  display:block;
}

.top-vote-body{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
}

.top-vote-type{
  width:max-content;

  padding:4px 10px;
  border-radius:999px;

  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;

  color:#bae6fd;

  background:rgba(14,165,233,.12);
  border:1px solid rgba(125,211,252,.24);
}

.top-vote-body h4{
  margin:0;

  font-size:30px;
  line-height:1.04;
  font-weight:900;

  color:#fff;

  text-shadow:
    0 0 16px rgba(217,70,239,.28),
    0 0 24px rgba(34,211,238,.14);

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.top-vote-sub{
  color:rgba(255,255,255,.74);
  font-weight:700;
  font-size:13px;
}

.top-vote-rating{
  width:max-content;

  padding:7px 12px;
  border-radius:999px;

  background:rgba(250,204,21,.12);
  border:1px solid rgba(250,204,21,.30);

  color:#ffe38d;

  font-size:13px;
  font-weight:900;
}

.top-vote-desc{
  color:rgba(255,255,255,.82);
  line-height:1.45;
  max-height:46px;
  overflow:hidden;
}

.top-vote-actions{
  display:flex;
  gap:12px;
  margin-top:2px;
}

.top-vote-actions .soft{
  min-height:42px;
  border-radius:16px;
  padding:10px 18px;
  font-weight:900;
}

/* TOP VOTE — grande carte premium */
#topDedicationBlock{
  min-height:320px !important;
}

.top-vote-card{
  position:relative !important;
  display:grid !important;
  grid-template-columns:132px 1fr !important;
  gap:20px !important;
  align-items:center !important;
  min-height:260px !important;
  padding:22px !important;
  border-radius:28px !important;
  overflow:hidden !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(34,211,238,.20), transparent 30%),
    radial-gradient(circle at 90% 75%, rgba(236,72,153,.26), transparent 36%),
    linear-gradient(135deg, rgba(12,23,48,.98), rgba(35,26,58,.96)) !important;
  border:1px solid rgba(125,211,252,.20) !important;
  box-shadow:0 20px 50px rgba(0,0,0,.38) !important;
}

.top-vote-card::after{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.06);
  pointer-events:none;
}

.top-vote-cover{
  width:132px !important;
  height:132px !important;
  border-radius:26px !important;
  padding:5px !important;
  background:linear-gradient(135deg, rgba(34,211,238,.75), rgba(236,72,153,.55), rgba(250,204,21,.30)) !important;
  box-shadow:0 16px 36px rgba(0,0,0,.45), 0 0 26px rgba(236,72,153,.14) !important;
}

.top-vote-cover img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:21px !important;
  display:block !important;
}

.top-vote-body{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  min-width:0 !important;
}

.top-vote-type{
  width:max-content !important;
  padding:4px 10px !important;
  border-radius:999px !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.14em !important;
  text-transform:uppercase !important;
  color:#bae6fd !important;
  background:rgba(14,165,233,.13) !important;
  border:1px solid rgba(125,211,252,.24) !important;
}

.top-vote-body h4{
  margin:0 !important;
  font-size:30px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  color:#fff !important;
  text-shadow:0 0 16px rgba(217,70,239,.30), 0 0 24px rgba(34,211,238,.16) !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.top-vote-sub{
  color:rgba(255,255,255,.76) !important;
  font-size:13px !important;
  font-weight:800 !important;
}

.top-vote-rating{
  width:max-content !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  background:rgba(250,204,21,.12) !important;
  border:1px solid rgba(250,204,21,.30) !important;
  color:#ffe38d !important;
  font-size:13px !important;
  font-weight:900 !important;
}

.top-vote-desc{
  color:rgba(255,255,255,.82) !important;
  line-height:1.4 !important;
  max-height:48px !important;
  overflow:hidden !important;
  margin:0 !important;
}

.top-vote-open{
  width:max-content !important;
  min-height:42px !important;
  padding:10px 18px !important;
  border-radius:16px !important;
  font-weight:900 !important;
}

/* LIVE SOIRÉE — carte premium style Room en Balade */
body[data-page="home"] .live-gallery-mini{
  overflow:hidden !important;
  border-radius:24px !important;
  background:
    radial-gradient(circle at top left, rgba(34,211,238,.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(236,72,153,.12), transparent 38%),
    rgba(8,15,32,.84) !important;
}

body[data-page="home"] .live-gallery-mini-view{
  min-height:205px !important;
  max-height:245px !important;
  overflow:hidden !important;
  border-radius:24px !important;
  padding:0 !important;
}

body[data-page="home"] .live-gallery-card{
  position:relative !important;
  display:grid !important;
  grid-template-columns:170px 1fr !important;
  gap:18px !important;
  align-items:center !important;

  min-height:205px !important;
  height:205px !important;
  padding:16px 18px !important;

  border-radius:24px !important;
  overflow:hidden !important;

  background:
    radial-gradient(circle at 12% 18%, rgba(34,211,238,.22), transparent 28%),
    radial-gradient(circle at 90% 75%, rgba(236,72,153,.30), transparent 34%),
    linear-gradient(135deg, rgba(12,23,48,.98), rgba(69,27,89,.94)) !important;

  border:1px solid rgba(250,204,21,.24) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.34) !important;
}

body[data-page="home"] .live-gallery-card::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.06);
  pointer-events:none;
}

body[data-page="home"] .live-gallery-photo{
  width:150px !important;
  height:150px !important;
  border-radius:24px !important;
  padding:5px !important;
  overflow:hidden !important;

  background:
    linear-gradient(135deg, rgba(34,211,238,.75), rgba(236,72,153,.55), rgba(250,204,21,.38)) !important;

  box-shadow:
    0 16px 34px rgba(0,0,0,.45),
    0 0 24px rgba(34,211,238,.15) !important;
}

body[data-page="home"] .live-gallery-photo img,
body[data-page="home"] .live-gallery-photo video{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:19px !important;
  display:block !important;
}

body[data-page="home"] .live-gallery-info{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:9px !important;
}

body[data-page="home"] .live-gallery-info::before{
  content:"DÉDICACE LIVE";
  width:max-content;
  padding:4px 10px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  color:#bae6fd;
  background:rgba(14,165,233,.13);
  border:1px solid rgba(125,211,252,.24);
}

body[data-page="home"] .live-gallery-info strong{
  font-size:22px !important;
  line-height:1.08 !important;
  color:#fff !important;
  text-shadow:
    0 0 12px rgba(217,70,239,.32),
    0 0 20px rgba(34,211,238,.16) !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

body[data-page="home"] .live-gallery-info span,
body[data-page="home"] .live-gallery-info small{
  width:max-content !important;
  max-width:100% !important;
  padding:5px 10px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.07) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  color:rgba(255,255,255,.82) !important;
  font-weight:800 !important;
}

body[data-page="home"] .live-gallery-info p{
  margin:0 !important;
  max-height:42px !important;
  overflow:hidden !important;
  color:rgba(255,255,255,.82) !important;
}

body[data-page="home"] .live-gallery-info audio{
  width:100% !important;
  max-width:260px !important;
  height:36px !important;
}

body[data-page="home"] .live-gallery-mini-actions{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
  margin-top:8px !important;
}

body[data-page="home"] .live-gallery-mini-actions button{
  min-height:40px !important;
  border-radius:14px !important;
  font-weight:900 !important;
}

/* Chat MagicalRadio3D — entête premium */
.chat-panel .chat-toolbar{
  display:none !important;
}

.chat-panel > .section-head{
  position:relative !important;
  align-items:center !important;
  padding:16px !important;
  margin-bottom:14px !important;
  border-radius:24px !important;
  background:
    radial-gradient(circle at top left, rgba(34,211,238,.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(139,92,246,.16), transparent 38%),
    linear-gradient(135deg, rgba(12,23,48,.92), rgba(20,18,42,.94)) !important;
  border:1px solid rgba(125,211,252,.18) !important;
  box-shadow:0 16px 36px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.03) !important;
  overflow:hidden !important;
}

.chat-panel > .section-head::after{
  content:"";
  position:absolute;
  inset:9px;
  border-radius:19px;
  border:1px solid rgba(255,255,255,.05);
  pointer-events:none;
}

.chat-panel > .section-head .eyebrow{
  color:#67e8f9 !important;
  text-shadow:0 0 10px rgba(34,211,238,.24) !important;
}

.chat-panel > .section-head h3{
  margin:2px 0 0 !important;
  font-size:24px !important;
  line-height:1.05 !important;
  color:#fff !important;
  text-shadow:
    0 0 14px rgba(217,70,239,.32),
    0 0 20px rgba(34,211,238,.14) !important;
}

.chat-panel > .section-head .head-actions{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(92px, 1fr)) !important;
  gap:10px !important;
  align-items:stretch !important;
  min-width:520px !important;
  max-width:620px !important;
}

.chat-panel > .section-head .head-actions .soft{
  min-height:48px !important;
  border-radius:16px !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1.05 !important;
  text-align:center !important;
  justify-content:center !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035)) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}

.chat-panel > .section-head .head-actions .soft:hover{
  transform:translateY(-1px);
  border-color:rgba(125,211,252,.32) !important;
}

.chat-panel > .section-head #openProfileSetup{
  border-color:rgba(129,140,248,.32) !important;
}

.chat-panel > .section-head #openTchatInfoVideo{
  border-color:rgba(250,204,21,.35) !important;
}

.chat-panel > .section-head #pmButton{
  border-color:rgba(244,63,94,.35) !important;
}

.chat-panel > .section-head #pmCount{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:20px !important;
  height:20px !important;
  border-radius:999px !important;
  margin-left:4px !important;
  background:#f43f5e !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:900 !important;
}

@media (max-width: 1100px){
  .chat-panel > .section-head{
    flex-direction:column !important;
    align-items:stretch !important;
  }

  .chat-panel > .section-head .head-actions{
    min-width:0 !important;
    max-width:none !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Chat MagicalRadio3D — finition 3D pro */
.chat-panel > .section-head{
  display:grid !important;
  grid-template-columns:190px 1fr !important;
  gap:18px !important;
  align-items:center !important;
  padding:18px !important;
}

.chat-panel > .section-head > div:first-child{
  padding:10px 12px !important;
  border-radius:20px !important;
  background:
    radial-gradient(circle at top left, rgba(34,211,238,.18), transparent 40%),
    rgba(0,0,0,.12) !important;
  border:1px solid rgba(125,211,252,.14) !important;
}

.chat-panel > .section-head h3{
  font-size:25px !important;
  line-height:.98 !important;
  letter-spacing:-.02em !important;
}

.chat-panel > .section-head h3::after{
  content:"Radio 3D live";
  display:block;
  margin-top:7px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#67e8f9;
  opacity:.9;
}

.chat-panel > .section-head .head-actions{
  display:grid !important;
  grid-template-columns:repeat(6, minmax(82px, 1fr)) !important;
  gap:10px !important;
  min-width:0 !important;
  max-width:none !important;
}

.chat-panel > .section-head .head-actions .soft{
  position:relative !important;
  min-height:58px !important;
  border-radius:18px !important;
  color:#fff !important;
  overflow:hidden !important;
  text-shadow:0 1px 2px rgba(0,0,0,.45) !important;
  box-shadow:
    0 12px 24px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -10px 18px rgba(0,0,0,.18) !important;
}

.chat-panel > .section-head .head-actions .soft::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.18), transparent 42%);
  pointer-events:none;
}

.chat-panel > .section-head #openProfileSetup{
  background:linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  border-color:rgba(165,180,252,.45) !important;
}

.chat-panel > .section-head .guestbook-open{
  background:linear-gradient(135deg, #0ea5e9, #2563eb) !important;
  border-color:rgba(125,211,252,.45) !important;
}

.chat-panel > .section-head #openTchatInfoVideo{
  background:linear-gradient(135deg, #7c2d12, #a16207) !important;
  border-color:rgba(250,204,21,.50) !important;
}

.chat-panel > .section-head #toggleChatFullscreen{
  background:linear-gradient(135deg, #334155, #0f172a) !important;
  border-color:rgba(148,163,184,.45) !important;
}

.chat-panel > .section-head #openBonjourModal{
  background:linear-gradient(135deg, #0f766e, #16a34a) !important;
  border-color:rgba(134,239,172,.45) !important;
}

.chat-panel > .section-head #pmButton{
  background:linear-gradient(135deg, #be123c, #7e22ce) !important;
  border-color:rgba(251,113,133,.55) !important;
}

.chat-panel > .section-head .head-actions .soft:hover{
  transform:translateY(-2px) scale(1.01) !important;
  filter:brightness(1.08) !important;
}

@media (max-width:1100px){
  .chat-panel > .section-head{
    grid-template-columns:1fr !important;
  }

  .chat-panel > .section-head .head-actions{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Chat MagicalRadio3D — barre moderne finale */
.chat-panel > .section-head{
  grid-template-columns:210px 1fr !important;
  gap:14px !important;
  padding:14px !important;
  border-radius:26px !important;
}

.chat-panel > .section-head > div:first-child{
  min-height:86px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  padding:14px 16px !important;
  border-radius:22px !important;
}

.chat-panel > .section-head h3{
  font-size:23px !important;
  line-height:1.02 !important;
}

.chat-panel > .section-head .head-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:9px !important;
  padding:10px !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}

.chat-panel > .section-head .head-actions .soft{
  flex:1 1 0 !important;
  min-width:0 !important;
  min-height:54px !important;
  max-height:54px !important;
  padding:8px 10px !important;
  border-radius:16px !important;
  font-size:11px !important;
}

.chat-panel > .section-head .head-actions .soft{
  backdrop-filter:blur(10px);
}

.chat-panel > .section-head #pmButton{
  flex:.85 1 0 !important;
}

@media (max-width:1100px){
  .chat-panel > .section-head{
    grid-template-columns:1fr !important;
  }

  .chat-panel > .section-head .head-actions{
    flex-wrap:wrap !important;
  }

  .chat-panel > .section-head .head-actions .soft{
    flex:1 1 30% !important;
  }
}

/* Chat MagicalRadio3D — style neon UI */
.chat-panel{
  border-radius:28px !important;
  background:
    radial-gradient(circle at 8% 5%, rgba(34,211,238,.12), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(236,72,153,.12), transparent 32%),
    rgba(5,12,28,.86) !important;
  border:1px solid rgba(56,189,248,.18) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03),
    0 24px 70px rgba(0,0,0,.42) !important;
}

.chat-panel > .section-head{
  grid-template-columns:260px 1fr !important;
  padding:20px !important;
  border-radius:30px !important;
  background:
    linear-gradient(135deg, rgba(8,20,44,.96), rgba(25,13,52,.96)) !important;
  border:1px solid rgba(56,189,248,.32) !important;
  box-shadow:
    0 0 18px rgba(34,211,238,.18),
    0 0 28px rgba(217,70,239,.15),
    inset 0 0 0 1px rgba(255,255,255,.05) !important;
}

.chat-panel > .section-head > div:first-child{
  min-height:112px !important;
  border-radius:24px !important;
  background:rgba(2,8,23,.36) !important;
  border:1px solid rgba(56,189,248,.18) !important;
}

.chat-panel > .section-head h3{
  font-size:34px !important;
  line-height:.95 !important;
  letter-spacing:-.04em !important;
}

.chat-panel > .section-head h3::first-line{
  color:#fff !important;
}

.chat-panel > .section-head h3::after{
  content:"🎙 RADIO 3D LIVE";
  display:inline-flex;
  margin-top:12px;
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.12em;
  color:#67e8f9;
  background:rgba(14,165,233,.14);
  border:1px solid rgba(56,189,248,.22);
}

.chat-panel > .section-head .head-actions{
  height:112px !important;
  padding:12px !important;
  gap:14px !important;
  border-radius:26px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.025)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}

.chat-panel > .section-head .head-actions .soft{
  min-height:86px !important;
  max-height:86px !important;
  border-radius:22px !important;
  font-size:13px !important;
  box-shadow:
    0 16px 30px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -14px 22px rgba(0,0,0,.22) !important;
}

.chat-panel > .section-head .head-actions .soft:hover{
  transform:translateY(-3px) !important;
}

.chat-list .message{
  min-height:92px !important;
  align-items:center !important;
  border-radius:22px !important;
  padding:16px !important;
  background:
    linear-gradient(135deg, rgba(15,23,42,.92), rgba(8,14,30,.96)) !important;
  border:1px solid rgba(148,163,184,.10) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025) !important;
}

.chat-list .message img{
  width:64px !important;
  height:64px !important;
  border-radius:18px !important;
  object-fit:cover !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.12), 0 10px 22px rgba(0,0,0,.35) !important;
}

.chat-list .message .meta{
  gap:12px !important;
  align-items:center !important;
  flex-wrap:wrap !important;
}

.chat-profile-badge,
.badge,
.tag-online,
.tag-offline,
.chat-room-tag,
.chat-balade-tag{
  min-height:28px !important;
  padding:6px 13px !important;
  border-radius:999px !important;
  font-weight:900 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 8px 18px rgba(0,0,0,.18) !important;
}

.chat-composer{
  padding:12px !important;
  border-radius:24px !important;
  background:rgba(2,8,23,.42) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}

.chat-composer input{
  border-radius:18px !important;
}

#sendChat{
  border-radius:18px !important;
  font-weight:900 !important;
}

/* Fix bouton Info vidéo — chat header */
.chat-panel > .section-head .head-actions{
  grid-template-columns:1fr 1fr 1.22fr 1fr 1fr .9fr !important;
}

.chat-panel > .section-head #openTchatInfoVideo{
  min-width:94px !important;
  padding-left:12px !important;
  padding-right:12px !important;
  white-space:normal !important;
  line-height:1.08 !important;
}

.chat-panel > .section-head #openTchatInfoVideo::after{
  content:" vidéo";
}

/* Chat header — boutons 3D propres */
.chat-panel > .section-head .head-actions{
  display:grid !important;
  grid-template-columns:1fr 1fr 1fr 1fr 1fr .9fr !important;
  gap:12px !important;
}

.chat-panel > .section-head #openTchatInfoVideo::after{
  content:"" !important;
}

.chat-panel > .section-head #openTchatInfoVideo{
  min-width:0 !important;
  white-space:normal !important;
}

.chat-panel > .section-head .head-actions .soft{
  position:relative !important;
  overflow:hidden !important;
  border-width:1px !important;
  box-shadow:
    0 14px 28px rgba(0,0,0,.38),
    0 0 18px rgba(255,255,255,.06),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -16px 24px rgba(0,0,0,.25) !important;
}

.chat-panel > .section-head .head-actions .soft::before{
  content:"" !important;
  position:absolute !important;
  left:10px !important;
  right:10px !important;
  top:8px !important;
  height:28% !important;
  border-radius:999px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,0)) !important;
  pointer-events:none !important;
}

.chat-panel > .section-head .head-actions .soft::after{
  content:"" !important;
  position:absolute !important;
  inset:auto 10px 8px 10px !important;
  height:2px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.20) !important;
  pointer-events:none !important;
}

.chat-panel > .section-head .head-actions .soft:hover{
  transform:translateY(-3px) scale(1.02) !important;
  filter:brightness(1.12) saturate(1.12) !important;
}

.chat-panel > .section-head .head-actions .soft:active{
  transform:translateY(1px) scale(.99) !important;
}

/* Chat — messages visuel pro */
.chat-list{
  gap:14px !important;
  padding:10px 8px 10px 4px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(34,211,238,.06), transparent 28%),
    rgba(2,8,23,.18) !important;
  border-radius:24px !important;
}

.chat-list .message{
  display:grid !important;
  grid-template-columns:62px 1fr !important;
  gap:14px !important;
  align-items:center !important;
  min-height:92px !important;
  padding:14px 16px !important;
  border-radius:22px !important;
  background:
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(8,14,30,.98)) !important;
  border:1px solid rgba(148,163,184,.12) !important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.chat-list .message:hover{
  border-color:rgba(56,189,248,.25) !important;
  transform:translateY(-1px) !important;
}

.chat-list .message > img{
  width:58px !important;
  height:58px !important;
  border-radius:18px !important;
  object-fit:cover !important;
  box-shadow:
    0 0 0 2px rgba(56,189,248,.18),
    0 10px 24px rgba(0,0,0,.40) !important;
}

.chat-list .message > div{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
}

.chat-list .message .meta{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:8px !important;
}

.chat-list .message .nick{
  font-size:14px !important;
  font-weight:900 !important;
  color:#fff !important;
  min-width:80px !important;
  text-shadow:0 0 10px rgba(255,255,255,.10) !important;
}

.chat-list .message .meta > span:last-of-type{
  margin-left:auto !important;
  color:rgba(255,255,255,.55) !important;
  font-size:12px !important;
}

.chat-profile-badge,
.badge,
.tag-online,
.tag-offline,
.chat-room-tag,
.chat-balade-tag{
  min-height:26px !important;
  padding:5px 11px !important;
  border-radius:999px !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1 !important;
}

.chat-balade-tag{
  background:linear-gradient(135deg, rgba(190,18,60,.70), rgba(124,45,18,.55)) !important;
  border-color:rgba(248,113,113,.55) !important;
  color:#ffe4e6 !important;
}

.chat-room-tag.is-public{
  background:linear-gradient(135deg, rgba(22,101,52,.70), rgba(20,83,45,.55)) !important;
  border-color:rgba(74,222,128,.38) !important;
}

.chat-room-tag.is-private{
  background:linear-gradient(135deg, rgba(146,64,14,.70), rgba(88,28,135,.40)) !important;
  border-color:rgba(251,191,36,.38) !important;
}

.chat-list .message > div > div:last-child{
  color:#fff !important;
  font-size:15px !important;
  line-height:1.35 !important;
  padding-left:2px !important;
}

/* Composer plus propre */
.chat-composer{
  margin-top:10px !important;
  gap:10px !important;
}

.chat-composer input{
  min-height:48px !important;
  background:rgba(2,8,23,.62) !important;
  border-color:rgba(125,211,252,.14) !important;
}

#sendChat{
  min-width:86px !important;
  min-height:48px !important;
}

/* CHAT — tags compacts + message lisible */

.chat-list .message{
  grid-template-columns:58px 1fr !important;
  gap:12px !important;
  padding:12px 14px !important;
}

.chat-list .message > div{
  gap:6px !important;
}

/* Ligne tags plus compacte */
.chat-list .message .meta{
  gap:6px !important;
  row-gap:4px !important;
}

/* Tous les tags */
.chat-profile-badge,
.badge,
.tag-online,
.tag-offline,
.chat-room-tag,
.chat-balade-tag{
  min-height:21px !important;
  padding:2px 9px !important;
  border-radius:999px !important;
  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:.01em !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 4px 10px rgba(0,0,0,.15) !important;
}

/* Badge balade moins énorme */
.chat-balade-tag{
  max-width:130px !important;
  justify-content:center !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

/* Heure discrète */
.chat-list .message .meta > span:last-of-type{
  font-size:11px !important;
  opacity:.62 !important;
  margin-left:6px !important;
}

/* Texte message */
.chat-list .message > div > div:last-child{
  display:inline-flex !important;
  align-items:center !important;
  width:fit-content !important;
  max-width:92% !important;

  padding:8px 14px !important;
  border-radius:16px !important;

  background:
    linear-gradient(135deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.02)
    ) !important;

  border:1px solid rgba(255,255,255,.07) !important;

  color:#ffffff !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1.45 !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 8px 18px rgba(0,0,0,.18) !important;

  text-shadow:
    0 1px 2px rgba(0,0,0,.45) !important;

  backdrop-filter:blur(10px) !important;
}

/* Avatar un peu plus propre */
.chat-list .message > img{
  width:54px !important;
  height:54px !important;
  border-radius:16px !important;
}

/* Nom plus propre */
.chat-list .message .nick{
  font-size:13px !important;
  font-weight:900 !important;
}


/* Dédicaces notées — style neon premium */
.right-column .dedicace-panel{
  border-radius:28px !important;
  padding:20px !important;
  background:
    radial-gradient(circle at top left, rgba(34,211,238,.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(236,72,153,.16), transparent 38%),
    linear-gradient(180deg, rgba(5,12,28,.95), rgba(4,8,20,.98)) !important;
  border:1px solid rgba(56,189,248,.25) !important;
  box-shadow:
    0 0 28px rgba(34,211,238,.10),
    0 0 34px rgba(236,72,153,.08),
    inset 0 0 0 1px rgba(255,255,255,.04) !important;
}

.right-column .dedicace-panel .section-head h3{
  font-size:24px !important;
  color:#fff !important;
  text-shadow:0 0 14px rgba(34,211,238,.22) !important;
}

.right-column .dedicace-panel .eyebrow{
  color:#22d3ee !important;
  letter-spacing:.16em !important;
}

.right-column .dedicace-panel #sideTicker{
  gap:14px !important;
  padding:8px 10px 14px 0 !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card{
  position:relative !important;
  min-height:128px !important;
  padding:16px 18px !important;
  border-radius:24px !important;
  overflow:hidden !important;

  background:
    radial-gradient(circle at 90% 50%, rgba(236,72,153,.18), transparent 36%),
    linear-gradient(135deg, rgba(10,18,40,.98), rgba(23,23,55,.96)) !important;

  border:1px solid rgba(125,211,252,.18) !important;
  box-shadow:
    0 14px 32px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card:nth-child(4n+1){
  border-color:rgba(236,72,153,.42) !important;
  box-shadow:0 0 22px rgba(236,72,153,.12), 0 14px 32px rgba(0,0,0,.30) !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card:nth-child(4n+2){
  border-color:rgba(34,211,238,.36) !important;
  box-shadow:0 0 22px rgba(34,211,238,.10), 0 14px 32px rgba(0,0,0,.30) !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card:nth-child(4n+3){
  border-color:rgba(34,197,94,.34) !important;
  box-shadow:0 0 22px rgba(34,197,94,.09), 0 14px 32px rgba(0,0,0,.30) !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card:hover{
  transform:translateY(-2px) !important;
  filter:brightness(1.08) !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card strong{
  font-size:15px !important;
  color:#fff !important;
  text-shadow:0 0 10px rgba(255,255,255,.12) !important;
}

.right-column .dedicace-panel #sideTicker .dedi-thumb{
  border-radius:18px !important;
  box-shadow:
    0 0 0 2px rgba(236,72,153,.25),
    0 10px 24px rgba(0,0,0,.38) !important;
}

.right-column .dedicace-panel .rate{
  color:#facc15 !important;
  font-weight:900 !important;
  text-shadow:0 0 10px rgba(250,204,21,.25) !important;
}

.right-column .dedicace-panel #sideTicker .soft{
  border-radius:999px !important;
  font-weight:900 !important;
  color:#fff !important;
  background:
    linear-gradient(135deg, rgba(236,72,153,.28), rgba(34,211,238,.18)) !important;
  border:1px solid rgba(236,72,153,.35) !important;
  box-shadow:0 0 16px rgba(236,72,153,.10) !important;
}

/* petit effet sélection qui attire l'œil */
.right-column .dedicace-panel #sideTicker .dedi-card:first-child{
  animation:dediNeonPulse 2.8s ease-in-out infinite;
}

@keyframes dediNeonPulse{
  0%,100%{
    border-color:rgba(236,72,153,.38);
    box-shadow:0 0 18px rgba(236,72,153,.10), 0 14px 32px rgba(0,0,0,.30);
  }
  50%{
    border-color:rgba(34,211,238,.55);
    box-shadow:0 0 28px rgba(34,211,238,.22), 0 14px 32px rgba(0,0,0,.30);
  }
}

/* Dédicaces notées — cadrage cartes + image nette */
.right-column .dedicace-panel #sideTicker{
  padding:10px 10px 16px 0 !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card{
  min-height:138px !important;
  padding:16px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

.right-column .dedicace-panel #sideTicker .dedi-thumb-row{
  display:grid !important;
  grid-template-columns:72px 1fr !important;
  gap:14px !important;
  align-items:center !important;
}

.right-column .dedicace-panel #sideTicker .dedi-thumb{
  width:72px !important;
  height:72px !important;
  min-width:72px !important;
  border-radius:20px !important;
  object-fit:cover !important;
  image-rendering:auto !important;
}

.right-column .dedicace-panel #sideTicker .dedi-thumb-row > div:last-child{
  min-width:0 !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card strong{
  display:block !important;
  font-size:14px !important;
  line-height:1.15 !important;
  margin-bottom:4px !important;
}

.right-column .dedicace-panel #sideTicker .soft{
  margin-top:8px !important;
  min-height:28px !important;
  padding:6px 13px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:max-content !important;
  max-width:100% !important;
}

/* carte sans image : garde un cadrage propre */
.right-column .dedicace-panel #sideTicker .dedi-card:not(:has(.dedi-thumb)) .soft{
  margin-top:10px !important;
}

/* effet sélection propre qui tourne */
.right-column .dedicace-panel #sideTicker .dedi-card{
  animation:none !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card:nth-child(1){
  animation:dediCardFocus 3.2s ease-in-out infinite !important;
}

@keyframes dediCardFocus{
  0%,100%{
    border-color:rgba(236,72,153,.42);
    box-shadow:
      0 0 18px rgba(236,72,153,.14),
      0 14px 32px rgba(0,0,0,.30);
  }
  50%{
    border-color:rgba(34,211,238,.62);
    box-shadow:
      0 0 30px rgba(34,211,238,.24),
      0 14px 32px rgba(0,0,0,.30);
  }
}

/* Dédicaces notées — fallback quand pas d’image */
.right-column .dedicace-panel #sideTicker .dedi-card:not(:has(.dedi-thumb)) .dedi-thumb-row{
  display:grid !important;
  grid-template-columns:72px 1fr !important;
  gap:14px !important;
  align-items:center !important;
}

.right-column .dedicace-panel #sideTicker .dedi-card:not(:has(.dedi-thumb)) .dedi-thumb-row::before{
  content:"♫";
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  font-size:34px;
  font-weight:900;
  color:#ffe38d;
  background:
    radial-gradient(circle at 35% 25%, rgba(250,204,21,.32), transparent 34%),
    linear-gradient(135deg, rgba(34,211,238,.22), rgba(236,72,153,.24)),
    rgba(8,15,32,.92);
  border:1px solid rgba(250,204,21,.28);
  box-shadow:
    0 0 22px rgba(250,204,21,.14),
    0 10px 24px rgba(0,0,0,.34);
}

/* Texte mieux cadré sans image */
.right-column .dedicace-panel #sideTicker .dedi-card:not(:has(.dedi-thumb)) strong{
  max-width:100% !important;
  white-space:normal !important;
}

/* Effet vague jaune sur les étoiles */
.right-column .dedicace-panel #sideTicker .dedi-card{
  --star-wave:linear-gradient(
    90deg,
    #fff7c2 0%,
    #facc15 25%,
    #ff8a00 45%,
    #facc15 65%,
    #fff7c2 100%
  );
}

.right-column .dedicace-panel #sideTicker .dedi-card .rate,
.right-column .dedicace-panel #sideTicker .dedi-card div{
  text-shadow:0 0 10px rgba(250,204,21,.22);
}

/* Anime les lignes qui contiennent les étoiles */
.right-column .dedicace-panel #sideTicker .dedi-card div:has(+ .soft),
.right-column .dedicace-panel #sideTicker .dedi-card .rate{
  background:var(--star-wave);
  background-size:220% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  animation:starWave 2.8s linear infinite;
}

@keyframes starWave{
  0%{ background-position:0% 50%; }
  100%{ background-position:220% 50%; }
}

/* PROFIL CHAT — modal premium large */
#profileModal{
  width:min(94vw,1180px) !important;
  max-width:1180px !important;
  max-height:88vh !important;
  overflow:auto !important;
  border-radius:30px !important;
  padding:28px !important;
  background:
    radial-gradient(circle at 8% 10%, rgba(34,211,238,.13), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(217,70,239,.15), transparent 34%),
    linear-gradient(135deg, rgba(5,12,28,.98), rgba(10,15,38,.97)) !important;
  border:1px solid rgba(217,70,239,.32) !important;
  box-shadow:
    0 0 36px rgba(34,211,238,.13),
    0 0 48px rgba(217,70,239,.12),
    0 28px 90px rgba(0,0,0,.60) !important;
}

#profileModal .modal-head{
  padding-bottom:18px !important;
  margin-bottom:22px !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

#profileModal .modal-head h3{
  font-size:34px !important;
  color:#fff !important;
  text-shadow:0 0 18px rgba(125,211,252,.22) !important;
}

#profileModal .close-modal{
  width:46px !important;
  height:46px !important;
  border-radius:16px !important;
  border:1px solid rgba(217,70,239,.45) !important;
  background:rgba(15,23,42,.78) !important;
  color:#fff !important;
  font-size:30px !important;
}

#profileModal .form-stack{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:18px 22px !important;
}

#profileModal .form-stack label{
  padding:14px !important;
  border-radius:20px !important;
  background:rgba(255,255,255,.035) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  font-weight:900 !important;
  color:#dbeafe !important;
}

#profileModal input,
#profileModal textarea,
#profileModal select{
  margin-top:8px !important;
  min-height:48px !important;
  border-radius:16px !important;
  border:1px solid rgba(125,211,252,.16) !important;
  background:rgba(2,8,23,.72) !important;
  color:#fff !important;
  padding:12px 14px !important;
  font-size:15px !important;
}

#profileModal textarea{
  min-height:150px !important;
  line-height:1.45 !important;
  resize:vertical !important;
}

#profileModal label:has(#profileBio){
  grid-row:span 2 !important;
}

#profileModal label:has(#profileAvatar){
  grid-column:1 / 2 !important;
}

#profileAvatarPreview{
  width:132px !important;
  height:132px !important;
  border-radius:28px !important;
  border:2px solid rgba(34,211,238,.35) !important;
  box-shadow:
    0 0 28px rgba(34,211,238,.18),
    0 14px 32px rgba(0,0,0,.42) !important;
}

#profileDebugBox{
  display:none !important;
}

#profileModal .modal-actions{
  margin-top:22px !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:14px !important;
}

#profileModal #saveProfile{
  min-width:230px !important;
  min-height:60px !important;
  border-radius:20px !important;
  font-size:17px !important;
  font-weight:900 !important;
  background:linear-gradient(135deg, #d946ef, #2563eb) !important;
  box-shadow:
    0 0 26px rgba(217,70,239,.28),
    0 14px 32px rgba(37,99,235,.22) !important;
}

@media(max-width:900px){
  #profileModal .form-stack{
    grid-template-columns:1fr !important;
  }
}

/* PROFIL CHAT — modal premium large */
#profileModal{
  width:min(94vw,1180px) !important;
  max-width:1180px !important;
  max-height:88vh !important;
  overflow:auto !important;
  border-radius:30px !important;
  padding:28px !important;
  background:
    radial-gradient(circle at 8% 10%, rgba(34,211,238,.13), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(217,70,239,.15), transparent 34%),
    linear-gradient(135deg, rgba(5,12,28,.98), rgba(10,15,38,.97)) !important;
  border:1px solid rgba(217,70,239,.32) !important;
  box-shadow:
    0 0 36px rgba(34,211,238,.13),
    0 0 48px rgba(217,70,239,.12),
    0 28px 90px rgba(0,0,0,.60) !important;
}

#profileModal .modal-head{
  padding-bottom:18px !important;
  margin-bottom:22px !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

#profileModal .modal-head h3{
  font-size:34px !important;
  color:#fff !important;
  text-shadow:0 0 18px rgba(125,211,252,.22) !important;
}

#profileModal .close-modal{
  width:46px !important;
  height:46px !important;
  border-radius:16px !important;
  border:1px solid rgba(217,70,239,.45) !important;
  background:rgba(15,23,42,.78) !important;
  color:#fff !important;
  font-size:30px !important;
}

#profileModal .form-stack{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:18px 22px !important;
}

#profileModal .form-stack label{
  padding:14px !important;
  border-radius:20px !important;
  background:rgba(255,255,255,.035) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  font-weight:900 !important;
  color:#dbeafe !important;
}

#profileModal input,
#profileModal textarea,
#profileModal select{
  margin-top:8px !important;
  min-height:48px !important;
  border-radius:16px !important;
  border:1px solid rgba(125,211,252,.16) !important;
  background:rgba(2,8,23,.72) !important;
  color:#fff !important;
  padding:12px 14px !important;
  font-size:15px !important;
}

#profileModal textarea{
  min-height:150px !important;
  line-height:1.45 !important;
  resize:vertical !important;
}

#profileModal label:has(#profileBio){
  grid-row:span 2 !important;
}

#profileModal label:has(#profileAvatar){
  grid-column:1 / 2 !important;
}

#profileAvatarPreview{
  width:132px !important;
  height:132px !important;
  border-radius:28px !important;
  border:2px solid rgba(34,211,238,.35) !important;
  box-shadow:
    0 0 28px rgba(34,211,238,.18),
    0 14px 32px rgba(0,0,0,.42) !important;
}

#profileDebugBox{
  display:none !important;
}

#profileModal .modal-actions{
  margin-top:22px !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:14px !important;
}

#profileModal #saveProfile{
  min-width:230px !important;
  min-height:60px !important;
  border-radius:20px !important;
  font-size:17px !important;
  font-weight:900 !important;
  background:linear-gradient(135deg, #d946ef, #2563eb) !important;
  box-shadow:
    0 0 26px rgba(217,70,239,.28),
    0 14px 32px rgba(37,99,235,.22) !important;
}

@media(max-width:900px){
  #profileModal .form-stack{
    grid-template-columns:1fr !important;
  }
}

/* FIX FINAL — Profil chat + Room en Balade premium */
#profileModal,
#roomBaladeModal{
  width:min(94vw,1100px) !important;
  max-width:1100px !important;
  max-height:88vh !important;
  overflow:auto !important;
  border-radius:30px !important;
  padding:26px !important;
}

#profileModal .form-stack,
#roomBaladeModal .room-balade-form{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:16px 20px !important;
}

#profileModal label,
#roomBaladeModal label{
  border-radius:20px !important;
  padding:14px !important;
  background:rgba(255,255,255,.035) !important;
  border:1px solid rgba(125,211,252,.10) !important;
}

#profileModal label:has(#profileBio),
#roomBaladeModal label:has(textarea){
  grid-column:1 / -1 !important;
}

#profileModal input,
#profileModal textarea,
#profileModal select,
#roomBaladeModal input,
#roomBaladeModal textarea,
#roomBaladeModal select{
  width:100% !important;
  border-radius:16px !important;
  background:rgba(2,8,23,.72) !important;
  border:1px solid rgba(125,211,252,.18) !important;
  color:#fff !important;
}

#profileModal textarea,
#roomBaladeModal textarea{
  min-height:120px !important;
}

#profileAvatarPreview,
.room-balade-preview{
  border-radius:24px !important;
  border:2px solid rgba(34,211,238,.28) !important;
  box-shadow:0 0 28px rgba(34,211,238,.16), 0 14px 32px rgba(0,0,0,.42) !important;
}

#profileAvatarPreview{
  width:125px !important;
  height:125px !important;
}

/* Boutons bas profil */
#profileModal .modal-actions{
  grid-column:1 / -1 !important;
  display:grid !important;
  grid-template-columns:1fr 160px 190px !important;
  gap:12px !important;
  align-items:stretch !important;
}

#profileModal .modal-actions .soft,
#profileModal .modal-actions button{
  min-height:56px !important;
  border-radius:18px !important;
  font-weight:900 !important;
}

#profileModal #saveProfile{
  background:linear-gradient(135deg,#d946ef,#2563eb) !important;
}

/* Bouton Créer ta Room en Balade plus propre */
#profileModal .open-room-balade-create,
#openRoomBaladeCreateProfile{
  background:linear-gradient(135deg, rgba(190,18,60,.82), rgba(124,45,18,.70)) !important;
  border:1px solid rgba(248,113,113,.48) !important;
  color:#fff !important;
  text-align:center !important;
  box-shadow:0 0 18px rgba(248,113,113,.18) !important;
}

/* Room Balade actions */
#roomBaladeModal .modal-actions,
#roomBaladeModal .room-balade-actions{
  grid-column:1 / -1 !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
}

#roomBaladeModal .primary,
#roomBaladeModal button[type="submit"]{
  min-height:58px !important;
  border-radius:20px !important;
  background:linear-gradient(135deg,#d946ef,#2563eb) !important;
  font-weight:900 !important;
}

#profileDebugBox{
  display:none !important;
}

@media(max-width:900px){
  #profileModal .form-stack,
  #roomBaladeModal .room-balade-form,
  #profileModal .modal-actions,
  #roomBaladeModal .modal-actions,
  #roomBaladeModal .room-balade-actions{
    grid-template-columns:1fr !important;
  }
}

/* BONJOUR CHAT — carte complète sans chevauchement */
.chat-list .message.bonjour-message{
  display:grid !important;
  grid-template-columns:58px 1fr !important;
  align-items:start !important;
  min-height:auto !important;
  height:auto !important;
  overflow:visible !important;
  padding:14px !important;
}

.chat-list .bonjour-message > div{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  min-width:0 !important;
  overflow:visible !important;
}

.chat-list .bonjour-message .meta{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}

.chat-list .bonjour-title{
  display:inline-flex !important;
  width:max-content !important;
  max-width:100% !important;
  padding:5px 12px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:900 !important;
  color:#fde68a !important;
  background:rgba(250,204,21,.12) !important;
  border:1px solid rgba(250,204,21,.24) !important;
}

.chat-list .bonjour-text{
  display:block !important;
  width:fit-content !important;
  max-width:92% !important;
  padding:9px 14px !important;
  border-radius:16px !important;
  background:linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
  box-shadow:0 8px 18px rgba(0,0,0,.18) !important;
}

.chat-list .bonjour-media-link{
  display:block !important;
  width:min(100%,360px) !important;
  max-width:100% !important;
  margin-top:2px !important;
  position:relative !important;
  z-index:1 !important;
  clear:both !important;
}

.chat-list .bonjour-media-link img.bonjour-media,
.chat-list img.bonjour-media{
  display:block !important;
  width:100% !important;
  max-width:360px !important;
  height:auto !important;
  max-height:230px !important;
  object-fit:cover !important;
  border-radius:18px !important;
  border:1px solid rgba(125,211,252,.22) !important;
  box-shadow:
    0 0 20px rgba(34,211,238,.12),
    0 12px 28px rgba(0,0,0,.38) !important;
  float:none !important;
  position:relative !important;
}

.chat-list .message.bonjour-message::after{
  content:"" !important;
  display:block !important;
  clear:both !important;
}

@media(max-width:760px){
  .chat-list .bonjour-media-link,
  .chat-list .bonjour-media-link img.bonjour-media,
  .chat-list img.bonjour-media{
    max-width:100% !important;
  }
}

/* FIX — Profil membre ne doit pas clignoter */
#userCardModal,
#userCardModal *,
#userCardContent,
#userCardContent *{
  animation:none !important;
}

#userCardModal{
  opacity:1 !important;
  filter:none !important;
}

#userCardModal .public-profile-card,
#userCardModal .public-profile-bio,
#userCardModal .public-profile-room,
#userCardModal .room-view-pro,
#userCardModal .room-view-hero,
#userCardModal .room-view-cover{
  animation:none !important;
  opacity:1 !important;
  filter:none !important;
}

/* FIX — Info vidéo Dédicaces + Galerie visibles à l’écran */
.dedicaces-info-video-box.show,
.gallery-info-video-box.show{
  display:block !important;
  position:absolute !important;
  left:calc(100% + 8px) !important;
  right:auto !important;
  top:4px !important;
  width:320px !important;
  max-width:calc(100vw - 48px) !important;
  z-index:99999 !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

#dedicacesInfoVideoPlayer,
#galleryInfoVideoPlayer{
  display:block !important;
  width:100% !important;
  height:180px !important;
  max-height:180px !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#000 !important;
}

@media(max-width:760px){
  .dedicaces-info-video-box.show,
  .gallery-info-video-box.show{
    right:12px !important;
    top:90px !important;
    width:calc(100vw - 24px) !important;
  }
}

/* FIX FINAL — fenêtre vidéo visible proche bouton */
.dedicaces-info-video-box.show,
.gallery-info-video-box.show{
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  max-width:calc(100vw - 24px) !important;
}

#dedicacesInfoVideoPlayer,
#galleryInfoVideoPlayer{
  width:100% !important;
  height:180px !important;
  max-height:180px !important;
  object-fit:contain !important;
  background:#000 !important;
}

/* Room en Balade — Info vidéo */
.room-balade-panel{
  position:relative !important;
  overflow:visible !important;
}

.room-balade-info-btn{
  white-space:nowrap !important;
  border-color:rgba(255,210,120,.32) !important;
}

.room-balade-info-video-box{
  display:none;
  padding:9px;
  border-radius:18px;
  background:rgba(8,10,18,.98);
  border:1px solid rgba(255,210,120,.32);
  box-shadow:0 18px 45px rgba(0,0,0,.65);
}

.room-balade-info-video-box.show{
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

.room-balade-info-video-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 2px 8px 2px;
  margin-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.room-balade-info-video-head strong{
  font-size:12px;
}

#closeRoomBaladeInfoVideo{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}

#roomBaladeInfoVideoPlayer{
  display:block !important;
  width:100% !important;
  height:180px !important;
  max-height:180px !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#000 !important;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
}

/* Boutons Info vidéo — glow léger */
.dedicaces-info-btn,
.gallery-info-btn,
.room-balade-info-btn,
.tchat-info-btn{
  position:relative !important;
  overflow:hidden !important;
  background:linear-gradient(135deg, rgba(245,158,11,.28), rgba(124,58,237,.24)) !important;
  border:1px solid rgba(251,191,36,.45) !important;
  box-shadow:
    0 0 12px rgba(251,191,36,.18),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}

.dedicaces-info-btn::after,
.gallery-info-btn::after,
.room-balade-info-btn::after,
.tchat-info-btn::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:linear-gradient(120deg, transparent 20%, rgba(255,255,255,.22) 45%, transparent 70%);
  transform:translateX(-120%);
  animation:infoVideoGlowSweep 3.8s ease-in-out infinite;
  pointer-events:none;
}

@keyframes infoVideoGlowSweep{
  0%,55%{ transform:translateX(-120%); opacity:0; }
  65%{ opacity:1; }
  82%,100%{ transform:translateX(120%); opacity:0; }
}

/* FLASH LIVE - bouton header */
.header-live-tools{
  display:flex;
  flex-direction:column;
  gap:7px;
  align-items:stretch;
}

.flash-live-btn{
  border:1px solid rgba(34,197,94,.75);
  background:linear-gradient(135deg, rgba(22,101,52,.95), rgba(12,74,40,.95));
  color:#dcfce7;
  border-radius:999px;
  padding:8px 16px;
  font-weight:800;
  font-size:12px;
  letter-spacing:.04em;
  cursor:pointer;
  box-shadow:0 0 18px rgba(34,197,94,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
}

.flash-live-btn:hover{
  filter:brightness(1.12);
  box-shadow:0 0 24px rgba(34,197,94,.55);
}

.flash-live-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 10px #22c55e;
  animation:flashLivePulse 1.2s infinite alternate;
}

@keyframes flashLivePulse{
  from{opacity:.45; transform:scale(.85);}
  to{opacity:1; transform:scale(1.2);}
}

/* FLASH LIVE état OFF / ON */
.flash-live-btn{
  background:linear-gradient(135deg, rgba(127,29,29,.95), rgba(69,10,10,.95)) !important;
  border-color:rgba(248,113,113,.8) !important;
  color:#fee2e2 !important;
  box-shadow:0 0 18px rgba(239,68,68,.35) !important;
}

.flash-live-btn .flash-live-dot{
  background:#ef4444 !important;
  box-shadow:0 0 10px #ef4444 !important;
}

.flash-live-btn.active{
  background:linear-gradient(135deg, rgba(22,101,52,.95), rgba(12,74,40,.95)) !important;
  border-color:rgba(34,197,94,.75) !important;
  color:#dcfce7 !important;
  box-shadow:0 0 18px rgba(34,197,94,.35) !important;
}

.flash-live-btn.active .flash-live-dot{
  background:#22c55e !important;
  box-shadow:0 0 10px #22c55e !important;
}

/* RDV gestion - bouton suppression salon */
.room-rdv-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:4px;
}

.room-rdv-delete{
  border:1px solid rgba(248,113,113,.55);
  background:rgba(127,29,29,.78);
  color:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  cursor:pointer;
}

.room-rdv-delete:hover{
  background:rgba(185,28,28,.95);
}

/* RDV - suppression dans la gestion propriétaire */
.rdv-owner-danger-zone{
  margin-top:18px;
  padding:12px;
  border:1px solid rgba(248,113,113,.35);
  border-radius:14px;
  background:rgba(127,29,29,.16);
}

.room-rdv-delete-modal{
  margin-top:8px;
  border:1px solid rgba(248,113,113,.65);
  background:rgba(127,29,29,.9);
  color:#fff;
  border-radius:999px;
  padding:8px 14px;
  font-weight:800;
  cursor:pointer;
}

.room-rdv-delete-modal:hover{
  background:rgba(185,28,28,.98);
}

/* =========================================================
   MOBILE 2 - MAGICALRADIO3D
   Adaptation téléphone propre sans toucher au desktop
========================================================= */
@media screen and (max-width: 768px){

  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden !important;
  }

  body{
    font-size:15px;
  }

  .app,
  .page,
  .container,
  .wrap,
  main{
    width:100% !important;
    max-width:100% !important;
    padding-left:10px !important;
    padding-right:10px !important;
    box-sizing:border-box !important;
  }

  .grid,
  .layout,
  .columns,
  .home-grid,
  .main-grid,
  .content-grid{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
  }

  .panel,
  .card,
  .box,
  section,
  aside{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  img,
  video,
  iframe{
    max-width:100% !important;
    height:auto !important;
  }

  input,
  textarea,
  select,
  button{
    font-size:16px !important;
  }

  button,
  .soft{
    min-height:44px;
    padding:10px 14px;
  }

  h1{ font-size:26px !important; }
  h2{ font-size:22px !important; }
  h3{ font-size:18px !important; }

  .modal{
    width:94vw !important;
    max-width:94vw !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
  }

  table{
    display:block;
    width:100%;
    overflow-x:auto;
  }

  /* Blocs audio / agenda / cartes */
  .player,
  .radio-player,
  .agenda-card,
  .agenda-widget,
  .dedicaces-panel,
  .room-balade-panel{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
  }

  /* Images flyers dans les cartes */
  .agenda-card img,
  .agenda-widget img,
  .dedicace-card img,
  .room-balade-card img{
    max-width:100% !important;
    object-fit:contain !important;
  }

  /* Si une colonne droite existe, elle passe dessous */
  .sidebar,
  .right-column,
  .left-column,
  .main-column{
    width:100% !important;
    max-width:100% !important;
    float:none !important;
  }
}

/* === MOBILE 3 - Layout réel MagicalRadio3D === */
@media screen and (max-width: 768px){

  .site-shell{
    width:100% !important;
    max-width:100% !important;
    padding:8px !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  .topbar{
    display:block !important;
    padding:12px !important;
  }

  .brand-wrap{
    display:block !important;
    text-align:center !important;
  }

  .logo-img{
    max-width:150px !important;
    height:auto !important;
    margin:0 auto 8px auto !important;
    display:block !important;
  }

  .nav{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    gap:8px !important;
    margin-top:12px !important;
  }

  .nav a{
    font-size:13px !important;
    padding:8px 10px !important;
  }

  .main-layout{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
  }

  .left-column,
  .right-column{
    width:100% !important;
    max-width:100% !important;
  }

  .hero-grid,
  .cta-grid,
  .activity-grid{
    display:block !important;
  }

  .hero-top{
    display:block !important;
    text-align:center !important;
  }

  .hero-top .primary,
  .hero-top .large{
    width:100% !important;
    margin-top:12px !important;
  }

  .agenda-card,
  .player-card,
  .cta-box,
  .banner-box{
    width:100% !important;
    max-width:100% !important;
    margin-top:12px !important;
  }

  .agenda-flyer{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
  }

  .agenda-flyer img{
    width:100% !important;
    height:auto !important;
    object-fit:contain !important;
  }

  .live-energy{
    display:block !important;
    text-align:center !important;
  }

  .panel{
    padding:12px !important;
  }
}

/* Chat public - bulles adaptatives propres */
.chat-bubble,
.server-chat-text,
.message-text{
  display:inline-block;
  width:auto;
  max-width:min(620px, 92%);
  padding:9px 13px;
  border-radius:16px;
  overflow-wrap:anywhere;
  word-break:break-word;
  white-space:pre-wrap;
  line-height:1.35;
}

.chat-message,
.server-chat-message{
  max-width:100%;
}

/* Chat public - bulle adaptative réelle */
.chat-list .message{
  align-items:flex-start;
}

.chat-list .message > div{
  min-width:0;
  max-width:100%;
}

.chat-list .message > div > div:last-child{
  display:inline-block;
  width:auto;
  max-width:min(620px, 92vw);
  padding:9px 13px;
  border-radius:16px;
  overflow-wrap:anywhere;
  word-break:break-word;
  white-space:pre-wrap;
  line-height:1.35;
}

/* Chat public - la carte grandit avec le texte */
.chat-list .message{
  height:auto !important;
  min-height:auto !important;
  overflow:visible !important;
  align-items:flex-start !important;
}

.chat-list .message > div{
  flex:1 1 auto !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:visible !important;
}

.chat-list .message > div > div:last-child{
  box-sizing:border-box !important;
  display:block !important;
  width:fit-content !important;
  max-width:100% !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
  white-space:pre-wrap !important;
  overflow:visible !important;
}

/* === DEDICATION MODAL — page volante lisible === */
#dedicationModal{
  width:min(94vw,760px) !important;
  max-height:88vh;
  overflow-y:auto;
  padding:24px;
  border-radius:26px;
  background:linear-gradient(180deg, rgba(18,24,45,.98), rgba(8,12,26,.98));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 28px 90px rgba(0,0,0,.65), 0 0 35px rgba(168,85,247,.22);
}

#dedicationModal .modal-head{
  position:sticky;
  top:-24px;
  z-index:2;
  background:linear-gradient(180deg, rgba(18,24,45,.98), rgba(18,24,45,.92));
  padding:4px 0 14px;
  margin-bottom:16px;
}

#dedicationModal .modal-head h3{
  font-size:24px;
  line-height:1.2;
  color:#fff;
}

#dedicationModalDescription{
  font-size:15px;
  line-height:1.55;
  color:#d8dcff !important;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:12px 14px;
}

#dedicationModal .form-grid{
  gap:16px;
}

#dedicationModal label{
  color:#eef2ff;
  font-weight:700;
}

#dedicationModal input,
#dedicationModal select,
#dedicationModal textarea{
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  border-radius:14px;
  padding:13px 14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

#dedicationModal textarea{
  min-height:130px;
  line-height:1.5;
}

#dedicationModal input:focus,
#dedicationModal select:focus,
#dedicationModal textarea:focus{
  outline:none;
  border-color:rgba(168,85,247,.75);
  box-shadow:0 0 0 3px rgba(168,85,247,.20);
}

#dedicationModal .modal-actions{
  position:sticky;
  bottom:-24px;
  background:linear-gradient(0deg, rgba(8,12,26,.98), rgba(8,12,26,.80));
  padding-top:16px;
  margin-top:18px;
}

#dedicationModal #sendDedicationBtn{
  width:100%;
  min-height:50px;
  font-size:16px;
  font-weight:800;
  border-radius:16px;
}

@media (max-width:700px){
  #dedicationModal{
    width:94vw !important;
    max-height:86vh;
    padding:18px;
    border-radius:22px;
  }

  #dedicationModal .form-grid{
    grid-template-columns:1fr !important;
  }

  #dedicationModal .modal-head h3{
    font-size:20px;
  }
}

/* === FIX SELECT DEDICACE — texte visible dans le déroulant === */
#dedicationModal select{
  color:#ffffff !important;
  background:#111827 !important;
}

#dedicationModal select option{
  color:#111827 !important;
  background:#ffffff !important;
}

#dedicationModal select option:checked{
  color:#ffffff !important;
  background:#6d28d9 !important;
}
