/* CAJ V23.9 — TTJ client aligné sur l'espace client validé */
:root{--ttj-v239-cream:#fff8ec;--ttj-v239-navy:#12245a;--ttj-v239-purple:#643cff;--ttj-v239-line:#e9dfcf;}
@media(min-width:769px){body.ttj-client-mode.ttj-client-standalone-catalogue{--ttj-client-sidebar-w:268px!important;padding-left:268px!important}}
body.ttj-client-standalone-catalogue .ttj-client-sidebar{width:268px!important;background:linear-gradient(180deg,#fffaf1 0%,#fff5e4 72%,#fff0d8 100%)!important;border-right:1px solid #eadfca!important;box-shadow:7px 0 30px rgba(99,72,42,.08)!important;color:var(--ttj-v239-navy)!important;padding-bottom:12px!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-header{min-height:76px!important;padding:14px 15px!important;border-bottom:1px solid #eee3d2!important;background:transparent!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-logo{width:46px!important;height:46px!important;border-radius:13px!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-brand{font-size:1.05rem!important;color:var(--ttj-v239-navy)!important;font-weight:900!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-brand small{display:block!important;color:#667293!important;font-size:.67rem!important;font-weight:750!important;margin-top:4px!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-section{padding:11px 8px 2px!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-section-label{display:block!important;color:#6c7393!important;padding:3px 8px 7px!important;font-size:.66rem!important;font-weight:900!important;letter-spacing:1.1px!important;text-transform:uppercase}
body.ttj-client-standalone-catalogue .ttj-sidebar-item{color:#172b60!important;margin:2px 0!important;width:100%!important;min-height:42px!important;padding:9px 10px!important;border-radius:11px!important;font-weight:700!important;font-size:.84rem!important;background:transparent!important;box-shadow:none!important;border:0!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-item:hover{background:rgba(100,60,255,.08)!important;color:#4c28dd!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-item.ttj-si-active{color:#522de6!important;background:linear-gradient(90deg,#f1ebff,#ece7ff)!important;border-left:3px solid #6b41ff!important;box-shadow:none!important}
body.ttj-client-standalone-catalogue .ttj-si-icon{width:27px!important;height:27px!important;border-radius:8px!important;display:inline-grid!important;place-items:center!important;background:#fff!important;box-shadow:0 2px 7px rgba(51,49,86,.08)!important;font-size:15px!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-item.ttj-si-active .ttj-si-icon{background:#673dff!important;color:#fff!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-sep{background:#e8ddcb!important;margin:7px 12px!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-subitem{display:none!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-join-card{display:none!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-company{margin-top:auto!important;padding:10px 12px!important;color:#5b6687!important;font-size:.7rem!important}
body.ttj-client-standalone-catalogue .ttj-client-topbar{left:268px!important}
.ttj-v239-badge{margin-left:auto;border-radius:999px;padding:3px 8px;font-size:.66rem;font-weight:900;background:#eafcf4;color:#0b8f61;border:1px solid #a8ead1}
.ttj-v239-badge.pink{background:#ffeaf0;color:#d73062;border-color:#ffc1d3}
.ttj-v239-profile{margin:8px 10px 4px;padding:10px;border-radius:13px;background:rgba(255,255,255,.92);border:1px solid #eadfcf;box-shadow:0 8px 20px rgba(93,65,39,.07);display:flex;align-items:center;gap:9px;text-decoration:none;color:#12245a}
.ttj-v239-profile-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#6942ff,#4c2be7);color:#fff;font-weight:900}.ttj-v239-profile strong{font-size:.78rem}.ttj-v239-profile small{display:block;color:#727c9a;font-size:.66rem;margin-top:2px}.ttj-v239-profile .arr{margin-left:auto;font-size:18px}
/* Catalogue : même douceur visuelle que le compte client */
body.ttj-client-catalogue{background:#f8f9fd!important;color:#12245a!important}
body.ttj-client-catalogue .ttj-client-hero-banner{border-color:#ebe6f4!important;border-radius:20px!important;background:radial-gradient(circle at 82% 25%,rgba(111,72,255,.11),transparent 28%),linear-gradient(120deg,#fff,#fff8ef 70%,#f2edff)!important}
body.ttj-client-catalogue #searchTab .filters,body.ttj-client-catalogue .ttj-feature-card,body.ttj-client-catalogue .game-card{border-color:#ece7f4!important;box-shadow:0 8px 24px rgba(54,44,108,.07)!important}
/* Fiche jeu : fidèle au visuel validé, sans toucher aux actions réelles */
body.ttj-client-catalogue #gameModal .modal-box{width:min(1120px,96vw)!important;max-width:min(1120px,96vw)!important;border-radius:22px!important}
body.ttj-client-catalogue #gameModal #modalContent{padding:22px 24px 18px!important}
body.ttj-client-catalogue #gameModal .ttj-premium-product-grid{grid-template-columns:minmax(300px,360px) minmax(0,1fr) minmax(235px,270px)!important;gap:20px!important}
body.ttj-client-catalogue #gameModal .ttj-premium-image-frame{min-height:360px!important;border-radius:18px!important;padding:14px!important;background:#fffaf1!important}
body.ttj-client-catalogue #gameModal .ttj-premium-image-frame .game-image{height:330px!important}
body.ttj-client-catalogue #gameModal .ttj-premium-title{font-size:clamp(1.8rem,2.6vw,2.45rem)!important;color:#12245a!important}
body.ttj-client-catalogue #gameModal .ttj-premium-eyebrow{color:#6742ed!important}
body.ttj-client-catalogue #gameModal .ttj-premium-meta{background:#faf8ff!important;border-color:#ece6ff!important}
body.ttj-client-catalogue #gameModal .ttj-premium-buy{border-radius:18px!important;background:linear-gradient(180deg,#fff,#fffaf3)!important}
body.ttj-client-catalogue #gameModal #reserveGameBtn{background:linear-gradient(135deg,#633dff,#7c50ff)!important}
@media(max-width:1120px){body.ttj-client-catalogue #gameModal .ttj-premium-product-grid{grid-template-columns:minmax(280px,340px) minmax(0,1fr)!important}body.ttj-client-catalogue #gameModal .ttj-premium-buy{grid-column:1/-1!important}}
@media(max-width:760px){body.ttj-client-catalogue #gameModal .ttj-premium-product-grid{grid-template-columns:1fr!important}.ttj-v239-profile{display:none!important}}
.ttj-v239-legacy-actions{display:none!important}


/* CAJ V24.54 — identité LPC validée dans le menu client TTJ */
body.ttj-client-standalone-catalogue .ttj-sidebar-header{min-height:96px!important;padding:14px 13px!important;gap:9px!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-logo{width:56px!important;height:56px!important;flex:0 0 56px!important;border-radius:0!important;object-fit:contain!important;filter:drop-shadow(0 5px 9px rgba(89,55,180,.14))!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-brand-copy{min-width:0!important;display:flex!important;align-items:center!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-brand{display:flex!important;flex-direction:column!important;gap:2px!important;line-height:1.05!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-brand-title{display:block!important;font-size:.91rem!important;line-height:1.08!important;font-weight:950!important;letter-spacing:-.025em!important;color:var(--ttj-v239-navy)!important;white-space:nowrap!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-brand-secondary{display:block!important;color:#3e4670!important;font-size:.69rem!important;line-height:1.1!important;font-weight:850!important;margin-top:1px!important;white-space:nowrap!important}
body.ttj-client-standalone-catalogue .ttj-sidebar-brand-tagline{display:block!important;color:#74758a!important;font-size:.57rem!important;line-height:1.15!important;font-weight:720!important;margin-top:0!important;white-space:nowrap!important}
