/* =====================================================================
   L'EMPIRE DE LA COMMU · les SEULS ajouts au style de L'Empire Banger (../../css/style.css)
   ===================================================================== */
.onglets-icones.commu-2 { grid-template-columns: 1fr 1fr; }
.sous-onglets-4.commu-3 { grid-template-columns: repeat(3, 1fr); }
.sous-onglets-4.commu-5 { grid-template-columns: repeat(5, 1fr); }
body.commu-fond { background-size: cover; background-position: center; background-attachment: fixed; }

/* ❤️ 🚩 sous chaque création */
.commu-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; margin-top: 3px; }
.commu-auteur { width: 100%; text-align: center; font-size: .6rem; opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.commu-mini { padding: 2px 7px; border-radius: 8px; border: 1.5px solid var(--ligne); background: rgba(0, 0, 0, .35); cursor: pointer; font: 900 .68rem 'Nunito', sans-serif; color: var(--text); }
.commu-mini.actif { border-color: var(--s); }
.commu-acheter { margin-top: 3px; padding: 4px 8px; font-size: .78rem; }
.commu-indice { font-size: .6rem; opacity: .75; line-height: 1.2; }
.commu-tri { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 8px; }
.commu-tuile, .commu-carte { display: flex; flex-direction: column; align-items: stretch; gap: 2px; min-width: 0; }
.commu-carte .tcarte { width: 100%; }
.tuile-monde .tm-e img { width: 46px; height: 46px; object-fit: contain; display: block; }
.commu-paquet { text-align: center; margin: 4px 0 10px; }
.commu-tirage { grid-template-columns: repeat(3, 1fr); }
.commu-neuve { color: var(--gold); font-weight: 900; text-align: center; }
.commu-raisons { display: grid; gap: 6px; }
.commu-mes { display: grid; gap: 6px; }
.commu-ligne { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; border: 1.5px solid var(--ligne); background: var(--doux); }
#team-equipee .slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.lf-ligne .commu-social { flex-wrap: nowrap; margin: 0; }
.lf-ligne .commu-auteur { display: none; }

/* 🛠️ l'atelier */
.form-crea { display: grid; gap: 10px; }
.champ-crea { display: grid; gap: 4px; font-weight: 900; font-size: .85rem; }
.champ-crea span small { opacity: .65; font-weight: 700; font-size: .7rem; }
.champ-crea .champ { width: 100%; }
.champ-crea select.champ option { background: var(--panel); color: var(--text); }
.champ-crea input[type=color].champ { height: 44px; padding: 4px; }
.champ-crea input[type=file] { font-size: .78rem; }
.apercu img { max-height: 120px; border-radius: 12px; border: 1.5px solid var(--ligne); margin-top: 4px; }
.champ-code { border: 1.5px dashed var(--ligne); border-radius: 12px; padding: 8px 10px; display: grid; gap: 8px; }
.champ-code summary { cursor: pointer; font-weight: 900; }
.regles-crea { padding: 8px 12px; border-radius: 12px; border: 2px dashed var(--gold); background: color-mix(in srgb, var(--gold) 8%, transparent); font-size: .78rem; margin: 6px 0 10px; }

/* 🎵 le petit lecteur YouTube, au-dessus de la barre de radio */
.yt-flottant { position: fixed; right: 14px; bottom: 78px; z-index: 4500; width: 260px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 2px solid var(--p); background: #000; box-shadow: 0 8px 24px rgba(0, 0, 0, .6); }
.yt-flottant.replie { height: 30px; aspect-ratio: auto; }
.yt-flottant.replie #yt-lecteur, .yt-flottant.replie iframe { visibility: hidden; }
.yt-replier { position: absolute; top: 4px; left: 4px; z-index: 2; width: 24px; height: 24px; border-radius: 8px; border: 0; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; }
#yt-lecteur, .yt-flottant iframe { width: 100%; height: 100%; display: block; }
@media (max-width: 820px) { .yt-flottant { bottom: 136px; right: 10px; width: 200px; } }

/* 📱 sur téléphone, l'Empire cache « ALGATOR37 » ; ici on garde « L'EMPIRE DE LA COMMU » en entier, un peu plus petit */
@media (max-width: 560px) { .logo .l1 { display: inline; } .logo { font-size: 1.12rem; letter-spacing: 1.5px; } }
.familles.commu-5f { grid-template-columns: repeat(5, 1fr); }
.familles.commu-5f .famille { min-width: 0; padding-left: 2px; padding-right: 2px; }
.commu-annonce { margin: 8px 16px 0; padding: 8px 14px; border-radius: 14px; border: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 12%, var(--panel)); text-align: center; font-weight: 900; }
.commu-modifier { border-color: var(--gold) !important; }
.like-dore img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.logo.avec-image .logo-img { height: 2.2rem; }
.commu-police-apercu { font-size: 1.3rem; line-height: 1.1; }
.commu-son-btn { font-size: 1.6rem; }
.sous-onglets.commu-types { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.sous-onglets.commu-types .sous-onglet { font-size: .85rem; padding: 7px 4px; }
.commu-couleurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.commu-actions-edition { display: flex; gap: 8px; justify-content: space-between; }
.commu-police-apercu[data-apercu-police] { padding: 10px; border-radius: 12px; border: 1.5px dashed var(--ligne); text-align: center; }
.commu-pluie { position: fixed; top: -50px; z-index: 3900; pointer-events: none; animation: commuPluie 2.6s linear forwards; }
@keyframes commuPluie { to { transform: translateY(110vh) rotate(160deg); } }
body.photosensible .commu-pluie { display: none; }
.commu-section { border: 1.5px solid var(--ligne); border-radius: 14px; padding: 8px 10px; background: var(--doux); }
.commu-section > summary { cursor: pointer; font-family: 'Bangers', 'Impact', sans-serif; letter-spacing: 1px; font-size: 1.02rem; color: var(--gold); }
.commu-section > summary small { font-family: 'Nunito', sans-serif; letter-spacing: 0; font-size: .7rem; color: var(--text); opacity: .65; }
.commu-section > .form-crea { margin-top: 8px; }
.commu-studio { display: grid; gap: 6px; }
.commu-studio-ligne { display: grid; grid-template-columns: 22px 56px 1fr 1.2fr; gap: 6px; align-items: center; }
.commu-carte-ligne { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 6px; align-items: end; padding: 6px 0; border-bottom: 1px dashed var(--ligne); }
.commu-carte-ligne .champ-crea { grid-column: 1 / -1; }
@media (max-width: 560px) { .commu-studio-ligne { grid-template-columns: 22px 50px 1fr; } .commu-studio-ligne input:last-child { grid-column: 2 / -1; } .commu-carte-ligne { grid-template-columns: 1fr; } }
textarea.champ { width: 100%; resize: vertical; font: inherit; }
.commu-annonce button { margin-left: 8px; }
