/* CAJ V23.5 — Clients en direct, reproduction fidèle du visuel validé */
#adminContent[data-active-view="clients-live"] #adminViewPanelBar{display:none!important}
#adminContent[data-active-view="clients-live"] .admin-small-row>[data-admin-view="clients-live"]{display:block!important}
#adminContent[data-active-view="clients-live"]{background:#f7f8fc!important}
#adminContent[data-active-view="clients-live"] .admin-small-row{display:block!important;width:100%!important;max-width:none!important}
#clientsLiveSection{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;min-height:calc(100vh - 24px)!important;overflow:visible!important}
#clientsLiveSection>.info-card-content{padding:0!important}
.live-v235{--lv-purple:#6b35ff;--lv-purple2:#7b42ff;--lv-navy:#10194b;--lv-muted:#78819b;--lv-border:#e5e9f3;--lv-green:#0bb97b;--lv-soft-green:#e7fbf2;--lv-blue:#4373ff;--lv-orange:#ff8b22;--lv-pink:#f03d79;--lv-bg:#f7f8fc;color:var(--lv-navy);font-family:inherit;display:grid;gap:18px;padding:0 0 28px}
.live-v235 *{box-sizing:border-box}
.live-v235-topbar{min-height:66px;margin:0 -4px;padding:9px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid #edf0f6;box-shadow:0 4px 16px rgba(32,40,82,.035);position:sticky;top:0;z-index:11}
.live-v235-global-search{width:min(440px,44vw);height:42px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #dfe4ef;border-radius:11px;background:#fff;color:#8c94a9}
.live-v235-global-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%;height:100%;font-size:13px;color:#25305f;padding:0!important}
.live-v235-top-actions{display:flex;align-items:center;gap:12px}
.live-v235-top-chip{height:42px;display:flex;align-items:center;gap:8px;padding:0 13px;border:1px solid #e2e6f1;border-radius:11px;background:#fafbfe;color:#1d2856;font-size:11px;font-weight:800;white-space:nowrap}
.live-v235-bell{width:42px;padding:0;justify-content:center;position:relative;font-size:19px}
.live-v235-bell-badge{position:absolute;right:2px;top:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:20px;background:#ff3f67;color:#fff;font-size:9px;display:grid;place-items:center}
.live-v235-online-dot{width:7px;height:7px;border-radius:50%;background:#0dc37b;box-shadow:0 0 0 4px rgba(13,195,123,.09)}
.live-v235-date{display:block;color:#818aa3;font-size:9px;font-weight:700}.live-v235-time{display:block;margin-top:1px;font-size:15px;color:#172052;font-weight:950}
.live-v235-main{padding:0 14px;display:grid;gap:17px}
.live-v235-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;position:relative}
.live-v235-title-main{display:flex;align-items:center;gap:16px;padding:7px 0 2px}
.live-v235-title-icon{width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,#7d44ff,#5926e8);display:grid;place-items:center;box-shadow:0 10px 22px rgba(106,53,255,.19);color:#fff}
.live-v235-title-icon svg{width:34px;height:34px}
.live-v235-title-copy h1{margin:0;color:#111b50;font-size:31px;line-height:1.03;letter-spacing:-.035em}.live-v235-title-copy p{margin:6px 0 0;color:#67738f;font-size:14px}
.live-v235-count-badge{display:inline-flex;align-items:center;gap:7px;margin-left:10px;padding:6px 12px;border-radius:999px;background:#d9f8e9;color:#047a52;font-size:13px;font-weight:950;vertical-align:middle}
.live-v235-toast{min-width:360px;max-width:440px;display:none;align-items:center;gap:11px;padding:12px 14px;border:1px solid #e4ddff;border-radius:15px;background:#fff;box-shadow:0 12px 35px rgba(84,56,164,.14);animation:liveV235ToastIn .22s ease}
.live-v235-toast.show{display:flex}.live-v235-toast-avatar{width:39px;height:39px;border-radius:50%;overflow:hidden;background:#efeaff;display:grid;place-items:center;font-weight:900;color:#6231ee;position:relative;flex:0 0 39px}.live-v235-toast-avatar img{width:100%;height:100%;object-fit:cover}.live-v235-toast-copy{min-width:0;flex:1}.live-v235-toast-copy b{display:block;font-size:11px;color:#1b2456}.live-v235-toast-copy span{display:block;margin-top:3px;font-size:9.5px;color:#68748e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-v235-toast button{border:0;border-radius:9px;background:linear-gradient(135deg,#733cff,#6128e8);color:#fff;font-size:10px;font-weight:900;padding:10px 12px;cursor:pointer}.live-v235-toast-close{position:absolute;right:4px;top:-8px;color:#6731ee;font-weight:900;cursor:pointer}
@keyframes liveV235ToastIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.live-v235-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.live-v235-kpi{min-height:120px;padding:17px 17px 14px;border:1px solid var(--lv-border);border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(34,40,78,.045);display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;align-content:start}
.live-v235-kpi-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-size:23px}.live-v235-kpi.green .live-v235-kpi-icon{background:#ddfaed;color:#079764}.live-v235-kpi.purple .live-v235-kpi-icon{background:#eee8ff;color:#6c35ff}.live-v235-kpi.orange .live-v235-kpi-icon{background:#fff1df;color:#ff8a1d}.live-v235-kpi.pink .live-v235-kpi-icon{background:#ffe7ef;color:#e82c68}
.live-v235-kpi-label{font-size:11px;font-weight:850;color:#25305b}.live-v235-kpi-value{margin-top:5px;font-size:31px;font-weight:950;line-height:1;color:#111b4b;letter-spacing:-.035em}.live-v235-kpi-sub{grid-column:2;margin-top:2px;color:#8a92a8;font-size:10px}.live-v235-kpi-trend{display:inline-flex;align-items:center;padding:4px 8px;margin-left:6px;border-radius:999px;background:#e7fbf1;color:#079764;font-size:9.5px;font-weight:900;vertical-align:middle}.live-v235-kpi-trend.purple{background:#efe9ff;color:#6a35ef}.live-v235-kpi-trend.negative{background:#fff0e7;color:#dd5f16}
.live-v235-tabs{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--lv-border);border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(34,40,78,.03)}
.live-v235-tab{position:relative;min-height:56px;border:0;background:#fff;color:#52607d;font-weight:850;font-size:12px;cursor:pointer}.live-v235-tab.active{color:#5f2df1}.live-v235-tab.active:after{content:"";position:absolute;left:24px;right:24px;bottom:0;height:3px;border-radius:3px;background:#6c35ff}.live-v235-tab:hover{background:#fbfaff}
.live-v235-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;gap:10px;align-items:center;padding:13px 14px;border:1px solid var(--lv-border);border-radius:15px;background:#fff}.live-v235-search{height:42px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #dfe4ef;border-radius:10px}.live-v235-search input{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;width:100%;height:100%;padding:0!important;font-size:12px;color:#1d2857}.live-v235-filter-wrap{display:flex;align-items:center;gap:7px;color:#5a6682;font-size:11px;font-weight:800}.live-v235-filter-wrap select{min-width:185px;height:42px;border:1px solid #dfe4ef;border-radius:10px;background:#fff;color:#1d2857;padding:0 35px 0 12px;font-size:11px}
.live-v235-panel{display:none}.live-v235-panel.active{display:block}.live-v235-list{display:grid;gap:13px}
.live-v235-statusline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 4px 4px;color:#66728d;font-size:11px}.live-v235-refresh{display:flex;align-items:center;gap:6px;color:#71809a}.live-v235-refresh i{width:8px;height:8px;border-radius:50%;background:#11bd78}
.live-v235-client{border:1px solid #dfe5ef;border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(34,40,78,.04);overflow:hidden}.live-v235-client-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 14px 12px}.live-v235-avatar{width:54px;height:54px;border-radius:50%;overflow:hidden;background:linear-gradient(145deg,#7a4cff,#54a5ff);display:grid;place-items:center;color:#fff;font-weight:950;font-size:17px;position:relative;box-shadow:0 6px 16px rgba(84,79,192,.16)}.live-v235-avatar img{width:100%;height:100%;object-fit:cover}.live-v235-avatar-dot{position:absolute;right:1px;bottom:3px;width:13px;height:13px;border-radius:50%;background:#10bd76;border:2px solid #fff}.live-v235-client-copy{min-width:0}.live-v235-client-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.live-v235-client-title strong{font-size:15px;color:#121c4d}.live-v235-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:8px;font-size:9.5px;font-weight:900;white-space:nowrap}.live-v235-pill.level{background:#fff1c9;color:#ad7200}.live-v235-pill.lp{background:#f2eaff;color:#6a2de8}.live-v235-pill.resa{background:#ffe5ee;color:#d82962}.live-v235-pill.source{background:#e9fbf3;color:#06875b}.live-v235-pill.blue{background:#e9f1ff;color:#3166db}.live-v235-client-since{display:block;margin-top:3px;color:#8d95aa;font-size:9.5px}.live-v235-client-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px;color:#5f6f8b;font-size:10px}.live-v235-client-side{display:flex;align-items:center;gap:11px}.live-v235-signal{text-align:right;color:#26315b;font-size:10px;font-weight:800}.live-v235-signal small{display:block;margin-top:4px;color:#8a93aa;font-weight:700}.live-v235-signal small.live{color:#17a86f}.live-v235-more{width:28px;height:32px;border:0;background:transparent;color:#34416c;font-weight:950;cursor:pointer}.live-v235-session-btn{height:39px;border:1px solid #c8eddc;border-radius:10px;background:#e9fbf2;color:#086b4c;padding:0 13px;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap}.live-v235-client:not(.expanded) .live-v235-session-btn{background:#f4f5ff;border-color:#d7dcf0;color:#23305f}
.live-v235-now{margin:0 12px 12px;padding:13px;border:1px solid #e2e7f0;border-radius:14px;background:#fbfcfe;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px}.live-v235-now-label{display:inline-flex;align-items:center;padding:5px 9px;border-radius:8px;background:#0bad70;color:#fff;font-size:9px;font-weight:950;letter-spacing:.02em}.live-v235-game{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;align-items:center;margin-top:10px}.live-v235-game-img{width:78px;height:90px;border-radius:8px;object-fit:contain;background:#fff;border:1px solid #e7eaf1}.live-v235-game-info h3{margin:0;color:#111b4b;font-size:14px}.live-v235-actionline{margin-top:7px;color:#596884;font-size:10px}.live-v235-location{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:6px 9px;border-radius:7px;background:#e3faef;border:1px solid #c9f0df;color:#087653;font-size:9.5px}.live-v235-game-price{display:inline-block;margin-left:8px;font-size:10px;color:#111b4b;font-weight:950}.live-v235-now-side{border-left:1px solid #e8ebf3;padding-left:15px;display:grid;align-content:center;gap:14px}.live-v235-time-metric{display:grid;grid-template-columns:36px 1fr;gap:9px;align-items:center}.live-v235-time-icon{width:34px;height:34px;border-radius:11px;background:#f1ebff;color:#6c35ff;display:grid;place-items:center;font-size:18px}.live-v235-time-metric small{display:block;color:#76819b;font-size:9px}.live-v235-time-metric b{display:block;margin-top:2px;color:#15204f;font-size:17px}
.live-v235-trail{margin:0 12px 12px;padding-top:9px;border-top:1px solid #eef0f6}.live-v235-trail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:#202b59;font-size:10.5px;font-weight:900}.live-v235-trail-btn{border:1px solid #c9efdd;border-radius:8px;background:#eafbf3;color:#08724f;padding:7px 10px;font-size:9.5px;font-weight:900;cursor:pointer}.live-v235-trail-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;position:relative}.live-v235-trail-step{position:relative;min-height:48px;padding:8px 10px 8px 53px;border:1px solid #e0e5ef;border-radius:10px;background:#fff;color:#1f2a58}.live-v235-trail-step img{position:absolute;left:8px;top:7px;width:36px;height:34px;border-radius:6px;object-fit:contain;background:#f7f8fb}.live-v235-trail-step small{display:block;color:#8b95aa;font-size:8.5px}.live-v235-trail-step b{display:block;margin-top:2px;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-v235-compact .live-v235-client-main{padding:12px 14px}.live-v235-compact .live-v235-avatar{width:43px;height:43px;font-size:13px}.live-v235-compact .live-v235-client-title strong{font-size:12px}.live-v235-compact .live-v235-now,.live-v235-compact .live-v235-trail{display:none}
.live-v235-empty{padding:28px;border:1px dashed #d9deea;border-radius:15px;background:#fff;text-align:center;color:#8a93a8}
.live-v235-history-card,.live-v235-game-card{border:1px solid #e1e6ef;border-radius:14px;background:#fff;padding:13px 14px;display:grid;gap:7px}.live-v235-history-card{grid-template-columns:minmax(0,1fr) auto;align-items:center}.live-v235-history-card strong,.live-v235-game-card strong{color:#1b2556}.live-v235-history-meta,.live-v235-game-meta{color:#7c879f;font-size:10px}.live-v235-history-tags{display:flex;gap:6px;flex-wrap:wrap}.live-v235-games-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.live-v235-game-card{grid-template-columns:58px minmax(0,1fr);align-items:center}.live-v235-game-card img{width:54px;height:64px;object-fit:contain;border-radius:7px;background:#f8f9fc}.live-v235-game-card .rank{font-size:21px;font-weight:950;color:#6d35ff}.live-v235-game-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px;font-size:9.5px;color:#65718b}
.live-v235-modal{position:fixed;inset:0;z-index:10020;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(20,24,52,.38);backdrop-filter:blur(4px)}.live-v235-modal.show{display:flex}.live-v235-modal-card{width:min(920px,96vw);max-height:88vh;overflow:auto;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(25,28,64,.25);padding:18px}.live-v235-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid #eceef4}.live-v235-modal-head h3{margin:0;color:#121c4c}.live-v235-modal-close{width:34px;height:34px;border:1px solid #e1e5ee;border-radius:10px;background:#fff;color:#53607b;cursor:pointer}.live-v235-modal-events{display:grid;gap:8px;margin-top:12px}.live-v235-modal-event{padding:10px 12px;border:1px solid #e7eaf1;border-radius:11px;background:#fbfcff}.live-v235-modal-event b{color:#1f2958;font-size:11px}.live-v235-modal-event small{display:block;margin-top:3px;color:#7e899f;font-size:9.5px}
@media(max-width:1180px){.live-v235-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.live-v235-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-v235-title-row{display:block}.live-v235-toast{margin-top:10px;max-width:none;min-width:0}.live-v235-toolbar{grid-template-columns:1fr 1fr}.live-v235-search{grid-column:1/-1}.live-v235-now{grid-template-columns:1fr}.live-v235-now-side{border-left:0;border-top:1px solid #e8ebf3;padding-left:0;padding-top:12px;grid-template-columns:1fr 1fr}}
@media(max-width:820px){.live-v235{gap:13px}.live-v235-topbar{position:static;margin:0;padding:8px 4px;background:transparent;border:0;box-shadow:none}.live-v235-global-search{width:100%;max-width:none}.live-v235-top-actions{display:none}.live-v235-main{padding:0 2px}.live-v235-title-copy h1{font-size:25px}.live-v235-title-copy p{font-size:12px}.live-v235-title-icon{width:49px;height:49px}.live-v235-kpis{grid-template-columns:1fr 1fr;gap:8px}.live-v235-kpi{min-height:102px;padding:12px;grid-template-columns:36px 1fr;gap:9px}.live-v235-kpi-icon{width:36px;height:36px;font-size:18px}.live-v235-kpi-value{font-size:25px}.live-v235-kpi-sub{font-size:8.5px}.live-v235-tabs{grid-template-columns:1fr}.live-v235-tab{min-height:44px}.live-v235-tab.active:after{left:20%;right:20%}.live-v235-toolbar{grid-template-columns:1fr}.live-v235-filter-wrap{display:grid;grid-template-columns:auto 1fr}.live-v235-filter-wrap select{min-width:0;width:100%}.live-v235-client-main{grid-template-columns:auto minmax(0,1fr)}.live-v235-client-side{grid-column:1/-1;justify-content:space-between;padding-left:0}.live-v235-game{grid-template-columns:62px 1fr}.live-v235-game-img{width:62px;height:75px}.live-v235-now-side{grid-template-columns:1fr}.live-v235-trail-row{grid-template-columns:1fr}.live-v235-games-grid{grid-template-columns:1fr}.live-v235-statusline{align-items:flex-start;flex-direction:column}.live-v235-toast{position:fixed;left:10px;right:10px;top:10px;z-index:10030}.live-v235-modal{padding:8px}.live-v235-modal-card{width:100%;max-height:94vh}}
@media(max-width:520px){.live-v235-kpis{grid-template-columns:1fr}.live-v235-count-badge{margin-left:5px}.live-v235-title-main{gap:10px}.live-v235-title-copy h1{font-size:22px}.live-v235-client-title{gap:5px}.live-v235-client-meta{gap:7px}.live-v235-client-side{align-items:stretch;flex-direction:column}.live-v235-signal{text-align:left}.live-v235-session-btn{width:100%}}
