/* Casting243 — touches de design sur téléphone (760 px et moins), par-dessus style.css.
   - Nos talents : « Comprendre les couleurs » / « Comprendre les badges » en rideaux, recherche et filtres arrondis
   - Tendances : classement en cartes, onglets en pastilles (la brillance de « Publications » est gardée)
   - Tournages : annonces en liste avec la date, productions « Déjà réalisés »
   L'accueil et la présentation des talents gardent l'ancien modèle. Aucun texte n'est supprimé. */
.d2-tabs{display:none}
@media(max-width:760px){

/* ---------- Nos talents : les deux rideaux d'explications ---------- */
html.d2 .d2-acc{margin:12px 0 0}
html.d2 .d2-acc>.legend-title{position:relative;display:block;margin:0;padding:14px 46px 14px 16px;border:1px solid #2a2a2a;border-radius:14px;background:#101010;font:800 14.5px/1.3 Manrope,Arial,sans-serif;letter-spacing:0;text-transform:none;color:#fff;cursor:pointer;text-align:left;-webkit-tap-highlight-color:transparent}
html.d2 .d2-acc>.legend-title:before{display:none}
/* la flèche du rideau */
html.d2 .d2-acc>.legend-title:after{content:"";display:block;position:absolute;left:auto;right:18px;top:50%;bottom:auto;width:9px;height:9px;background:none;border:0;border-right:2.5px solid #FFD400;border-bottom:2.5px solid #FFD400;transform:translateY(-70%) rotate(45deg);transition:transform .25s}
html.d2 .d2-acc.open>.legend-title:after,html.d2.lg-first .d2-acc:not(.shut)>.legend-title:after{transform:translateY(-25%) rotate(225deg)}
html.d2 .d2-acc.open>.legend-title,html.d2.lg-first .d2-acc:not(.shut)>.legend-title{border-color:rgba(255,212,0,.45)}
html.d2 .d2-acc>.d2-body{display:none;padding-top:12px}
html.d2.lg-first .d2-acc:not(.shut)>.d2-body{display:block}
html.d2 .d2-acc.open>.d2-body{display:block;animation:d2Down .28s ease}
@keyframes d2Down{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* Recherche et filtres */
html.d2 .toolbar .search input,html.d2 .toolbar .sel{border-radius:14px}
html.d2 .toolbar .chip{border-radius:99px;text-transform:none;letter-spacing:0}

/* ---------- Tendances ---------- */
html.d2 .tr-tabs{border:0;background:#151515;border-radius:14px;padding:4px;gap:4px;margin:0 0 22px;overflow:visible}
html.d2 .tr-tabs .tr-ind{display:none}
html.d2 .tr-tabs button{flex:1;border:0!important;border-radius:10px;font-size:13px;letter-spacing:0;text-transform:none;padding:11px 6px;white-space:nowrap}
html.d2 .tr-tabs button.on:not(.tr-shine){background:#FFD400;color:#000}
html.d2 .tr-tabs .tr-shine{margin:0;border-radius:10px;padding:11px 6px!important}
html.d2 .tr-tabs .tr-shine::after{border-radius:8px}
html.d2 .trend-list{display:flex;flex-direction:column;gap:8px}
html.d2 .trend-list .tr-item{grid-template-columns:26px 54px 1fr auto;gap:12px;border:1px solid #232323!important;border-radius:14px;background:#101010;padding:8px 12px 8px 10px}
html.d2 .trend-list .tr-rank{font:800 18px Syne,Arial,sans-serif;color:#FFD400;text-align:center;letter-spacing:0}
html.d2 .trend-list .tr-ph{display:block;width:54px;height:66px;border-radius:10px;overflow:hidden}
html.d2 .trend-list .tr-ph img{width:100%;height:100%;object-fit:cover;object-position:50% 12%;border-radius:0;border:0}
html.d2 .trend-list .tr-body b{font:800 15px Manrope,Arial,sans-serif;letter-spacing:0;text-transform:none}
html.d2 .trend-list .tr-body small{font-size:12px;letter-spacing:0;text-transform:none;color:#a9a39a;font-weight:600}

/* ---------- Tournages : annonces de casting + déjà réalisés ---------- */
html.d2 .d2-tabs{display:flex;background:#151515;border-radius:14px;padding:4px;gap:4px;margin:6px 0 22px}
html.d2 .d2-tabs button{flex:1;border:0;background:none;border-radius:10px;color:#a9a39a;font:800 13px Manrope,Arial,sans-serif;padding:11px 6px;cursor:pointer;letter-spacing:0;text-transform:none}
html.d2 .d2-tabs button.on{background:#FFD400;color:#000}
html.d2 .prods{grid-template-columns:1fr;gap:12px}
html.d2 .prod{border-radius:16px;overflow:hidden;border-color:#232323;background:#101010}
html.d2 .prod-type{letter-spacing:.02em;text-transform:none;font-size:12px}
html.d2 .prod-body h3{text-transform:none;letter-spacing:-.01em;font-size:19px}
html.d2 .prod-com-btn{border-radius:10px;text-transform:none;letter-spacing:0;font-size:13px}
html.d2 .prod-empty{border-radius:16px}

/* ---------- Nos talents : deux photos côte à côte (hors mode mosaïque) ---------- */
html.d2 body:not(.c-mz) .grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
html.d2 body:not(.c-mz) .grid>:not(.tcard){grid-column:1/-1}
html.d2 body:not(.c-mz) .grid .tcard{border-radius:14px;display:flex;flex-direction:column}
html.d2 body:not(.c-mz) .grid .tcard .ph{aspect-ratio:3/4}
/* la ou les catégories : bien lisibles, sur toute la largeur s'il le faut */
html.d2 body:not(.c-mz) .grid .tcard .cat{top:7px;left:7px;max-width:calc(100% - 14px);font-size:10px;line-height:1.3;letter-spacing:0!important;padding:4px 8px;white-space:normal;background:rgba(0,0,0,.82)}
/* titres de badges (Diamond, Gold, Silver) : tout petits, en bas de la photo (les coches suffisent) */
html.d2 body:not(.c-mz) .grid .tcard [class*="-corner"]{top:auto;right:auto;left:7px;bottom:8px;font-size:7.5px;padding:2px 6px 2px 3px;gap:3px;box-shadow:none}
html.d2 body:not(.c-mz) .grid .tcard [class*="-corner"] .check{width:9px;height:9px;font-size:6.5px}
html.d2 body:not(.c-mz) .grid .tcard .diamond-corner .dm-seal{width:10px;height:10px}
html.d2 body:not(.c-mz) .grid .tcard .tier-tag{left:7px;bottom:8px;font-size:7.5px;letter-spacing:0;padding:3px 6px;max-width:calc(100% - 52px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.d2 body:not(.c-mz) .grid .tcard .tier-tag::before{width:6px;height:6px;margin-right:4px}
html.d2 body:not(.c-mz) .grid .tcard .body{padding:9px 10px 8px;flex:1}
html.d2 body:not(.c-mz) .grid .tcard .body h3{font-size:14px;gap:5px;line-height:1.2}
html.d2 body:not(.c-mz) .grid .tcard .body h3 .mini-check{width:15px;height:15px;font-size:9.5px}
html.d2 body:not(.c-mz) .grid .tcard .body p{font-size:10.5px;margin-top:3px;letter-spacing:0}
html.d2 body:not(.c-mz) .grid .tcard .actions{padding:0 10px 10px;gap:0}
html.d2 body:not(.c-mz) .grid .tcard .actions .btn.ghost{display:none}
html.d2 body:not(.c-mz) .grid .tcard .actions .btn{padding:9px 4px;font-size:12px;border-radius:10px}
}
