/* ================================================================
   MAITRELEEE.COM — V4.8
   Navigation persistante, Bon plan, planning images, clips, ETS2.
   ================================================================ */

/* Sidebar plus dense : 9 onglets restent visibles sans chevauchement. */
.v46-sidebar{overflow-y:auto;scrollbar-width:thin}
.v46-nav{gap:4px}
.v46-nav a{min-height:38px;padding:7px 11px}
.v46-nav a span{width:25px;height:25px;font-size:13px}
.v46-sidebar-bottom{margin-top:auto}

/* La carte hors ligne garde exactement la D.A. normale. */
.v471-game-link.is-offline,
.v47-app-card.is-offline,
.v46-app-card.is-offline{opacity:1!important;filter:none!important;grayscale:0!important;color:#fff!important}
.v471-game-link.is-offline .icon{opacity:1!important;filter:none!important}
.v471-game-link.is-offline .state.offline{color:#aab7d1!important}
.v471-game-link.is-offline:hover{transform:none!important}

/* Le bandeau LEEE.A n'existe plus sur l'accueil. */
#persistent-leeea-card,.v471-leeea-banner{display:none!important}

/* Mise au point des images d'univers sur 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% 27%!important}
.v46-category.survival img,.v48-face-focus.survival{object-position:57% 24%!important}
.v46-category.simulation img,.v48-face-focus.simulation{object-position:59% 24%!important}
.v47-universe-hero{min-height:260px;max-height:330px}
.v47-universe-hero>img{width:100%;height:100%;position:absolute;inset:0}

/* ---------------------------------------------------------------
   LIVE : tout doit tenir dans la fenêtre, sans scrolling.
   --------------------------------------------------------------- */
body.v47-live-route{overflow:hidden!important;height:100vh}
body.v47-live-route .v47-main{height:100vh;overflow:hidden!important;padding-top:10px;padding-bottom:10px;display:grid;grid-template-rows:minmax(0,1fr) 150px;gap:10px}
body.v47-live-route .v47-persistent-zone{min-height:0;height:auto;margin:0;grid-template-columns:minmax(0,1.6fr) minmax(310px,.78fr);gap:10px}
body.v47-live-route .v47-live-panel,
body.v47-live-route .v47-chat-panel{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
body.v47-live-route .v47-chat-panel{grid-template-rows:auto minmax(0,1fr)}
body.v47-live-route .v47-player-wrap,
body.v47-live-route .v47-chat-frame-wrap{min-height:0;height:100%;aspect-ratio:auto!important}
body.v47-live-route #route-content{height:150px;min-height:0;margin:0;overflow:hidden;scroll-margin-top:0}
body.v47-live-route .v48-live-band{height:100%;margin:0}

.v48-live-band{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.8fr) minmax(240px,.8fr);gap:10px;padding:12px 14px;border:1px solid rgba(70,130,255,.22);border-radius:18px;background:linear-gradient(120deg,rgba(5,14,34,.96),rgba(24,8,43,.96));box-shadow:0 15px 45px #0005;overflow:hidden}
.v48-live-band-title{min-width:0;align-self:center}.v48-live-band-title h1{font:900 clamp(21px,2vw,30px) Rajdhani;margin:2px 0 2px;line-height:1}.v48-live-band-title p{margin:0;color:#8fa0c0;font-size:9px;line-height:1.4;max-width:720px}
.v48-live-band-card{display:grid;grid-template-columns:36px minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid rgba(93,95,255,.15);border-radius:13px;background:rgba(255,255,255,.03)}
.v48-live-band-card>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(65,128,255,.12);font-size:18px}.v48-live-band-card small{display:block;color:#5bc9ff;font-size:7px;font-weight:900;letter-spacing:.12em}.v48-live-band-card strong{display:block;font:800 15px Rajdhani;margin-top:1px}.v48-live-band-card p{margin:1px 0 0;color:#7f91b1;font-size:8px;line-height:1.35}

/* ---------------------------------------------------------------
   Roue GoCleCD sur l'accueil.
   --------------------------------------------------------------- */
.v48-home-wheel{margin-top:10px;border:1px solid rgba(39,203,255,.35);border-radius:14px;background:radial-gradient(circle at 15% 50%,rgba(44,177,255,.16),transparent 37%),linear-gradient(135deg,rgba(8,23,49,.98),rgba(19,9,31,.98));overflow:hidden}
.v48-home-wheel a{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;align-items:center;padding:9px;text-decoration:none;color:#fff}
.v48-home-wheel img{width:96px;height:82px;object-fit:cover;object-position:center;border-radius:10px;background:#121827}.v48-home-wheel small{display:block;color:#62dcff;font-size:7px;font-weight:1000;letter-spacing:.12em}.v48-home-wheel strong{display:block;font:900 15px Rajdhani;line-height:1.08;margin:2px 0}.v48-home-wheel p{margin:0 0 5px;color:#a6b3cc;font-size:7.5px;line-height:1.35}.v48-home-wheel b{color:#ffcf4e;font-size:9px}.v48-home-wheel a:hover{background:rgba(255,255,255,.025)}

/* ---------------------------------------------------------------
   Planning public : images visibles, contenu non coupé.
   --------------------------------------------------------------- */
.v47-planning-page .v46-planning-full{max-height:none!important;overflow:auto!important;padding-bottom:8px}
.v47-timeline.full{min-width:980px!important;width:100%;grid-template-columns:72px repeat(7,minmax(125px,1fr))!important}
.v47-timeline.preview{grid-template-columns:64px repeat(7,minmax(100px,1fr))!important}
.v47-time-axis{overflow:visible!important}
.v47-time-range{left:0!important;right:0!important;padding-left:2px!important;transform:none!important}
.v46-event.v48-event-with-image{padding:0!important;overflow:hidden!important;isolation:isolate;display:flex!important;align-items:flex-end!important;background:#10172b!important}
.v46-event.v48-event-with-image .v48-event-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.58}
.v46-event.v48-event-with-image::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,7,17,.05),rgba(4,7,17,.92))}
.v48-event-copy{width:100%;padding:7px 8px;min-width:0}.v48-event-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:900 12px Rajdhani}.v48-event-copy small{display:block;font-size:7px;color:#dbe6ff;margin-top:1px}
.v46-event.horror{border-color:#ff3f8d!important}.v46-event.survival{border-color:#36dc8f!important}.v46-event.simulation{border-color:#4ba9ff!important}

/* ---------------------------------------------------------------
   Bon plan.
   --------------------------------------------------------------- */
.v48-deals-page{display:grid;gap:14px}.v48-wheel-full{padding:0;overflow:hidden;min-height:240px}
.v48-wheel-card{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);min-height:240px;background:radial-gradient(circle at 15% 50%,rgba(30,198,255,.16),transparent 33%),linear-gradient(135deg,#071426,#13091f)}
.v48-wheel-media{display:grid;place-items:center;padding:12px;background:rgba(3,8,20,.55)}.v48-wheel-media img{width:100%;height:220px;object-fit:contain}
.v48-wheel-copy{align-self:center;padding:26px}.v48-wheel-copy h2{font:900 34px Rajdhani;margin:3px 0 7px}.v48-wheel-copy p{color:#9daec9;line-height:1.5;font-size:11px;margin:0 0 12px}.v48-wheel-copy .v48-prize{display:block;color:#ffd553;font:900 20px Rajdhani;margin-bottom:13px}.v48-wheel-copy .v48-wheel-date{display:block;color:#6fcfff;font-size:8px;margin-top:9px}.v48-wheel-empty{display:grid;place-items:center;min-height:220px;text-align:center;padding:30px;color:#8293b2}.v48-wheel-empty span{font-size:35px}.v48-wheel-empty strong{font:900 23px Rajdhani;color:#fff;margin:6px 0}
.v48-deals-section{display:grid;gap:8px}.v48-deals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.v48-deal-card{display:grid;grid-template-rows:150px auto;border:1px solid rgba(57,134,235,.22);border-radius:15px;background:#071022;overflow:hidden;color:#fff;text-decoration:none}.v48-deal-card:hover{transform:translateY(-2px);border-color:#ff4c94}.v48-deal-card img{width:100%;height:150px;object-fit:cover;background:#10192d}.v48-deal-card .copy{padding:12px}.v48-deal-card small{color:#5ed6ff;font-size:7px;font-weight:900;letter-spacing:.11em}.v48-deal-card h3{font:900 18px Rajdhani;margin:3px 0}.v48-deal-card p{color:#8e9fbd;font-size:9px;line-height:1.4;margin:0 0 8px}.v48-deal-card b{color:#ff6ead;font-size:9px}

/* ---------------------------------------------------------------
   MaitreLeee / partenaires.
   --------------------------------------------------------------- */
.v471-creator-card.dbd{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:center}.v48-dbd-logo{width:180px;height:110px;object-fit:contain;border-radius:12px;background:#03040a}.v48-partner-img{width:110px;height:80px;object-fit:contain;border-radius:10px;background:#fff}

/* ---------------------------------------------------------------
   LEEE.A page.
   --------------------------------------------------------------- */
.v48-leeea-page{display:grid;gap:13px}.v48-leeea-hero{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:center;padding:18px;overflow:hidden;background:radial-gradient(circle at 14% 50%,rgba(82,49,255,.22),transparent 34%),linear-gradient(135deg,#081124,#120b24)}.v48-leeea-hero>img{width:100%;height:260px;object-fit:contain}.v48-leeea-wordmark{width:170px;max-height:70px;object-fit:contain;object-position:left center}.v48-leeea-hero h2{font:900 36px Rajdhani;margin:4px 0 6px}.v48-leeea-hero p{color:#9aacca;line-height:1.5;font-size:11px;max-width:850px}.v48-leeea-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.v48-leeea-grid article{padding:18px}.v48-leeea-grid article>span{font-size:24px}.v48-leeea-grid h3{font:900 20px Rajdhani;margin:6px 0 3px}.v48-leeea-grid p{color:#8fa0bf;font-size:9px;line-height:1.45}

/* ---------------------------------------------------------------
   Univers : catalogue + clips.
   --------------------------------------------------------------- */
.v48-universe-body{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.v48-universe-body>.v48-clips-panel,.v48-universe-body>.v48-ets2-card{grid-column:1/-1}.v48-universe-body>.v46-panel{padding:15px}.v48-catalog-games,.v46-universe-games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.v48-catalog-card{border:1px solid rgba(60,127,232,.18);border-radius:12px;background:#060c1c;overflow:hidden}.v48-catalog-card img{width:100%;height:105px;object-fit:cover}.v48-catalog-card .copy{padding:9px}.v48-catalog-card h3{font:900 15px Rajdhani;margin:0 0 2px}.v48-catalog-card p{font-size:8px;line-height:1.35;color:#8294b4;margin:0 0 7px;min-height:22px}.v48-catalog-card a{font-size:8px;font-weight:900;color:#5ed5ff;text-decoration:none}.v48-catalog-card a:hover{color:#ff6dac}
.v48-clips-toggle{display:flex;gap:5px}.v48-clips-toggle button{border:1px solid rgba(95,105,255,.24);border-radius:999px;background:#0b1230;color:#9baacc;padding:5px 8px;font-size:8px;font-weight:800;cursor:pointer}.v48-clips-toggle button.active{color:#fff;border-color:#ff4a94;background:rgba(255,50,132,.1)}
.v48-clips-groups{display:grid;gap:15px}.v48-clip-group{display:grid;gap:7px}.v48-clip-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.v48-clip-group-head h3{font:900 18px Rajdhani;margin:0}.v48-clip-group-head a{font-size:8px;color:#66d0ff;text-decoration:none}.v48-clips-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.v48-clip-card{border:1px solid rgba(66,129,222,.17);border-radius:11px;background:#050b19;overflow:hidden;color:#fff;text-decoration:none}.v48-clip-card:hover{border-color:#ff4f99;transform:translateY(-1px)}.v48-clip-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.v48-clip-card .copy{padding:7px}.v48-clip-card h4{font:800 11px Rajdhani;margin:0 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v48-clip-card small{color:#8494b2;font-size:7px}.v48-clips-empty{padding:16px;border:1px dashed rgba(100,116,166,.25);border-radius:11px;color:#7e90ae;text-align:center;font-size:9px}

/* ETS2 : iframe direct de la Route Live déjà existante dans LEEE.A. */
.v48-ets2-frame-wrap{position:relative;min-height:460px;border-radius:14px;overflow:hidden;background:#040812;border:1px solid rgba(48,133,227,.16)}.v48-ets2-frame-wrap iframe{width:100%;height:520px;border:0;background:#040812}.v48-ets2-offline{position:absolute;inset:0;display:grid;place-items:center;align-content:center;text-align:center;background:linear-gradient(135deg,#071126,#120a20);padding:30px}.v48-ets2-offline span{font-size:42px}.v48-ets2-offline strong{font:900 26px Rajdhani;margin:8px 0 2px}.v48-ets2-offline p{color:#8798b6;font-size:10px;max-width:520px}.v48-status-pill{padding:5px 8px;border-radius:999px;border:1px solid rgba(120,128,185,.25);font-size:8px;color:#a6b1ca}.v48-status-pill.online{color:#75efb0;border-color:rgba(75,225,145,.35);background:rgba(55,213,136,.08)}

/* Les cartes de jeux récents peuvent maintenant contenir un lien. */
a.v46-game-card{text-decoration:none;color:inherit}.v46-game-card .v48-game-link-label{display:block;color:#5ed4ff;font-size:7px;font-weight:900;margin-top:3px}

@media(max-width:1300px){.v48-clips-grid{grid-template-columns:repeat(4,1fr)}.v48-deals-grid{grid-template-columns:repeat(2,1fr)}body.v47-live-route .v47-persistent-zone{grid-template-columns:minmax(0,1.4fr) minmax(280px,.72fr)}}
@media(max-width:1050px){body.v47-live-route{overflow:auto!important;height:auto}body.v47-live-route .v47-main{height:auto;display:block;overflow:visible!important}body.v47-live-route #route-content{height:auto;overflow:visible}.v48-live-band{grid-template-columns:1fr;margin-top:10px}.v48-universe-body{grid-template-columns:1fr}.v48-clips-grid{grid-template-columns:repeat(3,1fr)}.v48-wheel-card{grid-template-columns:1fr}.v48-wheel-media img{height:190px}.v48-leeea-grid{grid-template-columns:1fr}.v48-leeea-hero{grid-template-columns:190px 1fr}}
@media(max-width:720px){.v48-deals-grid,.v48-catalog-games,.v46-universe-games{grid-template-columns:1fr 1fr}.v48-clips-grid{grid-template-columns:1fr 1fr}.v471-creator-card.dbd{grid-template-columns:1fr}.v48-dbd-logo{width:100%;height:100px}.v48-leeea-hero{grid-template-columns:1fr;text-align:center}.v48-leeea-hero>img{height:200px}.v48-leeea-wordmark{margin:auto;object-position:center}.v48-ets2-frame-wrap{min-height:330px}.v48-ets2-frame-wrap iframe{height:360px}}
@media(max-width:480px){.v48-deals-grid,.v48-catalog-games,.v46-universe-games,.v48-clips-grid{grid-template-columns:1fr}.v48-wheel-copy{padding:18px}.v48-wheel-copy h2{font-size:28px}}
