/* Scope: isolated Testevent shell; existing playback and watermark code remain authoritative. */
:root{color-scheme:dark;--live-gold:#f4bd34;--live-bg:#080b0e;--live-card:#12171c;--live-muted:#aeb7c1}
html,body{margin:0;background:var(--live-bg)!important;color:#f5f6f7;max-width:100%;overflow-x:clip;font-family:Arial,Helvetica,sans-serif;font-size:16px}*{box-sizing:border-box}a{color:var(--live-gold)}button,a,input,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--live-gold)!important;outline-offset:4px}
.live-shell{max-width:1320px;margin:auto;padding:0 28px}.live-header{border-bottom:1px solid #20262d;background:#090d10}.live-header-inner{display:flex;align-items:center;gap:24px;min-height:86px}.live-brand img{width:150px;max-width:100%;height:auto}.live-nav{display:flex;gap:24px;margin-left:auto}.live-nav a{font-size:14px;color:#e5e9ed;text-transform:none;font-weight:600}.live-nav a:hover{color:var(--live-gold)}.live-language{position:relative;font-size:14px;z-index:20}.live-language summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;padding:10px;background:#171d23;border-radius:8px}.live-language summary::-webkit-details-marker{display:none}.live-language summary:after{content:'⌄';margin-left:6px}.live-language svg{width:24px;height:16px;border-radius:2px;flex-shrink:0}.live-language [data-language-current]{display:flex;align-items:center;gap:8px}.live-language-menu{position:absolute;right:0;top:100%;min-width:175px;margin-top:6px;padding:6px;background:#171d23;border:1px solid #2c343e;border-radius:10px;box-shadow:0 12px 28px #0009}.live-language-menu button{display:flex;align-items:center;gap:10px;border:0;border-radius:6px;background:none;color:#fff;padding:11px;width:100%;text-align:left}.live-language-menu button:hover,.live-language-menu button[aria-pressed=true]{background:#293139;color:var(--live-gold)}
.live-main{padding-top:34px;padding-bottom:36px}.movie-details-area{background:none!important;padding:0!important}.live-title{font-size:clamp(26px,3.5vw,42px);line-height:1.2;font-weight:750;margin:0 0 14px}.live-title span{color:inherit!important}.divEventDesc{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:flex-start;color:var(--live-muted);font-size:14px;margin:0 0 28px}.live-category{color:#f9d67a;background:#453714;border-radius:20px;padding:4px 12px}.vidWrapper{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}.vidWrapper>#vidDiv{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;margin:0;align-items:start}#vidDiv>br{display:none}#vidDiv>[class*=col-]{width:auto;max-width:none;flex:none;padding:0;margin:0!important;min-width:0}
#eventWrapper,#event_video,#event_img{border-radius:10px!important;border:1px solid transparent!important;overflow:hidden;background:#000}#eventWrapper{position:relative;aspect-ratio:16/9;height:auto!important;padding:0!important}#event_video,#event_img{width:100%!important;height:100%!important;position:relative;padding:0!important}#eventWrapper>.eventDiv{height:100%}#event_img>img,#event_video>img{width:100%;height:100%;object-fit:contain}#event_video video,#event_video iframe{border-radius:10px!important;max-width:100%;border:0}#eventWrapper.vjs-16-9,#event_video.vjs-16-9{padding:0!important}#event_video.theoplayer-container{width:100%!important;height:100%!important;position:relative}#event_video:fullscreen,#event_video:-webkit-full-screen{width:100vw!important;height:100vh!important;border-radius:10px!important}.senaffiche-hls-frame{aspect-ratio:16/9}
#live_connection,#connected_div{padding:24px;background:var(--live-card)!important;border:0!important;border-radius:10px!important;width:100%;text-align:left!important;color:#fff;min-height:0!important;box-shadow:none!important}#live_connection h2{font-size:23px;line-height:1.25;margin:0 0 12px;color:#fff}#live_connection p,.live-reload-hint{color:var(--live-muted);font-size:13px;line-height:1.6;margin-bottom:22px}#formConnexion label,.live-client-label{display:block;color:#c5cdd6;font-size:13px;margin-bottom:8px}#code_saisi,#ViewerID{display:block;width:100%!important;margin:0 0 18px!important;border:1px solid #323d48!important;border-radius:8px!important;background:#090e12!important;color:#fff!important;padding:13px!important;font-size:18px!important;box-shadow:none!important;min-height:48px}#code_saisi{letter-spacing:2px}#ViewerID{font-family:monospace;color:var(--live-gold)!important;font-size:20px!important;letter-spacing:1px}#error_msg_code{font-size:13px;color:#ffaf7c;margin:0 0 10px}#submitConnection,.live-primary,#reloadVideoButton{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;background:var(--live-gold)!important;color:#151515!important;border:0!important;border-radius:8px!important;padding:12px;font-size:14px;font-weight:700;cursor:pointer;text-transform:none;letter-spacing:0}#submitConnection:disabled{opacity:.55;cursor:wait}.live-help-link{display:block;text-align:center;font-size:13px;margin-top:18px}.live-connected-status{display:flex;align-items:center;gap:10px;padding-bottom:19px;margin-bottom:22px;border-bottom:1px solid #303942;font-size:16px;font-weight:700}.live-status-dot{width:10px;height:10px;border-radius:50%;background:#45df66;box-shadow:0 0 0 4px #45df6618}.live-reload-hint{margin:10px 0 26px;font-size:12px}.live-secondary,#decoCustomer{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #48535f!important;background:transparent!important;border-radius:8px!important;padding:12px;width:100%;color:#d7dee6!important;font-size:13px;font-weight:600;text-transform:none;letter-spacing:0;cursor:pointer}
#senaffiche_stream_actions{margin:0 0 12px;max-width:calc(100% - 334px)}#fullScreenButton{border:0;border-radius:8px;background:#171d23;color:#eee;padding:12px 18px;display:flex;align-items:center;justify-content:flex-start;gap:10px;font-size:14px;min-height:44px;width:100%!important;text-transform:none;cursor:pointer}.live-support{margin-top:28px;padding:20px 24px;border-radius:10px;background:#11171d;display:flex;align-items:center;justify-content:space-between;gap:16px}.live-support p{margin:0;font-size:14px;color:#dce2e8}.live-support a{font-size:14px;white-space:normal}.live-help{padding:32px 0 12px}.live-help h2{font-size:24px;color:#fff;margin-bottom:15px}.live-help p{color:var(--live-muted);font-size:14px;line-height:1.8}.live-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.live-help h3{font-size:17px;color:#e3e8ee}.live-footer{border-top:1px solid #212933;padding:20px 0;color:var(--live-muted);font-size:12px}.live-footer .live-shell{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.live-footer a{font-size:12px}.alert-fixed-api{position:relative!important;max-width:1320px;margin:0 auto;top:auto!important;left:auto!important;transform:none!important;width:auto!important}.alerte-msg-api{padding:16px 22px;border-radius:8px;margin:16px 28px 0;font-size:14px;overflow-wrap:anywhere}.alerte-msg-api.error,.alerte-msg-api.warning{background:#402416;color:#ffe1ba}.alerte-msg-api.success{background:#103722;color:#c5ffda}.alerte-msg-api.primary{background:#1a3046;color:#d6eaff}.close{float:right;background:none;border:0;color:inherit;cursor:pointer}.loaderImg,.loaderCode{display:block;margin:45px auto!important;max-width:50px}.my-error{font-size:14px}.senaffiche-hls-fullscreen{border-radius:6px!important}
@media(max-width:991px){.live-shell{padding-left:20px;padding-right:20px}.live-header-inner{min-height:72px;gap:16px}.live-nav{gap:14px}.live-brand img{width:128px}.vidWrapper>#vidDiv{grid-template-columns:minmax(0,1fr)}#connection_send-mail_div{width:100%}#senaffiche_stream_actions{max-width:none}.live-main{padding-top:26px}#live_connection,#connected_div{padding:22px}.live-help-grid{grid-template-columns:1fr}.live-support{align-items:flex-start;flex-direction:column}.divEventDesc{margin-bottom:22px}}
@media(max-width:575px){.live-shell{padding-left:16px;padding-right:16px}.live-header-inner{gap:12px}.live-nav{margin-left:auto}.live-nav .live-nav-event{display:none}.live-nav a{font-size:12px}.live-brand img{width:111px}.live-language summary{padding:9px;gap:5px}.live-language [data-language-current]>span{display:none}.live-language-menu{min-width:165px}.live-title{font-size:27px}.divEventDesc{gap:10px;font-size:12px}.live-support{padding:18px}.live-footer .live-shell{display:block}.live-footer a{display:inline-block;margin-top:8px}.alerte-msg-api{margin:12px 16px 0}.live-help h2{font-size:22px}.live-connected-status{font-size:16px}}




/* LIVE-UI WRITE4: darker help section, 2-column support layout, refined device visuals */
:root{--live-senaffiche-orange:#f59e0b;--live-danger:#d63c3c;--live-event-poster:none}
html{scroll-padding-top:108px}body.live-v2{padding-top:86px}.live-header{position:fixed;top:0;left:0;right:0;z-index:1100;background:rgba(9,13,16,.92);backdrop-filter:blur(14px);box-shadow:0 6px 18px rgba(0,0,0,.18)}.live-main{padding-top:18px;padding-bottom:42px}.movie-details-area{position:relative;isolation:isolate}.movie-details-area:before{content:"";position:absolute;z-index:-2;left:50%;top:-20px;transform:translateX(-50%) scale(1.02);width:100vw;height:min(530px,48vw);min-height:410px;pointer-events:none;background-image:var(--live-event-poster);background-size:cover;background-position:center 16%;background-repeat:no-repeat;opacity:.24;filter:blur(6px)}.movie-details-area:after{content:"";position:absolute;z-index:-1;left:50%;top:-20px;transform:translateX(-50%);width:100vw;height:min(530px,48vw);min-height:410px;pointer-events:none;background:linear-gradient(to bottom,rgba(7,10,13,.10) 0%,rgba(7,10,13,.35) 36%,rgba(7,10,13,.76) 72%,var(--live-bg) 100%),linear-gradient(90deg,rgba(7,10,13,.48),rgba(7,10,13,.08) 22%,rgba(7,10,13,.08) 78%,rgba(7,10,13,.52))}.live-title,.divEventDesc{position:relative}.live-title{text-shadow:0 2px 12px rgba(0,0,0,.5);margin-bottom:10px}.divEventDesc{margin-bottom:18px;text-shadow:0 1px 6px rgba(0,0,0,.32)}#eventWrapper,.eventDiv,#event_video,#event_img,#live_connection,#connected_div{border-radius:10px!important}#senaffiche_stream_actions{margin:0 0 12px;max-width:none;display:flex;justify-content:flex-start}#fullScreenButton{width:auto!important;min-width:0;min-height:42px;padding:10px 15px;border:1px solid var(--live-gold);border-radius:8px;background:#10161b;color:#fff;justify-content:center;font-size:13px;font-weight:700;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}#fullScreenButton:hover{background:#171d23;color:var(--live-gold);box-shadow:0 0 0 1px rgba(244,189,52,.22),0 5px 18px rgba(0,0,0,.38);transform:translateY(-1px)}#fullScreenButton i{font-size:15px;color:var(--live-gold)}#reloadVideoButton,.live-secondary,#decoCustomer,#fullScreenButton,.live-support a,.live-contact-row,.live-phone-grid a{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}#reloadVideoButton{border:1px solid var(--live-gold)!important;background:var(--live-gold)!important;color:#151515!important}#reloadVideoButton:hover:not(:disabled){background:#10161b!important;color:var(--live-gold)!important;box-shadow:0 5px 18px rgba(0,0,0,.42);transform:translateY(-1px)}#reloadVideoButton.is-loading{background:#10161b!important;color:var(--live-gold)!important;cursor:wait}#reloadVideoButton.is-loading i{animation:senaffiche-reload-spin .75s linear infinite}@keyframes senaffiche-reload-spin{to{transform:rotate(360deg)}}#decoCustomer:hover{border-color:var(--live-danger)!important;background:var(--live-danger)!important;color:#fff!important;box-shadow:0 5px 18px rgba(0,0,0,.42);transform:translateY(-1px)}.live-support{margin-top:26px}.live-support a:hover{transform:translateY(-1px);box-shadow:0 4px 16px rgba(0,0,0,.18)}.live-help{padding:24px 0 12px;scroll-margin-top:108px}.live-help-surface{background:linear-gradient(180deg,#101822 0%,#0d141d 100%);border:1px solid #1d2a36;border-radius:16px;padding:24px;color:#e7edf4;box-shadow:0 18px 54px rgba(0,0,0,.22)}.live-help-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:18px;align-items:start}.live-help-heading{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}.live-help-heading>i{font-size:28px;color:#dce9ff;margin-top:2px}.live-help-heading h2{margin:0 0 5px;color:#fff;font-size:24px}.live-help-heading p{margin:0;color:#b2c0cf;font-size:14px;line-height:1.5}.live-contact-phone{border:1px solid #34404d;border-radius:13px;padding:14px;background:#121b25}.live-contact-title{display:flex;align-items:center;gap:12px;margin-bottom:12px}.live-contact-title h3{margin:0;color:#fff;font-size:18px}.live-contact-title p{margin:2px 0 0;color:#97a8b9;font-size:12px}.live-contact-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:11px;font-size:22px}.live-contact-icon.phone{background:#000;color:#fff}.live-phone-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.live-phone-grid a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-width:0;padding:10px 11px;border:1px solid #2b3947;border-radius:10px;color:#eef4ff;background:#17212b;text-decoration:none}.live-phone-grid a:hover{background:#1c2834}.live-phone-grid small,.live-phone-grid strong{display:block}.live-phone-grid small{font-size:11px;color:#a2b2c4}.live-phone-grid strong{font-size:15px;color:#dbe7ff;line-height:1.25}.live-phone-grid>a>i{color:#fff;font-size:14px}.live-flag{font-size:23px;line-height:1}.live-contact-links{display:grid;gap:10px;margin-top:12px}.live-contact-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;border:1px solid;border-radius:12px;padding:11px 12px;background:#121b25;text-decoration:none;color:#eef4ff}.live-contact-row:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(15,23,42,.18)}.live-contact-copy{min-width:0}.live-contact-copy strong,.live-contact-copy small{display:block}.live-contact-copy strong{font-size:16px;color:#fff}.live-contact-copy small{font-size:12px;color:#97a8b9;margin-top:2px}.live-contact-value{font-weight:700;overflow-wrap:anywhere}.live-open-icon{font-size:14px}.live-contact-row.whatsapp{border-color:#25d366}.live-contact-row.whatsapp .live-contact-icon{background:#25d366;color:#fff}.live-contact-row.whatsapp .live-open-icon,.live-contact-row.whatsapp .live-contact-value{color:#76f4a7}.live-contact-row.email{border-color:var(--live-senaffiche-orange)}.live-contact-row.email .live-contact-icon{background:#2a2113;color:var(--live-senaffiche-orange)}.live-contact-row.email .live-contact-value,.live-contact-row.email .live-open-icon{color:#ffc257}.live-contact-row.facebook{border-color:#1877f2}.live-contact-row.facebook .live-contact-icon{background:#17345d;color:#fff}.live-contact-row.facebook .live-contact-value,.live-contact-row.facebook .live-open-icon{color:#67a9ff}.live-watch-panel{background:#0f1720;border:1px solid #263446;border-radius:14px;padding:16px;height:100%}.live-watch-heading h3{color:#fff;font-size:19px;margin:0 0 4px}.live-watch-heading p{margin:0 0 14px;color:#97a8b9;font-size:13px;line-height:1.45}.live-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.live-device-card{padding:15px;border-radius:14px;background:#101a25;color:#fff;border:1px solid #243444;display:flex;flex-direction:column;gap:10px}.live-device-card strong{display:block;font-size:16px}.live-device-card p{margin:0;color:#bdc7d3;font-size:12px;line-height:1.45}.live-device-visual{position:relative;display:flex;justify-content:center;align-items:flex-end;min-height:152px;padding:6px 0 0}.live-device-frame{position:relative;overflow:hidden;background:linear-gradient(180deg,#273443,#111926);border:2px solid #47576b;box-shadow:0 16px 36px rgba(0,0,0,.34)}.live-device-frame:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 25%);pointer-events:none}.live-mini-ui{position:absolute;inset:6%;display:flex;flex-direction:column;gap:6%;font-size:0}.live-mini-top{display:flex;align-items:center;justify-content:space-between}.live-mini-brand{width:38%;height:10%;min-height:6px;border-radius:999px;background:#f6a800;box-shadow:0 0 0 1px rgba(0,0,0,.1) inset}.live-mini-chip{width:14%;height:10%;min-height:6px;border-radius:999px;background:#1b2531;border:1px solid #425161}.live-mini-title{width:64%;height:11%;min-height:7px;border-radius:999px;background:#edf3fb}.live-mini-meta{display:flex;gap:4%}.live-mini-meta span{display:block;height:10%;min-height:6px;border-radius:999px;background:#8aa2b9;opacity:.9}.live-mini-meta span:first-child{width:22%;background:#75560f}.live-mini-meta span:last-child{width:32%}.live-mini-stage{display:grid;grid-template-columns:1fr .42fr;gap:6%;align-items:start;flex:1}.live-mini-poster{border-radius:10px;background:linear-gradient(180deg,rgba(8,13,19,.08),rgba(8,13,19,.22)),var(--live-event-poster);background-size:cover;background-position:center;min-height:100%}.live-mini-access{display:flex;flex-direction:column;gap:8%;padding:8% 10%;border-radius:11px;background:rgba(9,14,20,.92);border:1px solid #273647;min-height:60%}.live-mini-access span{display:block;width:62%;height:9%;min-height:5px;border-radius:999px;background:#edf3fb}.live-mini-access b{display:block;width:100%;height:18%;min-height:10px;border-radius:8px;background:#02070c;border:1px solid #213242}.live-mini-access i{display:block;width:100%;height:17%;min-height:11px;border-radius:8px;background:#f0bc37}.live-device-card.tv .live-device-visual{padding-right:46px}.live-device-card.tv .live-device-frame,.live-device-card.desktop .live-device-frame{width:100%;max-width:238px;aspect-ratio:16/10;border-radius:14px}.live-device-card.tablet .live-device-frame{width:100%;max-width:196px;aspect-ratio:4/3;border-radius:18px}.live-device-card.mobile .live-device-frame{width:92px;aspect-ratio:9/18;border-radius:20px}.live-device-card.mobile .live-mini-ui{inset:8% 9%}.live-device-card.desktop .live-mini-stage,.live-device-card.tv .live-mini-stage{grid-template-columns:1fr .44fr}.live-device-remote{position:absolute;right:0;top:14px;width:32px;height:104px;border-radius:18px;background:linear-gradient(180deg,#253343,#0c1118);border:1px solid #425264;box-shadow:0 16px 24px rgba(0,0,0,.3)}.live-device-remote:before,.live-device-remote:after,.live-device-remote span:before,.live-device-remote span:after{content:"";position:absolute;left:50%;transform:translateX(-50%);border-radius:50%}.live-device-remote:before{top:10px;width:9px;height:9px;background:#3ca4ff;box-shadow:0 18px 0 0 #f59e0b,0 36px 0 0 #3ca4ff,0 54px 0 0 #3ca4ff}.live-device-remote:after{top:76px;width:18px;height:18px;border:2px solid #617284}.live-device-remote span{position:absolute;inset:0}.live-device-remote span:before{top:43px;width:15px;height:15px;background:#1a2531;box-shadow:0 0 0 2px #546577 inset}.live-device-remote span:after{bottom:10px;width:6px;height:6px;background:#8ea0b2;box-shadow:-10px 0 0 0 #8ea0b2,10px 0 0 0 #8ea0b2}.live-device-stand{position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);width:62px;height:12px;border-radius:999px;background:#31404f;box-shadow:0 -2px 0 0 #546476 inset}.live-device-stand:before{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:10px;width:22px;height:14px;background:#31404f;border-radius:0 0 10px 10px}.live-footer{display:block}.live-help-modal{display:none!important}@media(max-width:1150px){.live-help-layout{grid-template-columns:1fr}.live-watch-panel{margin-top:0}}@media(max-width:991px){body.live-v2{padding-top:72px}.live-header-inner{min-height:72px}.live-main{padding-top:14px}.movie-details-area:before,.movie-details-area:after{height:450px;min-height:450px;background-position:center top}.live-device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.live-phone-grid{grid-template-columns:1fr}.live-device-grid{grid-template-columns:1fr 1fr}.live-device-card.mobile .live-device-frame{width:82px}}@media(max-width:575px){html{scroll-padding-top:86px}body.live-v2{padding-top:72px}.live-main{padding-top:10px;padding-bottom:28px}.movie-details-area:before,.movie-details-area:after{top:-12px;height:310px;min-height:310px;background-position:center top}.live-title{margin-bottom:6px}.divEventDesc{margin-bottom:12px}.live-help{padding-top:18px}.live-help-surface{padding:18px 14px;border-radius:14px}.live-help-layout{gap:14px}.live-help-heading{gap:10px}.live-help-heading h2{font-size:21px}.live-contact-phone{padding:11px}.live-contact-row{grid-template-columns:auto minmax(0,1fr) auto}.live-contact-value{grid-column:2/3;font-size:14px}.live-open-icon{grid-column:3/4;grid-row:1/3}.live-device-grid{grid-template-columns:1fr}.live-device-card{padding:14px}.live-device-visual{min-height:136px}.live-device-card.tv .live-device-visual{padding-right:42px}.live-device-card.tv .live-device-frame,.live-device-card.desktop .live-device-frame{max-width:100%}.live-device-card.tablet .live-device-frame{max-width:240px}.live-device-card.mobile .live-device-frame{width:96px}.live-support{margin-top:18px}.live-connected-status{margin-bottom:18px;padding-bottom:16px}.live-footer .live-shell{display:block}.live-footer a{display:inline-block;margin-top:8px}}


/* LIVE-UI WRITE5: realistic device artwork and explicit country flags */
.live-flag-image{display:inline-flex;align-items:center;justify-content:center;width:31px;height:21px;border-radius:4px;overflow:hidden;flex:0 0 31px;box-shadow:0 0 0 1px rgba(255,255,255,.16),0 2px 7px rgba(0,0,0,.2)}
.live-flag-image img{display:block;width:100%;height:100%;object-fit:cover}
.live-phone-grid a{grid-template-columns:auto minmax(0,1fr) auto}.live-watch-panel{background:linear-gradient(180deg,#0f1720 0%,#0b141d 100%)}
.live-device-grid-photo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.live-device-grid-photo .live-device-card{padding:0 0 14px;overflow:hidden;border-radius:15px;background:linear-gradient(180deg,#111c28,#0d1721);border:1px solid #26384a;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.live-device-visual-photo{position:relative;overflow:hidden;background:#07111a;aspect-ratio:1.25/1}.live-device-photo{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}.live-device-grid-photo .live-device-card:hover .live-device-photo{transform:scale(1.018)}
.live-device-copy{padding:12px 14px 0}.live-device-label{display:flex;align-items:center;gap:9px;margin-bottom:7px}.live-device-label i{width:25px;text-align:center;font-size:22px;color:#2fa8ff}.live-device-label strong{font-size:17px;color:#fff}.live-device-copy p{margin:0;color:#c5d0dc;font-size:12.5px;line-height:1.5}
@media(max-width:1180px){.live-device-grid-photo{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.live-device-grid-photo{grid-template-columns:1fr}.live-device-visual-photo{aspect-ratio:1.35/1}}
@media(max-width:575px){.live-flag-image{width:29px;height:20px;flex-basis:29px}.live-device-copy{padding:11px 12px 0}.live-device-label strong{font-size:16px}}
\n\n/* LIVE-UI WRITE6: dynamic event previews inside validated realistic devices */\n.live-help-surface{background:#12171c!important}\n.live-device-visual-photo{position:relative}\n.live-device-screen-dynamic{position:absolute;z-index:2;overflow:hidden;background:#080d11;color:#fff;font-family:inherit;display:flex;flex-direction:column;gap:3.2%;padding:3.5%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);pointer-events:none}\n.live-device-screen-header{display:flex;justify-content:space-between;align-items:center;min-height:9%}.live-device-screen-brand{font-size:clamp(5px,.48vw,8px);font-weight:800;color:#f5a800}.live-device-screen-lang{width:10%;aspect-ratio:1.45;border-radius:2px;background:linear-gradient(90deg,#0055a4 0 33%,#fff 33% 66%,#ef4135 66%)}\n.live-device-screen-title{font-size:clamp(5px,.58vw,9px);font-weight:800;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-device-screen-meta{display:flex;align-items:center;gap:4%;font-size:clamp(3px,.32vw,5px);color:#cbd5df;white-space:nowrap}.live-device-screen-category{background:#594516;color:#ffd874;padding:1.2% 4%;border-radius:999px}.live-device-screen-stage{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.75fr);gap:4%;flex:1;min-height:0}.live-device-screen-poster{border-radius:5px;background-image:linear-gradient(rgba(8,13,17,.08),rgba(8,13,17,.18)),var(--live-event-poster);background-size:cover;background-position:center;min-height:0}.live-device-screen-access{align-self:start;background:#12171c;border:1px solid #26323d;border-radius:5px;padding:7%;display:flex;flex-direction:column;gap:7%;font-size:clamp(3px,.31vw,5px);line-height:1.15;color:#cbd5df;min-height:58%}.live-device-screen-access strong{font-size:1.18em;color:#fff}.live-device-screen-access span{display:block;opacity:.85}.live-device-screen-access i{font-style:normal;text-align:center;background:#f3bc34;color:#111;border-radius:4px;padding:7% 4%;font-weight:800;margin-top:auto}\n.live-device-card.tv .live-device-screen-dynamic{left:11.1%;top:10.3%;width:75.4%;height:67.1%;clip-path:polygon(0 1%,97.4% 5%,98.6% 98.5%,1.2% 100%);transform:rotate(.6deg);transform-origin:center}\n.live-device-card.desktop .live-device-screen-dynamic{left:18.5%;top:8.2%;width:75.8%;height:65.2%;clip-path:polygon(2% 1%,98% 3.5%,96% 99%,0 96%);transform:rotate(-.6deg);transform-origin:center}\n.live-device-card.tablet .live-device-screen-dynamic{left:11.8%;top:11.5%;width:78.8%;height:65.4%;clip-path:polygon(3% 3%,96% 0,100% 94%,0 100%);transform:rotate(-2deg);transform-origin:center}\n.live-device-card.mobile .live-device-screen-dynamic{left:40.4%;top:5.4%;width:35.4%;height:87%;border-radius:10%;transform:rotate(4.3deg);transform-origin:center;padding:4.5%;gap:2.8%}.live-device-card.mobile .live-device-screen-brand{font-size:4px}.live-device-card.mobile .live-device-screen-title{font-size:5px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.live-device-card.mobile .live-device-screen-meta{font-size:2.7px;gap:3%}.live-device-card.mobile .live-device-screen-stage{grid-template-columns:1fr;grid-template-rows:1fr auto}.live-device-card.mobile .live-device-screen-access{padding:5%;font-size:2.6px;min-height:auto}.live-device-card.mobile .live-device-screen-poster{min-height:48%}\n@media(max-width:720px){.live-device-screen-brand{font-size:6px}.live-device-screen-title{font-size:7px}.live-device-screen-meta{font-size:4px}.live-device-screen-access{font-size:4px}.live-device-card.mobile .live-device-screen-brand{font-size:5px}.live-device-card.mobile .live-device-screen-title{font-size:6px}.live-device-card.mobile .live-device-screen-meta,.live-device-card.mobile .live-device-screen-access{font-size:3px}}\n
/* LIVE-UI WRITE9: normalized device artwork + geometry-accurate dynamic screen planes.
   Smart TV is intentionally untouched: it is the validated visual reference. */
.live-device-visual-photo{aspect-ratio:370/298!important}
.live-device-photo{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.live-device-card.desktop:hover .live-device-photo,.live-device-card.tablet:hover .live-device-photo,.live-device-card.mobile:hover .live-device-photo{transform:none!important}

/* Desktop: normalized 370x298 artwork fills the card width; dynamic page follows the laptop display. */
.live-device-card.desktop .live-device-screen-dynamic{
  left:21.3514%!important;top:10.4027%!important;width:73.2432%!important;height:63.0872%!important;
  clip-path:none!important;border-radius:0!important;transform-origin:0 0!important;
  transform:matrix(1,.01107,.00532,1,0,0)!important
}

/* Tablet: affine screen plane follows the real tilted display instead of a flat rotated rectangle. */
.live-device-card.tablet .live-device-screen-dynamic{
  left:15.6757%!important;top:19.1275%!important;width:68.3784%!important;height:55.3691%!important;
  clip-path:none!important;border-radius:1.5%!important;transform-origin:0 0!important;
  transform:matrix(1,-.03162,.09697,1,0,0)!important
}

/* Mobile: mild clockwise top-edge slope + left-edge lean match the actual handset perspective. */
.live-device-card.mobile .live-device-screen-dynamic{
  left:44.3243%!important;top:6.3758%!important;width:33.5135%!important;height:80.8725%!important;
  clip-path:none!important;border-radius:8%!important;transform-origin:0 0!important;
  transform:matrix(1,.04032,-.04149,1,0,0)!important
}

/* LIVE-UI WRITE10: static device UI, only event poster + event title stay dynamic. */
/* Media is edge-to-edge inside each card; only the top corners are rounded. */
.live-device-grid-photo .live-device-card{
  padding:0 0 14px!important;
  overflow:hidden!important;
}
.live-device-visual-photo{
  position:relative!important;
  width:100%!important;
  aspect-ratio:370/298!important;
  margin:0!important;
  overflow:hidden!important;
  border-radius:14px 14px 0 0!important;
  background:#07111a!important;
}
.live-device-photo{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  margin:0!important;
  border-radius:0!important;
  transform:none!important;
}
.live-device-grid-photo .live-device-card:hover .live-device-photo{transform:none!important}
.live-device-copy{
  padding:12px 14px 0!important;
  border-top:1px solid rgba(255,255,255,.045);
}
/* WRITE6/WRITE9 full-screen preview is intentionally retired. */
.live-device-screen-dynamic{display:none!important}
/* Only these two overlays remain dynamic. */
.live-device-event-poster,
.live-device-event-title{
  position:absolute;
  z-index:3;
  pointer-events:none;
  box-sizing:border-box;
}
.live-device-event-poster{
  background-image:var(--live-event-poster);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#0b1117;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
}
.live-device-event-title{
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:0 2px;
  white-space:nowrap;
  text-overflow:ellipsis;
  background:#10161b;
  color:#fff;
  font-weight:800;
  line-height:1;
  font-size:clamp(4px,.52vw,8px);
}
/* TV: validated reference. */
.live-device-card.tv .live-device-event-poster{
  left:13.514%;top:32.215%;width:52.703%;height:36.577%;
  clip-path:polygon(0 0,100% 1.8%,99.5% 99%,.5% 100%);
}
.live-device-card.tv .live-device-event-title{
  left:13.784%;top:25.839%;width:29%;height:4.7%;
  transform:rotate(.25deg);transform-origin:left center;
}
/* Desktop: artwork fills the card; poster/title follow the laptop display. */
.live-device-card.desktop .live-device-event-poster{
  left:20.571%;top:27.181%;width:48.286%;height:32.886%;
  clip-path:polygon(.6% 0,100% 1%,100% 99%,0 100%);
}
.live-device-card.desktop .live-device-event-title{
  left:21.429%;top:20.805%;width:27%;height:4.5%;
  transform:rotate(.3deg);transform-origin:left center;
}
/* Tablet: static access-code UI remains in the PNG; only poster/title follow the tilted screen. */
.live-device-card.tablet .live-device-event-poster{
  left:14.571%;top:31.544%;width:55.143%;height:38.255%;
  clip-path:polygon(0 4.4%,97.4% 0,100% 92.1%,2.6% 100%);
}
.live-device-card.tablet .live-device-event-title{
  left:14.286%;top:26.174%;width:26%;height:5.7%;
  transform:rotate(-1.35deg) skewX(-.7deg);transform-origin:left center;
  clip-path:polygon(0 14%,99% 0,100% 83%,1% 100%);
}
/* Mobile: static access-code UI remains in the PNG; only poster/title follow the handset. */
.live-device-card.mobile .live-device-event-poster{
  left:52.571%;top:29.195%;width:24.286%;height:20.134%;
  clip-path:polygon(1.2% 0,100% 5%,97.7% 100%,0 95%);
}
.live-device-card.mobile .live-device-event-title{
  left:51.429%;top:19.463%;width:21.5%;height:5.7%;
  transform:rotate(2.2deg) skewX(-.7deg);transform-origin:left center;
  clip-path:polygon(0 0,100% 8%,100% 100%,0 92%);
  font-size:clamp(3px,.4vw,6px);
}
/* Premium vector icons: one coherent orange Senaffiche family. */
.live-device-label{gap:9px!important}
.live-device-icon{
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:block;
  color:var(--live-senaffiche-orange,#f59e0b);
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media(max-width:720px){
  .live-device-visual-photo{aspect-ratio:370/298!important}
  .live-device-event-title{font-size:5px}
  .live-device-card.mobile .live-device-event-title{font-size:3.8px}
}
@media(max-width:575px){
  .live-device-copy{padding:11px 12px 0!important}
}

/* ============================================================
   SENAFFICHE LIVE AUTH ALERT CONTRAST V1
   Scope strict: authentication SUCCESS / FAIL
   ============================================================ */

.alerte-msg-api.error {
    position: relative;
    background: #e50813 !important;
    background-color: #e50813 !important;
    border-color: #e50813 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding-left: 56px !important;
    opacity: 1 !important;
}

.alerte-msg-api.success {
    position: relative;
    background: #0c6703 !important;
    background-color: #0c6703 !important;
    border-color: #0c6703 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding-left: 56px !important;
    opacity: 1 !important;
}

.alerte-msg-api.error span,
.alerte-msg-api.error b,
.alerte-msg-api.error strong,
.alerte-msg-api.success span,
.alerte-msg-api.success b,
.alerte-msg-api.success strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.alerte-msg-api.error::before,
.alerte-msg-api.success::before {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
}

.alerte-msg-api.error::before {
    content: "!";
}

.alerte-msg-api.success::before {
    content: "✓";
}

.alerte-msg-api.error .close,
.alerte-msg-api.success .close {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
    font-weight: 900 !important;
}

.alerte-msg-api.error .close:hover,
.alerte-msg-api.error .close:focus,
.alerte-msg-api.success .close:hover,
.alerte-msg-api.success .close:focus {
    color: #ffffff !important;
    opacity: .8 !important;
}

/* SENAFFICHE LIVE WARNING TEXT CONTRAST V1
   Background intentionally unchanged. */

.alerte-msg-api.warning {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.alerte-msg-api.warning span,
.alerte-msg-api.warning b,
.alerte-msg-api.warning strong,
.alerte-msg-api.warning i,
.alerte-msg-api.warning .close {
    color: #ffffff !important;
}

.alerte-msg-api.warning .close {
    opacity: 1 !important;
    text-shadow: none !important;
}
