@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;1,500&display=swap");
*{box-sizing:border-box}body{margin:0;background:#f4f1eb;color:#171717;font-family:"DM Sans",sans-serif;min-height:100vh}
header{position:sticky;top:0;z-index:90;padding:14px 5vw 12px;display:flex;justify-content:space-between;align-items:flex-end;gap:30px;background:rgba(247,246,244,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(23,23,23,.07);box-shadow:0 8px 28px rgba(23,23,23,.035)}
.brandBlock{min-width:0}.brandButton{display:block;padding:0;border:0;background:none;text-align:left;color:inherit;cursor:pointer}.brandButton h1{transition:opacity .2s ease}.brandButton:hover h1{opacity:.68}.brandButton:focus-visible{outline:2px solid #171717;outline-offset:8px;border-radius:8px}.eyebrow{font-size:10px;letter-spacing:.24em;opacity:.5;margin:0 0 10px}h1,h2{font-family:"Playfair Display",serif;font-weight:500;margin:0}h1{font-size:clamp(34px,4.4vw,58px);line-height:.94;white-space:nowrap}.intro{font-size:12px;opacity:.5;margin:10px 0 0}.headerActions{display:flex;gap:8px;align-items:center}.add,.ghost,.back{border:0;border-radius:999px;padding:12px 17px;font:inherit;font-size:13px;cursor:pointer}.add{background:#171717;color:#fff}.ghost,.back{background:transparent}.hidden{display:none!important}
header.is-scrolled{padding-top:7px;padding-bottom:7px;box-shadow:0 6px 20px rgba(23,23,23,.055)}
header.is-scrolled .eyebrow,header.is-scrolled .intro{display:none}
header.is-scrolled h1{font-size:clamp(24px,2.3vw,34px);letter-spacing:-.025em}
header.is-scrolled .headerActions{gap:5px}
header.is-scrolled .add,header.is-scrolled .ghost,header.is-scrolled .back{padding:9px 12px;font-size:12px}
main{padding:0 5vw 130px}.boards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.board{position:relative;min-height:250px;background:#ddd;border-radius:4px;overflow:hidden;cursor:pointer}.board img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.boardShade{position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,0,0,.72));display:flex;flex-direction:column;justify-content:flex-end;padding:24px;color:white}.boardTitle{font-family:"Playfair Display",serif;font-size:31px}.boardDesc{font-size:11px;opacity:.7;margin-top:5px}.boardCount{font-size:10px;opacity:.55;margin-top:12px}.boardVisibilityBadge{display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.16);font-size:9px;letter-spacing:.04em}.boardVisibility{display:grid;gap:8px;margin-top:2px}.boardVisibilitySelect{display:grid;gap:7px}.boardVisibilitySelect select{border:1px solid #ddd;background:#fff;padding:12px;border-radius:9px;font:inherit}.empty{text-align:center;opacity:.45;padding:75px 20px;line-height:1.7}
.view{padding:30px 5vw 150px}.viewTop{display:flex;align-items:center;gap:25px;margin-bottom:35px}.viewTop>div{flex:1}.viewTop h2{font-size:48px}.viewTop p:not(.eyebrow){opacity:.5;font-size:13px;margin:7px 0 0}
.masonry{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start;justify-content:start}.card{position:relative;overflow:hidden;border-radius:4px;cursor:pointer;background:#ddd}.card img{width:100%;height:auto;display:block;transition:.5s}.card:hover img{transform:scale(1.025);filter:brightness(.75)}.overlay{position:absolute;inset:0;padding:20px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.72));display:flex;flex-direction:column;justify-content:flex-end;opacity:0;transition:.3s}.card:hover .overlay{opacity:1}.overlay strong{font-size:14px;font-weight:500}.overlay small{font-size:10px;opacity:.7;margin-top:4px}.cardActions{position:absolute;right:10px;top:10px;display:flex;gap:6px;opacity:0;transition:.2s}.card:hover .cardActions{opacity:1}.cardActions button{border:0;cursor:pointer}.delete{width:30px;height:30px;border-radius:50%;background:#fff;font-size:18px}.edit{border-radius:999px;background:#fff;padding:7px 11px;font:inherit;font-size:11px}.cardActions button:hover{transform:translateY(-1px)}.boardHeroActions{position:absolute;right:0;top:38px;display:flex;gap:8px;align-items:center}.danger{border:0;border-radius:999px;padding:12px 17px;font:inherit;font-size:13px;cursor:pointer;background:#fff;color:#a00000}.danger:hover{background:#f4e5e5}.danger:disabled{opacity:.5;cursor:wait}
.modal{position:fixed;inset:0;background:#0007;display:flex;align-items:center;justify-content:center;z-index:30}.modalBox{position:relative;width:min(480px,92vw);background:#f7f4ee;border-radius:18px;padding:32px;box-shadow:0 25px 80px #0005}.modalBox h2{font-size:34px;margin-bottom:20px}.modalBox form{display:grid;gap:12px}.modalBox input{border:1px solid #ddd;background:#fff;padding:12px;border-radius:9px;font:inherit}.modalBox label{font-size:12px;display:grid;gap:6px}.close{position:absolute;right:16px;top:12px;border:0;background:none;font-size:25px;cursor:pointer}.save{border:0;background:#171717;color:#fff;border-radius:999px;padding:13px;font:inherit;cursor:pointer}.switch{border:0;background:none;text-decoration:underline;cursor:pointer;margin-top:14px}.modalBox p{font-size:11px;min-height:14px}.modalBox small{opacity:.5;line-height:1.5}.player{position:fixed;left:18px;right:18px;bottom:18px;background:#171717;color:white;border-radius:17px;padding:10px 14px;display:flex;align-items:center;gap:13px;z-index:40;box-shadow:0 15px 45px #0004}.player img{width:48px;height:48px;object-fit:cover;border-radius:8px}.playerText{display:flex;flex-direction:column;min-width:170px}.playerText strong{font-size:13px}.playerText span{font-size:10px;opacity:.5;margin-top:3px}.player button{border:0;background:none;color:#fff;font-size:18px;cursor:pointer}.seekWrap{flex:1;min-width:180px;display:flex;align-items:center;gap:8px}.seekWrap span{font-size:9px;opacity:.55;min-width:28px;text-align:center}.seekWrap input{flex:1;min-width:100px;accent-color:#fff;cursor:pointer;touch-action:pan-x;height:28px}
@media(max-width:1050px){.masonry{grid-template-columns:repeat(3,minmax(0,1fr))}.boards{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){header{align-items:flex-start;padding:10px 5vw 9px}.headerActions{flex-wrap:wrap;justify-content:flex-end}.masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.viewTop{align-items:flex-start;flex-wrap:wrap}.viewTop h2{font-size:38px}.boards{grid-template-columns:1fr}.boardHeroActions{top:25px;right:0}.boardHeroActions .danger{padding:10px 12px}.boardHeroActions .add{padding:10px 12px}}@media(max-width:700px){.cardActions{opacity:1}}@media(max-width:450px){.masonry{grid-template-columns:1fr}.intro{display:none}.playerText{min-width:0;flex:1}.boardHeroActions{gap:5px}.boardHeroActions .danger{font-size:11px}.boardHeroActions .add{font-size:11px}}

/* GRAND AFFICHAGE DU TABLEAU */
.view{position:fixed;inset:0;z-index:25;overflow-y:auto;background:#f4f1eb;padding:0 5vw 140px}
.boardHero{min-height:38vh;display:flex;align-items:flex-end;gap:25px;padding:42px 0 38px;position:relative}
.boardHeroText{flex:1;text-align:center;align-self:center}
.boardHeroText h2{font-size:clamp(54px,9vw,125px);line-height:.9;letter-spacing:-.035em}
.boardHeroText p:not(.eyebrow){font-size:13px;opacity:.5;margin:18px 0 0}
.boardHero .back{position:absolute;left:0;top:38px}
.boardHero .add{position:static}
.boardHero + .masonry{padding-bottom:30px}
@media(max-width:700px){
 .boardHero{min-height:32vh;padding-top:80px}
 .boardHeroText h2{font-size:55px}
 .boardHero .back{top:25px}
}

/* Vue Pinterest : l'accueil reste visible derrière le tableau */
.board-open{overflow:hidden}
#boardView.view{position:fixed;inset:0;z-index:25;background:rgba(0,0,0,.38);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);padding:0;display:flex;align-items:center;justify-content:center;animation:fadeIn .18s ease}
#boardView .viewShell{position:relative;width:min(1225px,92vw);height:min(82vh,900px);overflow-y:auto;background:#f4f1eb;border-radius:30px;padding:0 5vw 130px;box-shadow:0 30px 100px rgba(0,0,0,.28);animation:popIn .28s cubic-bezier(.2,.8,.2,1)}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes popIn{from{opacity:0;transform:scale(.96) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes fadeOut{from{opacity:1}to{opacity:0}}
@keyframes popOut{from{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(.97) translateY(12px)}}
@keyframes slideOutUp{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(22px)}}

#boardView.is-closing{animation:fadeOut .26s ease both}
#boardView.is-closing .viewShell{animation:popOut .26s cubic-bezier(.4,0,.8,.2) both}
.modal.is-closing{animation:fadeOut .22s ease both}
.modal.is-closing .modalBox{animation:popOut .22s cubic-bezier(.4,0,.8,.2) both}
.artworkModal.is-closing{animation:fadeOut .26s ease both}
.artworkModal.is-closing .artworkBox{animation:popOut .26s cubic-bezier(.4,0,.8,.2) both}

/* Informations musicales au survol */
.overlayMusic{font-size:10px!important;opacity:.75!important;margin-top:5px}

/* Œuvre agrandie au premier plan */
.artworkModal{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.48);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);display:flex;align-items:center;justify-content:center;padding:30px;animation:fadeIn .16s ease}
.artworkBox{width:min(1000px,92vw);max-height:88vh;overflow:auto;background:#f7f4ee;border-radius:28px;padding:34px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:42px;box-shadow:0 30px 110px rgba(0,0,0,.35);animation:popIn .28s cubic-bezier(.2,.8,.2,1);position:relative}
.artworkImageWrap{display:flex;align-items:center;justify-content:center;background:#e9e4db;border-radius:16px;overflow:hidden;min-height:300px}
.artworkImageWrap img{display:block;max-width:100%;max-height:70vh;width:auto;height:auto;object-fit:contain}
.artworkInfo{align-self:center;padding:15px 10px 15px 0}.artworkInfo h2{font-size:clamp(40px,5vw,70px);line-height:.95;margin:0}.artworkArtist{opacity:.5;margin:12px 0 35px;font-size:14px}.musicInfo{border-top:1px solid #d8d2c8;padding-top:18px;display:flex;gap:12px;align-items:flex-start}.musicInfo>span{font-size:18px}.musicInfo strong{display:block;font-size:15px}.musicInfo small{display:block;opacity:.5;font-size:11px;margin-top:5px}.artworkClose{position:absolute;right:18px;top:15px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;font-size:25px;cursor:pointer;z-index:2}
body.artwork-open #boardView{filter:none}
@media(max-width:750px){
 #boardView.view{align-items:flex-start;padding:15px}
 #boardView .viewShell{width:100%;height:calc(100vh - 30px);border-radius:22px;padding:0 22px 125px}
 .artworkModal{padding:15px}.artworkBox{grid-template-columns:1fr;width:100%;max-height:94vh;padding:22px;border-radius:22px;gap:22px}.artworkImageWrap{min-height:220px}.artworkImageWrap img{max-height:55vh}.artworkInfo{padding:0}.artworkInfo h2{font-size:42px}.artworkArtist{margin-bottom:20px}
 .artworkTopActions{
  position:absolute;
  top:15px;
  right:18px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:10px;
}.shareIconButton,.artworkClose{width:38px;height:38px}
}

.searchInput{width:min(330px,32vw);border:1px solid #ddd;background:#fff;border-radius:999px;padding:11px 15px;font:inherit;font-size:12px;outline:none}.searchInput:focus{border-color:#999}
.subboards{margin-bottom:34px}.subboardHeading{font-family:"Playfair Display",serif;font-weight:500;font-size:25px;margin:0 0 14px}.subboardGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.subboardCard{position:relative;min-height:130px;border:0;border-radius:12px;overflow:hidden;background:#e3dfd6;color:#fff;text-align:left;padding:0;cursor:pointer}.subboardCard img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.7)}.subboardBody{position:absolute;inset:0;padding:17px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(transparent,rgba(0,0,0,.65))}.subboardBody strong{font-family:"Playfair Display",serif;font-size:22px;font-weight:500}.subboardBody small{font-size:10px;opacity:.7;margin-top:5px}.ghost{border:1px solid #ddd!important;background:#fff!important}
.moveHint{opacity:.6;margin:-8px 0 14px}.modalBox select{width:100%;border:1px solid #ddd;background:#fff;padding:12px;border-radius:9px;font:inherit;margin-bottom:12px}
@media(max-width:900px){.boards{grid-template-columns:repeat(2,1fr)}.masonry{grid-template-columns:repeat(3,minmax(0,1fr))}.subboardGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.searchInput{width:230px}}
@media(max-width:640px){header{padding:28px 5vw 25px;align-items:flex-start;flex-direction:column}.headerActions{width:100%;flex-wrap:wrap}.searchInput{order:5;width:100%}.boards{grid-template-columns:1fr;gap:12px}.board{min-height:230px}.masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.subboardGrid{grid-template-columns:1fr}.boardHeroActions{position:static;flex-wrap:wrap;margin-top:16px}.boardHero{display:flex;flex-direction:column}.view{padding:20px 5vw 140px}}

.searchResults{margin-bottom:28px}.searchHeading{font-family:"Playfair Display",serif;font-weight:500;font-size:26px;margin:0 0 14px}.boardSearchHeading{margin-top:30px}.searchItemGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.searchItemCard{min-width:0}
@media(max-width:1050px){.searchItemGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.searchItemGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.searchInput{width:min(100%,330px)}}
@media(max-width:450px){.searchItemGrid{grid-template-columns:1fr}}

/* Lecteur façon plateforme de streaming */
.playerControls{display:flex;align-items:center;gap:4px;flex-shrink:0}
.playerControls button{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}
.playerControls button:hover{background:#ffffff18}
.playerControls #playPause{font-size:20px}
.playerControls #shufflePlayer.active{background:#fff;color:#171717}
#playerContext{font-size:9px;opacity:.4;margin-top:4px}
#playerCover{cursor:pointer}
@media(max-width:700px){
  .player{left:10px;right:10px;bottom:10px;padding:9px 10px 10px;gap:7px;border-radius:15px;flex-wrap:wrap}
  .player img{width:44px;height:44px}
  .playerText{max-width:38vw}
  .playerControls{gap:0}
  .playerControls button{width:29px;height:29px;font-size:13px}
  .playerControls #playPause{font-size:17px}
  .seekWrap{order:10;flex-basis:100%;width:100%;min-width:0;gap:6px;margin-top:1px}
  .seekWrap input{width:100%;min-width:0;height:34px}
  .seekWrap span{font-size:9px;min-width:30px}
}

@media(max-width:640px){.headerActions #allTracksBtn,.headerActions #shuffleAllBtn{font-size:11px;padding:9px 11px}}


/* Contrôles de lecture — langage visuel minimaliste */
.playerControls button,
.artworkControl{
  color:inherit;
  border:0;
  background:transparent;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease, opacity .2s ease;
}
.playerControls button svg,
.artworkControl svg{
  width:18px;
  height:18px;
  fill:currentColor;
  display:block;
}
.playerControls button:hover{background:rgba(255,255,255,.08);transform:translateY(-1px)}
.playerControls #playPause{
  width:38px;height:38px;
  background:#fff;color:#171717;
  border-radius:50%;
}
.playerControls #playPause:hover{background:#fff;transform:scale(1.03)}
.playerControls #playPause svg{width:16px;height:16px}
.playerControls #shufflePlayer{
  opacity:.62;
  width:34px;height:34px;
}
.playerControls #shufflePlayer.active{
  opacity:1;
  background:rgba(255,255,255,.12);
  color:#fff;
}
.artworkControls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  margin-top:34px;
  padding-top:18px;
  border-top:1px solid #d8d2c8;
}
.artworkControl{
  width:38px;height:38px;
  border-radius:50%;
  color:#171717;
}
.artworkControl:hover{background:#e9e4db;transform:translateY(-1px)}
.artworkMainControl{
  width:46px;height:46px;
  background:#171717;
  color:#fff;
}
.artworkMainControl:hover{background:#171717;transform:scale(1.03)}
.artworkMainControl svg{width:17px;height:17px}
.artworkInfo{display:flex;flex-direction:column}
.artworkInfo .musicInfo{margin-top:0}
@media(max-width:750px){
  .artworkControls{margin-top:26px}
  .artworkControl{width:40px;height:40px}
  .artworkMainControl{width:48px;height:48px}
}

/* Tableaux musicaux — interactions */
.featuredBtn{white-space:nowrap}
.overlayCreator{font-size:9px!important;opacity:.45!important;margin-top:4px}
.cardLike{align-self:flex-start;margin-top:8px;border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:999px;padding:5px 9px;font:inherit;font-size:10px;cursor:pointer;backdrop-filter:blur(4px)}
.cardLike:hover{background:rgba(255,255,255,.22)}
.artworkLikeWrap{display:flex;align-items:center;gap:8px;margin-top:18px}
.artworkLikeWrap>small{font-size:10px;opacity:.45}
.likeButton{border:1px solid #d8d2c8;background:transparent;border-radius:999px;padding:8px 12px;display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12px;cursor:pointer}
.likeButton:hover,.likeButton.liked{background:#171717;color:#fff;border-color:#171717}
.likeButton .heart{font-size:16px;line-height:1}
.artworkCreator{font-size:9px;opacity:.38;margin-top:12px}
.artworkControl.active{background:#e9e4db}
.featuredBox{width:min(620px,92vw);max-height:82vh;overflow:auto}
.featuredBox h2{font-size:48px}
.featuredIntro{opacity:.5!important;margin:8px 0 22px!important}
.featuredList{display:grid;gap:8px}
.featuredItem{display:grid;grid-template-columns:28px 62px 1fr;align-items:center;gap:12px;border:0;background:transparent;text-align:left;padding:8px;border-radius:12px;cursor:pointer;font:inherit;color:inherit}
.featuredItem:hover{background:#ebe7df}
.featuredItem img{width:62px;height:62px;border-radius:8px;object-fit:cover}
.featuredRank{font-family:"Playfair Display",serif;font-size:20px;opacity:.4;text-align:center}
.featuredText{display:flex;flex-direction:column;min-width:0}
.featuredText strong{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.featuredText small{font-size:10px;opacity:.55;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.featuredText em{font-size:9px;font-style:normal;opacity:.4;margin-top:6px}
@media(max-width:640px){.featuredBox h2{font-size:40px}.featuredItem{grid-template-columns:22px 52px 1fr}.featuredItem img{width:52px;height:52px}}


/* Détails de finition — version Tableaux musicaux */
.overlay{padding:52px 20px 20px;}
.cardLike{position:absolute;left:14px;top:14px;margin:0;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:6px 10px;background:rgba(23,23,23,.58);border:1px solid rgba(255,255,255,.32);font-size:10px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
.cardLike:hover{background:rgba(23,23,23,.82);}
.overlayMusic{margin-top:6px!important;}
.overlayCreator{margin-top:5px!important;}
.artworkLikeWrap{align-self:flex-start;justify-content:flex-start;margin-top:20px;padding-top:0;border-top:0;}
.artworkLikeWrap>small{display:none;}
.artworkLikeWrap .likeButton{padding:8px 12px;}
.artworkControls{justify-content:flex-start;margin-top:28px;padding-top:18px;}
#shuffleArtwork{width:42px;height:42px;border:1px solid #d8d2c8;background:#f7f4ee;color:#171717;opacity:.9;}
#shuffleArtwork svg{width:20px;height:20px;}
#shuffleArtwork:hover{background:#e9e4db;}
#shuffleArtwork.active{background:#171717;color:#fff;border-color:#171717;}
#shuffleArtwork.active:hover{background:#171717;}
.featuredBtn{letter-spacing:.01em;}
.profileBox{width:min(900px,94vw);max-height:86vh;overflow:auto;}
.profileBox h2{font-size:52px;}
.profileEmail{margin:5px 0 30px!important;opacity:.45;font-size:12px!important;}
.profileSection{padding-top:24px;margin-top:24px;border-top:1px solid #d8d2c8;}
.profileSectionHead{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:14px;}
.profileSectionHead h3{font-family:"Playfair Display",serif;font-size:27px;font-weight:500;margin:0;}
.profileSectionHead span{font-size:10px;opacity:.45;}
.profileItemGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.profileItemGrid .card{min-width:0;}
.profileEmpty{padding:18px 0!important;margin:0!important;opacity:.45;}
.profileFooter{display:flex;justify-content:flex-end;margin-top:30px;padding-top:20px;border-top:1px solid #d8d2c8;}
.profileLogout{border:1px solid #ddd;background:#fff;}
@media(max-width:900px){.profileItemGrid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:640px){.profileBox h2{font-size:42px}.profileItemGrid{grid-template-columns:repeat(2,minmax(0,1fr));}.profileSectionHead h3{font-size:23px;}.artworkControls{justify-content:flex-start;}}

/* =========================================================
   NOUVEAU LANGAGE VISUEL — associations / fenêtre musicale
   ========================================================= */

/* Cartes : survol plus éditorial et mieux hiérarchisé */
.card{
  border-radius:12px;
  box-shadow:0 2px 10px rgba(23,23,23,.04);
  transition:transform .28s ease, box-shadow .28s ease;
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(23,23,23,.12);
}
.card img{transition:transform .45s cubic-bezier(.2,.7,.2,1),filter .35s ease}
.card:hover img{transform:scale(1.035);filter:brightness(.58)}
.overlay{
  padding:64px 20px 20px;
  background:linear-gradient(180deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.02) 28%,rgba(0,0,0,.78) 100%);
}
.overlay strong{
  font-family:"Playfair Display",serif;
  font-size:25px;
  line-height:1.05;
  font-weight:500;
  letter-spacing:-.02em;
}
.overlay small{font-size:11px}
.overlayMusic{font-size:11px!important;opacity:.82!important;margin-top:8px!important}
.overlayCreator{font-size:10px!important;opacity:.62!important;margin-top:6px!important}

/* Les actions restent regroupées en haut à droite, comme sur la maquette */
.cardActions{
  right:14px;
  top:14px;
  gap:8px;
  z-index:4;
}
.cardActions button{
  min-height:42px;
  border:1px solid rgba(216,210,200,.8);
  background:rgba(250,248,243,.96);
  color:#171717;
  box-shadow:0 5px 18px rgba(0,0,0,.14);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.cardActions button:hover{transform:translateY(-1px);background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.cardActions .edit{border-radius:999px;padding:10px 16px;font-size:12px}
.cardActions .delete{width:42px;height:42px;border-radius:50%;padding:0;font-size:25px;line-height:1}
.cardLike{
  left:14px;
  top:14px;
  z-index:5;
  min-height:42px;
  padding:9px 13px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:999px;
  background:rgba(23,23,23,.62);
  color:#fff;
  font-size:12px;
  box-shadow:0 5px 18px rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.cardLike:hover{background:rgba(23,23,23,.84)}

/* Fenêtre association : compacte, sans jamais recadrer le tableau */
.artworkBox{
  width:min(980px,88vw);
  max-height:88vh;
  padding:28px;
  border-radius:24px;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);
  gap:30px;
  background:#f7f4ee;
  overflow:auto;
}
.artworkImageWrap{
  min-width:0;
  min-height:0;
  width:100%;
  height:auto;
  max-height:calc(88vh - 56px);
  border-radius:14px;
  background:#e9e4db;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  align-self:center;
}
.artworkImageWrap img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:calc(88vh - 56px);
  object-fit:contain;
  flex:0 0 auto;
}
.artworkInfo{
  align-self:center;
  padding:4px 0 4px 0;
}
.artworkInfo .eyebrow{margin-bottom:14px}
.artworkInfo h2{
  font-size:clamp(40px,4.1vw,58px);
  line-height:.93;
  letter-spacing:-.035em;
}
.artworkArtist{
  margin:12px 0 26px;
  font-size:15px;
  opacity:.56;
}
.musicInfo{
  border-top:1px solid #d8d2c8;
  padding-top:16px;
  gap:12px;
}
.musicInfo>span{
  width:40px;
  height:40px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ebe6dd;
  font-size:19px;
  flex:0 0 40px;
}
.musicInfo strong{font-size:16px;font-weight:600}
.musicInfo small{font-size:12px;margin-top:5px}
.artworkCreator{
  font-size:12px;
  opacity:.56;
  margin-top:20px;
}

/* J'aime dans la même ligne que les contrôles — ne pas modifier */
.artworkLikeWrap{display:none!important}
.artworkControls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid #d8d2c8;
}
.artworkPlaybackControls{
  display:flex;
  align-items:center;
  gap:5px;
}
.artworkControl{
  width:42px;
  height:42px;
  border-radius:50%;
  color:#171717;
}
.artworkControl:hover{background:#e9e4db;transform:translateY(-1px)}
#shuffleArtwork{
  width:44px;
  height:44px;
  border:1px solid #d8d2c8;
  background:#ebe6dd;
  color:#171717;
  opacity:1;
}
#shuffleArtwork:hover{background:#ded8ce}
#shuffleArtwork.active{background:#171717;color:#fff;border-color:#171717}
.artworkMainControl{
  width:58px;
  height:58px;
  background:#171717;
  color:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.14);
}
.artworkMainControl:hover{background:#171717;transform:scale(1.03)}
.artworkMainControl svg{width:18px;height:18px}
.artworkSecondaryActions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.artworkTopActions{
  position:absolute;
  top:15px;
  right:18px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:8px;
}
.shareIconButton{
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#171717;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.shareIconButton svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.shareIconButton:hover{background:#ded8ce;transform:translateY(-1px)}
.shareIconButton.is-copied{background:#171717;color:#fff}
.artworkControls .likeButton{
  flex:0 0 auto;
  min-width:74px;
  height:46px;
  padding:0 15px;
  border:1px solid #d8d2c8;
  border-radius:999px;
  background:#ebe6dd;
  color:#171717;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.artworkControls .likeButton:hover{background:#ded8ce;transform:translateY(-1px)}
.artworkControls .likeButton.liked{background:#171717;color:#fff;border-color:#171717}
.artworkControls .likeButton .heart{font-size:18px}

.artworkClose{
  right:18px;
  top:16px;
  width:42px;
  height:42px;
  background:#fff;
  box-shadow:0 5px 18px rgba(0,0,0,.08);
  font-size:26px;
}
.artworkClose:hover{background:#eeeae3;transform:scale(1.03)}

@media(max-width:750px){
  .artworkBox{grid-template-columns:1fr;width:92vw;max-height:94vh;padding:18px;border-radius:20px;gap:20px;overflow:auto}
  .artworkImageWrap{height:auto;max-height:none;min-height:0}
  .artworkImageWrap img{max-width:100%;max-height:58vh;width:auto;height:auto}
  .artworkInfo{padding:0}
  .artworkInfo h2{font-size:42px}
  .artworkArtist{margin-bottom:20px}
  .artworkControls{margin-top:22px}
  .artworkPlaybackControls{gap:2px}
  .artworkControl{width:38px;height:38px}
  #shuffleArtwork{width:40px;height:40px}
  .artworkMainControl{width:50px;height:50px}
}

/* =========================================================
   CORRECTION FINALE — actions des associations au survol
   Les 4 actions restent lisibles, y compris « Modifier ».
   ========================================================= */
.cardActions{
  left:14px;
  right:14px;
  top:14px;
  width:auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:6px;
  pointer-events:none;
}
.cardActions button{
  pointer-events:auto;
  min-height:36px;
  white-space:nowrap;
  flex:0 0 auto;
}
.cardActions .edit{
  padding:8px 10px;
  font-size:10px;
  line-height:1;
}
.cardActions .delete{
  width:36px;
  height:36px;
  min-height:36px;
  font-size:20px;
}
/* Sur les cartes étroites, les actions se répartissent naturellement
   sur deux lignes au lieu de se chevaucher ou de sortir de la carte. */
@media (max-width: 1100px){
  .cardActions{gap:5px;}
  .cardActions .edit{padding:8px 9px;font-size:9.5px;}
  .cardActions .delete{width:34px;height:34px;min-height:34px;font-size:19px;}
}
@media (max-width: 700px){
  .cardActions{opacity:1;}
}


/* === Correctif final : bouton J'aime + actions de l'association ===
   Le coeur reste seul en haut à gauche. Les actions du propriétaire
   sont placées sur une ligne distincte juste en dessous pour éviter
   tout chevauchement, même sur les cartes étroites. */
.cardLike{
  position:absolute !important;
  left:14px !important;
  top:14px !important;
  z-index:20 !important;
  margin:0 !important;
  pointer-events:auto !important;
}

.cardActions{
  position:absolute !important;
  top:66px !important;
  right:14px !important;
  left:auto !important;
  z-index:19 !important;
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:7px !important;
  max-width:calc(100% - 28px) !important;
  pointer-events:none;
}

.card:hover .cardActions{
  opacity:1 !important;
}

.cardActions button{
  pointer-events:auto !important;
  white-space:nowrap !important;
}

.cardActions .edit{
  padding:8px 12px !important;
  min-height:36px !important;
  font-size:12px !important;
}

.cardActions .delete{
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
}

@media(max-width:700px){
  .cardActions{
    top:62px !important;
    right:10px !important;
    max-width:calc(100% - 20px) !important;
  }
}


/* =========================================================
   VERSION LISIBILITÉ — barre d'actions dédiée au survol
   ========================================================= */
.cardLike{
  position:absolute !important;
  left:12px !important;
  top:12px !important;
  z-index:50 !important;
  height:40px !important;
  min-width:56px !important;
  margin:0 !important;
  padding:0 11px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  border:1px solid rgba(255,255,255,.55) !important;
  border-radius:999px !important;
  background:rgba(20,20,20,.82) !important;
  color:#fff !important;
  font-size:12px !important;
  line-height:1 !important;
  box-shadow:0 5px 18px rgba(0,0,0,.25) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
  cursor:pointer !important;
}
.cardLike .heart{font-size:17px !important;line-height:1 !important}
.cardLike:hover{background:rgba(20,20,20,.96) !important;transform:translateY(-1px)}

.cardActions{
  position:absolute !important;
  top:12px !important;
  right:12px !important;
  left:auto !important;
  z-index:49 !important;
  width:170px !important;
  max-width:calc(100% - 80px) !important;
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:6px !important;
  padding:6px !important;
  border-radius:15px !important;
  background:rgba(247,244,238,.94) !important;
  border:1px solid rgba(216,210,200,.9) !important;
  box-shadow:0 8px 24px rgba(0,0,0,.18) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
  opacity:0 !important;
  pointer-events:none !important;
}
.card:hover .cardActions{
  opacity:1 !important;
  pointer-events:auto !important;
}
.cardActions button{
  pointer-events:auto !important;
  box-sizing:border-box !important;
  min-width:0 !important;
  min-height:36px !important;
  height:36px !important;
  margin:0 !important;
  padding:0 8px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#171717 !important;
  font:inherit !important;
  font-size:11px !important;
  font-weight:500 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  cursor:pointer !important;
  box-shadow:0 2px 7px rgba(0,0,0,.10) !important;
}
.cardActions button:hover{
  background:#ebe7df !important;
  transform:translateY(-1px) !important;
}
.cardActions .delete{
  width:36px !important;
  min-width:36px !important;
  justify-self:end !important;
  padding:0 !important;
  font-size:22px !important;
  font-weight:400 !important;
}
@media(max-width:340px){
  .cardActions{
    width:154px !important;
    max-width:calc(100% - 74px) !important;
    gap:5px !important;
    padding:5px !important;
  }
  .cardActions button{
    height:34px !important;
    min-height:34px !important;
    font-size:10px !important;
    padding:0 6px !important;
  }
  .cardActions .delete{width:34px !important;min-width:34px !important;font-size:20px !important}
  .cardLike{left:10px !important;top:10px !important;height:38px !important}
}


/* Le bouton J'aime n'est pas affiché sur les cartes au survol.
   Il reste disponible dans la fiche détaillée de l'association. */
.masonry .cardLike,.profileItemGrid .cardLike{display:none !important;}


/* --- Nouvelles fonctions : compte, profil, WikiArt --- */
.signupOnly.hidden{display:none!important}
.oauthButtons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.oauthBtn{border:1px solid #ddd;background:#fff;border-radius:999px;padding:11px 12px;font:inherit;font-size:12px;cursor:pointer}
.oauthBtn:hover{background:#eeeae2}
.profileIdentity{font-weight:600;margin:0 0 3px}
.profileSearch{width:100%;box-sizing:border-box;border:1px solid #ddd;background:#fff;border-radius:999px;padding:10px 13px;font:inherit;font-size:12px;outline:none;margin:4px 0 14px}
.wikiartHelper{padding:14px 15px;margin:6px 0 12px;border:1px solid #ded8ce;border-radius:14px;background:#f1eee7}
.helperLabel{font-weight:600;font-size:12px;margin-bottom:8px}
.wikiartRow{display:flex;gap:8px}
.wikiartRow input{flex:1;min-width:0}
.wikiartRow .ghost{white-space:nowrap}

/* Contrôles du lecteur global : toujours lisibles sur le fond noir */
#player .playerControls button,
#player .playerControls button svg,
#player #shufflePlayer,
#player #prevTrack,
#player #nextTrack{color:#fff!important;fill:currentColor!important;stroke:currentColor}
#player .playerControls button:hover{color:#fff!important;background:rgba(255,255,255,.14)}
#player .playerControls #playPause{color:#171717!important}
@media(max-width:750px){
  .oauthButtons{grid-template-columns:1fr}
  .wikiartRow{flex-direction:column}
}


/* =========================================================
   CORRECTION STABLE — menu des associations au survol
   Ne pas masquer les actions du propriétaire.
   ========================================================= */
.card{
  position:relative !important;
  overflow:hidden !important;
}
.cardActions{
  position:absolute !important;
  top:12px !important;
  right:12px !important;
  left:auto !important;
  z-index:100 !important;
  width:auto !important;
  max-width:calc(100% - 24px) !important;
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:6px !important;
  padding:6px !important;
  box-sizing:border-box !important;
  border-radius:14px !important;
  background:rgba(247,244,238,.97) !important;
  border:1px solid rgba(216,210,200,.95) !important;
  box-shadow:0 8px 24px rgba(0,0,0,.18) !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(-3px) !important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease !important;
}
.card:hover .cardActions,
.card:focus-within .cardActions{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:translateY(0) !important;
}
.cardActions button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:34px !important;
  min-height:34px !important;
  min-width:0 !important;
  padding:0 10px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#171717 !important;
  font:inherit !important;
  font-size:11px !important;
  line-height:1 !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  pointer-events:auto !important;
  box-shadow:0 2px 7px rgba(0,0,0,.08) !important;
}
.cardActions .delete{
  width:34px !important;
  min-width:34px !important;
  padding:0 !important;
  font-size:20px !important;
}
.cardActions button:hover{
  background:#171717 !important;
  color:#fff !important;
  transform:none !important;
}

/* Le coeur reste caché sur les cartes, comme demandé précédemment. */
.masonry .cardLike,
.profileItemGrid .cardLike{
  display:none !important;
}

@media(max-width:700px){
  .cardActions{
    max-width:calc(100% - 20px) !important;
    top:10px !important;
    right:10px !important;
    gap:4px !important;
    padding:5px !important;
  }
  .cardActions button{
    height:32px !important;
    min-height:32px !important;
    padding:0 8px !important;
    font-size:10px !important;
  }
  .cardActions .delete{
    width:32px !important;
    min-width:32px !important;
  }
}


/* === Modifications demandées === */
.oauthButtons{display:block;margin-top:10px}
.oauthBtn{width:100%;display:flex;align-items:center;justify-content:center;gap:9px}
.googleLogo{width:18px;height:18px;display:block;flex:0 0 18px}

.featuredTabs{display:flex;gap:8px;margin:0 0 18px;border-bottom:1px solid #ddd;padding-bottom:10px}
.featuredTab{border:1px solid #ddd;background:#fff;border-radius:999px;padding:9px 13px;font:inherit;font-size:11px;cursor:pointer}
.featuredTab:hover{background:#eeeae2}
.featuredTab.active{background:#171717;color:#fff;border-color:#171717}

.featuredItem{grid-template-columns:26px 54px 1fr;gap:10px;padding:6px}
.featuredItem img{width:54px;height:54px;border-radius:7px}
.featuredItem:hover{background:#ebe7df}
.featuredText{min-width:0;display:flex;flex-direction:column}
.featuredText strong,.featuredText small,.featuredText em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.featuredText em{font-style:normal;font-size:9px;opacity:.45;margin-top:4px}

.featuredBox{width:min(650px,92vw)}

.artworkModal{overscroll-behavior:contain}
.artworkBox{transition:transform .22s ease,opacity .22s ease}
body.artwork-open{overflow:hidden}

/* Ancienne présentation compacte au survol : moins d'espace occupé */
.cardActions{
  left:auto!important;
  right:8px!important;
  top:8px!important;
  width:auto!important;
  max-width:calc(100% - 54px)!important;
  padding:0!important;
  gap:4px!important;
  flex-wrap:nowrap!important;
}
.cardActions button{
  min-height:28px!important;
  height:28px!important;
  padding:0 8px!important;
  font-size:9px!important;
  line-height:1!important;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.cardActions .delete{
  width:28px!important;
  min-width:28px!important;
  padding:0!important;
  font-size:17px!important;
}
.card:hover .overlay{background:linear-gradient(transparent,rgba(0,0,0,.56))}
.overlay{padding:14px}
.overlay strong{font-size:13px}
.overlay small{font-size:9px}
@media(max-width:700px){
  .cardActions{max-width:calc(100% - 48px)!important}
  .cardActions button{font-size:8px!important;padding:0 6px!important}
}

/* Navigation verticale type TikTok dans la fiche d'une association */
#artworkModal{touch-action:pan-y}
#artworkModal .artworkBox{will-change:transform}

/* =========================================================
   APPLE-LIKE MOTION / VISUAL POLISH
   ========================================================= */
:root{
  --apple-bg:#f5f5f7;
  --apple-surface:rgba(255,255,255,.78);
  --apple-line:rgba(0,0,0,.08);
  --apple-text:#1d1d1f;
  --apple-muted:#6e6e73;
  --apple-ease:cubic-bezier(.22,1,.36,1);
  --apple-spring:cubic-bezier(.16,1,.3,1);
}
html{scroll-behavior:smooth;overscroll-behavior-y:none}
body{
  background:var(--apple-bg);
  color:var(--apple-text);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
button,input,select{font-family:inherit}
button{transition:transform .42s var(--apple-spring),background-color .25s ease,color .25s ease,box-shadow .42s var(--apple-ease),border-color .25s ease,opacity .25s ease}
button:active{transform:scale(.965)}
input,select{transition:border-color .3s ease,box-shadow .3s ease,background-color .3s ease,transform .3s var(--apple-ease)}
input:focus,select:focus{border-color:rgba(0,0,0,.22)!important;box-shadow:0 0 0 4px rgba(0,122,255,.10);outline:none;transform:translateY(-1px)}
::selection{background:rgba(0,122,255,.18)}

header{padding-top:14px;transition:padding .28s var(--apple-ease)}
header.is-scrolled{padding-top:7px;padding-bottom:7px}
header h1{letter-spacing:-.045em;font-weight:650}
.eyebrow{letter-spacing:.12em;font-weight:600}
.ghost,.add,.save,.danger,.oauthBtn,.featuredTab,.back,.boardHeroActions button{
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  backdrop-filter:blur(18px) saturate(150%);
}
.ghost{background:rgba(255,255,255,.68)!important;border-color:var(--apple-line)!important}
.ghost:hover{background:#fff!important;box-shadow:0 7px 25px rgba(0,0,0,.08);transform:translateY(-2px)}
.add,.save{background:#1d1d1f!important}
.add:hover,.save:hover{box-shadow:0 10px 28px rgba(0,0,0,.18);transform:translateY(-2px)}
.searchInput{background:rgba(255,255,255,.7)!important;border-color:var(--apple-line)!important;box-shadow:0 2px 14px rgba(0,0,0,.03)}
.searchInput:hover{background:#fff!important}

.board,.card,.subboardCard{will-change:transform;transform:translateZ(0)}
.board,.card{transition:transform .55s var(--apple-spring),box-shadow .55s var(--apple-ease),border-radius .45s var(--apple-ease)}
.board:hover{transform:translateY(-5px) scale(1.006);box-shadow:0 24px 60px rgba(0,0,0,.14);border-radius:16px}
.card:hover{transform:translateY(-4px) scale(1.004);box-shadow:0 22px 50px rgba(0,0,0,.14);border-radius:14px}
.card img,.board img,.subboardCard img{will-change:transform;transition:transform .9s var(--apple-ease),filter .55s ease}
.card:hover img{transform:scale(1.045);filter:brightness(.60)}
.board:hover img,.subboardCard:hover img{transform:scale(1.035);filter:brightness(.72)}
.overlay{transition:opacity .45s var(--apple-ease),background .45s ease}
.cardActions{transition:opacity .32s ease,transform .55s var(--apple-spring),visibility .32s ease!important}
.card:hover .cardActions{transform:translateY(0) scale(1)!important}
.cardActions button:hover{transform:translateY(-2px) scale(1.025)!important;box-shadow:0 7px 18px rgba(0,0,0,.12)!important}

.modal{background:rgba(0,0,0,.28);backdrop-filter:blur(20px) saturate(120%);-webkit-backdrop-filter:blur(20px) saturate(120%);opacity:1}
.modalBox{background:rgba(250,250,252,.90);border:1px solid rgba(255,255,255,.72);box-shadow:0 35px 100px rgba(0,0,0,.22);backdrop-filter:blur(28px) saturate(150%);-webkit-backdrop-filter:blur(28px) saturate(150%);animation:appleModalIn .58s var(--apple-spring)}
.close{width:34px;height:34px;border-radius:50%;background:rgba(0,0,0,.055);color:#6e6e73;display:grid;place-items:center;line-height:1;transition:transform .45s var(--apple-spring),background .25s ease}
.close:hover{background:rgba(0,0,0,.1);transform:rotate(90deg) scale(1.05)}
@keyframes appleModalIn{0%{opacity:0;transform:translateY(18px) scale(.965)}60%{opacity:1}100%{opacity:1;transform:translateY(0) scale(1)}}

.artworkModal{background:rgba(0,0,0,.38);backdrop-filter:blur(24px) saturate(120%);-webkit-backdrop-filter:blur(24px) saturate(120%)}
.artworkBox{background:rgba(250,250,252,.94);border:1px solid rgba(255,255,255,.78);box-shadow:0 40px 120px rgba(0,0,0,.32);animation:appleArtworkIn .68s var(--apple-spring)}
@keyframes appleArtworkIn{0%{opacity:0;transform:translateY(30px) scale(.95)}100%{opacity:1;transform:translateY(0) scale(1)}}
.artworkImageWrap{transition:transform .7s var(--apple-ease)}
.artworkImageWrap:hover{transform:scale(1.006)}
.artworkControl,.likeButton{transition:transform .42s var(--apple-spring),background .25s ease,box-shadow .42s var(--apple-ease)}
.artworkControl:hover,.likeButton:hover{transform:translateY(-3px) scale(1.035);box-shadow:0 10px 25px rgba(0,0,0,.10)}
.artworkMainControl:hover{transform:scale(1.07)!important}

.player{background:rgba(25,25,27,.88)!important;border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%);box-shadow:0 20px 55px rgba(0,0,0,.28)!important;animation:playerIn .65s var(--apple-spring)}
@keyframes playerIn{0%{opacity:0;transform:translateY(18px) scale(.98)}100%{opacity:1;transform:translateY(0) scale(1)}}
.player button:hover{transform:scale(1.08)}
.player img{transition:transform .55s var(--apple-spring),border-radius .4s ease}
.player img:hover{transform:scale(1.05);border-radius:12px}

.featuredItem{transition:transform .45s var(--apple-spring),background .25s ease,box-shadow .45s var(--apple-ease)}
.featuredItem:hover{background:rgba(0,0,0,.045);transform:translateX(4px);box-shadow:0 7px 25px rgba(0,0,0,.06)}
.featuredItem img{transition:transform .55s var(--apple-spring);will-change:transform}
.featuredItem:hover img{transform:scale(1.06)}
.featuredTab{transition:transform .4s var(--apple-spring),background .25s ease}
.featuredTab:hover{transform:translateY(-2px)}

/* Import WikiArt : interface de sélection sobre, façon Finder / Photos */
.contentModalBox{width:min(620px,94vw);max-height:88vh;overflow:auto}
.modalKicker{font-size:10px;letter-spacing:.14em;font-weight:650;color:var(--apple-muted);margin-bottom:8px}
.wikiartHelper{background:rgba(255,255,255,.68)!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:18px!important;padding:16px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.helperTop{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:12px}
.helperLabel{font-size:13px!important;font-weight:650!important}
.helperBadge{font-size:9px;letter-spacing:.10em;padding:5px 8px;border-radius:999px;background:#1d1d1f;color:#fff}
.wikiartResults{display:grid;gap:5px;margin-top:10px;max-height:260px;overflow:auto;overscroll-behavior:contain}
.wikiartResult{display:grid;grid-template-columns:52px minmax(0,1fr) 20px;align-items:center;gap:11px;width:100%;border:0;border-radius:12px;background:transparent;padding:7px;text-align:left;color:inherit;cursor:pointer;animation:resultIn .48s var(--apple-spring) both;animation-delay:var(--delay)}
.wikiartResult:hover{background:rgba(0,0,0,.055);transform:translateX(3px)}
.wikiartResult img{width:52px;height:52px;object-fit:cover;border-radius:9px;background:#e8e8ed;transition:transform .45s var(--apple-spring)}
.wikiartResult:hover img{transform:scale(1.06)}
.wikiartResult span{min-width:0;display:grid;gap:4px}
.wikiartResult strong,.wikiartResult small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wikiartResult strong{font-size:12px;font-weight:600}
.wikiartResult small{font-size:10px;color:var(--apple-muted)}
.wikiartResult i{font-style:normal;font-size:22px;color:#8e8e93;transition:transform .35s var(--apple-spring)}
.wikiartResult:hover i{transform:translateX(3px)}
@keyframes resultIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.wikiartLoading{display:flex;gap:5px;justify-content:center;padding:22px}.wikiartLoading span{width:6px;height:6px;border-radius:50%;background:#8e8e93;animation:dotPulse 1s infinite var(--apple-spring)}.wikiartLoading span:nth-child(2){animation-delay:.12s}.wikiartLoading span:nth-child(3){animation-delay:.24s}
@keyframes dotPulse{0%,100%{transform:translateY(0);opacity:.35}50%{transform:translateY(-5px);opacity:1}}
.wikiartEmpty{padding:16px 6px;font-size:11px;color:var(--apple-muted);text-align:center}
.wikiartSelected{display:grid;grid-template-columns:48px minmax(0,1fr) 32px;align-items:center;gap:10px;margin-top:10px;padding:7px;border-radius:12px;background:#fff;border:1px solid rgba(0,0,0,.07);animation:resultIn .45s var(--apple-spring)}
.wikiartSelected img{width:48px;height:48px;border-radius:8px;object-fit:cover}.wikiartSelected div{min-width:0;display:grid;gap:3px}.wikiartSelected strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wikiartSelected small{font-size:9px;color:var(--apple-muted)}
.selectedClear{width:30px;height:30px;border:0;border-radius:50%;background:#f2f2f7;color:#6e6e73;cursor:pointer;font-size:18px}.selectedClear:hover{background:#e8e8ed;transform:rotate(90deg)}
.rightsConfirm{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:8px!important;margin-top:12px!important;font-size:10px!important;color:#6e6e73!important;line-height:1.4}.rightsConfirm input{margin-top:2px;accent-color:#1d1d1f}
.musicHelper{margin-top:14px}.audioResult{grid-template-columns:52px minmax(0,1fr) 20px}.audioResultIcon{width:52px;height:52px;display:grid;place-items:center;border-radius:9px;background:#1d1d1f;color:#fff;font-size:22px}.wikiartSelected .audioResultIcon{width:48px;height:48px;border-radius:8px}.personalAudioRights{margin:-6px 0 12px!important}
.streamingHelper{display:grid;gap:7px;margin:-2px 0 4px;padding:13px;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:rgba(255,255,255,.46)}.streamingHelper small{opacity:.62!important}.streamingHelper input{width:100%}.streamingLink{display:inline-flex;align-items:center;width:max-content;margin-top:15px;padding:9px 13px;border-radius:999px;background:#171717;color:#fff;text-decoration:none;font-size:12px;font-weight:650}.streamingLink:hover{opacity:.82}.external-audio .artworkPlaybackControls{display:none}
.spotifyEmbed{margin-top:16px;width:100%}.spotifyEmbed iframe{display:block;width:100%;height:152px;border:0;border-radius:12px;background:transparent}












.streamingSelected strong,.streamingSelected small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.streamingSelected small{opacity:.58;font-size:10px;margin-top:2px}

@media(max-width:620px){.streamingSearchRow input{grid-column:1/-1}}


/* Ajout d'association : étapes claires et modes d'écoute visibles */
.associationIntro{font-size:12px;line-height:1.45;color:var(--apple-muted);margin:-4px 0 2px}.associationFields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.associationFields input{min-width:0}.associationSection{border:1px solid rgba(0,0,0,.09);border-radius:16px;background:rgba(255,255,255,.48);overflow:hidden}.associationSection summary{display:grid;grid-template-columns:30px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:14px;cursor:pointer;list-style:none;user-select:none}.associationSection summary::-webkit-details-marker{display:none}.sectionStep{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#1d1d1f;color:#fff;font-size:12px;font-weight:700}.associationSection summary strong{display:block;font-size:13px}.associationSection summary small{display:block;margin-top:2px;font-size:10px;color:var(--apple-muted);line-height:1.35}.associationSection summary i{font-style:normal;font-size:18px;color:#6e6e73;transition:transform .25s ease}.associationSection[open] summary{border-bottom:1px solid rgba(0,0,0,.07)}.associationSection[open] summary i{transform:rotate(180deg)}.associationSectionBody{display:grid;gap:12px;padding:14px}.personalFile{padding:11px 12px!important;border:1px dashed rgba(0,0,0,.2)!important;border-radius:12px!important;background:rgba(255,255,255,.55)!important;font-size:11px!important}.personalFile input{margin-top:7px}.playlistNotice{display:grid;gap:4px;padding:12px 13px;border-radius:12px;background:#edf7f0;border:1px solid #cae5d1;color:#245b35;font-size:11px;line-height:1.42}.playlistNotice strong{font-size:12px}.musicSectionBody{gap:10px}.musicChoice{padding:13px;border:1px solid rgba(0,0,0,.08);border-radius:13px;background:rgba(255,255,255,.56)}.choiceHeading{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:start;gap:9px}.choiceHeading>span{padding-top:3px;font-size:9px;font-weight:700;letter-spacing:.04em;color:#6e6e73}.choiceHeading strong{display:block;font-size:12px}.choiceHeading small{display:block;margin-top:3px;font-size:10px;line-height:1.35;color:var(--apple-muted)}.choiceHeading b{white-space:nowrap;padding:5px 7px;border-radius:999px;background:#e4f4e9;color:#26733e;font-size:8px;letter-spacing:.08em}.streamingChoice .choiceHeading b{background:#f2f2f7;color:#6e6e73}.musicChoice .wikiartHelper{margin-top:12px}.musicChoice .musicHelper{margin-top:12px}.musicChoice .streamingHelper{margin-top:12px}.musicChoice .personalAudioRights{margin:10px 0 0!important}@media(max-width:520px){.visibilityOptions{grid-template-columns:1fr}.visibilityOption{width:100%;}.associationFields{grid-template-columns:1fr}.choiceHeading{grid-template-columns:44px minmax(0,1fr)}.choiceHeading b{grid-column:2;width:max-content}.associationSection summary{padding:12px}.associationSectionBody{padding:12px}}

/* Scroll plus naturel sur les panneaux */
.viewShell,.artworkBox,.modalBox,.featuredBox{scroll-behavior:smooth;scrollbar-width:thin}
.viewShell::-webkit-scrollbar,.artworkBox::-webkit-scrollbar,.modalBox::-webkit-scrollbar,.featuredBox::-webkit-scrollbar{width:7px}
.viewShell::-webkit-scrollbar-thumb,.artworkBox::-webkit-scrollbar-thumb,.modalBox::-webkit-scrollbar-thumb,.featuredBox::-webkit-scrollbar-thumb{background:rgba(0,0,0,.15);border-radius:999px}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
}

.artworkTopActions .artworkClose{
  position:static;
  top:auto;
  right:auto;
  margin:0;
  flex:0 0 38px;
}
.artworkTopActions .shareIconButton{
  position:static;
  flex:0 0 38px;
}

@media (max-width:700px){
  .artworkTopActions{
    top:12px;
    right:12px;
    gap:9px;
  }
  .artworkTopActions .shareIconButton,
  .artworkTopActions .artworkClose{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
}

/* Création d'association : validation visuelle et informations en dernier */
.associationSection .sectionStep{position:relative;transition:transform .25s ease,background .25s ease}
.associationSection .sectionStep.is-complete{background:#23864a;transform:scale(1.05)}
.associationFieldsBottom{position:relative;margin-top:14px;padding:15px;border:1px solid rgba(0,0,0,.09);border-radius:16px;background:rgba(255,255,255,.48);transition:border-color .25s ease,box-shadow .25s ease,background .25s ease}
.associationFieldsBottom.is-complete{border-color:rgba(35,134,74,.35);box-shadow:0 8px 24px rgba(35,134,74,.08)}
.associationFieldsTitle{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:2px}
.associationFieldsTitle strong{font-size:13px}
.associationFieldsTitle small{font-size:10px;color:var(--apple-muted)}
.associationFieldsBottom.is-complete:after{content:"✓";position:absolute;right:14px;top:13px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#23864a;color:#fff;font-size:13px;font-weight:700;animation:checkPop .35s var(--apple-spring)}
@keyframes checkPop{from{opacity:0;transform:scale(.5)}70%{transform:scale(1.12)}to{opacity:1;transform:scale(1)}}
#contentSubmit:disabled{opacity:.45;cursor:not-allowed;transform:none}
.wikiartResult img{content-visibility:auto}
@media(max-width:520px){.associationFieldsTitle{display:grid;gap:3px}.associationFieldsBottom.is-complete:after{right:10px;top:10px}}

/* Recherche d'image : après sélection, on replie l'outil de recherche tout en gardant la licence visible. */
.imageSearchPanel{display:grid;gap:10px;overflow:hidden;max-height:520px;opacity:1;transform:translateY(0);transition:max-height .38s var(--apple-spring),opacity .25s ease,transform .38s var(--apple-spring),margin .38s var(--apple-spring)}
.imageSearchPanel.is-collapsed{max-height:0;opacity:0;transform:translateY(-7px);margin:0!important;pointer-events:none}
.imageSearchToggle{display:none;margin:8px 0 0;padding:7px 10px;border:0;border-radius:999px;background:#f2f2f7;color:#6e6e73;font-size:10px;font-weight:650;cursor:pointer;transition:transform .25s ease,background .25s ease}
.imageSearchPanel.is-collapsed + .imageSearchToggle{display:inline-flex;width:max-content;align-items:center}
.imageSearchToggle:hover{background:#e8e8ed;transform:translateY(-1px)}
.associationSection.is-complete{border-color:rgba(35,134,74,.25);box-shadow:0 8px 24px rgba(35,134,74,.07)}
.associationSection.is-complete summary{background:rgba(238,249,241,.55)}
.associationSection.is-complete summary i{color:#23864a}
.associationSection.is-complete .sectionStep{background:#23864a;color:#fff}


/* Comptes publics, abonnements et visibilité des associations */
.associationVisibility{margin-top:14px;padding:11px 12px;border:1px solid #d8d2c8;border-radius:14px;background:#f7f4ee;}
.associationVisibility>strong{display:block;font-size:11px;margin-bottom:7px;}
.visibilityOptions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;}
.visibilityOption{display:flex;align-items:center;gap:7px;min-width:0;border:1px solid #d8d2c8;border-radius:11px;padding:9px 10px;background:#fff;cursor:pointer;box-sizing:border-box;}
.visibilityOption input{margin:0;flex:0 0 auto;}
.visibilityOption b{font-size:11px;white-space:nowrap;}
.visibilityOption small{display:none;}
.privatePreviewVisual{height:100%;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:linear-gradient(145deg,#f1eee8,#e8e4dc);color:#6e6e73;}
.privatePreviewVisual span{font-size:28px;}
.privatePreviewVisual small{font-size:10px;}
.privatePreviewCard .overlay{background:linear-gradient(180deg,transparent 5%,rgba(20,20,20,.88) 100%);}
.privateBadgeCard{display:inline-flex;margin-top:5px;font-size:9px;color:#fff;opacity:.82;}
.requestAccessBtn{border:0;border-radius:999px;padding:8px 12px;background:#171717;color:#fff;font:inherit;font-size:10px;cursor:pointer;}
.requestAccessBtn:disabled{opacity:.7;cursor:default;}
.requestAccessBtn.is-requested{background:#e9e6df;color:#171717;}
.accessRequestRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e5e0d8;}
.accessRequestText{display:grid;gap:3px;min-width:0;}
.accessRequestText strong{font-size:12px;}
.accessRequestText small{font-size:10px;opacity:.55;}
.accessRequestActions{display:flex;gap:7px;flex:0 0 auto;}
.profileRequestApprove,.profileRequestReject{border:0;border-radius:999px;padding:7px 11px;font:inherit;font-size:10px;cursor:pointer;}
.profileRequestApprove{background:#171717;color:#fff;}
.profileRequestReject{background:#eeeae3;color:#171717;}
.profilePublicHead{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;}
.profileFollow{border:0;background:#171717;color:#fff;border-radius:999px;padding:10px 17px;cursor:pointer;font:inherit;font-size:12px;}
.profileFollow:hover{opacity:.88;}
.profileFollow.is-following{background:#ebe6dd;color:#171717;border:1px solid #d8d2c8;}
.profileStats{display:flex;gap:16px;margin:8px 0 24px;font-size:11px;opacity:.55;}
.profilePublicStatus{font-size:12px;opacity:.55;margin:10px 0;}
.overlayCreator{cursor:pointer;text-decoration:underline;text-decoration-color:transparent;transition:text-decoration-color .18s ease,opacity .18s ease;}
.overlayCreator:hover{text-decoration-color:currentColor;opacity:1;}
.artworkCreator{cursor:pointer;}
.artworkCreator:hover{text-decoration:underline;text-underline-offset:3px;opacity:.85;}
.privateBadge{display:inline-flex;align-items:center;gap:4px;font-size:9px;opacity:.65;margin-left:6px;}
@media(max-width:640px){.profilePublicHead{align-items:flex-start}}

/* Profil réseau social — version claire et superposée à la fiche musicale */
#profileModal{z-index:80;background:rgba(12,12,14,.24);backdrop-filter:blur(13px) saturate(125%);-webkit-backdrop-filter:blur(13px) saturate(125%);}
#profileModal .profileBox{width:min(1120px,94vw);max-height:91vh;overflow:auto;padding:28px 34px 34px;border-radius:30px;background:rgba(250,249,247,.985);border:1px solid rgba(255,255,255,.9);box-shadow:0 35px 120px rgba(0,0,0,.34);}
.profileHero{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;padding:10px 12px 25px;border-bottom:1px solid #e3ded5;text-align:center}.profileHeroText{grid-column:2;display:grid;justify-items:center}.profileHero .profileFollow{grid-column:3;justify-self:end}.profileHero .profileAvatar{grid-column:2;grid-row:1;margin-bottom:-72px;transform:translateY(48px);z-index:2;}
.profileAvatar{width:92px;height:92px;border-radius:50%;background:#171717;color:#fff;display:flex;align-items:center;justify-content:center;font-family:"Playfair Display",serif;font-size:38px;box-shadow:0 10px 30px rgba(0,0,0,.16);border:6px solid #faf9f7;}
.profileHeroText .eyebrow{margin:0 0 4px}.profileHeroText h2{font-size:clamp(34px,4.5vw,54px);line-height:.95;letter-spacing:-.035em}.profileIdentity{margin:7px 0 0!important;font-size:12px!important;opacity:.55}.profileEmail{margin:4px 0 0!important;font-size:10px!important;opacity:.38;min-height:0!important;}
.profileStats{display:flex;justify-content:center;gap:0;margin:56px auto 20px!important;opacity:1!important;max-width:440px;background:#fff;border:1px solid #e3ded5;border-radius:18px;overflow:hidden;}
.profileStats>div{flex:1;background:#fff;border:0;border-right:1px solid #e3ded5;border-radius:0;padding:12px 18px;display:flex;align-items:baseline;justify-content:center;gap:7px}.profileStats>div:last-child{border-right:0}.profileStats strong{font-size:18px;font-weight:650}.profileStats span{font-size:10px;opacity:.5}.profilePublicStatus{margin:8px 2px 4px!important;}
.profileAccordionList{display:grid;gap:10px;margin-top:14px}.profileAccordion{border:1px solid #e3ded5;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 4px 18px rgba(23,23,23,.035)}
.profileAccordion summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 18px;font-size:13px;font-weight:600}.profileAccordion summary::-webkit-details-marker{display:none}.profileAccordion summary:after{content:"⌄";font-size:15px;opacity:.42;transition:transform .2s ease}.profileAccordion[open] summary:after{transform:rotate(180deg)}.profileAccordion summary span{display:flex;align-items:center;gap:8px}.profileAccordion summary span:before{content:"";width:7px;height:7px;border-radius:50%;background:#171717;opacity:.75}.profileAccordion summary em{font-style:normal;font-size:9px;font-weight:400;opacity:.45;margin-left:auto}.profileAccordionBody{padding:0 18px 18px;border-top:1px solid #eeeae3}.profileAccordionBody .profileItemGrid{padding-top:16px}.profileSearch{margin-top:15px!important;width:100%;border:1px solid #e0dbd2!important;background:#f8f6f2!important;border-radius:12px!important;padding:10px 12px!important;font-size:11px!important;outline:none}.profileSearch:focus{border-color:#bdb6ab!important;background:#fff!important}.profileItemGrid{display:block!important;column-count:4;column-gap:14px;grid-template-columns:none!important;padding-top:16px}.profileItemGrid .card{width:100%;display:inline-block;vertical-align:top;margin:0 0 14px;break-inside:avoid;-webkit-column-break-inside:avoid;border-radius:14px;overflow:hidden}.profileItemGrid .card img{width:100%;height:auto;display:block}.profileItemGrid .privatePreviewVisual{min-height:190px}.profileFooter{margin-top:12px!important;padding-top:18px!important;border-top:0!important;justify-content:flex-end}.profileLogout{font-size:11px!important;padding:9px 13px!important;border-radius:999px!important;}
/* Quand un profil est ouvert depuis une association, la fiche musicale reste derrière et sa lecture continue. */
#profileModal .modalBox{animation:profileLayerIn .3s cubic-bezier(.2,.8,.2,1)}
@keyframes profileLayerIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:700px){#profileModal .profileBox{width:96vw;max-height:91vh;padding:25px 20px 22px;border-radius:24px}.profileHero{grid-template-columns:auto 1fr;gap:13px}.profileHero .profileFollow{grid-column:1/-1;width:100%}.profileAvatar{width:54px;height:54px;border-radius:18px;font-size:24px}.profileItemGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profileAccordion summary{padding:15px}.profileAccordionBody{padding:0 12px 14px}}

/* Profil type Pinterest : grille masonry réelle, sans lignes blanches */
#profilePublicContent,#profileOwnContent{margin-top:8px}
.profileAccordion{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.profileAccordion summary{background:#fff;border:1px solid #e3ded5;border-radius:16px;padding:14px 16px;position:sticky;top:0;z-index:3;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.profileAccordionBody{border:0;padding:0 2px 4px}
.profileAccordionBody .profileItemGrid{padding-top:16px}
.profileAccordion[open] summary{margin-bottom:0}
.profileAccordion summary span:before{width:6px;height:6px}
@media(max-width:900px){.profileItemGrid{column-count:3}}
@media(max-width:700px){#profileModal .profileBox{width:96vw;max-height:92vh;padding:24px 16px 22px;border-radius:24px}.profileHero{grid-template-columns:1fr auto 1fr;padding-bottom:20px}.profileHero .profileAvatar{width:72px;height:72px;font-size:30px;margin-bottom:-58px;transform:translateY(38px);border-width:5px}.profileHeroText h2{font-size:34px}.profileHero .profileFollow{padding:8px 12px;font-size:11px}.profileStats{margin-top:48px!important}.profileItemGrid{column-count:2;column-gap:10px}.profileItemGrid .card{margin-bottom:10px}.profileAccordion summary{position:static}}
@media(max-width:430px){.profileItemGrid{column-count:2}.profileHero{grid-template-columns:1fr}.profileHero .profileAvatar{grid-column:1;grid-row:1;justify-self:center;margin-bottom:-50px}.profileHeroText{grid-column:1;grid-row:2}.profileHero .profileFollow{grid-column:1;grid-row:3;justify-self:center;margin-top:12px}}

/* ===== PROFIL — interface sociale façon Pinterest ===== */
#profileModal .profileBox{width:min(1160px,95vw);max-height:92vh;padding:34px 38px 30px;border-radius:28px;background:#faf9f7;overflow:auto}
#profileModal .profileHero{position:relative;display:grid;grid-template-columns:110px 1fr auto;align-items:center;gap:24px;padding:18px 6px 26px;border-bottom:1px solid #e6e1d9;text-align:left}
#profileModal .profileAvatar{grid-column:1;grid-row:1;width:92px;height:92px;border-radius:50%;font-size:38px;border:0;box-shadow:none;background:#171717}
#profileModal .profileHeroText{grid-column:2;display:block;text-align:left}
#profileModal .profileHeroText .eyebrow{font-size:10px;letter-spacing:.16em;margin:0 0 5px;opacity:.48}
#profileModal .profileHeroText h2{font-size:clamp(34px,5vw,56px);line-height:.95;margin:0;letter-spacing:-.045em}
#profileModal .profileIdentity{margin:9px 0 0!important;font-size:12px!important;opacity:.5}
#profileModal .profileEmail{display:none}
#profileModal .profileHero .profileFollow{grid-column:3;justify-self:end;align-self:center;padding:12px 20px;border-radius:999px;font-size:12px}
#profileModal .profileStats{display:flex;justify-content:flex-start;gap:0;width:max-content;max-width:100%;margin:20px 0 26px!important;border:1px solid #e3ded5;border-radius:14px;background:#fff;overflow:hidden}
#profileModal .profileStats>div{min-width:150px;padding:11px 18px;justify-content:flex-start;border-right:1px solid #e3ded5}
#profileModal .profileStats>div:last-child{border-right:0}
#profileModal .profileStats strong{font-size:17px}
#profileModal .profileTabs{display:flex;gap:5px;border-bottom:1px solid #e4dfd7;margin:0 0 22px;padding:0 2px}
#profileModal .profileTab{border:0;background:transparent;color:#777;padding:11px 16px 13px;border-radius:10px 10px 0 0;font:600 11px inherit;cursor:pointer;position:relative}
#profileModal .profileTab:hover{background:#f0ede8;color:#171717}
#profileModal .profileTab.active{color:#171717}
#profileModal .profileTab.active:after{content:"";position:absolute;left:14px;right:14px;bottom:-1px;height:2px;background:#171717;border-radius:2px}
#profileModal .profilePaneTitle{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 2px 16px}
#profileModal .profilePaneTitle h3{margin:0;font:500 25px/1.05 "Playfair Display",serif}
#profileModal .profilePaneTitle p{margin:5px 0 0;font-size:11px;opacity:.48}
#profileModal .profilePaneTitle>span{font-size:9px;letter-spacing:.12em;opacity:.42}
#profileModal .profileItemGrid{display:block!important;column-count:4;column-gap:15px;padding:0!important}
#profileModal .profileItemGrid .card{display:inline-block!important;width:100%!important;margin:0 0 15px!important;break-inside:avoid;-webkit-column-break-inside:avoid;vertical-align:top;border-radius:12px;overflow:hidden;background:#f0ede8}
#profileModal .profileItemGrid .card img{display:block;width:100%;height:auto!important;object-fit:contain!important}
#profileModal .profileSearch{margin:0 0 16px!important;background:#fff!important;border:1px solid #e1dcd4!important;border-radius:11px!important;padding:10px 12px!important;font-size:11px!important}
#profileModal .profileEmpty{padding:34px 10px!important;text-align:center;opacity:.45}
#profileModal .profileFooter{margin-top:26px!important;padding-top:18px!important;border-top:1px solid #e6e1d9!important}
#profileModal .profileRequestApprove,#profileModal .profileRequestReject{font-size:10px}
@media(max-width:900px){#profileModal .profileItemGrid{column-count:3}}
@media(max-width:650px){#profileModal .profileBox{width:96vw;padding:24px 18px;border-radius:22px}#profileModal .profileHero{grid-template-columns:64px 1fr;gap:15px;padding:8px 0 20px}#profileModal .profileAvatar{width:64px;height:64px;font-size:27px}#profileModal .profileHeroText{grid-column:2}#profileModal .profileHeroText h2{font-size:32px}#profileModal .profileHero .profileFollow{grid-column:1/-1;width:100%;justify-self:stretch}#profileModal .profileStats{width:100%;margin-top:17px!important}#profileModal .profileStats>div{min-width:0;flex:1}#profileModal .profileTabs{overflow:auto}#profileModal .profileTab{white-space:nowrap;padding-inline:13px}#profileModal .profileItemGrid{column-count:2;column-gap:10px}#profileModal .profileItemGrid .card{margin-bottom:10px!important}}

/* ===== PROFIL — correctif final : propre, lisible, sans avatar géant ===== */
#profileModal .profileBox{
  width:min(1080px,94vw);
  max-height:90vh;
  padding:30px 34px 26px;
  border-radius:26px;
  background:#faf9f7;
  overflow:auto;
}
#profileModal .profileHero{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:8px 4px 22px;
  border-bottom:1px solid #e5e0d8;
  text-align:left;
}
#profileModal .profileAvatar{
  grid-column:1;
  grid-row:1;
  width:58px;
  height:58px;
  margin:0;
  transform:none;
  border-radius:18px;
  background:#171717;
  color:#fff;
  font:500 24px/1 "Playfair Display",serif;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  box-shadow:0 6px 18px rgba(23,23,23,.12);
}
#profileModal .profileHeroText{grid-column:2;text-align:left;display:block;min-width:0}
#profileModal .profileHeroText .eyebrow{font-size:9px;letter-spacing:.18em;margin:0 0 5px;opacity:.45}
#profileModal .profileHeroText h2{font-size:clamp(30px,4vw,48px);line-height:1;margin:0;letter-spacing:-.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#profileModal .profileIdentity{margin:7px 0 0!important;font-size:11px!important;opacity:.48}
#profileModal .profileHero .profileFollow{
  grid-column:3;
  justify-self:end;
  align-self:center;
  min-width:112px;
  padding:10px 17px;
  border-radius:999px;
  background:#171717;
  color:#fff;
  border:0;
  font-size:11px;
  font-weight:600;
  cursor:pointer;
}
#profileModal .profileHero .profileFollow:hover{transform:translateY(-1px);opacity:.9}
#profileModal .profileHero .profileFollow.is-following{background:#fff;color:#171717;border:1px solid #d8d2c8}
#profileModal .profileStats{
  display:flex;
  width:min(440px,100%);
  margin:18px auto 24px!important;
  border:1px solid #dfd9d0;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}
#profileModal .profileStats>div{
  flex:1;
  min-width:0;
  padding:12px 16px;
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:6px;
  border:0;
  border-right:1px solid #e7e1d9;
}
#profileModal .profileStats>div:last-child{border-right:0}
#profileModal .profileStats strong{font-size:17px;line-height:1;font-weight:650}
#profileModal .profileStats span{font-size:10px;opacity:.45}
#profileModal .profilePublicStatus{margin:0 0 12px!important;text-align:center;font-size:10px;opacity:.55}
#profileModal .profileTabs{
  display:flex;
  gap:8px;
  border-bottom:1px solid #e2ddd5;
  margin:0 0 20px;
  padding:0 0 8px;
}
#profileModal .profileTab{
  border:1px solid transparent;
  background:transparent;
  color:#777;
  padding:9px 17px;
  border-radius:999px;
  font:600 11px/1 inherit;
  cursor:pointer;
}
#profileModal .profileTab:hover{background:#eeeae4;color:#171717}
#profileModal .profileTab.active{background:#171717;color:#fff;border-color:#171717}
#profileModal .profileTab.active:after{display:none}
#profileModal .profilePaneTitle{margin:0 2px 14px;align-items:center}
#profileModal .profilePaneTitle h3{font-size:24px}
#profileModal .profilePaneTitle p{font-size:10px}
#profileModal .profilePaneTitle>span{font-size:8px;letter-spacing:.14em;padding:6px 9px;border-radius:999px;background:#eeeae4;opacity:1;color:#6d675f}
#profileModal .profileItemGrid{display:block!important;column-count:4;column-gap:14px;padding:0!important}
#profileModal .profileItemGrid .card{
  display:inline-block!important;
  width:100%!important;
  margin:0 0 14px!important;
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
  vertical-align:top;
  border-radius:12px;
  overflow:hidden;
  background:#eeeae4;
}
#profileModal .profileItemGrid .card img{display:block;width:100%;height:auto!important;object-fit:cover!important}
#profileModal .profileItemGrid .privatePreviewVisual{min-height:150px}
#profileModal .profileEmpty{padding:42px 10px!important;text-align:center;opacity:.45}
#profileModal .profileFooter{margin-top:24px!important;padding-top:16px!important;border-top:1px solid #e5e0d8!important}
@media(max-width:900px){#profileModal .profileItemGrid{column-count:3}}
@media(max-width:650px){
  #profileModal .profileBox{width:95vw;padding:22px 16px;border-radius:22px}
  #profileModal .profileHero{grid-template-columns:52px minmax(0,1fr);gap:13px;padding-top:4px}
  #profileModal .profileAvatar{width:48px;height:48px;border-radius:14px;font-size:20px}
  #profileModal .profileHero .profileFollow{grid-column:1/-1;width:100%;justify-self:stretch;margin-top:3px}
  #profileModal .profileHeroText h2{font-size:30px}
  #profileModal .profileStats{width:100%;margin-top:16px!important}
  #profileModal .profileItemGrid{column-count:2;column-gap:9px}
  #profileModal .profileItemGrid .card{margin-bottom:9px!important}
}

/* ===== PROFIL SOCIAL — correctif final 24/08/2026 ===== */
#profileModal .profileHero{grid-template-columns:78px minmax(0,1fr) auto;gap:20px;align-items:center;padding:10px 4px 24px}
#profileModal .profileAvatar{width:68px;height:68px;border-radius:50%;overflow:hidden;background:#171717;color:#fff;display:flex;align-items:center;justify-content:center;font:500 28px/1 "Playfair Display",serif;box-shadow:none}
#profileModal .profileAvatar img{width:100%;height:100%;object-fit:cover;display:block}
#profileModal .profileHeroText h2{font-size:clamp(30px,4vw,50px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#profileModal .profileBio{margin:7px 0 0!important;font-size:11px!important;line-height:1.45!important;color:#45413c;max-width:620px}
#profileModal .profileMeta{margin:5px 0 0!important;font-size:10px!important;color:#8a847b;min-height:14px}
#profileModal .profileHeroActions{display:flex;align-items:center;gap:8px;justify-self:end}
#profileModal .profileEditBtn{border:1px solid #d8d2c8;background:#fff;color:#171717;border-radius:999px;padding:10px 15px;font:600 11px/1 inherit;cursor:pointer;white-space:nowrap}
#profileModal .profileEditBtn:hover{background:#f1eee8}
#profileModal .profileHero .profileFollow{min-width:118px}
#profileModal .profileStats{width:min(430px,100%);margin:20px auto 25px!important;display:flex;align-items:stretch;border:1px solid #e0dbd3;border-radius:15px;background:#fff;overflow:hidden}
#profileModal .profileStats>div{flex:1;min-height:48px;padding:10px 16px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-right:1px solid #e5e0d8}
#profileModal .profileStats>div:last-child{border-right:0}
#profileModal .profileStats strong{font-size:18px!important;line-height:1;font-weight:700;color:#171717}
#profileModal .profileStats span{font-size:10px!important;line-height:1;color:#77716a;opacity:1}
#profileModal .profilePublicStatus:empty{display:none}

/* Édition du profil */
#editProfileModal{z-index:95;background:rgba(12,12,14,.34);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#editProfileModal .editProfileBox{width:min(620px,92vw);padding:32px;border-radius:26px;background:#faf9f7}
#editProfileModal h2{margin:4px 0 22px;font:500 34px/1.05 "Playfair Display",serif}
.editProfileForm{display:grid;gap:15px}
.editProfileForm label{display:grid;gap:7px;font-size:11px;font-weight:600;color:#4f4a43}
.editProfileForm input,.editProfileForm textarea{box-sizing:border-box;width:100%;border:1px solid #ddd7cf;background:#fff;border-radius:12px;padding:11px 12px;font:inherit;font-size:12px;outline:none;resize:vertical}
.editProfileForm input:focus,.editProfileForm textarea:focus{border-color:#aaa298}
.editProfileTwoCols{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.profilePhotoPicker{position:relative;display:grid!important;grid-template-columns:64px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:12px;border:1px solid #e1dcd4;border-radius:15px;background:#fff;cursor:pointer}
.profilePhotoPicker>span{grid-column:2;grid-row:1;font-size:11px}
.profilePhotoPicker small{grid-column:2;grid-row:2;font-size:9px;opacity:.45;font-weight:400}
.profilePhotoPreview{grid-column:1;grid-row:1/3;width:58px;height:58px;border-radius:50%;background:#171717;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px}
.profilePhotoPicker input{position:absolute;inset:0;opacity:0;cursor:pointer}

@media(max-width:650px){
  #profileModal .profileHero{grid-template-columns:54px minmax(0,1fr);gap:13px}
  #profileModal .profileAvatar{width:54px;height:54px}
  #profileModal .profileHeroActions{grid-column:1/-1;justify-self:stretch;display:grid;grid-template-columns:1fr 1fr}
  #profileModal .profileHeroActions button{width:100%}
  #profileModal .profileHeroText h2{font-size:30px}
  #profileModal .profileStats{width:100%}
  .editProfileTwoCols{grid-template-columns:1fr}
}

/* Centre de notifications */
.notificationBtn{position:relative;min-width:44px;padding:10px 13px;font-size:18px;line-height:1}
.notificationBadge{position:absolute;right:5px;top:3px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#171717;color:#fff;font:700 9px/16px Arial,sans-serif;text-align:center}
.notificationsBox{width:min(620px,94vw);max-height:82vh;overflow:auto;padding:28px}
.notificationsHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #e5e0d8;padding-bottom:18px;margin-bottom:10px}
.notificationsHeader h2{margin:0 0 6px;font-size:38px}.notificationsHeader p{margin:0;opacity:.52}.notificationsList{display:grid;gap:2px}
.notificationRow{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:14px 8px;border-bottom:1px solid #eeeae3;border-radius:12px}
.notificationRow.unread{background:#f1eee8}.notificationAvatar{width:38px;height:38px;border-radius:50%;background:#171717;color:#fff;display:flex;align-items:center;justify-content:center;font-family:"Playfair Display",serif;font-size:17px;overflow:hidden}.notificationAvatar img{width:100%;height:100%;object-fit:cover}
.notificationText strong{display:block;font-size:12px}.notificationText small{display:block;margin-top:4px;font-size:10px;opacity:.48}.notificationActions{display:flex;gap:6px}.notificationActions button{border:0;border-radius:999px;padding:8px 11px;font:600 10px inherit;cursor:pointer}.notificationApprove{background:#171717;color:#fff}.notificationReject{background:#eeeae3;color:#171717}
.privateAccessPanel{display:flex;align-items:center;gap:16px;border:1px solid #e3ded5;background:#fff;border-radius:18px;padding:18px;margin-top:16px}.privateAccessIcon{width:44px;height:44px;border-radius:50%;background:#171717;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px}.privateAccessPanel h3{margin:0 0 4px;font-size:17px}.privateAccessPanel p{margin:0;opacity:.52;font-size:11px;line-height:1.5}.privateAccessPanel .profileFollow{margin-left:auto;white-space:nowrap}
@media(max-width:650px){.notificationsHeader{flex-direction:column}.privateAccessPanel{align-items:flex-start;flex-wrap:wrap}.privateAccessPanel .profileFollow{margin-left:60px}}

/* =========================================================
   FINITIONS V6 — clarté Pinterest + superposition des fenêtres
   ========================================================= */

/* Le centre de notifications reprend le langage de la navigation principale. */
.notificationBtn{
  position:relative;
  width:44px;
  min-width:44px;
  height:44px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #ddd7cf!important;
  background:#fff!important;
  color:#171717!important;
  border-radius:999px;
  box-sizing:border-box;
}
.notificationBellIcon{width:19px;height:19px;display:block;}
.notificationBadge{right:-2px;top:-3px;min-width:17px;height:17px;line-height:17px;padding:0 4px;font-size:9px;box-shadow:0 0 0 2px #f7f4ee;}
.notificationBtn:hover{background:#f0ede8!important;transform:translateY(-1px);}

/* Accueil : informations lisibles immédiatement, sans dépendre du survol. */
.boards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px 18px;
  align-items:start;
}
.board.pinterestBoardCard{
  min-height:0;
  height:auto;
  background:transparent;
  border-radius:14px;
  overflow:visible;
  cursor:pointer;
  box-shadow:none;
  transition:transform .22s ease;
}
.board.pinterestBoardCard:hover{transform:translateY(-3px);box-shadow:none;}
.boardImageWrap{
  position:relative;
  width:100%;
  height:280px;
  overflow:hidden;
  border-radius:14px;
  background:#e8e4dc;
}
.boardImageWrap img{position:static!important;width:100%!important;height:100%!important;display:block;object-fit:cover;transition:transform .45s cubic-bezier(.2,.7,.2,1),filter .35s ease;}
.board.pinterestBoardCard:hover .boardImageWrap img{transform:scale(1.035);filter:brightness(.92);}
.boardImagePlaceholder{display:flex;align-items:center;justify-content:center;color:#171717;font:500 40px/1 "Playfair Display",serif;}
.boardInfo{padding:12px 3px 0;}
.boardInfo .boardTitle{font:500 clamp(22px,2vw,30px)/1.05 "Playfair Display",serif;color:#171717;letter-spacing:-.02em;}
.boardInfo .boardDesc{font-size:11px;line-height:1.45;color:#716b63;margin:7px 0 0;}
.boardMeta{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px;font-size:9px;letter-spacing:.05em;text-transform:uppercase;color:#969087;}
.boardMeta span+span{position:relative;padding-left:12px;}
.boardMeta span+span:before{content:"";position:absolute;left:0;top:50%;width:3px;height:3px;border-radius:50%;background:#b5afa7;transform:translateY(-50%);}
.boardShade{display:none!important;}

/* Notifications : aucune superposition, même avec de longs pseudos/messages. */
.notificationsBox{width:min(700px,94vw);max-height:84vh;padding:30px 30px 24px;}
.notificationsHeader{align-items:center;gap:22px;padding-bottom:20px;margin-bottom:6px;}
.notificationsHeader>div{min-width:0;}
.notificationsHeader h2{font-size:42px;line-height:1;margin-bottom:7px;}
.notificationsHeader p{font-size:11px;line-height:1.45;max-width:430px;}
.notificationsHeader #markNotificationsRead{flex:0 0 auto;white-space:nowrap;}
.notificationsList{display:flex;flex-direction:column;gap:0;}
.notificationRow{grid-template-columns:42px minmax(0,1fr) auto;gap:12px;min-height:66px;box-sizing:border-box;padding:12px 8px;}
.notificationText{min-width:0;}
.notificationText strong{font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;}
.notificationText small{font-size:9px;line-height:1.3;}
.notificationActions{flex:0 0 auto;align-self:center;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;}
.notificationActions button{white-space:nowrap;}

/* Les fenêtres s'empilent selon l'action : profil > association quand on ouvre un profil,
   puis association > profil quand on clique une association depuis le profil. */
.modal{isolation:isolate;}

@media(max-width:900px){
  .boards{grid-template-columns:repeat(2,minmax(0,1fr));}
  .boardImageWrap{height:250px;}
}
@media(max-width:640px){
  .boards{grid-template-columns:1fr;gap:22px;}
  .boardImageWrap{height:260px;}
  .notificationsBox{width:94vw;padding:24px 18px 18px;}
  .notificationsHeader{align-items:flex-start;flex-direction:column;gap:12px;}
  .notificationsHeader #markNotificationsRead{width:100%;}
  .notificationRow{grid-template-columns:38px minmax(0,1fr);align-items:start;padding:13px 4px;}
  .notificationAvatar{width:36px;height:36px;}
  .notificationActions{grid-column:2;justify-content:flex-start;margin-top:2px;}
  .notificationActions button{font-size:10px;padding:8px 12px;}
}


/* Réseau : listes d'abonnés / abonnements, cohérentes avec le profil. */
.profileStats>div[role="button"]{cursor:pointer;transition:background .18s ease,transform .18s ease;}
.profileStats>div[role="button"]:hover{background:#f6f3ee;transform:translateY(-1px);}
.connectionsBox{width:min(560px,94vw);max-height:82vh;overflow:auto;padding:30px;}
.connectionsHeader{padding:2px 2px 18px;border-bottom:1px solid #e5e0d8;margin-bottom:4px;}
.connectionsHeader h2{margin:0 0 7px;font:500 clamp(32px,5vw,44px)/1 "Playfair Display",serif;letter-spacing:-.035em;}
.connectionsHeader p:last-child{margin:0;font-size:11px;line-height:1.45;color:#817b73;}
.connectionsList{display:flex;flex-direction:column;gap:2px;}
.connectionRow{width:100%;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:13px;padding:12px 8px;border:0;border-bottom:1px solid #eeeae3;background:transparent;text-align:left;font:inherit;color:#171717;cursor:pointer;border-radius:13px;}
.connectionRow:hover{background:#f2efe9;}
.connectionAvatar{width:44px;height:44px;border-radius:50%;background:#171717;color:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;font:500 17px/1 "Playfair Display",serif;}
.connectionAvatar img{width:100%;height:100%;object-fit:cover;display:block;}
.connectionBody{min-width:0;display:grid;gap:4px;}
.connectionBody strong{font-size:12px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.connectionBody small{font-size:9px;line-height:1.3;color:#8a847c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.notificationActorButton{border:0;padding:0;cursor:pointer;appearance:none;-webkit-appearance:none;}
.notificationActorButton:hover{transform:scale(1.04);box-shadow:0 5px 16px rgba(0,0,0,.12);}
.notificationActorButton:disabled{cursor:default;opacity:1;}
@media(max-width:650px){.connectionsBox{width:94vw;padding:24px 18px 18px;}.connectionRow{grid-template-columns:40px minmax(0,1fr);padding:11px 4px}.connectionAvatar{width:38px;height:38px;}}

@media(max-width:700px){
  header.is-scrolled h1{font-size:24px}
  header.is-scrolled .headerActions{gap:4px}
  header.is-scrolled .headerActions .ghost,header.is-scrolled .headerActions .add{padding:8px 10px;font-size:11px}
}

/* =========================================================
   V7 — actions compactes
   « Modifier / Déplacer / Dupliquer » doivent rester discrets
   et ne pas prendre la moitié de la carte.
   ========================================================= */
.cardActions{
  gap:4px !important;
  padding:4px !important;
  border-radius:11px !important;
}
.cardActions .edit{
  height:27px !important;
  min-height:27px !important;
  padding:0 7px !important;
  font-size:9px !important;
  letter-spacing:-.01em !important;
}
.cardActions .delete{
  width:27px !important;
  height:27px !important;
  min-height:27px !important;
  font-size:16px !important;
}

/* En mode défilement, l'en-tête devient vraiment compact façon Pinterest. */
header.is-scrolled{
  padding-top:9px !important;
  padding-bottom:9px !important;
  gap:14px !important;
}
header.is-scrolled h1{
  font-size:22px !important;
  line-height:1 !important;
}
header.is-scrolled .siteBrandLogo{width:34px !important;height:34px !important;border-radius:9px !important;margin-top:0 !important}
header.is-scrolled .brandTitleRow{gap:10px !important}
header.is-scrolled .headerActions{gap:5px !important}
header.is-scrolled .headerActions .ghost,
header.is-scrolled .headerActions .add{
  padding:8px 10px !important;
  font-size:11px !important;
}
header.is-scrolled .searchInput{
  height:34px !important;
  padding:0 12px !important;
  font-size:11px !important;
}

@media(max-width:700px){
  .cardActions .edit{height:25px !important;min-height:25px !important;padding:0 6px !important;font-size:8px !important}
  .cardActions .delete{width:25px !important;height:25px !important;min-height:25px !important;font-size:15px !important}
  header.is-scrolled h1{font-size:19px !important}
}

/* V8 — vraie grille Pinterest : les cartes remontent immédiatement sous
   la précédente, sans lignes horizontales ni grands trous verticaux. */
.boards,
.masonry,
.searchItemGrid{
  display:block !important;
  column-count:3;
  column-gap:18px;
  column-fill:balance;
}
.boards > .board,
.masonry > .card,
.searchItemGrid > .card{
  display:inline-block;
  width:100%;
  vertical-align:top;
  margin:0 0 18px;
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
  page-break-inside:avoid;
}
/* Les images des associations gardent leur proportion naturelle : c'est ce
   qui permet à Pinterest de supprimer réellement les espaces blancs. */
.masonry > .card img,
.searchItemGrid > .card img{
  height:auto !important;
  object-fit:contain;
}

@media(max-width:1050px){
  .boards,
  .masonry,
  .searchItemGrid{column-count:2;}
}
@media(max-width:700px){
  .boards,
  .masonry,
  .searchItemGrid{column-count:2;column-gap:12px;}
  .boards > .board,
  .masonry > .card,
  .searchItemGrid > .card{margin-bottom:12px;}
}
@media(max-width:450px){
  .boards,
  .masonry,
  .searchItemGrid{column-count:1;}
}

/* Quand on revient d'un tableau, le document d'accueil reste exactement
   sous la fenêtre : aucune transition de layout ne doit le déplacer. */
.board-open #boards,
.board-open #searchResults{visibility:visible;}

/* V9 — finition visuelle */
.brandTitleRow{display:flex;align-items:flex-start;gap:14px;min-width:0}
.siteBrandLogo{width:42px;height:42px;object-fit:cover;border-radius:11px;flex:0 0 auto;margin-top:28px;box-shadow:0 5px 16px rgba(23,23,23,.10);filter:grayscale(.82) contrast(.92);transition:transform .35s cubic-bezier(.2,.8,.2,1),filter .35s ease,box-shadow .35s ease}
.brandButton:hover .siteBrandLogo{transform:translateY(-2px) rotate(-1deg);filter:grayscale(.35) contrast(.98);box-shadow:0 8px 22px rgba(23,23,23,.13)}
header.is-scrolled .siteBrandLogo{width:30px;height:30px;border-radius:8px;margin-top:0}
header.is-scrolled .brandTitleRow{gap:9px}

/* Lecteur : contrôles façon Spotify, parfaitement lisibles sur le fond sombre */
.player .playerControls{display:flex;align-items:center;gap:7px;flex-shrink:0}
.player .playerControls button{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#f7f4ee!important;
  background:rgba(247,244,238,.10)!important;
  box-shadow:none!important;
  cursor:pointer;
  transition:background .18s ease,transform .18s ease,opacity .18s ease;
}
.player .playerControls button:hover{background:rgba(247,244,238,.19)!important;transform:scale(1.045)}
.player .playerControls button:focus-visible{outline:2px solid rgba(247,244,238,.8);outline-offset:2px}
.player .playerControls button svg,
.player .playerControls button svg path,
.player .playerControls button svg *{
  width:18px!important;height:18px!important;
  fill:#f7f4ee!important;
  stroke:none!important;
  color:#f7f4ee!important;
  opacity:1!important;
}
.player .playerControls #prevTrack,
.player .playerControls #nextTrack{background:transparent!important}
.player .playerControls #prevTrack:hover,
.player .playerControls #nextTrack:hover{background:rgba(247,244,238,.10)!important}
.player .playerControls #shufflePlayer{background:transparent!important;opacity:.72}
.player .playerControls #shufflePlayer:hover{background:rgba(247,244,238,.10)!important;opacity:1}
.player .playerControls #shufflePlayer.active{background:rgba(247,244,238,.16)!important;color:#fff!important;opacity:1}
.player .playerControls #playPause{
  width:42px!important;height:42px!important;
  min-width:42px!important;min-height:42px!important;
  background:#f7f4ee!important;
  color:#171717!important;
  box-shadow:0 2px 10px rgba(0,0,0,.22)!important;
}
.player .playerControls #playPause:hover{background:#fff!important;transform:scale(1.055)}
.player .playerControls #playPause svg,
.player .playerControls #playPause svg path,
.player .playerControls #playPause svg *{
  width:17px!important;height:17px!important;
  fill:#171717!important;
  color:#171717!important;
  stroke:none!important;
}
.player .seekWrap{gap:9px}
.player .seekWrap input{
  appearance:none!important;-webkit-appearance:none!important;
  height:5px!important;
  border-radius:999px!important;
  background:rgba(247,244,238,.28)!important;
  outline:none!important;
  accent-color:#f7f4ee;
}
.player .seekWrap input::-webkit-slider-runnable-track{height:5px;border-radius:999px;background:rgba(247,244,238,.28)}
.player .seekWrap input::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:13px;height:13px;margin-top:-4px;border:0;border-radius:50%;background:#f7f4ee;box-shadow:0 1px 4px rgba(0,0,0,.28);
}
.player .seekWrap input::-moz-range-track{height:5px;border-radius:999px;background:rgba(247,244,238,.28)}
.player .seekWrap input::-moz-range-progress{height:5px;border-radius:999px;background:#f7f4ee}
.player .seekWrap input::-moz-range-thumb{width:13px;height:13px;border:0;border-radius:50%;background:#f7f4ee}
.player #closePlayer{color:#f7f4ee!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:22px!important}
.player #closePlayer:hover{background:rgba(247,244,238,.10)!important}

/* Le slogan remplace l'ancien surtitre et n'est plus répété sous le nom. */
.brandTitleRow .eyebrow{max-width:430px;line-height:1.25;letter-spacing:.08em;text-transform:none;font-size:10px;opacity:.52;margin:0 0 9px}

/* Ouverture — animation présente mais volontairement courte.
   Les animations de fermeture restent exactement celles de la V8 ci-dessus. */
#boardView.view{animation:boardOverlayIn .18s ease both}
#boardView .viewShell{animation:boardPanelIn .26s cubic-bezier(.2,.8,.2,1) both}
.artworkModal{animation:artworkOverlayIn .16s ease both}
.artworkBox{animation:artworkPanelIn .28s cubic-bezier(.2,.8,.2,1) both}
@keyframes boardOverlayIn{from{opacity:0}to{opacity:1}}
@keyframes boardPanelIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes artworkOverlayIn{from{opacity:0}to{opacity:1}}
@keyframes artworkPanelIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Déploiement des fonctions / accordéons */
.associationSection{overflow:hidden;transition:border-color .3s ease,box-shadow .3s ease,background .3s ease}
.associationSection summary{transition:padding .32s cubic-bezier(.2,.8,.2,1),background .25s ease}
.associationSection summary i{transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.associationSection[open] summary i{transform:rotate(180deg)}
.associationSection[open] .associationSectionBody{animation:accordionReveal .42s cubic-bezier(.16,1,.3,1) both;transform-origin:top center}
@keyframes accordionReveal{from{opacity:0;transform:translateY(-8px);clip-path:inset(0 0 100% 0)}60%{opacity:1}to{opacity:1;transform:translateY(0);clip-path:inset(0 0 0 0)}}

@media(max-width:700px){
  .siteBrandLogo{width:34px;height:34px;border-radius:9px;margin-top:23px}
  .brandTitleRow{gap:10px}
  .player .playerControls button{width:29px;height:29px}
  .player .playerControls #playPause{width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* V12 — finition de l'en-tête et du lecteur
   Ces règles finales priment sur les anciennes versions de style. */

/* En-tête : le titre, le logo et les actions partagent une ligne de référence
   nette. Le logo reste calé sur le bas du titre et non sur le slogan. */
header:not(.is-scrolled){
  align-items:flex-end !important;
}
header:not(.is-scrolled) .brandTitleRow{
  align-items:flex-end !important;
}
header:not(.is-scrolled) .siteBrandLogo{
  margin-top:0 !important;
  margin-bottom:3px !important;
}
header:not(.is-scrolled) .headerActions{
  align-items:center !important;
  transform:translateY(-1px);
}
header:not(.is-scrolled) .searchInput{
  align-self:center !important;
}

/* En mode Pinterest, tout est centré sur la même ligne : plus aucun
   décalage du logo/titre lorsque l'en-tête se compacte. */
header.is-scrolled{
  align-items:center !important;
}
header.is-scrolled .brandTitleRow{
  align-items:center !important;
}
header.is-scrolled .siteBrandLogo{
  margin:0 !important;
}
header.is-scrolled .headerActions{
  align-items:center !important;
  transform:none !important;
}
header.is-scrolled .searchInput{
  align-self:center !important;
}

/* Lecteur bas de page : contraste forcé, indépendamment de toutes les
   anciennes règles. Les pictogrammes sont toujours blancs sur fond sombre. */
#player .playerControls button{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  background:rgba(255,255,255,.10) !important;
  border:0 !important;
}
#player .playerControls button svg,
#player .playerControls button svg path,
#player .playerControls button svg polygon,
#player .playerControls button svg rect,
#player .playerControls button svg circle{
  fill:#ffffff !important;
  stroke:#ffffff !important;
  color:#ffffff !important;
  opacity:1 !important;
}
#player .playerControls #prevTrack,
#player .playerControls #nextTrack,
#player .playerControls #shufflePlayer{
  background:transparent !important;
  color:#ffffff !important;
}
#player .playerControls #shufflePlayer.active{
  background:rgba(255,255,255,.18) !important;
  color:#ffffff !important;
}
#player .playerControls #playPause{
  background:#ffffff !important;
  color:#171717 !important;
  -webkit-text-fill-color:#171717 !important;
  box-shadow:0 2px 12px rgba(0,0,0,.28) !important;
}
#player .playerControls #playPause svg,
#player .playerControls #playPause svg path,
#player .playerControls #playPause svg polygon,
#player .playerControls #playPause svg rect,
#player .playerControls #playPause svg circle{
  fill:#171717 !important;
  stroke:#171717 !important;
  color:#171717 !important;
}
#player .playerControls button:hover{
  background:rgba(255,255,255,.18) !important;
  color:#ffffff !important;
}
#player .playerControls #playPause:hover{
  background:#ffffff !important;
  color:#171717 !important;
}
#player #closePlayer{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
#player .seekWrap input::-webkit-slider-runnable-track{
  background:rgba(255,255,255,.30) !important;
}
#player .seekWrap input::-webkit-slider-thumb{
  background:#ffffff !important;
}
#player .seekWrap input::-moz-range-track{
  background:rgba(255,255,255,.30) !important;
}
#player .seekWrap input::-moz-range-progress{
  background:#ffffff !important;
}
#player .seekWrap input::-moz-range-thumb{
  background:#ffffff !important;
}

@media(max-width:700px){
  header:not(.is-scrolled) .siteBrandLogo{margin-bottom:2px !important}
}

/* V13 — lecteur fixe : contraste maximal et icônes explicites.
   Les boutons du lecteur inférieur restent lisibles même si un style global
   du site ou du navigateur tente d'appliquer une couleur sombre. */
#player{
  --player-ink:#f7f4ee;
  --player-bg:#171717;
}
#player .playerControls button{
  position:relative !important;
  color:var(--player-ink) !important;
  -webkit-text-fill-color:var(--player-ink) !important;
  fill:var(--player-ink) !important;
  stroke:var(--player-ink) !important;
  background:rgba(247,244,238,.12) !important;
  border:1px solid rgba(247,244,238,.20) !important;
  opacity:1 !important;
}
#player .playerControls button svg,
#player .playerControls button svg *{
  display:block !important;
  width:18px !important; height:18px !important;
  color:var(--player-ink) !important;
  fill:var(--player-ink) !important;
  stroke:var(--player-ink) !important;
  opacity:1 !important;
}
#player .playerControls #playPause{
  background:#f7f4ee !important;
  border-color:#f7f4ee !important;
  color:#171717 !important;
  -webkit-text-fill-color:#171717 !important;
}
#player .playerControls #playPause svg,
#player .playerControls #playPause svg *{
  color:#171717 !important;
  fill:#171717 !important;
  stroke:#171717 !important;
}
#player .playerControls #prevTrack,
#player .playerControls #nextTrack,
#player .playerControls #shufflePlayer{
  background:rgba(247,244,238,.10) !important;
}
#player .playerControls button:hover{
  background:rgba(247,244,238,.22) !important;
  border-color:rgba(247,244,238,.34) !important;
}
#player .playerControls #playPause:hover{background:#fff !important;}
#player .playerControls #shufflePlayer.active{
  background:rgba(247,244,238,.28) !important;
  border-color:rgba(247,244,238,.42) !important;
}
#player #closePlayer{
  color:#f7f4ee !important;
  -webkit-text-fill-color:#f7f4ee !important;
  background:rgba(247,244,238,.08) !important;
}
#player .seekWrap input{accent-color:#f7f4ee !important;}





/* Administration privée — lisible et cliquable */
.adminCard{max-width:760px;width:min(92vw,760px);background:#f7f4ee !important;color:#171717 !important;border:1px solid rgba(23,23,23,.10) !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;z-index:9999 !important;}
.adminCard h2,.adminCard h3,.adminCard p,.adminCard span,.adminCard strong,.adminCard .adminAccountEmail,.adminCard .adminAccountDate{color:#171717;}
.adminStats{display:flex;gap:12px;margin:18px 0}.adminStats>div{padding:18px 22px;border:1px solid rgba(23,23,23,.10);border-radius:18px;min-width:190px;background:#fff}.adminStats span{display:block;font-size:.85rem}.adminStats strong{display:block;font-size:2rem;margin-top:5px}.adminAccountsHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.adminAccountsList{max-height:52vh;overflow:auto;margin-top:12px;border-top:1px solid rgba(23,23,23,.10)}.adminAccountRow{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;padding:13px 4px;border:0;border-bottom:1px solid rgba(23,23,23,.10);background:transparent;color:#171717;text-align:left;cursor:pointer;border-radius:12px;transition:background .16s ease,transform .16s ease}.adminAccountRow:hover{background:rgba(23,23,23,.055);transform:translateY(-1px)}.adminAccountDate{font-size:.82rem;color:#666}.adminCard .ghost{color:#171717;background:#fff;border:1px solid rgba(23,23,23,.12)}
#profileAdminBtn{position:relative;z-index:50;pointer-events:auto;cursor:pointer}
@media(max-width:650px){.adminAccountRow{grid-template-columns:1fr}}

/* Responsive header — keep the full header readable on narrow desktop windows/tablets.
   The desktop layout stays unchanged; below 1100px the actions are allowed to
   wrap instead of overlapping the brand/search controls. */
@media (max-width:1100px) and (min-width:651px){
  header{
    align-items:center !important;
    gap:16px !important;
    padding-left:4vw !important;
    padding-right:4vw !important;
    flex-wrap:wrap !important;
  }
  .brandBlock{
    flex:1 1 300px !important;
    min-width:260px !important;
  }
  .headerActions{
    flex:1 1 420px !important;
    min-width:0 !important;
    flex-wrap:wrap !important;
    justify-content:flex-end !important;
  }
  .searchInput{
    width:min(100%,300px) !important;
    flex:1 1 210px !important;
    min-width:180px !important;
  }
  .headerActions .ghost,
  .headerActions .add{
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }
  h1{font-size:clamp(30px,4vw,46px) !important}
}

@media (max-width:850px) and (min-width:651px){
  header{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
    padding-top:14px !important;
    padding-bottom:14px !important;
  }
  .brandBlock{
    width:100% !important;
  }
  .headerActions{
    width:100% !important;
    justify-content:flex-start !important;
  }
  .searchInput{
    flex:1 1 260px !important;
    width:auto !important;
  }
}

/* Very narrow desktop/tablet windows: keep the brand and controls separated.
   This is intentionally distinct from the phone layout. */
@media (max-width:700px) and (min-width:651px){
  h1{font-size:30px !important}
  .brandTitleRow{gap:8px !important}
  .siteBrandLogo{width:34px !important;height:34px !important}
  .headerActions{gap:6px !important}
  .headerActions .ghost,
  .headerActions .add{padding:10px 12px !important;font-size:12px !important}
  .searchInput{min-width:100% !important;flex-basis:100% !important}
}

/* Keep the compact/scrolled header readable too. */
@media (max-width:1100px){
  header.is-scrolled{
    gap:8px !important;
  }
  header.is-scrolled .headerActions{
    flex-wrap:wrap !important;
  }
}


/* =========================================================
   Onboarding visiteurs — présentation avant connexion
   ========================================================= */
body.visitorLocked{overflow:hidden}
body.visitorLocked > header,
body.visitorLocked > main,
body.visitorLocked > .modal,
body.visitorLocked > .playerBar,
body.visitorLocked > footer{
  filter:blur(7px);
  pointer-events:none;
  user-select:none;
}
.visitorIntro{
  position:fixed;
  inset:0;
  z-index:10000;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(244,241,235,.42);
  overflow:hidden;
}
.visitorIntro.hidden{display:none}
.visitorIntroGlow{
  position:absolute;
  width:62vw;
  height:62vw;
  max-width:850px;
  max-height:850px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.88) 0%,rgba(255,255,255,.18) 52%,transparent 72%);
  animation:introGlow 7s ease-in-out infinite alternate;
}
@keyframes introGlow{
  from{transform:translate(-8%,-4%) scale(.94);opacity:.75}
  to{transform:translate(8%,5%) scale(1.04);opacity:1}
}
.visitorIntroCard{
  position:relative;
  width:min(760px,94vw);
  min-height:min(650px,calc(100vh - 48px));
  max-height:760px;
  padding:30px 34px 26px;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(23,23,23,.1);
  border-radius:30px;
  background:rgba(250,249,246,.92);
  box-shadow:0 30px 90px rgba(23,23,23,.18);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  overflow:hidden;
}
.visitorIntroTop,.introFooter{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.introKicker,.introCounter{
  font-size:11px;
  letter-spacing:.16em;
  font-weight:700;
  color:#77736d;
}
.introCounter{letter-spacing:.08em}
.introProgress{
  height:3px;
  margin:15px 0 0;
  border-radius:99px;
  background:#e5e1da;
  overflow:hidden;
}
.introProgress span{
  display:block;
  width:20%;
  height:100%;
  border-radius:99px;
  background:#171717;
  transition:width .45s cubic-bezier(.2,.8,.2,1);
}
.introSlides{
  position:relative;
  flex:1;
  min-height:0;
  display:grid;
  align-items:center;
}
.introSlide{
  grid-area:1/1;
  text-align:center;
  max-width:590px;
  margin:auto;
  opacity:0;
  transform:translateX(45px) scale(.98);
  pointer-events:none;
  transition:opacity .35s ease,transform .45s cubic-bezier(.2,.8,.2,1);
}
.introSlide.is-active{
  opacity:1;
  transform:translateX(0) scale(1);
  pointer-events:auto;
}
.introVisual{
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-bottom:18px;
  font-size:58px;
  font-family:"Playfair Display",serif;
}
.introVisual span{
  width:105px;
  height:105px;
  display:grid;
  place-items:center;
  border-radius:24px;
  background:#f0ece5;
  border:1px solid rgba(23,23,23,.07);
  box-shadow:0 12px 30px rgba(23,23,23,.07);
  animation:introFloat 4s ease-in-out infinite;
}
.introVisual span:nth-child(2){animation-delay:-1.2s}
.introVisual span:nth-child(3){animation-delay:-2.4s}
@keyframes introFloat{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-8px) rotate(1deg)}
}
.introSlide .eyebrow{margin:0 0 9px}
.introSlide h2{
  margin:0 auto 14px;
  font-family:"Playfair Display",serif;
  font-size:clamp(32px,5vw,48px);
  line-height:1.04;
  font-weight:500;
  letter-spacing:-.025em;
}
.introSlide p:not(.eyebrow){
  margin:0 auto;
  max-width:560px;
  color:#65615b;
  font-size:16px;
  line-height:1.65;
}
.introFooter{
  margin-top:20px;
  padding-top:20px;
  border-top:1px solid rgba(23,23,23,.09);
}
.introDots{display:flex;gap:7px;align-items:center}
.introDot{
  width:7px;height:7px;border:0;padding:0;border-radius:50%;
  background:#d0cbc3;transition:all .3s ease;
}
.introDot.is-active{width:24px;border-radius:99px;background:#171717}
.introActions{display:flex;gap:9px;align-items:center}
.introArrow,.introNext,.introPrimary,.introSecondary{
  border:0;
  cursor:pointer;
  font:inherit;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.introArrow{
  width:44px;height:44px;border-radius:50%;
  background:#eeebe5;color:#171717;font-size:18px;
}
.introNext{
  min-height:44px;padding:0 19px;border-radius:99px;
  background:#171717;color:white;font-weight:600;
}
.introArrow:hover,.introNext:hover,.introPrimary:hover,.introSecondary:hover{transform:translateY(-2px)}
.introAuthCta{
  text-align:center;
  padding-top:19px;
  animation:introCtaIn .45s ease both;
}
@keyframes introCtaIn{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}
.introAuthCta p{margin:0 0 12px;color:#65615b;font-size:14px}
.introAuthCta>div{display:flex;justify-content:center;gap:9px}
.introPrimary,.introSecondary{
  min-height:46px;padding:0 22px;border-radius:99px;font-weight:600;
}
.introPrimary{background:#171717;color:white}
.introSecondary{background:#eeebe5;color:#171717}
@media(max-width:640px){
  .visitorIntro{padding:12px}
  .visitorIntroCard{
    width:100%;min-height:calc(100vh - 24px);
    max-height:none;padding:22px 19px 18px;border-radius:23px;
  }
  .introSlides{padding:8px 0}
  .introVisual{min-height:135px;font-size:42px;margin-bottom:8px;gap:10px}
  .introVisual span{width:78px;height:78px;border-radius:19px}
  .introSlide h2{font-size:34px}
  .introSlide p:not(.eyebrow){font-size:15px;line-height:1.55}
  .introFooter{margin-top:12px;padding-top:15px}
  .introAuthCta{padding-top:13px}
  .introAuthCta>div{flex-direction:column}
  .introPrimary,.introSecondary{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .visitorIntroGlow,.introVisual span{animation:none}
  .introSlide,.introProgress span{transition:none}
}

/* L'authentification reste nette au-dessus de l'écran de présentation. */
body.visitorLocked > .modal{filter:none;pointer-events:auto;user-select:auto}
body.visitorLocked > #authModal{z-index:11000}

/* NAVIGATION ENTRE TABLEAUX — compacte uniquement lorsqu'un tableau est ouvert.
   La page d'accueil conserve EXACTEMENT la configuration de la V17. */
body.board-open header{
  padding:7px 5vw !important;
  align-items:center !important;
  gap:18px !important;
  box-shadow:0 6px 20px rgba(23,23,23,.055) !important;
}
body.board-open header .eyebrow,
body.board-open header .intro{display:none !important}
body.board-open header h1{
  font-size:clamp(24px,2.3vw,34px) !important;
  letter-spacing:-.025em;
}
body.board-open header .headerActions{gap:5px !important}
body.board-open header .add,
body.board-open header .ghost,
body.board-open header .back{
  padding:9px 12px !important;
  font-size:12px !important;
}
@media(max-width:700px){
  body.board-open header{
    padding:8px 5vw !important;
    align-items:center !important;
    flex-direction:row !important;
    gap:8px !important;
  }
  body.board-open header h1{font-size:24px !important}
  body.board-open header .headerActions{gap:4px !important}
}
@media(max-width:520px){
  body.board-open header{align-items:flex-start !important}
  body.board-open header .headerActions{flex-wrap:wrap;justify-content:flex-end}
  body.board-open header .add,
  body.board-open header .ghost,
  body.board-open header .back{padding:8px 10px !important;font-size:11px !important}
}


/* V22 — menu d'options compact pour les tableaux : les actions restent cachées
   jusqu'au clic sur les trois points. */
.boardMoreWrap{position:relative;display:none;align-items:center}
.boardMoreWrap:not(.hidden){display:flex}
.boardMoreBtn{width:44px;height:44px;padding:0!important;border-radius:50%!important;display:grid;place-items:center}
.boardMoreBtn span{font-size:18px;line-height:1;letter-spacing:2px;transform:translateY(-2px)}
.boardMoreMenu{position:absolute;right:0;top:calc(100% + 8px);min-width:170px;padding:6px;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:rgba(250,249,247,.97);box-shadow:0 18px 45px rgba(0,0,0,.14);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);opacity:0;visibility:hidden;transform:translateY(-5px) scale(.98);transform-origin:top right;transition:opacity .16s ease,transform .16s ease,visibility .16s ease;z-index:20}
.boardMoreWrap.is-open .boardMoreMenu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.boardMoreMenu .menuAction{display:block;width:100%;border:0;border-radius:9px;background:transparent;padding:10px 12px;text-align:left;font:inherit;font-size:12px;cursor:pointer}
.boardMoreMenu .menuAction:hover{background:#eeeae3}
.boardMoreMenu .menuDanger{color:#a00000}
.boardMoreMenu .menuDanger:hover{background:#f4e5e5}

/* V22 — seul le champ d'ajout est visible dans la fiche d'association.
   Aucun bloc supplémentaire ne modifie sa mise en page originale. */
.commentForm{display:flex;align-items:center;gap:8px;margin-top:16px;padding:5px 5px 5px 13px;border:1px solid rgba(0,0,0,.09);border-radius:999px;background:rgba(255,255,255,.62);box-shadow:0 5px 18px rgba(0,0,0,.035)}
.commentForm input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:7px 0;font:inherit;font-size:11px;color:#1d1d1f}
.commentForm input::placeholder{color:#777;opacity:.72}
.commentForm button{width:30px;height:30px;flex:0 0 30px;border:0;border-radius:50%;background:#1d1d1f;color:#fff;display:grid;place-items:center;font-size:13px;cursor:pointer;transition:transform .18s ease,opacity .18s ease}
.commentForm button:hover{transform:translateY(-1px)}
.commentForm button:disabled{opacity:.5;cursor:wait}
@media(max-width:640px){.boardMoreBtn{width:40px;height:40px}.boardMoreMenu{right:0;min-width:155px}.commentForm{margin-top:12px}}

/* Plein écran des associations — expérience immersive façon lecteur vidéo */
#artworkFullscreen svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#artworkFullscreen .hidden{display:none}
#artworkModal.is-fullscreen, #artworkModal.pseudo-fullscreen{padding:0;background:#111;backdrop-filter:none;-webkit-backdrop-filter:none;align-items:stretch;justify-content:stretch}
#artworkModal.is-fullscreen .artworkBox, #artworkModal.pseudo-fullscreen .artworkBox{width:100vw;max-width:none;height:100vh;max-height:none;border-radius:0;padding:clamp(24px,4vw,60px);grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:clamp(28px,5vw,80px);box-shadow:none;background:#f7f4ee;overflow:hidden}
#artworkModal.is-fullscreen .artworkImageWrap, #artworkModal.pseudo-fullscreen .artworkImageWrap{min-height:0;height:100%;border-radius:12px}
#artworkModal.is-fullscreen .artworkImageWrap img, #artworkModal.pseudo-fullscreen .artworkImageWrap img{max-width:100%;max-height:calc(100vh - 2 * clamp(24px,4vw,60px));width:auto;height:auto}
#artworkModal.is-fullscreen .artworkInfo, #artworkModal.pseudo-fullscreen .artworkInfo{max-height:100%;overflow:auto;align-self:center;padding-right:8px}
#artworkModal.is-fullscreen .artworkTopActions, #artworkModal.pseudo-fullscreen .artworkTopActions{top:22px;right:24px}
@media(max-width:750px){#artworkModal.is-fullscreen .artworkBox,#artworkModal.pseudo-fullscreen .artworkBox{grid-template-columns:1fr;height:100vh;padding:18px;gap:14px;overflow:auto}#artworkModal.is-fullscreen .artworkImageWrap,#artworkModal.pseudo-fullscreen .artworkImageWrap{height:auto;min-height:0;max-height:65vh}#artworkModal.is-fullscreen .artworkImageWrap img,#artworkModal.pseudo-fullscreen .artworkImageWrap img{max-height:62vh}#artworkModal.is-fullscreen .artworkInfo,#artworkModal.pseudo-fullscreen .artworkInfo{overflow:visible;align-self:start}}

/* V28 — adaptation de la fiche d’association, strictement limitée à la fiche.
   L’accueil, l’authentification et les tableaux ne sont pas modifiés. */
#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkBox{
  height:min(88vh,760px); max-height:88vh; overflow:hidden; grid-template-rows:minmax(0,1fr);
}
#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkImageWrap{min-height:0;height:100%;}
#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkImageWrap img{max-height:100%;max-width:100%;}
#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkInfo{min-height:0;height:100%;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:clamp(5px,.75vh,12px);}
#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkInfo h2{line-height:.92;}
#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .musicInfo strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .musicInfo small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkCreator{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .commentForm,#artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkControls{flex:0 0 auto;}
@media(max-height:760px) and (min-width:751px){
 #artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkBox{padding:24px;gap:28px}
 #artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkInfo{gap:4px}
}
@media(max-width:750px){
 #artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkBox{height:auto;max-height:94vh;overflow:hidden;grid-template-rows:minmax(0,1fr) auto}
 #artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkImageWrap{height:auto;max-height:52vh}
 #artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkImageWrap img{max-height:52vh}
 #artworkModal:not(.is-fullscreen):not(.pseudo-fullscreen) .artworkInfo{height:auto;max-height:39vh;overflow:hidden;justify-content:flex-start;gap:5px}
}

/* Les gestes tactiles/trackpad ne servent jamais à naviguer entre associations. */
.artworkModal{overscroll-behavior:contain;touch-action:none;}


/* ═══════════════════════════════════════════════════════════════
   V33 — ÉDITION / DÉCOUVERTE
   Nouvelle couche visuelle : galerie éditoriale, sans toucher aux
   fonctionnalités existantes.
   ═══════════════════════════════════════════════════════════════ */
.homeDiscovery{padding:42px 0 54px;animation:discoveryReveal .55s ease both}
@keyframes discoveryReveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.discoveryHero{min-height:min(590px,64vh);display:grid;grid-template-columns:1fr 1.08fr;gap:clamp(30px,6vw,90px);align-items:center;border-bottom:1px solid rgba(23,23,23,.09);padding:25px 0 58px}
.discoveryHeroCopy{max-width:570px;padding-left:2px}
.discoveryHeroCopy h2{font-size:clamp(68px,9.5vw,142px);line-height:.78;letter-spacing:-.055em;margin:10px 0 28px}
.discoveryHeroCopy h2 em{font-style:italic}
.discoveryHeroCopy>p:not(.eyebrow){font-size:14px;line-height:1.8;max-width:430px;opacity:.62;margin:0}
.discoveryHeroActions{display:flex;gap:8px;align-items:center;margin-top:28px;flex-wrap:wrap}
.discoveryHeroArtwork{position:relative;min-height:480px;border-radius:3px;overflow:hidden;background:#ddd;box-shadow:0 24px 65px rgba(23,23,23,.12)}
.discoveryHeroArtwork img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.discoveryHeroArtwork:hover img{transform:scale(1.025)}
.discoveryHeroArtwork:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(0,0,0,.72))}
.discoveryHeroArtworkInfo{position:absolute;z-index:2;left:26px;right:26px;bottom:25px;color:#fff}
.discoveryHeroArtworkInfo .eyebrow{opacity:.65;margin-bottom:8px}
.discoveryHeroArtworkInfo h3{font-family:"Playfair Display",serif;font-weight:500;font-size:clamp(27px,3vw,46px);line-height:1;margin:0}
.discoveryHeroArtworkInfo p{font-size:11px;opacity:.72;margin:8px 0 0}
.discoveryHeroArtworkInfo .heroMusic{display:flex;gap:7px;align-items:center;margin-top:15px;font-size:12px}
.discoverySectionHead{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:54px 0 19px}
.discoverySectionHead h3{font-family:"Playfair Display",serif;font-size:clamp(30px,4vw,48px);font-weight:500;letter-spacing:-.025em;margin:0}
.discoveryStrip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,27vw);gap:14px;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 1px 18px;scrollbar-width:none}
.discoveryStrip::-webkit-scrollbar{display:none}
.discoveryTile{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:3px;background:#ddd;cursor:pointer;box-shadow:0 8px 25px rgba(23,23,23,.06);animation:tileIn .45s ease both}
@keyframes tileIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.discoveryTile img{width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .4s ease}
.discoveryTile:hover img{transform:scale(1.045);filter:brightness(.7)}
.discoveryTileOverlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:18px;color:#fff;background:linear-gradient(transparent 40%,rgba(0,0,0,.78));transition:padding .3s ease}
.discoveryTile:hover .discoveryTileOverlay{padding-bottom:23px}
.discoveryTileOverlay h4{font-family:"Playfair Display",serif;font-weight:500;font-size:21px;line-height:1.05;margin:0}
.discoveryTileOverlay p{font-size:10px;opacity:.68;margin:5px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.discoveryTileOverlay .tileMusic{font-size:10px;opacity:.82;margin-top:10px}
.discoveryEmpty{padding:55px 0;color:#171717;opacity:.45;font-size:12px}
@media(max-width:850px){.discoveryHero{grid-template-columns:1fr;min-height:0;padding-bottom:40px}.discoveryHeroCopy{max-width:650px}.discoveryHeroArtwork{min-height:62vw;max-height:620px}.discoveryHeroCopy h2{font-size:clamp(64px,17vw,110px)}.discoveryStrip{grid-auto-columns:minmax(205px,44vw)}}
@media(max-width:640px){.homeDiscovery{padding-top:22px;padding-bottom:30px}.discoveryHero{gap:25px}.discoveryHeroCopy>p:not(.eyebrow){font-size:13px}.discoveryHeroArtwork{min-height:112vw}.discoverySectionHead{align-items:flex-start;flex-direction:column;padding-top:38px}.discoverySectionHead h3{font-size:34px}.discoveryStrip{grid-auto-columns:72vw;gap:10px}.discoveryHeroActions .add,.discoveryHeroActions .ghost{padding:11px 14px}}

/* V33 — exploration immersive des tableaux, inspirée du défilement vertical des apps vidéo */
.discoverySectionActions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.discoveryHeroCopy h2{line-height:.88}
.discoveryHeroCopy h2 em{display:inline-block;padding-top:.045em}

.immersiveBoards{position:fixed;inset:0;z-index:1200;background:#0b0b0b;color:#fff;overflow:hidden}
.immersiveBoards.hidden{display:none}
.immersiveBackdrop{position:absolute;inset:0;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.08),transparent 55%);pointer-events:none}
.immersiveTopbar{position:absolute;z-index:5;top:0;left:0;right:0;padding:22px 28px;display:flex;justify-content:space-between;align-items:flex-start;background:linear-gradient(180deg,rgba(0,0,0,.62),transparent);pointer-events:none}
.immersiveTopbar>div{pointer-events:auto}.immersiveTopbar .eyebrow{margin:0 0 5px;opacity:.58}.immersiveTopbar span{font-size:12px;opacity:.76}
.immersiveClose{pointer-events:auto;width:42px;height:42px;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(0,0,0,.28);color:#fff;font-size:27px;line-height:1;cursor:pointer;backdrop-filter:blur(12px);transition:transform .3s ease,background .3s ease}.immersiveClose:hover{transform:rotate(90deg) scale(1.05);background:rgba(255,255,255,.12)}
.immersiveBoardFeed{position:relative;height:100%;overflow-y:auto;overscroll-behavior-y:contain;scroll-snap-type:y mandatory;scrollbar-width:none;touch-action:pan-y}.immersiveBoardFeed::-webkit-scrollbar{display:none}
.immersiveBoardSlide{position:relative;height:100%;min-height:100svh;scroll-snap-align:start;scroll-snap-stop:always;display:grid;place-items:center;overflow:hidden;padding:clamp(74px,8vh,100px) 0}
.immersiveBoardSlide::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.13),transparent 34%),linear-gradient(180deg,rgba(0,0,0,.18),transparent 36%,rgba(0,0,0,.88));pointer-events:none;z-index:1}
.immersiveBoardSlide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.28),transparent 22%,transparent 78%,rgba(0,0,0,.2));pointer-events:none;z-index:1}
.immersiveBoardSlide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(22px) saturate(.65);transform:scale(1.12);opacity:.34;transition:transform 1.2s cubic-bezier(.2,.7,.2,1),opacity .8s ease,filter .8s ease}
.immersiveBoardSlide.is-active img{transform:scale(1.04);opacity:.42;filter:blur(22px) saturate(.7)}
.immersiveBoardSlide .immersiveArtworkFrame{position:absolute;z-index:2;top:clamp(72px,9vh,105px);left:50%;transform:translateX(-50%) translateY(16px) scale(.985);width:min(66vw,900px);height:min(54vh,590px);display:flex;align-items:center;justify-content:center;opacity:0;transition:transform .9s cubic-bezier(.2,.7,.2,1),opacity .7s ease}
.immersiveBoardSlide.is-active .immersiveArtworkFrame{transform:translateX(-50%) translateY(0) scale(1);opacity:1}
.immersiveArtworkFrame::before{content:"";position:absolute;inset:-18px;background:rgba(255,255,255,.08);filter:blur(18px);z-index:-1}
.immersiveBoardSlide .immersiveArtworkFrame img{position:relative;inset:auto;width:100%;height:100%;object-fit:contain;filter:none;transform:none;opacity:1;box-shadow:0 25px 70px rgba(0,0,0,.42);background:rgba(255,255,255,.04)}
.immersiveBoardSlide.noImage{background:linear-gradient(135deg,#242424,#111)}
.immersiveBoardSlide.noImage::before{content:"♪";position:absolute;font-family:"Playfair Display",serif;font-size:160px;opacity:.08}
.immersiveBoardContent{position:relative;z-index:3;width:min(850px,calc(100% - 44px));margin-top:min(50vh,500px);align-self:end;padding-bottom:clamp(48px,6vh,72px);transform:translateY(34px);opacity:0;transition:transform .8s cubic-bezier(.2,.7,.2,1),opacity .65s ease}
.immersiveBoardSlide.is-active .immersiveBoardContent{transform:translateY(0);opacity:1}
.immersiveBoardKicker{font-size:10px;letter-spacing:.18em;opacity:.66;margin-bottom:11px}
.immersiveBoardTitle{font-family:"Playfair Display",serif;font-weight:500;font-size:clamp(42px,7vw,82px);line-height:.96;letter-spacing:-.035em;margin:0;max-width:700px}
.immersiveBoardDesc{font-size:13px;line-height:1.65;opacity:.72;max-width:540px;margin:16px 0 0}
.immersiveBoardMeta{display:flex;gap:14px;flex-wrap:wrap;margin-top:17px;font-size:10px;opacity:.72}
.immersiveMusicCard{margin-top:18px;width:min(520px,100%);padding:13px 16px;border:1px solid rgba(255,255,255,.2);background:rgba(10,10,10,.34);border-radius:12px;backdrop-filter:blur(16px);display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;cursor:pointer;transition:transform .3s ease,border-color .3s ease,background .3s ease}.immersiveMusicCard:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.42);background:rgba(10,10,10,.5)}.immersiveMusicLabel{grid-column:1/-1;font-size:8px;letter-spacing:.18em;opacity:.55;margin-bottom:5px}.immersiveMusicCard strong{font-size:13px;font-weight:500;line-height:1.25}.immersiveMusicCard small{font-size:10px;opacity:.55;text-align:right}.immersiveBoardActions{display:flex;gap:10px;align-items:center}.immersiveScrollHint{position:absolute;z-index:8;right:clamp(48px,6vw,92px);bottom:clamp(45px,7vh,78px);display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;font-size:8px;letter-spacing:.16em;opacity:.8;pointer-events:none;animation:scrollHintPulse 2.4s ease-in-out infinite}.immersiveScrollHint strong{font-size:9px;font-weight:500;letter-spacing:.12em}.scrollHintLine{display:block;width:1px;height:34px;background:linear-gradient(transparent,#fff)}.scrollHintArrow{font-size:18px;line-height:1;margin-top:2px;animation:scrollArrow 1.2s ease-in-out infinite}@keyframes scrollHintPulse{0%,100%{opacity:.52}50%{opacity:1}}@keyframes scrollArrow{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
.immersiveBoardOpen{margin-top:22px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff;border-radius:999px;padding:11px 16px;cursor:pointer;backdrop-filter:blur(12px);transition:transform .3s ease,background .3s ease}.immersiveBoardOpen:hover{transform:translateY(-2px);background:rgba(255,255,255,.2)}
.immersiveProgress{position:absolute;z-index:6;right:18px;top:50%;display:flex;flex-direction:column;gap:6px;transform:translateY(-50%);pointer-events:none}.immersiveProgress span{display:block;width:3px;height:22px;border-radius:999px;background:rgba(255,255,255,.3);transition:height .35s ease,background .35s ease}.immersiveProgress span.active{height:42px;background:#fff}
@media(max-width:640px){.discoverySectionActions{width:100%;justify-content:flex-start}.discoverySectionActions button{flex:1;min-width:0}.immersiveTopbar{padding:16px 17px}.immersiveTopbar span{font-size:10px}.immersiveClose{width:38px;height:38px}.immersiveBoardSlide{padding:64px 0 28px}.immersiveBoardSlide .immersiveArtworkFrame{top:70px;width:calc(100% - 44px);height:43vh}.immersiveBoardContent{width:calc(100% - 34px);margin-top:39vh;padding-bottom:42px}.immersiveBoardTitle{font-size:clamp(38px,12vw,62px)}.immersiveBoardDesc{font-size:12px;max-width:92%}.immersiveMusicCard{grid-template-columns:1fr;margin-top:14px}.immersiveMusicCard small{text-align:left;margin-top:4px}.immersiveScrollHint{right:12px;bottom:17px;font-size:7px}.immersiveScrollHint strong{font-size:8px}.scrollHintLine{height:20px}.immersiveProgress{right:7px}.immersiveProgress span{height:14px}.immersiveProgress span.active{height:28px}}


/* V36 — exploration immersive mise au premier plan */
.immersiveHeroBtn{display:flex!important;align-items:center;gap:13px;text-align:left;padding:15px 18px!important;border-radius:16px!important;min-width:min(430px,100%);box-shadow:0 14px 35px rgba(0,0,0,.12)}
.immersiveHeroBtn>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.immersiveHeroBtn strong{font-size:13px;letter-spacing:.01em}.immersiveHeroBtn small{font-size:9px;opacity:.62;font-weight:400}.heroExploreIcon{font-size:23px;line-height:1;animation:heroDown 1.4s ease-in-out infinite}@keyframes heroDown{0%,100%{transform:translateY(-2px)}50%{transform:translateY(4px)}}
.immersiveSectionBtn{display:flex;align-items:center;gap:10px;border:1px solid rgba(20,20,20,.25);background:#111;color:#fff;border-radius:13px;padding:11px 15px;cursor:pointer;text-align:left;box-shadow:0 10px 28px rgba(0,0,0,.12);transition:transform .25s ease,box-shadow .25s ease}.immersiveSectionBtn:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(0,0,0,.18)}.immersiveSectionBtn>span{font-size:20px;line-height:1;animation:heroDown 1.4s ease-in-out infinite}.immersiveSectionBtn strong{font-size:9px;letter-spacing:.13em;display:block}.immersiveSectionBtn small{display:block;font-size:8px;opacity:.55;margin-top:3px}.immersiveScrollHint{right:clamp(28px,4vw,70px);bottom:50%;transform:translateY(50%);gap:7px;padding:18px 13px;border:1px solid rgba(255,255,255,.24);border-radius:18px;background:rgba(0,0,0,.34);backdrop-filter:blur(16px);box-shadow:0 15px 40px rgba(0,0,0,.2)}.scrollHintBig{font-size:34px;line-height:.8;animation:scrollArrow 1.1s ease-in-out infinite}.scrollHintMain{font-size:10px;letter-spacing:.2em;font-weight:600}.immersiveScrollHint strong{font-size:9px;letter-spacing:.14em}.scrollHintSub{font-size:8px;opacity:.55;letter-spacing:.08em}.associationSlide .immersiveBoardContent{max-width:980px}.associationSlide .immersiveArtworkFrame{width:min(68vw,980px);height:min(60vh,650px)}.associationSlide .immersiveBoardTitle{font-size:clamp(34px,5vw,68px)}
@media(max-width:640px){.immersiveHeroBtn{min-width:100%;padding:14px!important}.immersiveSectionBtn{flex:1;justify-content:center}.immersiveScrollHint{right:9px;bottom:50%;padding:12px 9px}.scrollHintBig{font-size:27px}.scrollHintMain{font-size:8px}.immersiveScrollHint strong{font-size:7px}.scrollHintSub{font-size:7px}.associationSlide .immersiveArtworkFrame{width:calc(100% - 34px);height:48vh}.associationSlide .immersiveBoardContent{margin-top:43vh;width:calc(100% - 30px)}}


/* V37 — exploration fluide, sans blocage et sans texte sur l'œuvre */
.immersiveBoardFeed{
  overflow-y:auto;
  scroll-snap-type:y mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
}
.immersiveBoardSlide{
  height:100dvh;
  min-height:100dvh;
  padding:0;
  display:block;
  position:relative;
}
.immersiveBoardSlide .immersiveArtworkFrame{
  top:clamp(68px,9vh,92px);
  width:min(68vw,980px);
  height:min(51vh,560px);
}
/* The artwork owns its zone; the information starts clearly below it. */
.immersiveBoardContent{
  position:absolute;
  left:50%;
  bottom:clamp(34px,5vh,62px);
  transform:translate(-50%,34px);
  margin:0;
  width:min(900px,calc(100% - 120px));
  max-width:900px;
  padding:0;
}
.immersiveBoardSlide.is-active .immersiveBoardContent{transform:translate(-50%,0)}
.immersiveBoardTitle{max-width:100%;font-size:clamp(32px,4.7vw,64px);line-height:.98}
.immersiveBoardDesc{max-width:70%;margin-top:9px}
.immersiveMusicCard{width:min(500px,70%);margin-top:12px}
.immersiveBoardMeta{margin-top:10px}
.immersiveBoardOpen{margin-top:12px}

@media(max-width:850px){
  .immersiveBoardSlide .immersiveArtworkFrame{
    top:66px;
    width:calc(100% - 56px);
    height:43vh;
  }
  .immersiveBoardContent{
    width:calc(100% - 42px);
    bottom:28px;
  }
  .immersiveBoardTitle{font-size:clamp(30px,8vw,54px)}
  .immersiveBoardDesc{max-width:100%;font-size:11px;margin-top:7px}
  .immersiveMusicCard{width:min(520px,100%);margin-top:9px}
  .immersiveBoardMeta{margin-top:7px}
  .immersiveBoardOpen{margin-top:9px;padding:9px 14px}
}
@media(max-width:640px){
  .immersiveBoardSlide .immersiveArtworkFrame{
    top:62px;
    width:calc(100% - 34px);
    height:40vh;
  }
  .immersiveBoardContent{
    width:calc(100% - 30px);
    bottom:24px;
  }
  .immersiveBoardTitle{font-size:clamp(28px,8.5vw,48px);line-height:1}
  .immersiveBoardDesc{font-size:10.5px;line-height:1.45;max-height:2.9em;overflow:hidden}
  .immersiveMusicCard{padding:10px 12px;margin-top:8px}
  .immersiveMusicLabel{font-size:7px;margin-bottom:3px}
  .immersiveMusicCard strong{font-size:11px}
  .immersiveMusicCard small{font-size:9px;margin-top:2px}
  .immersiveBoardMeta{font-size:8px;gap:8px}
  .immersiveBoardOpen{margin-top:7px;font-size:10px;padding:8px 12px}
}

/* V38 — l'exploration reprend les interactions des associations classiques */
.immersiveBoardSlide .immersiveArtworkFrame{
  width:min(76vw,1080px);
  height:min(59vh,680px);
  top:clamp(64px,7vh,82px);
}
.immersiveBoardContent{
  width:min(940px,calc(100% - 120px));
  bottom:clamp(22px,3.5vh,42px);
}
.immersiveBoardTitle{font-size:clamp(30px,4vw,58px);max-width:100%;}
.immersiveBoardDesc{margin-top:6px;max-width:100%;}
.immersiveMusicCard{margin-top:9px;width:min(500px,100%);}
.immersiveSocialActions{display:flex;align-items:center;gap:8px;margin-top:9px;flex-wrap:wrap;}
.immersiveSocialBtn{height:34px;min-width:48px;padding:0 11px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(0,0,0,.34);color:#fff;backdrop-filter:blur(14px);display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font-size:12px;transition:transform .2s ease,background .2s ease,border-color .2s ease;}
.immersiveSocialBtn:hover{transform:translateY(-2px);background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.42)}
.immersiveSocialBtn.liked{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.55)}
.immersiveSocialHeart{font-size:19px;line-height:1;}
.immersiveLikeBtn.liked .immersiveSocialHeart{font-size:17px;}
.immersiveCommentIcon{font-size:19px;line-height:1;transform:rotate(-45deg);display:inline-block}
.immersiveCreator{border:0;background:none;color:rgba(255,255,255,.72);padding:5px 2px;font-size:10px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.25);}
.immersiveCreator:hover{color:#fff}
@media(max-width:850px){
 .immersiveBoardSlide .immersiveArtworkFrame{top:62px;width:calc(100% - 44px);height:47vh}
 .immersiveBoardContent{width:calc(100% - 42px);bottom:18px}
 .immersiveBoardTitle{font-size:clamp(28px,7.5vw,50px)}
 .immersiveMusicCard{margin-top:7px}
 .immersiveSocialActions{margin-top:7px}
}
@media(max-width:640px){
 .immersiveBoardSlide .immersiveArtworkFrame{top:58px;width:calc(100% - 26px);height:43vh}
 .immersiveBoardContent{width:calc(100% - 28px);bottom:14px}
 .immersiveBoardTitle{font-size:clamp(25px,7.8vw,44px);line-height:.98}
 .immersiveBoardDesc{font-size:10px;line-height:1.35}
 .immersiveMusicCard{padding:8px 10px;margin-top:6px}
 .immersiveMusicCard strong{font-size:10.5px}
 .immersiveMusicCard small{font-size:8.5px}
 .immersiveSocialActions{margin-top:6px;gap:6px}
 .immersiveSocialBtn{height:31px;min-width:43px;padding:0 9px;font-size:11px}
 .immersiveCreator{font-size:9px}
 .immersiveBoardOpen{margin-top:5px;padding:7px 11px;font-size:9.5px}
}

/* V39 — le mode immersif devient l’expérience principale */
.immersiveBoards{position:fixed;inset:0;z-index:1500;background:#090909}
.immersiveBoardFeed{height:100%;min-height:100%;padding-top:0!important}
.immersiveTopbar{z-index:20;background:linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,0));padding-bottom:34px}
.immersiveBoardSlide{
  height:100dvh;min-height:100dvh;box-sizing:border-box;
  display:grid;grid-template-rows:minmax(0,1fr) auto;
  align-content:stretch;gap:clamp(10px,2vh,20px);
  padding:clamp(82px,10vh,108px) clamp(24px,5vw,80px) clamp(22px,3vh,38px)!important;
}
.immersiveBoardSlide .immersiveArtworkFrame{
  position:relative!important;top:auto!important;left:auto!important;transform:translateY(18px) scale(.985)!important;
  width:100%!important;height:100%!important;max-height:none!important;
  min-height:0;align-self:stretch;justify-self:center;
  display:flex;align-items:center;justify-content:center;opacity:0;
}
.immersiveBoardSlide.is-active .immersiveArtworkFrame{transform:translateY(0) scale(1)!important;opacity:1}
.immersiveBoardSlide .immersiveArtworkFrame img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.immersiveBoardContent{
  position:relative!important;left:auto!important;bottom:auto!important;transform:translateY(18px)!important;
  width:min(980px,100%)!important;max-width:980px!important;margin:0 auto!important;padding:0!important;
  min-width:0;overflow:hidden;
}
.immersiveBoardSlide.is-active .immersiveBoardContent{transform:translateY(0)!important}
.immersiveBoardTitle,.immersiveBoardDesc,.immersiveMusicCard,.immersiveBoardMeta,.immersiveSocialActions,.immersiveBoardOpen{max-width:100%;box-sizing:border-box}
.immersiveBoardTitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.immersiveBoardDesc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.immersiveMusicCard{width:min(540px,100%)!important}
.immersiveScrollHint{right:clamp(18px,2.8vw,48px);bottom:clamp(28px,4vh,54px)}

/* Les fenêtres restent au-dessus du flux : fermer une fenêtre = revenir au scroll. */
body.immersive-open .modal{z-index:2000}
body.immersive-open .modal .modalBox{max-height:calc(100dvh - 40px);overflow:auto}

@media(max-width:850px){
  .immersiveBoardSlide{padding:clamp(70px,9vh,88px) 18px 18px!important;gap:10px}
  .immersiveBoardContent{width:100%!important}
  .immersiveBoardTitle{font-size:clamp(25px,7vw,44px)}
  .immersiveBoardDesc{font-size:10px}
}
@media(max-width:640px){
  .immersiveBoardSlide{grid-template-rows:minmax(0,1fr) auto;padding:62px 14px 14px!important;gap:8px}
  .immersiveBoardSlide .immersiveArtworkFrame{min-height:0}
  .immersiveBoardContent{padding-right:0!important}
  .immersiveBoardTitle{font-size:clamp(24px,8vw,40px)}
  .immersiveMusicCard{padding:9px 11px!important}
  .immersiveSocialActions{gap:6px;flex-wrap:wrap}
  .immersiveScrollHint{right:8px;bottom:48%;transform:translateY(50%) scale(.88)}
}


/* V40 — exploration mise en avant sans devenir l’accueil automatique */
.discoveryHeroActions{align-items:stretch;gap:12px;flex-wrap:wrap}
.immersiveHeroBtn{min-height:78px!important;min-width:min(520px,100%)!important;padding:17px 20px!important;border-radius:20px!important;box-shadow:0 18px 44px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.12)!important}
.immersiveHeroBtn strong{font-size:15px!important;letter-spacing:.005em}
.immersiveHeroBtn small{font-size:10px!important;line-height:1.45}
.heroExploreIcon{font-size:30px!important}
.immersiveSectionBtn{min-height:58px;padding:12px 17px}
/* The immersive experience is a layer over the current page. Closing any
   profile, comments or artwork modal therefore returns to the same feed. */
body.immersive-open{overflow:hidden}
body.immersive-open .immersiveBoards{overscroll-behavior:none}
/* Keep artwork and copy in two non-overlapping zones. */
.immersiveBoardSlide{grid-template-rows:minmax(0,1fr) auto!important;overflow:hidden!important}
.immersiveBoardSlide .immersiveArtworkFrame{position:relative!important;top:auto!important;left:auto!important;transform:translateY(18px) scale(.985)!important;width:min(78vw,1080px)!important;height:min(61vh,680px)!important;margin:clamp(72px,8vh,90px) auto 0!important;align-self:center!important;justify-self:center!important}
.immersiveBoardSlide.is-active .immersiveArtworkFrame{transform:translateY(0) scale(1)!important}
.immersiveBoardContent{position:relative!important;left:auto!important;bottom:auto!important;transform:translateY(24px)!important;width:min(900px,calc(100% - 120px))!important;max-width:900px!important;margin:0 auto!important;padding:0 0 clamp(28px,4vh,48px)!important;align-self:end!important}
.immersiveBoardSlide.is-active .immersiveBoardContent{transform:translateY(0)!important}
.immersiveBoardTitle,.immersiveBoardDesc,.immersiveMusicCard,.immersiveBoardMeta,.immersiveSocialActions,.immersiveBoardOpen{position:relative;z-index:1}
.immersiveBoardTitle{max-width:100%;overflow-wrap:anywhere}
.immersiveBoardDesc{max-width:100%;overflow-wrap:anywhere}
.immersiveMusicCard{max-width:100%;box-sizing:border-box}
@media(max-width:850px){
 .immersiveHeroBtn{min-width:100%!important}
 .immersiveBoardSlide .immersiveArtworkFrame{width:calc(100% - 44px)!important;height:min(48vh,520px)!important;margin-top:66px!important}
 .immersiveBoardContent{width:calc(100% - 42px)!important;padding-bottom:24px!important}
}
@media(max-width:640px){
 .immersiveHeroBtn{min-height:70px!important}
 .immersiveBoardSlide .immersiveArtworkFrame{width:calc(100% - 28px)!important;height:min(43vh,410px)!important;margin-top:60px!important}
 .immersiveBoardContent{width:calc(100% - 30px)!important;padding-bottom:18px!important}
}

/* V41 — immersion sociale complète : rien ne déborde sur l'œuvre. */
.immersiveBoardSlide{grid-template-rows:minmax(0,1fr) auto!important;overflow:hidden!important}
.immersiveBoardSlide .immersiveArtworkFrame{width:min(82vw,1120px)!important;height:min(62vh,700px)!important;margin:clamp(72px,8vh,94px) auto 0!important}
.immersiveBoardContent{width:min(960px,calc(100% - 110px))!important;max-width:960px!important;min-height:0!important;overflow:hidden!important}
.immersiveBoardTitle,.immersiveBoardDesc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.immersiveSocialActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.immersiveSocialBtn{height:36px;min-width:48px;padding:0 12px}
.immersiveCommentBtn{min-width:0}
.immersiveCommentBtn .immersiveCommentCount{opacity:.62;margin-left:2px}
.immersiveJoinBoard{margin-top:9px;border:1px solid rgba(255,255,255,.30);background:rgba(255,255,255,.10);color:#fff;border-radius:999px;padding:9px 14px;cursor:pointer;font-size:10px;backdrop-filter:blur(12px);transition:background .2s ease,transform .2s ease,border-color .2s ease}
.immersiveJoinBoard:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.5);transform:translateY(-1px)}
body.immersive-open .modal{z-index:2000!important}
body.immersive-open .modal .modalBox{position:relative;z-index:2001}
@media(max-width:850px){
 .immersiveBoardSlide .immersiveArtworkFrame{width:calc(100% - 34px)!important;height:min(49vh,530px)!important;margin-top:64px!important}
 .immersiveBoardContent{width:calc(100% - 36px)!important}
}
@media(max-width:640px){
 .immersiveBoardSlide .immersiveArtworkFrame{width:calc(100% - 24px)!important;height:min(44vh,460px)!important;margin-top:56px!important}
 .immersiveBoardContent{width:calc(100% - 28px)!important;padding-bottom:10px!important}
 .immersiveBoardTitle{font-size:clamp(23px,7.5vw,40px)!important}
 .immersiveSocialActions{gap:5px;margin-top:5px}
 .immersiveSocialBtn{height:30px;padding:0 8px;font-size:10px}
 .immersiveCommentBtn{font-size:9px}
 .immersiveJoinBoard{font-size:9px;padding:7px 11px;margin-top:5px}
}

/* V42 — expérience immersive : commentaires intégrés, navigation fluide et indication discrète */
.immersiveCommentWrap{margin-top:10px;width:min(560px,100%)}
.immersiveCommentLabel{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.06em;opacity:.82;margin-bottom:5px}
.immersiveCommentLabel .immersiveCommentCount{opacity:.6}
.immersiveInlineCommentForm{margin-top:0!important;background:rgba(255,255,255,.88)!important;border-color:rgba(255,255,255,.55)!important;box-shadow:0 8px 24px rgba(0,0,0,.10)!important;padding:5px 5px 5px 13px!important}
.immersiveInlineCommentForm input{color:#1d1d1f!important}
.immersiveInlineCommentForm button{background:#1d1d1f!important;color:#fff!important}
.immersiveJoinBoard{display:inline-flex;align-items:center;justify-content:center}
.immersiveScrollHint{right:clamp(22px,3vw,46px);bottom:clamp(22px,4vh,44px);width:min(188px,calc(100vw - 44px));box-sizing:border-box;padding:14px 12px!important;z-index:12}
.immersiveScrollHint.is-dismissed{opacity:0!important;visibility:hidden;transform:translateY(10px) scale(.96)!important;pointer-events:none;transition:opacity .45s ease,transform .45s ease,visibility .45s ease}
.findImmersiveBtn{display:block;margin:10px 0 2px;border:1px solid rgba(29,29,31,.14);background:rgba(29,29,31,.055);color:#1d1d1f;border-radius:999px;padding:9px 13px;font:inherit;font-size:10px;cursor:pointer;transition:transform .2s ease,background .2s ease}
.findImmersiveBtn:hover{transform:translateY(-1px);background:rgba(29,29,31,.09)}
@media(max-width:640px){
  .immersiveScrollHint{right:12px;bottom:12px;width:164px;padding:11px 9px!important}
  .immersiveCommentWrap{width:100%}
  .findImmersiveBtn{width:100%;font-size:9px}
}


/* V43 — le tableau rejoint l'exploration sans la quitter */
body.immersive-open #boardView{
  z-index:1700!important;
  background:rgba(0,0,0,.42);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
body.immersive-open #boardView .viewShell{
  z-index:1701;
}
/* Le champ de commentaire reprend exactement le langage visuel de la fiche association,
   sans bloc titre supplémentaire qui alourdirait l'écran immersif. */
.immersiveCommentWrap{width:min(560px,100%);margin-top:10px;}
.immersiveInlineCommentForm{
  width:100%;box-sizing:border-box;display:flex!important;align-items:center;gap:8px;
  margin:0!important;padding:6px 6px 6px 14px!important;
  border:1px solid rgba(255,255,255,.26)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.14)!important;
}
.immersiveInlineCommentForm input{
  flex:1;min-width:0!important;border:0!important;outline:0!important;background:transparent!important;
  color:#171717!important;font:inherit!important;font-size:12px!important;padding:7px 2px!important;
}
.immersiveInlineCommentForm input::placeholder{color:rgba(23,23,23,.48);}
.immersiveInlineCommentForm button{
  flex:0 0 34px!important;width:34px!important;height:34px!important;padding:0!important;
  border:0!important;border-radius:50%!important;background:#171717!important;color:#fff!important;
  display:grid!important;place-items:center!important;font-size:15px!important;cursor:pointer!important;
}
.immersiveInlineCommentForm button:disabled{opacity:.45;cursor:wait;}
@media(max-width:640px){
  .immersiveCommentWrap{width:100%;margin-top:7px}
  .immersiveInlineCommentForm{padding-left:12px!important}
  .immersiveInlineCommentForm input{font-size:11px!important}
}


/* V44 — finition immersive : composition plus aérée, œuvre totalement séparée du texte,
   commentaire minimaliste et indication de défilement toujours visible. */
.immersiveBoardSlide{
  grid-template-rows:minmax(0,1fr) auto!important;
  gap:clamp(8px,1.4vh,14px)!important;
  padding:clamp(72px,8vh,88px) clamp(18px,4vw,64px) clamp(18px,2.5vh,28px)!important;
  overflow:hidden!important;
}
.immersiveBoardSlide .immersiveArtworkFrame{
  width:min(88vw,1180px)!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0 auto!important;
  align-self:stretch!important;
  justify-self:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.immersiveBoardSlide .immersiveArtworkFrame img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
.immersiveBoardContent{
  width:min(900px,calc(100% - 80px))!important;
  max-width:900px!important;
  margin:0 auto!important;
  padding:0 0 2px!important;
  overflow:hidden!important;
  min-height:0!important;
}
.immersiveBoardTitle,.immersiveBoardDesc{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.immersiveBoardTitle{font-size:clamp(24px,3.2vw,48px)!important;line-height:1.05!important;margin:0!important}
.immersiveBoardDesc{margin:4px 0 0!important;font-size:11px!important;line-height:1.3!important}
.immersiveMusicCard{width:min(460px,100%)!important;margin-top:7px!important;padding:8px 11px!important}
.immersiveSocialActions{margin-top:7px!important;gap:6px!important}
.immersiveJoinBoard{margin-top:7px!important}

/* Commentaire : petit rectangle sombre, intégré au langage de la page. */
.immersiveCommentWrap{width:min(330px,100%)!important;margin:0!important}
.immersiveInlineCommentForm{
  width:100%!important;
  min-height:28px!important;
  height:28px!important;
  padding:2px 3px 2px 9px!important;
  gap:5px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:6px!important;
  background:rgba(8,8,8,.72)!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
}
.immersiveInlineCommentForm input{
  color:#fff!important;
  font-size:10px!important;
  line-height:1!important;
  padding:3px 0!important;
}
.immersiveInlineCommentForm input::placeholder{color:rgba(255,255,255,.48)!important}
.immersiveInlineCommentForm button{
  flex:0 0 23px!important;width:23px!important;height:23px!important;
  border-radius:4px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;
  font-size:11px!important;
}
.immersiveInlineCommentForm button:hover{background:rgba(255,255,255,.22)!important}

/* L'indication reste entièrement dans la fenêtre, avec une marge de sécurité. */
.immersiveScrollHint{
  right:clamp(12px,2vw,30px)!important;
  bottom:max(18px,env(safe-area-inset-bottom,0px) + 18px)!important;
  width:168px!important;
  max-width:calc(100vw - 24px)!important;
  padding:10px 9px!important;
  box-sizing:border-box!important;
  transform:none!important;
}
@media(max-width:850px){
  .immersiveBoardSlide{padding:64px 14px 18px!important;gap:7px!important}
  .immersiveBoardContent{width:calc(100% - 34px)!important}
  .immersiveBoardTitle{font-size:clamp(22px,6.7vw,38px)!important}
  .immersiveMusicCard{margin-top:5px!important}
  .immersiveScrollHint{right:10px!important;bottom:max(14px,env(safe-area-inset-bottom,0px) + 14px)!important;width:154px!important;padding:9px 8px!important}
}
@media(max-width:640px){
  .immersiveBoardSlide{padding:58px 10px 12px!important}
  .immersiveBoardContent{width:calc(100% - 24px)!important}
  .immersiveBoardTitle{font-size:clamp(21px,7vw,34px)!important}
  .immersiveBoardDesc{font-size:9px!important}
  .immersiveSocialActions{gap:4px!important;margin-top:4px!important}
  .immersiveSocialBtn{height:29px!important;min-width:40px!important;padding:0 7px!important;font-size:10px!important}
  .immersiveCommentWrap{width:min(285px,100%)!important}
  .immersiveInlineCommentForm{height:26px!important;min-height:26px!important}
  .immersiveInlineCommentForm button{width:21px!important;height:21px!important;flex-basis:21px!important}
  .immersiveScrollHint{right:8px!important;bottom:max(10px,env(safe-area-inset-bottom,0px) + 10px)!important;width:145px!important}
}

/* Le tableau ouvert depuis l'exploration doit être une vraie fenêtre lisible,
   au-dessus du feed, jamais un voile noir seul. */
body.immersive-open #boardView.view{
  display:flex!important;
  position:fixed!important;
  inset:0!important;
  z-index:1700!important;
  background:rgba(0,0,0,.48)!important;
  align-items:center!important;
  justify-content:center!important;
  opacity:1!important;
  visibility:visible!important;
}
body.immersive-open #boardView .viewShell{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:1701!important;
  width:min(1225px,92vw)!important;
  height:min(82vh,900px)!important;
  overflow-y:auto!important;
  background:#f4f1eb!important;
}
@media(max-width:700px){
  body.immersive-open #boardView.view{padding:12px!important;align-items:flex-start!important}
  body.immersive-open #boardView .viewShell{width:100%!important;height:calc(100dvh - 24px)!important}
}

/* V46 — ouverture robuste du mode immersif */
.immersiveLoadingState{height:100%;display:grid;place-items:center;color:rgba(255,255,255,.68);font-size:12px;letter-spacing:.08em}
#immersiveBoards[style*="display: block"]{display:block!important;visibility:visible!important;opacity:1!important}


/* V47 — fenêtres de l'exploration toujours au premier plan + pochette du lecteur cliquable. */
body.immersive-open #player{z-index:1600!important;}
body.immersive-open #playerCover{position:relative;z-index:1601!important;pointer-events:auto!important;cursor:pointer!important;}
body.immersive-open #profileModal,
body.immersive-open #boardView,
body.immersive-open #artworkModal{z-index:12000!important;}
body.immersive-open #profileModal .modalBox,
body.immersive-open #boardView .viewShell,
body.immersive-open #artworkModal .artworkBox{z-index:12001!important;}

/* V48 — navigation : le calque suivant apparaît avant le chargement des données. */
.boardLoadingState{grid-column:1/-1;min-height:220px;display:grid;place-items:center;opacity:.45;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
body.immersive-open .modal{z-index:13000!important}
body.immersive-open .modal .modalBox{z-index:13001!important}

/* V48 — ouverture des associations sans attente réseau. */
#artworkModal:not(.hidden){will-change:opacity,transform}


/* NAVIGATION PREMIER PLAN — V50
   Toute vue ouverte depuis un bouton est un vrai calque fixe.
   La vue précédente reste derrière et conserve son état. */
#boardView{position:fixed!important;z-index:1000!important;isolation:isolate;}
#artworkModal{position:fixed!important;z-index:1100!important;}
.modal{position:fixed!important;z-index:1110;}
body.immersive-open #boardView{z-index:12001!important;}
body.immersive-open .modal{z-index:12010!important;}
body.immersive-open #artworkModal{z-index:12020!important;}
.modalBox{position:relative;z-index:1;}

.modalBox{pointer-events:auto;}
.modal[aria-hidden="true"]{pointer-events:none;}

/* V57 — lecteur discret intégré visuellement à l'exploration immersive.\n   Il reste le même lecteur audio : aucun rechargement de piste, seulement\n   une présentation adaptée au scroll. */
body.immersive-player-open #player{
  z-index:10001!important;
  left:50%!important;
  right:auto!important;
  bottom:18px!important;
  transform:translateX(-50%);
  width:min(650px,calc(100vw - 34px));
  padding:7px 11px!important;
  gap:9px!important;
  border-radius:14px!important;
  background:rgba(12,12,12,.52)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);
  box-shadow:0 12px 38px rgba(0,0,0,.22)!important;
}
body.immersive-player-open #playerCover{width:34px!important;height:34px!important;border-radius:7px!important;opacity:.9}
body.immersive-player-open #playerText{min-width:110px!important}
body.immersive-player-open #playerTitle{font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.immersive-player-open #playerArtist{font-size:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.immersive-player-open #playerContext{display:none!important}
body.immersive-player-open .playerControls{gap:1px!important}
body.immersive-player-open .playerControls button{width:28px!important;height:28px!important;font-size:14px!important}
body.immersive-player-open .playerControls #playPause{font-size:16px!important}
body.immersive-player-open .seekWrap{min-width:145px!important;gap:5px!important}
body.immersive-player-open .seekWrap span{font-size:8px!important;min-width:25px!important}
body.immersive-player-open .seekWrap input{height:22px!important}
body.immersive-player-open #closePlayer{font-size:17px!important;opacity:.45}
@media(max-width:640px){
  body.immersive-player-open #player{bottom:12px!important;width:calc(100vw - 20px);padding:6px 8px!important;gap:6px!important;border-radius:12px!important}
  body.immersive-player-open #playerCover{width:30px!important;height:30px!important}
  body.immersive-player-open #playerText{min-width:0!important;flex:1;max-width:29vw!important}
  body.immersive-player-open .playerControls button{width:27px!important;height:27px!important}
  body.immersive-player-open .seekWrap{order:10;flex-basis:100%;width:100%;min-width:0!important;margin-top:0}
  body.immersive-player-open .seekWrap input{height:25px!important}
}

/* V58 — Dans le scroll immersif, seul le contrôle de position reste visible.
   Le lecteur garde le même élément audio : cette barre ne contrôle que le moment. */
body.immersive-player-open #player{
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  bottom:18px!important;
  width:min(420px,calc(100vw - 40px))!important;
  min-height:0!important;
  height:auto!important;
  padding:7px 11px!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.20)!important;
  box-shadow:0 8px 30px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  z-index:1600!important;
}
body.immersive-player-open #playerCover,
body.immersive-player-open .playerText,
body.immersive-player-open .playerControls,
body.immersive-player-open #closePlayer{display:none!important}
body.immersive-player-open .seekWrap{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  gap:7px!important;
  margin:0!important;
}
body.immersive-player-open .seekWrap span{
  display:block!important;
  color:rgba(255,255,255,.78)!important;
  font-size:9px!important;
  font-variant-numeric:tabular-nums;
  min-width:29px!important;
  text-align:center;
}
body.immersive-player-open .seekWrap input{
  flex:1!important;
  width:auto!important;
  min-width:0!important;
  height:18px!important;
  margin:0!important;
  cursor:pointer!important;
  accent-color:rgba(255,255,255,.88)!important;
}
@media(max-width:600px){
  body.immersive-player-open #player{
    bottom:max(12px,env(safe-area-inset-bottom,0px) + 10px)!important;
    width:calc(100vw - 28px)!important;
    padding:6px 9px!important;
    border-radius:9px!important;
  }
  body.immersive-player-open .seekWrap{gap:5px!important}
  body.immersive-player-open .seekWrap span{font-size:8px!important;min-width:27px!important}
  body.immersive-player-open .seekWrap input{height:17px!important}
}

/* V61 — onboarding clair et interface mobile prioritaire */
.introSlide{max-width:760px;margin-inline:auto}
.introVisual{min-height:170px;display:flex;align-items:center;justify-content:center;gap:16px;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.035));padding:18px;margin:10px 0 20px}
.introArtworkPreview .previewPainting,.introAssociationPreview .previewPainting{width:112px;height:136px;border-radius:7px;background:linear-gradient(145deg,#e6c8a1,#967b66 48%,#37434a);box-shadow:0 8px 22px #0003;display:grid;place-items:center;color:#f7eee0;font-size:62px}
.previewSound{font-size:54px;color:#e9d6b7}
.introUiPreview{align-items:stretch;flex-direction:column;gap:9px;max-width:520px;margin-inline:auto}
.previewToolbar{font-size:10px;letter-spacing:.16em;color:#c8b99e;text-align:left}
.previewButton,.previewCard,.previewSearch,.previewMusic{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.075);text-align:left;font-size:13px}
.previewCard b{margin-left:auto}.previewSearch{color:#c8c1b6}.previewMusic{font-size:20px}.previewMusic small{font-size:12px}
.previewPlus{font-size:32px;color:#d8c5a6}
.firstWelcomeBox{width:min(700px,calc(100vw - 32px));padding:clamp(22px,4vw,42px)}
.welcomeEyebrow{font-size:11px;letter-spacing:.17em;color:#b4a17f;font-weight:700;margin-bottom:12px}
.firstWelcomeBox h2{font-size:clamp(25px,4vw,38px);line-height:1.12;margin:0 0 12px}
.firstWelcomeBox>p{line-height:1.6;color:var(--muted,#aaa);max-width:48ch;margin:0 0 22px}
.welcomeChoices{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.welcomeChoice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;min-height:180px;padding:20px;border-radius:18px;border:1px solid var(--border,rgba(255,255,255,.16));background:var(--surface,rgba(255,255,255,.045));color:inherit;cursor:pointer;transition:transform .18s,border-color .18s}
.welcomeChoice:hover{transform:translateY(-2px);border-color:rgba(208,181,137,.7)}
.welcomeChoicePrimary{background:linear-gradient(140deg,rgba(180,145,99,.22),rgba(255,255,255,.055));border-color:rgba(208,181,137,.55)}
.welcomeChoiceIcon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(208,181,137,.16);font-size:26px}
.welcomeChoice strong{font-size:17px;line-height:1.3}.welcomeChoice small{font-size:13px;line-height:1.5;color:var(--muted,#aaa)}
/* Plus d'espace tactile, moins de colonnes et de textes tassés sur téléphone. */
@media(max-width:700px){
  header{align-items:stretch;gap:10px;padding:12px 12px 10px;flex-direction:column}
  .brandBlock{width:100%;min-width:0}.brandTitleRow{gap:9px}.siteBrandLogo{width:34px;height:34px;object-fit:contain}
  .brandTitleRow .eyebrow{font-size:10px;line-height:1.3;margin:0 0 2px}.brandTitleRow h1{font-size:21px;line-height:1.15}
  .headerActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;align-items:stretch}
  .searchInput{grid-column:1/-1;width:100%;min-width:0;min-height:44px;font-size:16px}
  .headerActions button{min-height:42px;padding:10px 11px;font-size:13px;white-space:normal;line-height:1.2}
  #userLabel{grid-column:1/-1}.homeDiscovery{padding:16px 12px 22px}.discoveryHero{padding:22px 16px;border-radius:20px;min-height:0}.discoveryHero h2{font-size:clamp(38px,12vw,58px);line-height:.98}.discoveryHero p{font-size:15px;line-height:1.55}
  main{padding:0 12px 36px}.boards,.boardsGrid,.boardGrid,.searchItemGrid,.masonry{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .boardCard,.itemCard{min-width:0;border-radius:13px}.boardCardTitle,.itemCardTitle{font-size:14px;line-height:1.3}.boardCardMeta,.itemCardMeta{font-size:11px}
  .modal{padding:10px!important;align-items:flex-end!important}.modalBox{width:100%!important;max-width:none!important;max-height:92dvh!important;overflow:auto!important;padding:20px 15px!important;border-radius:20px 20px 14px 14px!important}
  .modalBox h2{font-size:24px;line-height:1.2;padding-right:22px}.close{width:38px;height:38px;font-size:25px}
  .contentModalBox input:not([type=checkbox]):not([type=radio]),.contentModalBox select,.contentModalBox textarea{width:100%;min-height:46px;font-size:16px}
  .associationSection summary{gap:10px;padding:13px 10px}.associationSection summary strong{font-size:14px}.associationSection summary small{font-size:12px;line-height:1.4}
  .associationSectionBody{padding:12px 8px}.wikiartRow{display:flex;flex-direction:column;gap:8px}.wikiartRow input,.wikiartRow button{width:100%;min-height:44px}.wikiartResults{grid-template-columns:1fr!important;gap:8px}.wikiartResult{min-height:72px;padding:8px;display:grid;grid-template-columns:66px minmax(0,1fr) 18px;gap:10px}.wikiartResult img{width:66px;height:58px;object-fit:cover}.wikiartResult strong{font-size:13px;line-height:1.3}.wikiartResult small{font-size:11px;line-height:1.35}
  .visibilityOptions{grid-template-columns:1fr!important;gap:8px}.visibilityOption{padding:12px!important}.choiceHeading{gap:8px;align-items:flex-start}.choiceHeading strong{font-size:14px}.choiceHeading small{font-size:12px;line-height:1.45}
  .save,.add,.ghost,.introPrimary,.introSecondary{min-height:44px}
  .visitorIntro{padding:10px}.visitorIntroCard{width:100%;max-height:calc(100dvh - 20px);overflow:auto;padding:18px 14px;border-radius:20px}.introVisual{min-height:130px;padding:12px;margin:8px 0 15px}.introArtworkPreview .previewPainting,.introAssociationPreview .previewPainting{width:78px;height:100px;font-size:42px}.previewSound{font-size:38px}.introSlide h2{font-size:clamp(25px,7vw,34px);line-height:1.1}.introSlide p:not(.eyebrow){font-size:14px;line-height:1.55}.introFooter{gap:10px}.introActions button{min-height:42px}.introAuthCta>div{display:grid;grid-template-columns:1fr;gap:8px}.introPrimary,.introSecondary{width:100%}
  .welcomeChoices{grid-template-columns:1fr}.welcomeChoice{min-height:0;padding:16px;gap:8px}.welcomeChoice strong{font-size:16px}.welcomeChoice small{font-size:13px}
  #artworkModal .artworkInfo{padding:16px!important}.artworkTitle{font-size:22px!important;line-height:1.2}.artworkInfo button{min-height:42px}.immersiveBoardTitle{font-size:clamp(26px,8vw,38px)!important;line-height:1.08}.immersiveBoardDesc{font-size:14px!important}
  #player:not(.hidden){max-width:calc(100vw - 18px)}
}
@media(max-width:380px){.boards,.boardsGrid,.boardGrid,.searchItemGrid{grid-template-columns:1fr!important}.brandTitleRow h1{font-size:19px}.headerActions button{font-size:12px}.introCounter{font-size:11px}}

/* V62 — navigation mobile épurée, barre latérale étroite et actions secondaires repliées */
.mobileMoreBtn{display:none}
@media(max-width:700px){
  body{--tm-mobile-rail:54px}
  header{position:relative!important;display:block!important;padding:10px 10px 8px calc(var(--tm-mobile-rail) + 10px)!important;min-height:62px!important;gap:0!important}
  .brandBlock{position:fixed!important;z-index:8000!important;left:7px!important;top:9px!important;width:40px!important;min-width:40px!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .brandButton{padding:0!important;margin:0!important;width:40px!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .brandTitleRow{display:block!important;gap:0!important}
  .brandTitleRow>div{display:none!important}
  .siteBrandLogo{width:36px!important;height:36px!important;display:block!important}
  .headerActions{display:flex!important;align-items:center!important;gap:7px!important;width:auto!important;margin:0!important;min-width:0!important}
  .headerActions .searchInput{order:1!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;grid-column:auto!important;min-height:42px!important;padding:10px 12px!important;font-size:15px!important}
  .headerActions #loginBtn{order:2!important;flex:0 0 auto!important;min-height:42px!important;padding:9px 11px!important;font-size:12px!important}
  .mobileMoreBtn{display:inline-flex!important;order:3!important;align-items:center!important;justify-content:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;padding:0!important;font-size:26px!important;line-height:1!important;letter-spacing:2px!important;border-radius:12px!important}
  .headerActions #newBoardBtn:not(.hidden),.headerActions #notificationsBtn:not(.hidden){position:fixed!important;left:8px!important;z-index:8001!important;width:38px!important;height:40px!important;min-height:40px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;box-shadow:0 3px 14px rgba(0,0,0,.08)!important;font-size:0!important}
  .headerActions #newBoardBtn:not(.hidden){top:62px!important;font-size:0!important;line-height:1!important}
  .headerActions #newBoardBtn:not(.hidden)::before{content:"+";font-size:25px!important;line-height:1!important;font-weight:400!important}
  .headerActions #notificationsBtn:not(.hidden){top:108px!important}
  .headerActions #notificationsBtn .notificationBellIcon{width:19px!important;height:19px!important}
  .headerActions #notificationsBtn .notificationBadge{position:absolute!important;top:-5px!important;right:-5px!important;font-size:10px!important}
  .headerActions #featuredBtn,.headerActions #allTracksBtn,.headerActions #profileBtn{display:none!important}
  body.mobile-menu-open .headerActions #featuredBtn,body.mobile-menu-open .headerActions #allTracksBtn,body.mobile-menu-open .headerActions #profileBtn{position:fixed!important;z-index:8500!important;right:12px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;width:min(220px,calc(100vw - 84px))!important;min-height:46px!important;padding:12px 15px!important;border-radius:12px!important;background:#f7f4ee!important;color:#191919!important;border:1px solid rgba(20,20,20,.12)!important;box-shadow:0 8px 28px rgba(0,0,0,.17)!important;font-size:14px!important;text-align:left!important}
  body.mobile-menu-open .headerActions #featuredBtn{top:62px!important}
  body.mobile-menu-open .headerActions #allTracksBtn{top:114px!important}
  body.mobile-menu-open .headerActions #profileBtn{top:166px!important}
  .headerActions #userLabel{display:none!important}
  main{padding:0 10px 30px 62px!important}
  .homeDiscovery{padding:10px 0 24px!important}
  .discoveryHero{display:block!important;min-height:0!important;padding:15px!important;margin:0!important;border-radius:15px!important}
  .discoveryHeroCopy{max-width:none!important;padding:0!important}
  .discoveryHeroCopy .desktopHeroTitle,.discoveryHeroCopy>p:not(.eyebrow){display:none!important}
  .discoveryHeroActions{display:flex!important;flex-direction:column!important;gap:0!important;margin:0!important}
  .discoveryHeroActions .immersiveHeroBtn{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-width:0!important;min-height:54px!important;padding:13px 14px!important;border-radius:13px!important;font-size:14px!important}
  .discoveryHeroActions .immersiveHeroBtn strong{font-size:14px!important;letter-spacing:0!important}
  .discoveryHeroActions .immersiveHeroBtn small{font-size:11px!important;line-height:1.35!important;opacity:.72!important}
  .discoveryHeroActions #heroFeaturedBtn{display:none!important}
  .discoveryHeroArtwork{display:none!important}
  .discoverySectionHead{padding-top:24px!important;gap:10px!important;flex-direction:row!important;align-items:center!important}
  .discoverySectionHead h3{font-size:24px!important;line-height:1.15!important;margin:0!important}
  .discoverySectionHead .eyebrow{font-size:9px!important;margin-bottom:6px!important}
  .discoverySectionActions{display:none!important}
  .discoveryStrip{grid-auto-columns:minmax(180px,76vw)!important;gap:10px!important}
  .boards,.boardsGrid,.boardGrid,.searchItemGrid,.masonry{grid-template-columns:1fr!important;gap:11px!important}
  .boardCard,.itemCard{border-radius:12px!important}
  .boardCardTitle,.itemCardTitle{font-size:15px!important}
  .modalBox .associationIntro,.modalBox .formHint{display:none!important}
  .contentModalBox{padding:16px 13px!important}
  .contentModalBox>.modalKicker{font-size:9px!important;letter-spacing:.12em!important;margin-bottom:5px!important}
  .contentModalBox>h2{font-size:22px!important;margin:0 30px 12px 0!important}
  .associationSection{margin:8px 0!important;border-radius:12px!important}
  .associationSection summary{padding:12px 10px!important}
  .associationSection summary small{display:none!important}
  .associationSectionBody{padding:10px!important}
  .helperTop>div>small{display:none!important}
  .helperTop{margin-bottom:8px!important}
  .wikiartRow{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important}
  .wikiartRow input{min-width:0!important;min-height:43px!important;font-size:15px!important}
  .wikiartRow button{width:auto!important;min-height:43px!important;padding:9px 11px!important;white-space:nowrap!important}
  .playlistNotice{padding:9px 10px!important;margin-bottom:9px!important}
  .playlistNotice span{display:none!important}
  .choiceHeading{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:8px!important}
  .choiceHeading>div small{display:none!important}
  .choiceHeading>b{display:none!important}
  .musicChoice{padding:10px!important;margin:8px 0!important}
  .associationFieldsTitle small{display:none!important}
  .associationFieldsTitle{margin-bottom:8px!important}
  .associationVisibility{margin-top:10px!important}
  .visibilityOptions{grid-template-columns:1fr 1fr!important}
  .visibilityOption{padding:9px!important;min-width:0!important}
  .visibilityOption small{font-size:10px!important;line-height:1.3!important}
  #contentSubmit{position:sticky!important;bottom:0!important;width:100%!important;margin-top:12px!important;z-index:2!important;box-shadow:0 -6px 18px rgba(247,244,238,.8)!important}
  .modal{padding:8px!important}
}
@media(max-width:380px){
  body{--tm-mobile-rail:48px}
  header{padding-left:calc(var(--tm-mobile-rail) + 8px)!important}
  .brandBlock{left:4px!important}
  main{padding-left:55px!important;padding-right:8px!important}
  .headerActions{gap:5px!important}
  .headerActions .searchInput{padding:9px!important}
  .headerActions #loginBtn{padding:8px!important}
  .mobileMoreBtn{flex-basis:38px!important;width:38px!important}
}

/* V81 — éléments mobiles ajoutés après la V62 : jamais visibles sur PC (≥701px) */
.searchToggleBtn,.mobileBottomNav,.homeModeTabs,.mobileMoreBtn{display:none!important}
