/* ================================================================
   MAITRELEEE.COM — V4.9
   Correctifs réellement appliqués : navigation, Live sans scroll,
   planning quadrillé, Bon plan, créateurs compacts, LEEE.A sidebar.
   ================================================================ */

/* Sidebar : neuf entrées restent lisibles. */
.v46-nav{gap:3px!important}
.v46-nav a{min-height:36px!important;padding:6px 10px!important}
.v46-nav a b{font-size:13px!important}
.v46-nav a span{width:24px!important;height:24px!important;font-size:12px!important}

/* Le bandeau LEEE.A de l'accueil est définitivement supprimé. */
#persistent-leeea-card,.v471-leeea-banner{display:none!important}

/* Accueil : carte roue dans l'espace disponible sous les jeux. */
#home-wheel-promo[hidden]{display:none!important}
#home-wheel-promo{display:block;margin-top:10px;min-height:0}
#home-wheel-promo a{grid-template-columns:190px minmax(0,1fr)!important;padding:12px!important;align-items:center!important}
#home-wheel-promo img{width:190px!important;height:180px!important;object-fit:contain!important;background:#111827!important;border-radius:12px!important}

/* Les jeux indisponibles gardent leurs couleurs. */
.v471-game-link.is-offline,.v47-app-card.is-offline,.v46-app-card.is-offline{opacity:1!important;filter:none!important;grayscale:0!important;background:linear-gradient(145deg,rgba(13,13,31,.94),rgba(16,8,30,.92))!important;border-color:rgba(255,52,138,.24)!important}
.v471-game-link.is-offline .icon{opacity:1!important;filter:none!important;background:rgba(255,37,132,.12)!important}
.v471-game-link.is-offline h3{color:#fff!important}
.v471-game-link.is-offline p{color:#8fa0bd!important}
.v471-game-link.is-offline .state.offline{color:#8393ae!important}

/* ---------------------------------------------------------------
   LIVE — lecteur + chat + bandeau : tout sur un écran desktop.
   --------------------------------------------------------------- */
body.v47-live-route{height:100vh!important;overflow:hidden!important}
body.v47-live-route .v47-main{height:100vh!important;min-height:0!important;overflow:hidden!important;padding-top:8px!important;padding-bottom:8px!important;display:grid!important;grid-template-rows:minmax(0,1fr) 132px!important;gap:8px!important}
body.v47-live-route .v47-persistent-zone{height:100%!important;min-height:0!important;margin:0!important;display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(300px,.72fr)!important;gap:8px!important}
body.v47-live-route .v47-live-panel,body.v47-live-route .v47-chat-panel{height:100%!important;min-height:0!important;display:grid!important}
body.v47-live-route .v47-live-panel{grid-template-rows:auto minmax(0,1fr) auto!important}
body.v47-live-route .v47-chat-panel{grid-template-rows:auto minmax(0,1fr)!important}
body.v47-live-route .v47-player-wrap,body.v47-live-route .v47-chat-frame-wrap{height:100%!important;min-height:0!important;aspect-ratio:auto!important}
body.v47-live-route #route-content{height:132px!important;min-height:132px!important;margin:0!important;overflow:hidden!important}
body.v47-live-route .v48-live-band{height:132px!important;min-height:132px!important;padding:10px 12px!important;align-items:center!important}
body.v47-live-route .v48-live-band-title h1{font-size:clamp(20px,1.8vw,28px)!important}
body.v47-live-route .v48-live-band-title p{font-size:8px!important}
body.v47-live-route .v48-live-band-card{padding:8px!important}

/* ---------------------------------------------------------------
   Univers : toujours cadrer le visage du personnage.
   --------------------------------------------------------------- */
.v46-category img,.v47-universe-hero>img{object-fit:cover!important}
.v46-category.horror img,.v48-face-focus.horror{object-position:64% 23%!important}
.v46-category.survival img,.v48-face-focus.survival{object-position:58% 20%!important}
.v46-category.simulation img,.v48-face-focus.simulation{object-position:60% 20%!important}
.v47-universe-hero{min-height:255px!important;max-height:310px!important;position:relative!important}
.v47-universe-hero>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.v471-universe-switcher{position:sticky;top:8px;z-index:30;backdrop-filter:blur(12px)}

/* ---------------------------------------------------------------
   Planning public : vraies lignes de 2 h + images visibles.
   --------------------------------------------------------------- */
.v47-planning-page .v46-full-planning{overflow:hidden}
.v47-planning-page .v46-planning-full{max-height:none!important;overflow:auto!important;padding:0 0 8px!important}
.v47-timeline.full{min-width:1050px!important;width:100%!important;grid-template-columns:78px repeat(7,minmax(130px,1fr))!important}
.v47-timeline.preview{grid-template-columns:68px repeat(7,minmax(104px,1fr))!important}
.v47-day-track,.v47-time-axis{background-image:repeating-linear-gradient(to bottom,rgba(75,142,239,.22) 0 1px,transparent 1px var(--hour-h))!important;background-size:100% var(--hour-h)!important}
.v47-day-track{border-left:1px solid rgba(61,139,240,.16)!important}
.v47-time-axis{border-right:1px solid rgba(61,139,240,.22)!important}
.v47-time-range{left:3px!important;right:3px!important;transform:none!important;height:var(--hour-h);display:flex!important;align-items:flex-start!important;gap:3px;padding-top:4px!important;border-top:1px solid rgba(75,142,239,.22)!important}
.v47-time-range b{font:800 10px Rajdhani;color:#a7b9d7}.v47-time-range small{font-size:7px;color:#637595}
.v46-event.v48-event-with-image{min-height:36px!important;border-width:1px!important;background:#091326!important}
.v46-event.v48-event-with-image .v48-event-bg{opacity:.7!important;object-fit:cover!important}
.v46-event.v48-event-with-image::after{background:linear-gradient(180deg,rgba(4,7,17,.12),rgba(4,7,17,.94))!important}
.v48-event-copy{padding:6px 7px!important}.v48-event-copy strong{font-size:12px!important}.v48-event-copy small{font-size:8px!important}

/* ---------------------------------------------------------------
   Page MaitreLeee : Content Creator compacts et homogènes.
   --------------------------------------------------------------- */
.v471-creator-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.v471-creator-card{min-height:170px!important;height:170px!important;padding:12px!important;display:grid!important;grid-template-columns:130px minmax(0,1fr)!important;gap:13px!important;align-items:center!important}
.v471-creator-card.dbd{grid-template-columns:150px minmax(0,1fr)!important}
.v471-creator-card img{width:130px!important;height:120px!important;object-fit:contain!important;border-radius:10px!important;margin:0!important}
.v471-creator-card.dbd img{width:150px!important;height:120px!important;background:#03040a!important}
.v471-creator-card h2{font:900 21px Rajdhani!important;margin:2px 0 3px!important}
.v471-creator-card p{font-size:8.5px!important;line-height:1.35!important;margin:0!important;color:#93a4c2!important}
.v49-species-logo{width:130px;height:118px;border-radius:11px;display:grid;place-items:center;align-content:center;text-align:center;background:radial-gradient(circle at 50% 30%,rgba(84,181,255,.16),transparent 44%),linear-gradient(145deg,#07101d,#03070e);border:1px solid rgba(68,174,255,.3);font:900 18px Rajdhani;letter-spacing:.08em;color:#d8f3ff}.v49-species-logo span{display:block;color:#60d6ff;font-size:22px}
.v471-partners-section{margin-top:14px!important}.v471-partner-cards{gap:10px!important}.v471-partner-card{min-height:120px!important;padding:13px!important}.v48-partner-img{width:95px!important;height:62px!important}.v471-partner-logo{width:95px!important;height:62px!important;font-size:16px!important}

/* Présentation compacte sur l'accueil. */
.v471-home-about{min-height:160px!important;padding:16px 20px!important}.v471-home-about>img{height:135px!important;width:135px!important;object-fit:contain!important}.v471-about-copy h2{font-size:28px!important}.v471-about-copy p{font-size:9px!important;line-height:1.45!important}.v471-home-partners{margin-top:12px!important}

/* Auth : six fournisseurs. */
.v47-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.v47-provider.x>span{background:#111!important;color:#fff!important}

/* Admin/public deal cards stay compact. */
.v48-deals-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.v48-wheel-card{min-height:340px!important;grid-template-columns:minmax(320px,38%) minmax(0,1fr)!important;align-items:center!important}.v48-wheel-media{display:grid!important;place-items:center!important}.v48-wheel-media img{width:min(100%,360px)!important;height:330px!important;object-fit:contain!important}

@media(max-width:1350px){
  .v471-creator-grid{grid-template-columns:1fr 1fr!important}
  .v471-creator-card{height:160px!important;min-height:160px!important}
}
@media(max-width:1050px){
  body.v47-live-route{overflow:auto!important;height:auto!important}
  body.v47-live-route .v47-main{height:auto!important;display:block!important;overflow:visible!important}
  body.v47-live-route #route-content{height:auto!important;min-height:0!important;overflow:visible!important}
  body.v47-live-route .v48-live-band{height:auto!important;min-height:0!important}
  .v471-creator-grid{grid-template-columns:1fr!important}
  .v471-creator-card{height:auto!important;min-height:150px!important}
}
@media(max-width:720px){
  .v471-creator-card,.v471-creator-card.dbd{grid-template-columns:110px minmax(0,1fr)!important}
  .v471-creator-card img,.v471-creator-card.dbd img,.v49-species-logo{width:105px!important;height:100px!important}
  .v48-deals-grid{grid-template-columns:1fr!important}
}
.v49-inline-link{display:inline-block;margin-top:6px;color:#67d6ff;text-decoration:none;font-size:8px;font-weight:900}.v49-inline-link:hover{color:#ff6dad}
.v471-brand-badge.species{border-color:rgba(77,191,255,.3)!important}.v471-brand-badge.species strong{color:#72d8ff!important}

/* V4.9.1 — Roue cadeaux agrandie sans recadrage. */
@media(max-width:900px){#home-wheel-promo a{grid-template-columns:140px minmax(0,1fr)!important}#home-wheel-promo img{width:140px!important;height:132px!important}.v48-wheel-card{grid-template-columns:1fr!important}.v48-wheel-media img{height:280px!important}}

/* V4.9.3 — logo partenaire GoCleCD fourni par MaitreLeee */
.v49-goclecd-logo{overflow:hidden;padding:0!important;background:#101722!important;display:flex!important;align-items:center!important;justify-content:center!important}
.v49-goclecd-logo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
