/* LMDJ Bonjour v1.4.148 — CSS autonome pour accueil, classement et profil.
   Les styles des anciennes feuilles sont integres ici; aucun @import. */

/* ==== CSS SOURCE: style-v1.4.93.css ==== */
:root{--bg:#05080c;--panel:#0d1218;--panel2:#111820;--line:#27313c;--text:#f7f9fb;--muted:#8e9aa7;--green:#19c37d;--green2:#0a8f61;--blue:#1d9bf0;--yellow:#ffd60a;--red:#ff3b45;--orange:#ff7a18;--shadow:0 22px 55px #0008;--r:26px}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:radial-gradient(circle at 85% 8%,#08213a 0,transparent 27%),radial-gradient(circle at 10% 28%,#162006 0,transparent 25%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}.bj-shell{width:min(820px,100%);margin:auto;padding:14px 14px 44px}.bj-top{height:84px;display:grid;grid-template-columns:54px 1fr 54px;align-items:center;gap:10px}.bj-logo{text-decoration:none;color:white;text-align:center;font-size:clamp(27px,7vw,44px);font-weight:950;letter-spacing:-2px;line-height:.8}.bj-logo em{font-style:normal;color:var(--green)}.bj-logo small{display:block;font-size:9px;letter-spacing:4px;color:#9aa7b4;margin-top:11px}.bj-icon-btn,.bj-sound-btn{width:50px;height:50px;border:1px solid #26313d;background:#0c1218;color:white;border-radius:18px;display:grid;place-items:center;text-decoration:none;font-size:24px;box-shadow:inset 0 1px #ffffff10}.bj-sound-btn{cursor:pointer}.bj-sound-btn.off{opacity:.5}.bj-game-head{display:flex;align-items:end;justify-content:space-between;padding:14px 4px 12px}.bj-game-head h1{margin:3px 0 0;font-size:30px;letter-spacing:-1px}.bj-kicker{color:var(--green);font-weight:900;font-size:12px;letter-spacing:2px}.bj-score-pill{min-width:96px;border:1px solid #254138;background:linear-gradient(145deg,#0e241c,#0b1514);padding:10px 16px;border-radius:18px;text-align:center}.bj-score-pill small{font-size:9px;color:#91a69f;letter-spacing:2px}.bj-score-pill b{display:block;font-size:26px;color:#75f2bd}.bj-game-card,.bj-card{background:linear-gradient(160deg,#111820,#090d12);border:1px solid #202a35;border-radius:var(--r);box-shadow:var(--shadow);padding:18px;position:relative;overflow:hidden}.bj-game-card:before,.bj-card.accent:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--green),var(--blue))}.bj-progress{display:flex;justify-content:space-between;color:#9ca8b5;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px}.bj-progress b{color:white}.bj-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:7px;width:min(100%,560px);margin:auto}.bj-cell{aspect-ratio:1;border-radius:12px;background:linear-gradient(145deg,#171e26,#0c1117);border:1px solid #303a46;display:grid;place-items:center;font-weight:950;font-size:clamp(21px,6vw,37px);box-shadow:inset 0 1px #ffffff10,0 5px 10px #0005;transition:.15s}.bj-cell.typing{border-color:#3daef5;box-shadow:0 0 0 2px #1d9bf044,0 0 18px #1d9bf033}.bj-cell.correct{background:linear-gradient(145deg,#23c979,#0b8e57);border-color:#45e89a}.bj-cell.present{background:linear-gradient(145deg,#f3b719,#b87800);border-color:#ffd452}.bj-cell.absent{background:#303740;color:#a8b0ba}.bj-grid.shake{animation:shake .32s}.bj-hint{margin:17px auto 0;width:min(100%,560px);padding:14px 16px;border-radius:18px;border:1px solid #6d5b10;background:linear-gradient(135deg,#2a250b,#171508)}.bj-hint span{color:#ffd84a;font-weight:950;font-size:11px;letter-spacing:2px}.bj-hint p{margin:6px 0 0;color:#f7f1cc}.bj-double-row{display:flex;gap:12px;align-items:center;width:min(100%,600px);margin:17px auto 12px}.bj-double{border:1px solid #6e5a00;background:linear-gradient(145deg,#272008,#151204);color:white;border-radius:18px;min-width:150px;padding:8px 13px;display:grid;grid-template-columns:32px 1fr;grid-template-rows:22px 16px;text-align:left;cursor:pointer}.bj-double span{grid-row:1/3;font-size:27px}.bj-double b{font-size:20px;color:#ffe43b}.bj-double small{font-size:8px;letter-spacing:1px;color:#b9a94b}.bj-double.active{background:linear-gradient(145deg,#5e4c00,#2b2300);box-shadow:0 0 0 2px #ffd60a,0 0 22px #ffd60a44}.bj-double.is-used{opacity:.38}.bj-double-help{font-size:11px;color:#82909d;line-height:1.35}.bj-keyboard{width:min(100%,650px);margin:10px auto 0;user-select:none}.bj-key-row{display:flex;justify-content:center;gap:5px;margin:5px 0}.bj-key{height:54px;flex:1;min-width:0;max-width:58px;border:1px solid #394552;border-bottom-color:#1a2027;border-radius:10px;background:linear-gradient(#303943,#1d242c);color:white;font-size:16px;font-weight:900;box-shadow:0 3px 0 #0b0e11;cursor:pointer;padding:0}.bj-key.wide{max-width:76px;font-size:11px}.bj-key.correct{background:linear-gradient(#22bd77,#0d8b58)}.bj-key.present{background:linear-gradient(#dca815,#a87500)}.bj-key.absent{background:#151a20;color:#5d6873}.bj-key:active{transform:translateY(2px);box-shadow:0 1px #000}.bj-toast{padding:10px 14px;border-radius:12px;margin:0 auto 12px;width:min(100%,560px);font-weight:700}.bj-toast.error{background:#381317;border:1px solid #7d2930;color:#ffb7bd}.bj-final{text-align:center;padding:20px}.bj-final-icon{font-size:55px}.bj-final h2{font-size:32px;margin:5px}.bj-final strong{color:#7cf0bd;font-size:25px}.bj-final-score{font-size:35px;font-weight:950;margin:20px}.bj-final-score small{font-size:10px;letter-spacing:2px;color:#8f9ba7}.bj-primary{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 24px;border:0;border-radius:17px;background:linear-gradient(135deg,#20cf83,#0a9a62);box-shadow:0 10px 25px #0b9a6144;color:#fff;font-weight:950;text-decoration:none;letter-spacing:.5px}.bj-values{margin-top:15px;padding:16px 4px}.bj-values h2{font-size:16px;margin:0 0 10px}.bj-values p{font-size:11px;color:#778491}.bj-value-strip{display:flex;gap:5px;overflow:auto;padding-bottom:5px}.bj-value-strip span{min-width:35px;height:43px;border-radius:9px;background:#131a21;border:1px solid #29343f;display:grid;place-items:center;grid-template-rows:25px 12px}.bj-value-strip b{font-size:15px}.bj-value-strip small{font-size:9px;color:#9ba8b4}.bj-value-strip .v8,.bj-value-strip .v6{border-color:#735d0a;background:#2b2408}.bj-value-strip .v4{border-color:#194d6e;background:#0c2230}
/* home */.bj-home-hero{padding:12px 4px 18px}.bj-home-hero h1{font-size:34px;margin:8px 0 3px;letter-spacing:-1.3px}.bj-home-hero p{margin:0;color:var(--muted)}.bj-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 16px}.bj-mode{min-height:118px;padding:18px;border-radius:24px;text-decoration:none;color:white;border:1px solid #24303b;display:flex;flex-direction:column;justify-content:end;position:relative;overflow:hidden}.bj-mode i{font-style:normal;font-size:30px;position:absolute;top:15px;right:16px}.bj-mode b{font-size:18px}.bj-mode small{color:#a6b0ba}.bj-mode.daily{background:linear-gradient(145deg,#082a42,#0a1119);border-color:#147db7;box-shadow:inset 0 0 0 1px #1d9bf044}.bj-mode.live{background:linear-gradient(145deg,#461a19,#161011);border-color:#9a3439}.bj-calendar-head{display:flex;justify-content:space-between;align-items:start}.bj-calendar-head h2{font-size:29px;margin:4px 0}.bj-date-badge{width:70px;border-radius:18px;overflow:hidden;background:#f5f5f3;color:#111;text-align:center;box-shadow:0 8px 20px #0005}.bj-date-badge b{display:block;background:#ff3742;color:#fff;padding:6px;font-size:11px}.bj-date-badge strong{font-size:29px;display:block;padding:5px}.bj-legend{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.bj-legend span{border:1px solid #2a343f;border-radius:99px;padding:8px 10px;font-size:11px;font-weight:800;color:#b7c0c8}.bj-dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:6px}.bj-dot.won{background:var(--green)}.bj-dot.lost{background:var(--red)}.bj-dot.idle{border:1px solid #71808e}.bj-month-nav{display:grid;grid-template-columns:50px 1fr 50px;align-items:center;margin:10px 0}.bj-month-nav h3{text-align:center;font-size:22px;margin:0}.bj-nav{height:48px;border-radius:15px;border:1px solid #1b4764;background:#0a1d2a;color:white;display:grid;place-items:center;text-decoration:none}.bj-nav.disabled{opacity:.25;pointer-events:none}.bj-week,.bj-dates{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.bj-week{padding:10px 0;color:#697581;font-size:11px;text-align:center}.bj-day{aspect-ratio:1;border-radius:14px;background:#10161c;border:1px solid #27313b;color:white;display:grid;place-items:center;text-decoration:none;font-weight:900}.bj-day.won{background:linear-gradient(145deg,#20c779,#0c995e);border-color:#3fe59a}.bj-day.lost{background:linear-gradient(145deg,#d8323d,#8e1c25)}.bj-day.today{outline:3px solid #1d9bf0;outline-offset:2px}.bj-day.future{opacity:.16;pointer-events:none}.bj-home-play{display:flex;margin-top:18px}.bj-home-play .bj-primary{width:100%}
/* admin */.bj-admin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.bj-admin-launch{min-height:145px;padding:18px;border-radius:22px;background:#10171e;border:1px solid #27323d;color:white;text-decoration:none;display:flex;flex-direction:column}.bj-admin-launch span{font-size:30px}.bj-admin-launch b{margin-top:auto;font-size:17px}.bj-admin-launch small{color:#83909c;margin-top:4px}.bj-admin-launch.games{border-color:#8d363d;background:linear-gradient(145deg,#301415,#101317)}.bj-admin-launch.words{border-color:#126b4a;background:linear-gradient(145deg,#0a281e,#101617)}.bj-admin-launch.sounds{border-color:#826d14;background:linear-gradient(145deg,#29230b,#111416)}.bj-admin-launch.settings{border-color:#1d6f9c;background:linear-gradient(145deg,#0c2535,#101417)}.bj-admin-head{display:flex;align-items:center;justify-content:space-between;margin:15px 0}.bj-admin-head h1{margin:0}.bj-form{display:grid;gap:12px}.bj-form input,.bj-form textarea,.bj-form select{width:100%;border:1px solid #303b47;background:#090d12;color:white;border-radius:14px;padding:14px;font:inherit}.bj-form label{font-weight:800;font-size:12px;color:#b4bec8}.bj-table{width:100%;border-collapse:collapse;font-size:12px}.bj-table th,.bj-table td{padding:10px 7px;border-bottom:1px solid #222c35;text-align:left}.bj-table th{color:#76838f}.bj-badge{display:inline-block;border-radius:99px;padding:4px 8px;background:#1a222a}.bj-audio-card{padding:16px;border:1px solid #2b3540;border-radius:18px;background:#0d1319;margin:10px 0}.bj-audio-card h3{margin:0 0 5px}.bj-audio-card p{font-size:12px;color:#83909c}.bj-danger{background:#5e1720;color:white;border:0;border-radius:12px;padding:10px}.bj-ok{background:#0b3b29;border:1px solid #17744f;color:#a8f3d0;padding:10px;border-radius:12px}.bj-login{max-width:460px;margin:15vh auto}.bj-login h1{text-align:center}
/* live */.bj-live-hero{text-align:center;padding:20px}.bj-live-hero .bolt{font-size:58px}.bj-code{font-size:36px;letter-spacing:8px;color:#ffd936;font-weight:950}.bj-players{display:grid;gap:8px}.bj-player{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:10px;padding:10px;border-radius:16px;background:#121920;border:1px solid #28333e}.bj-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#193347;border:2px solid #298bc3;font-weight:950}.bj-online{color:#31d58b;font-size:10px}.bj-reactions{display:flex;justify-content:center;gap:12px;margin:15px}.bj-reactions button{font-size:29px;background:#111820;border:1px solid #2d3944;border-radius:15px;padding:8px}.bj-humiliation{border:1px solid #8c292f;background:#321316;border-radius:18px;padding:13px;color:#ffb6bb}.bj-humiliation b{color:#ff4650}.bj-muted{color:#82909d;font-size:12px}@keyframes shake{25%{transform:translateX(-7px)}50%{transform:translateX(7px)}75%{transform:translateX(-4px)}}@media(max-width:520px){.bj-shell{padding:8px 9px 34px}.bj-top{height:75px}.bj-game-card,.bj-card{padding:14px;border-radius:22px}.bj-cell{border-radius:9px}.bj-key{height:51px;border-radius:8px}.bj-key-row{gap:3px}.bj-double-help{display:none}.bj-admin-grid{grid-template-columns:1fr 1fr}.bj-admin-launch{min-height:128px;padding:14px}.bj-mode{min-height:108px;padding:14px}.bj-calendar-head h2{font-size:25px}}

.bj-dict-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.bj-dict-stats>div{background:#0c141b;border:1px solid #22313d;border-radius:18px;padding:18px}.bj-dict-stats b{display:block;font-size:28px}.bj-dict-stats small{color:#8c9aa6}.bj-dict-tabs{display:flex;gap:8px;overflow:auto;margin:14px 0 18px}.bj-dict-tabs a{white-space:nowrap;padding:11px 14px;border-radius:14px;background:#111b23;border:1px solid #273743;color:#dfe8ee;text-decoration:none;font-weight:800}.bj-dict-tabs a.active{background:#123b2b;border-color:#23c77b;color:#fff}.bj-help{color:#9cabb6;line-height:1.5}.bj-search{display:flex;gap:8px;margin:14px 0}.bj-search input{flex:1;min-width:0}.bj-table-wrap{overflow:auto;border:1px solid #22313d;border-radius:16px}.bj-table th a{color:#dfe8ee;text-decoration:none}.bj-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:#93a2ad}.bj-pagination a{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#17232c;color:#fff;text-decoration:none;margin-left:6px;font-size:22px}@media(max-width:600px){.bj-search{flex-direction:column}.bj-dict-stats b{font-size:23px}}

/* v1.3.1 — recherche dictionnaires + indices */
.bj-search-modern{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:22px 0 8px;align-items:stretch}.bj-search-field{position:relative;min-width:0}.bj-search-field input{width:100%;height:60px;border-radius:18px!important;border:1px solid #314653!important;background:linear-gradient(180deg,#111d25,#0c151c)!important;padding:0 54px!important;font-size:18px!important;font-weight:750;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.2);outline:none}.bj-search-field input:focus{border-color:#31d987!important;box-shadow:0 0 0 4px rgba(49,217,135,.12)}.bj-search-icon{position:absolute;left:19px;top:50%;transform:translateY(-50%);font-size:28px;color:#48e397;z-index:2}.bj-search-clear{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#25343e;color:#fff;text-decoration:none;font-size:22px}.bj-search-submit{min-width:150px;border:0;border-radius:18px;padding:0 22px;background:linear-gradient(135deg,#26d47d,#16a866);color:#06130d;font-size:16px;font-weight:950;box-shadow:0 10px 24px rgba(30,205,119,.2)}.bj-search-meta{margin:0 2px 18px;color:#91a4b0;font-size:13px}.bj-hint-inline{display:flex;gap:7px;min-width:300px}.bj-hint-inline input{min-width:250px;width:100%;padding:10px 12px;border-radius:11px;border:1px solid #2c414e;background:#0b151c;color:#eaf5f0}.bj-hint-inline input:focus{outline:none;border-color:#31d987;box-shadow:0 0 0 3px rgba(49,217,135,.1)}.bj-hint-inline button{width:38px;border:0;border-radius:11px;background:#22ca76;color:#07150e;font-weight:1000;font-size:18px}@media(max-width:600px){.bj-search-modern{grid-template-columns:1fr}.bj-search-submit{height:52px}.bj-search-field input{height:58px;font-size:16px}.bj-hint-inline{min-width:260px}.bj-hint-inline input{min-width:210px}}


/* v1.3.2 — recherche dictionnaire mobile pleine largeur */
.bj-search-modern{display:block!important;width:100%!important;margin:26px 0 12px!important}
.bj-search-field{width:100%!important}
.bj-search-field input{display:block!important;width:100%!important;height:76px!important;border-radius:22px!important;padding:0 62px!important;font-size:21px!important;font-weight:800!important;letter-spacing:.1px!important;background:linear-gradient(180deg,#14232d,#0b151c)!important;border:1px solid #365463!important;box-shadow:0 14px 38px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.035)!important}
.bj-search-field input::placeholder{color:#8297a4!important;font-weight:700!important;opacity:1}
.bj-search-field input:focus{border-color:#35e492!important;box-shadow:0 0 0 4px rgba(53,228,146,.14),0 16px 42px rgba(0,0,0,.34)!important}
.bj-search-icon{left:22px!important;font-size:30px!important}
.bj-search-clear{right:19px!important;width:38px!important;height:38px!important;font-size:25px!important;background:#263b47!important}
.bj-search-submit{width:100%!important;height:58px!important;margin-top:10px!important;border-radius:18px!important;font-size:18px!important;letter-spacing:.2px!important}
.bj-search-meta{font-size:14px!important;margin:8px 3px 20px!important}
@media(max-width:600px){.bj-card:has(.bj-search-modern){padding-left:12px!important;padding-right:12px!important}.bj-search-modern{width:calc(100% + 0px)!important}.bj-search-field input{height:78px!important;font-size:20px!important;border-radius:20px!important}.bj-search-submit{height:60px!important;font-size:18px!important}.bj-table-wrap{margin-top:14px}}
/* v1.3.4 — indices synonymiques */

/* v1.3.7 — remise à zéro différée */


/* v1.3.8 — accès direct aux archives */
.bj-month-jump{display:flex;gap:9px;align-items:center;margin:10px 0 3px}.bj-month-jump label{font-size:12px;color:#a9bac6;font-weight:800}.bj-month-jump input{min-width:0;flex:1;color:#fff;color-scheme:dark;background:#111d25;border:1px solid #37515d;border-radius:11px;padding:10px}.bj-month-jump button{border:0;border-radius:11px;padding:12px;background:#198c5b;color:white;font-weight:850;cursor:pointer}@media(max-width:520px){.bj-month-jump{flex-wrap:wrap}.bj-month-jump label{width:100%}}

/* v1.3.9 — libellé du sélecteur réservé aux lecteurs d’écran */
.bj-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* v1.3.12 — cercles jaunes, carrés rouges et halo de saisie */
.bj-game-shell .bj-cell{position:relative;background:#151619;border-color:#36383e;color:#a0a1a6;box-shadow:inset 0 1px #ffffff08}
.bj-game-shell .bj-cell.typing{border:2px solid #ffd326;background:#1d1b12;color:#fff2ba;box-shadow:0 0 0 3px #ffcf3b55,0 0 19px 5px #ffbb1870,inset 0 0 18px #ffcf2529;transform:scale(1.035)}
.bj-game-shell .bj-cell.typing:after{content:none}
.bj-game-shell .bj-cell.just-typed{animation:bjTyped .22s ease-out}
.bj-game-shell .bj-cell.present{background:#151619;border-color:#3d3d40;color:#ffd12a;text-shadow:0 0 10px #ffcf3266}
.bj-game-shell .bj-cell.present:before{content:"";position:absolute;inset:12%;border:clamp(3px,.5vw,6px) solid #ffcf22;border-radius:50%;box-shadow:0 0 12px #ffb90055;pointer-events:none}
.bj-game-shell .bj-cell.correct{background:linear-gradient(145deg,#ff0924,#cf001e);border-color:#ff4056;color:#fff;box-shadow:0 8px 22px #ef001b38,inset 0 1px #ffffff45}
.bj-game-shell .bj-cell.correct:after{content:"✓";position:absolute;right:6px;bottom:3px;color:#ffd3d6;font-size:clamp(9px,1.5vw,14px);line-height:1}
.bj-game-shell .bj-cell.absent{background:#151619;border-color:#36383e;color:#999ba0}
.bj-game-shell .bj-key.present{position:relative;background:#1a1a1d;border-color:#5c501d;color:#ffd12a}
.bj-game-shell .bj-key.present:before{content:"";position:absolute;inset:6px;border:3px solid #ffcf22;border-radius:50%;pointer-events:none}
.bj-game-shell .bj-key.correct{background:linear-gradient(145deg,#ff0924,#cf001e);border-color:#ff4056;color:#fff}
.bj-game-shell .bj-cell.reveal{animation:bjReveal .38s ease both}
.bj-battle-shell .bj-cell.reveal{animation:bjReveal .38s ease both}
.bj-hint[hidden]{display:none}
@keyframes bjTyped{0%{box-shadow:0 0 0 6px #ffda4b99,0 0 25px #ffc400aa;transform:scale(1.11)}100%{transform:scale(1)}}
@keyframes bjReveal{0%{transform:rotateX(0);filter:brightness(1.4)}50%{transform:rotateX(86deg)}100%{transform:rotateX(0);filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){.bj-game-shell .bj-cell.just-typed,.bj-game-shell .bj-cell.reveal{animation:none}}
@media(prefers-reduced-motion:reduce){.bj-battle-shell .bj-cell.reveal{animation:none}}

/* v1.3.13 — clavier de jeu et première lettre donnée */
:is(.bj-game-shell,.bj-battle-shell) .bj-keyboard{width:min(100%,720px);margin:16px auto 0}
:is(.bj-game-shell,.bj-battle-shell) .bj-key-row{gap:clamp(3px,.8vw,8px);margin:7px 0}
:is(.bj-game-shell,.bj-battle-shell) .bj-key{position:relative;flex:1 1 0;max-width:none;min-width:0;height:clamp(53px,9vw,82px);border-radius:14px;border:1px solid #626a78;background:linear-gradient(145deg,#454b58,#2c303a);box-shadow:inset 0 1px #ffffff35,0 4px 0 #14171d;color:#f5f5f7;font-size:clamp(18px,2.7vw,27px);font-weight:650;text-shadow:0 2px 6px #0009}
:is(.bj-game-shell,.bj-battle-shell) .bj-key.wide{max-width:none}
:is(.bj-game-shell,.bj-battle-shell) .bj-key.placeholder-key{background:#2e2e32;border-color:#5a5a60;color:#f5f5f7;font-size:25px}
:is(.bj-game-shell,.bj-battle-shell) .bj-key.erase{flex:1.35;background:linear-gradient(145deg,#424852,#292d35);color:#ffe585;font-size:28px}
:is(.bj-game-shell,.bj-battle-shell) .bj-key.submit{flex:1.6;background:linear-gradient(145deg,#ff0e2d,#d6001e);border-color:#ff5267;color:#fff;font-size:34px;font-weight:950;box-shadow:inset 0 1px #ffffff50,0 4px 0 #720917}
:is(.bj-game-shell,.bj-battle-shell) .bj-key:active{transform:translateY(3px);box-shadow:inset 0 1px #ffffff20,0 1px 0 #14171d}
.bj-game-shell .bj-cell.given,.bj-battle-shell .bj-cell.given{background:linear-gradient(145deg,#ff0924,#cf001e);border-color:#ff4056;color:#fff;box-shadow:0 8px 22px #ef001b38,inset 0 1px #ffffff45}
.bj-game-shell .bj-cell.given:after,.bj-battle-shell .bj-cell.given:after{content:"✓";position:absolute;right:6px;bottom:3px;color:#ffd3d6;font-size:clamp(9px,1.5vw,14px);line-height:1}
.bj-game-shell .bj-cell.placeholder,.bj-game-shell .bj-cell.absent.wildcard,.bj-battle-shell .bj-cell.absent.wildcard{background:#151619;border-color:#444247;color:#c5b471}
.bj-battle-shell .bj-cell{position:relative;background:#151619;border-color:#36383e;color:#a0a1a6}
.bj-battle-shell .bj-cell.present{background:#151619;border-color:#3d3d40;color:#ffd12a}
.bj-battle-shell .bj-cell.present:before{content:"";position:absolute;inset:12%;border:clamp(3px,.5vw,6px) solid #ffcf22;border-radius:50%;pointer-events:none}
.bj-battle-shell .bj-cell.correct{background:linear-gradient(145deg,#ff0924,#cf001e);border-color:#ff4056;color:#fff}
.bj-battle-shell .bj-cell.correct:after{content:"✓";position:absolute;right:6px;bottom:3px;color:#ffd3d6;font-size:clamp(9px,1.5vw,14px);line-height:1}
.bj-battle-shell .bj-cell.absent{background:#151619;border-color:#36383e;color:#999ba0}
@media(max-width:520px){:is(.bj-game-shell,.bj-battle-shell) .bj-key{height:54px;border-radius:10px;font-size:17px}:is(.bj-game-shell,.bj-battle-shell) .bj-key.erase{font-size:23px}:is(.bj-game-shell,.bj-battle-shell) .bj-key.submit{font-size:28px}}

/* v1.3.14 — contour jaune sur les touches et joker centré */
.bj-game-shell .bj-key.present{background:linear-gradient(145deg,#454b58,#2c303a);border:3px solid #ffcf22;color:#ffe65a;box-shadow:inset 0 1px #ffffff35,0 0 12px #ffcf2255,0 4px 0 #14171d}
.bj-game-shell .bj-key.present:before{content:none}
.bj-game-shell .bj-double-row{flex-direction:column;justify-content:center;text-align:center;margin:18px auto 14px;gap:7px}
.bj-game-shell .bj-double{width:min(100%,300px);min-height:80px;grid-template-columns:48px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:9px;padding:11px 18px;border:2px solid #e0b61a;background:linear-gradient(145deg,#604b04,#342903);box-shadow:inset 0 1px #ffe97750,0 0 16px #ffc40025;cursor:pointer}
.bj-game-shell .bj-double span{font-size:40px;line-height:1}
.bj-game-shell .bj-double b{font-size:clamp(22px,5vw,29px);letter-spacing:.2px;white-space:nowrap;color:#ffe238;line-height:1.15}
.bj-game-shell .bj-double small{font-size:10px;letter-spacing:1.3px;color:#f8d563}
.bj-game-shell .bj-double.active{background:linear-gradient(145deg,#aa8000,#554100);border-color:#ffe54c;box-shadow:0 0 0 2px #ffd60a,0 0 25px #ffd60a88}
.bj-game-shell .bj-double.is-used{background:linear-gradient(145deg,#604b04,#342903);border-color:#e0b61a;color:#ffe238;opacity:.45;cursor:not-allowed;filter:none;box-shadow:inset 0 1px #ffe97750}
.bj-game-shell .bj-double-help{max-width:310px}
.bj-game-shell .bj-double.flash{animation:bjDoublePulse .72s ease-in-out 3}
@keyframes bjDoublePulse{0%,100%{box-shadow:inset 0 1px #ffe97750,0 0 8px #ffc40025;filter:brightness(1)}50%{box-shadow:0 0 0 3px #ffe350,0 0 30px #ffd000ba;filter:brightness(1.45)}}
@media(prefers-reduced-motion:reduce){.bj-game-shell .bj-double.flash{animation:none}}

/* v1.3.15 — victoire du joker ×2 et grille sans coches */
:is(.bj-game-shell,.bj-battle-shell) .bj-cell.correct:after,:is(.bj-game-shell,.bj-battle-shell) .bj-cell.given:after{content:none}
.bj-double-victory{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at center,#513b0cbf 0,#080a0ce8 55%,#030405f5 100%);pointer-events:none;animation:bjVictoryIn .4s ease-out both}
.bj-victory-burst{position:absolute;inset:0;display:grid;place-items:center}
.bj-victory-star{position:absolute;left:50%;top:50%;margin:-.5em 0 0 -.5em;color:#ffe073;font-size:clamp(20px,5vw,43px);text-shadow:0 0 14px #ffcc2c,0 0 30px #ff9d00;opacity:0;animation:bjStarBurst 1.45s var(--delay) ease-out forwards}
.bj-victory-badge{position:relative;width:min(76vw,340px);min-height:250px;padding:28px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;border:3px solid #ffe568;border-radius:38px;background:linear-gradient(150deg,#aa7808,#382805 80%);box-shadow:0 0 0 12px #ffde1c25,0 0 90px 20px #ffcb00a8,inset 0 0 35px #ffe66e66;color:#fff2a5;animation:bjBadgePop 2.45s cubic-bezier(.2,1.6,.4,1) both}
.bj-victory-bolt{font-size:92px;line-height:1;filter:drop-shadow(0 0 14px #ffd526)}
.bj-victory-badge strong{font-size:clamp(31px,8vw,46px);line-height:1;white-space:nowrap;color:#fff1a2;text-shadow:0 0 20px #ffd500;font-weight:950}
.bj-victory-badge small{letter-spacing:3px;font-size:14px;font-weight:900;color:#fff}
.bj-score-pending{visibility:hidden}
@keyframes bjVictoryIn{from{opacity:0}to{opacity:1}}
@keyframes bjBadgePop{0%{opacity:0;transform:scale(.18) rotate(-24deg)}20%{opacity:1;transform:scale(1.18) rotate(7deg)}37%{transform:scale(.95) rotate(-3deg)}52%,84%{transform:scale(1) rotate(0)}100%{opacity:0;transform:scale(1.65)}}
@keyframes bjStarBurst{0%{opacity:0;transform:rotate(var(--angle)) translateX(20px) scale(.2)}22%{opacity:1}72%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(var(--distance)) scale(1.2)}}
@media(prefers-reduced-motion:reduce){.bj-double-victory,.bj-victory-star,.bj-victory-badge{animation:none}.bj-victory-star{display:none}}

/* v1.3.16 — clavier : gris non testé, noir absent */
:is(.bj-game-shell,.bj-battle-shell) .bj-key:not(.correct):not(.present):not(.absent):not(.submit):not(.erase):not(.placeholder-key){background:linear-gradient(145deg,#454b58,#2c303a);border-color:#626a78;color:#f5f5f7}
:is(.bj-game-shell,.bj-battle-shell) .bj-key.absent{background:#050608;border-color:#252a30;color:#6e737b;box-shadow:inset 0 1px #ffffff0a,0 4px 0 #020303}
.bj-battle-shell .bj-key.correct{background:linear-gradient(145deg,#ff0924,#cf001e);border-color:#ff4056;color:#fff}
.bj-battle-shell .bj-key.present{background:linear-gradient(145deg,#454b58,#2c303a);border:3px solid #ffcf22;color:#ffe65a;box-shadow:inset 0 1px #ffffff35,0 0 12px #ffcf2255,0 4px 0 #14171d}

/* v1.3.17 — lettre déplacée : texte et contour jaunes, sans anneau */
:is(.bj-game-shell,.bj-battle-shell) .bj-cell.present{background:#151619;border:3px solid #ffcf22;color:#ffd12a;text-shadow:0 0 8px #ffcf3266;box-shadow:0 0 13px #ffcf2244,inset 0 1px #ffffff0a}
:is(.bj-game-shell,.bj-battle-shell) .bj-cell.present:before{content:none}

/* v1.3.18 — gain par lettre et détail du barème */
:is(.bj-game-shell,.bj-battle-shell) .bj-letter-points{position:absolute;left:50%;top:-8px;z-index:8;white-space:nowrap;color:#ffe047;font-size:clamp(18px,3vw,25px);font-weight:950;line-height:1;text-shadow:0 2px 3px #000,0 0 12px #ffca00;pointer-events:none;animation:bjPointsRise .65s var(--pop-delay,0ms) ease-out forwards}
@keyframes bjPointsRise{0%{opacity:0;transform:translate(-50%,6px) scale(.6)}22%{opacity:1;transform:translate(-50%,-5px) scale(1.2)}65%{opacity:1;transform:translate(-50%,-15px) scale(1)}100%{opacity:0;transform:translate(-50%,-30px) scale(.9)}}
.bj-score-detail{width:min(100%,520px);margin:20px auto 24px;padding:18px;border:1px solid #66501a;border-radius:18px;background:#17160f;text-align:left}
.bj-score-detail h3{margin:0 0 8px;color:#ffe171;font-size:18px}
.bj-score-detail p{margin:8px 0;color:#c7c1a7;font-size:13px;line-height:1.5}
.bj-score-lines{display:grid;gap:2px;margin-top:14px}
.bj-score-lines>div{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #514825;color:#f0e9cc;font-size:13px}
.bj-score-lines b{color:#ffe047;white-space:nowrap;font-size:15px}
.bj-score-detail .bj-score-subtotal{margin-top:14px;font-weight:900;color:#ffe171}
@media(max-width:420px){.bj-score-lines>div{align-items:flex-start;flex-direction:column;gap:3px}}
@media(prefers-reduced-motion:reduce){:is(.bj-game-shell,.bj-battle-shell) .bj-letter-points{animation:none;opacity:1}}

/* v1.3.19 — grille et clavier visibles ensemble après le défilement */
.bj-game-shell [data-grid]{scroll-margin-top:0}
@media(max-width:600px){
  .bj-game-shell .bj-grid{--bj-cell-size:clamp(34px,calc((100dvh - 370px)/6),64px);width:min(100%,calc(var(--cols) * (var(--bj-cell-size) + 6px) - 6px));gap:6px}
  .bj-game-shell .bj-cell{height:var(--bj-cell-size);aspect-ratio:auto;font-size:clamp(18px,calc(var(--bj-cell-size) * .57),34px)}
  .bj-game-shell .bj-key{height:clamp(44px,7.5dvh,54px)}
  .bj-game-shell .bj-key-row{margin:4px 0}
  .bj-game-shell .bj-double-row{margin:9px auto 8px;gap:4px}
  .bj-game-shell .bj-double{min-height:68px;padding:7px 18px}
  .bj-game-shell .bj-double span{font-size:33px}
  .bj-game-shell .bj-double b{font-size:23px}
  .bj-game-shell .bj-keyboard{margin-top:8px}
}
@media(max-width:600px) and (max-height:650px){.bj-game-shell .bj-double-help{display:none}.bj-game-shell .bj-hint{padding:8px 12px;margin-top:8px}.bj-game-shell .bj-hint p{margin-top:2px}}
@media(max-width:600px){
  .bj-battle-shell [data-battle-grid]{--bj-cell-size:clamp(34px,calc((100dvh - 430px)/6),64px);width:min(100%,calc(var(--cols) * (var(--bj-cell-size) + 6px) - 6px));gap:6px;scroll-margin-top:0}
  .bj-battle-shell .bj-cell{height:var(--bj-cell-size);aspect-ratio:auto;font-size:clamp(18px,calc(var(--bj-cell-size) * .57),34px)}
  .bj-battle-shell .bj-key{height:clamp(44px,7.5dvh,54px)}
  .bj-battle-shell .bj-key-row{margin:4px 0}
  .bj-battle-shell .bj-keyboard{margin-top:8px}
  .bj-battle-shell .bj-form{gap:7px}
  .bj-battle-shell #battle-guess{padding:8px}
}
@media(min-width:601px){
  :is(.bj-game-shell,.bj-battle-shell) .bj-grid{--bj-cell-size:clamp(34px,calc((100dvh - 390px)/6),76px);width:min(100%,calc(var(--cols) * (var(--bj-cell-size) + 6px) - 6px));gap:6px}
  :is(.bj-game-shell,.bj-battle-shell) .bj-cell{height:var(--bj-cell-size);aspect-ratio:auto;font-size:clamp(20px,calc(var(--bj-cell-size) * .57),38px)}
  :is(.bj-game-shell,.bj-battle-shell) .bj-key{height:clamp(44px,7.5dvh,82px)}
}

/* v1.3.20 — clavier ancré juste au-dessus du bas de l'écran */
:is(.bj-game-shell,.bj-battle-shell) .bj-keyboard{scroll-margin-bottom:18px}

/* v1.3.21 — erreurs temporaires au-dessus du jeu, sans déplacement de page */
body>.bj-toast.error:is([data-game-error],[data-battle-error]){position:fixed;z-index:9998;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;width:min(420px,calc(100vw - 32px));margin:0;padding:12px 16px;text-align:center;box-shadow:0 12px 36px #000b;border-color:#b7444f;background:#43171d;color:#fff;pointer-events:none;transform:translate(-50%,-140%)}
body>.bj-toast.error:is([data-game-error],[data-battle-error]).bj-toast-active{animation:bjGameToast 1.85s ease-out both}
@keyframes bjGameToast{0%{opacity:0;transform:translate(-50%,-145%)}12%,72%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,-145%)}}
@media(prefers-reduced-motion:reduce){body>.bj-toast.error:is([data-game-error],[data-battle-error]).bj-toast-active{animation:bjGameToastReduced 1.85s linear both}}
@keyframes bjGameToastReduced{0%,70%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,0)}}

/* v1.3.22 — classement général sans critère de temps */
.bj-ranking{margin-top:16px;padding:20px}
.bj-ranking-head h2{margin:5px 0 3px;font-size:26px}
.bj-ranking-head p{margin:0 0 14px;color:#9eacb7;font-size:12px}
.bj-ranking-list{max-height:480px;overflow-y:auto;scrollbar-color:#405164 transparent}
.bj-ranking-row{display:grid;grid-template-columns:50px minmax(0,1fr) 95px 98px;align-items:center;gap:9px;padding:11px 10px;border-bottom:1px solid #26313b;font-size:14px}
.bj-ranking-labels{position:sticky;top:0;z-index:1;background:#101820;color:#8795a1;font-size:10px;text-transform:uppercase;font-weight:900;letter-spacing:.4px}
.bj-ranking-row>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bj-ranking-row>b{text-align:right;color:#ffe173;font-size:18px}
.bj-ranking-row>span:last-child{text-align:right}
.bj-ranking-place{font-weight:950;color:#a7b6c2}
.bj-ranking-row.mine{background:#152a24;border-radius:10px;border-color:#285a46}
.bj-ranking-row.mine .bj-ranking-place{color:#80f0b5}
.bj-one-shot{display:inline-flex;justify-content:flex-end;align-items:center;color:#ffd35a;font-weight:950}
@media(max-width:480px){.bj-ranking{padding:16px 10px}.bj-ranking-row{grid-template-columns:35px minmax(0,1fr) 64px 67px;gap:5px;padding:10px 5px;font-size:12px}.bj-ranking-labels{font-size:9px;letter-spacing:0}.bj-ranking-row>b{font-size:15px}}

/* v1.3.23 — profils persistants et avatars personnalisables */
.bj-avatar-art{display:block;width:100%;height:100%;border-radius:50%}
.bj-ranking-name{display:flex;align-items:center;gap:8px;min-width:0}
.bj-ranking-name .bj-avatar-art{width:32px;height:32px;flex:none}
.bj-player .bj-avatar{overflow:hidden;padding:0}
.bj-player .bj-avatar-art{width:100%;height:100%}
.bj-profile-modal[hidden]{display:none}
.bj-profile-modal{position:fixed;inset:0;z-index:10000;background:#01070ce8;display:grid;place-items:center;padding:12px;overflow-y:auto}
.bj-profile-panel{position:relative;width:min(660px,100%);max-height:calc(100dvh - 24px);overflow:auto;padding:22px;border:1px solid #405363;border-radius:22px;background:#101922;box-shadow:0 24px 80px #000d;color:#f6f8fa}
.bj-profile-panel h2{font-size:clamp(23px,5vw,31px);margin:6px 0}.bj-profile-panel p{color:#aebac5;font-size:14px;line-height:1.45}
.bj-profile-panel form{display:grid;gap:12px}.bj-profile-panel label{font-size:13px;color:#e5edf4;font-weight:800}
.bj-profile-panel input,.bj-profile-panel select{box-sizing:border-box;width:100%;padding:11px;border-radius:10px;background:#26333f;border:1px solid #5b6b7a;color:white;font-size:16px;margin-top:5px}
.bj-profile-caption{font-size:12px;color:#a8b6c2}.bj-profile-close{position:absolute;right:16px;top:12px;background:none;color:white;border:0;font-size:30px;cursor:pointer}
.bj-avatar-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.bj-avatar-choice{padding:3px;border:2px solid #44525d;border-radius:50%;background:#263440;cursor:pointer;aspect-ratio:1}.bj-avatar-choice.selected,.bj-avatar-choice:focus-visible{border-color:#ffd646;box-shadow:0 0 10px #fdd23f88;outline:0}
.bj-avatar-editor{display:grid;grid-template-columns:125px 1fr;gap:18px;align-items:start}.bj-avatar-preview{position:sticky;top:10px;aspect-ratio:1;border:3px solid #f6cb40;border-radius:50%;box-shadow:0 0 18px #efcf3480}.bj-avatar-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(max-width:490px){.bj-avatar-editor{grid-template-columns:82px 1fr;gap:9px}.bj-avatar-fields{grid-template-columns:1fr}.bj-avatar-gallery{gap:4px}.bj-profile-panel{padding:16px}.bj-ranking-name .bj-avatar-art{width:25px;height:25px}}

/* v1.3.24 — studio avatar illustré, navigation par éléments */
.bj-avatar-studio{width:min(950px,100%);padding:0;max-height:min(92dvh,900px);overflow:auto;background:#101a25;border-color:#465b6b}
.bj-studio-head{display:flex;justify-content:space-between;align-items:center;padding:19px 24px 15px;background:#172532;border-bottom:1px solid #304656}
.bj-studio-head h2{margin:2px 0 0}.bj-studio-head .bj-profile-close{position:static;line-height:1;padding:2px 9px;border:1px solid #657888;border-radius:9px}
.bj-avatar-studio form{gap:0}.bj-studio-layout{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:410px}
.bj-studio-preview{padding:24px;background:radial-gradient(circle at 50% 24%,#334a62,#1d2d3d 67%);border-right:1px solid #3c5264}
.bj-studio-preview-inner{position:sticky;top:10px;display:grid;justify-items:center;gap:14px;color:#dbe9f1;font-weight:900}
.bj-avatar-studio .bj-avatar-preview{width:min(100%,220px);border:5px solid #f2d76d;box-shadow:0 0 0 6px #ffffff18,0 16px 40px #0008}
.bj-random-btn{padding:9px 16px;background:#344a5c;border:1px solid #7890a1;border-radius:20px;color:#fff;font-size:13px;font-weight:800;cursor:pointer}
.bj-studio-controls{min-width:0}.bj-studio-tabs{display:flex;gap:3px;padding:10px 12px;overflow-x:auto;scrollbar-width:thin;background:#172532;border-bottom:1px solid #334657}
.bj-studio-tab{flex:none;white-space:nowrap;padding:11px 13px;border:0;border-radius:12px;background:transparent;color:#a9bdcb;font-size:13px;font-weight:900;cursor:pointer}
.bj-studio-tab.active{background:#ffd74f;color:#202b37}.bj-studio-tab:focus-visible,.bj-studio-choice:focus-visible,.bj-random-btn:focus-visible{outline:3px solid #ffe267;outline-offset:2px}
.bj-studio-options{padding:19px 20px 30px;max-height:520px;overflow-y:auto}.bj-studio-options h3{font-size:15px;color:#e7f0f6;margin:0 0 12px}
.bj-studio-part{margin-bottom:25px}.bj-studio-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bj-studio-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 4px;min-width:0;border:2px solid #405569;border-radius:14px;background:#223444;color:#eff6fb;cursor:pointer;font:inherit;font-size:11px;font-weight:800;transition:border-color .15s,transform .15s,background .15s}
.bj-studio-choice:hover{transform:translateY(-2px);background:#2d4659}.bj-studio-choice.selected{border-color:#ffd84d;background:#3c4035;box-shadow:0 0 0 2px #ffcf3533}
.bj-studio-choice .bj-avatar-art{width:75px;height:75px;max-width:100%;box-shadow:0 3px 9px #0005}.bj-studio-choice span{text-align:center;line-height:1.2}
.bj-studio-choice-grid.colors{grid-template-columns:repeat(6,minmax(0,1fr))}.bj-studio-choice-grid.colors .bj-studio-choice{background:none;border-color:transparent}.bj-studio-choice-grid.colors .bj-studio-choice.selected{border-color:#ffd84d;background:#364053}
.bj-studio-swatch{width:42px;height:42px;max-width:100%;border-radius:50%;border:3px solid #fff9;box-shadow:0 2px 9px #0009}
.bj-studio-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 15px;align-items:end;padding:16px 24px 22px;border-top:1px solid #364b5a;background:#142230}
.bj-studio-bottom label{grid-column:1;line-height:1.4}.bj-studio-bottom label small{display:block;color:#90a8ba;font-weight:500}.bj-studio-bottom input{grid-column:1;margin:0}.bj-studio-bottom .bj-primary{grid-column:2;grid-row:1/3;white-space:nowrap;padding-inline:19px}
@media(max-width:700px){.bj-profile-modal{padding:0}.bj-avatar-studio{height:100dvh;max-height:100dvh;width:100%;border:0;border-radius:0}.bj-studio-head{padding:11px 16px}.bj-studio-head h2{font-size:23px}.bj-studio-layout{display:block;min-height:0}.bj-studio-preview{position:sticky;top:0;z-index:3;padding:9px 12px;border-right:0;border-bottom:1px solid #4b6070}.bj-studio-preview-inner{display:flex;justify-content:center;align-items:center;gap:12px}.bj-avatar-studio .bj-avatar-preview{width:83px;border-width:3px}.bj-studio-preview-inner>span{font-size:13px}.bj-random-btn{padding:7px 9px;font-size:11px}.bj-studio-tabs{position:sticky;top:107px;z-index:2;padding:7px}.bj-studio-tab{padding:9px 10px;font-size:12px}.bj-studio-options{max-height:none;overflow:visible;padding:16px 14px 22px;min-height:285px}.bj-studio-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bj-studio-choice-grid.colors{grid-template-columns:repeat(5,minmax(0,1fr))}.bj-studio-bottom{grid-template-columns:1fr;padding:15px}.bj-studio-bottom .bj-primary{grid-column:1;grid-row:auto;width:100%}}
@media(max-width:380px){.bj-studio-preview-inner>span{display:none}.bj-studio-choice .bj-avatar-art{width:68px;height:68px}}

/* v1.3.25 — première étape femme/homme, sans défilement horizontal */
.bj-avatar-studio{overflow-x:hidden}.bj-avatar-studio *{box-sizing:border-box;min-width:0}
.bj-gender-step{padding:28px 22px 34px;text-align:center}.bj-gender-step[hidden],.bj-avatar-editor-page[hidden]{display:none}
.bj-gender-step h3{font-size:clamp(22px,4vw,30px);margin:0 0 5px;color:#f6f8f8}.bj-gender-step p{margin:0 0 20px}
.bj-gender-options{display:grid;grid-template-columns:repeat(2,minmax(0,220px));justify-content:center;gap:18px}
.bj-gender-options button{border:3px solid #475e6a;border-radius:22px;background:#243847;color:#fff;padding:14px;display:grid;gap:12px;justify-items:center;cursor:pointer;font-size:20px}
.bj-gender-options button:hover,.bj-gender-options button:focus-visible{border-color:#ffd84f;outline:none;box-shadow:0 0 16px #ffe25b66}
.bj-gender-options .bj-avatar-art{width:min(100%,175px);height:auto;aspect-ratio:1;box-shadow:0 9px 22px #0007}
.bj-studio-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:6px;position:static;background:#172532}
.bj-studio-tab{white-space:normal;min-height:43px;line-height:1.15;text-align:center;padding:8px 3px}
.bj-studio-options{overflow-x:hidden}.bj-studio-bottom{grid-template-columns:minmax(0,1fr) auto}
.bj-studio-bottom .bj-gender-back{grid-column:1/-1;justify-self:start;background:none;border:0;color:#ffdf79;font-weight:900;padding:2px 0 5px;cursor:pointer}
@media(max-width:700px){.bj-gender-step{padding:20px 16px 28px}.bj-gender-options{gap:9px}.bj-gender-options button{padding:8px;border-radius:16px;font-size:16px}.bj-avatar-studio{overflow-x:hidden}.bj-studio-layout{overflow-x:hidden}.bj-studio-tabs{position:static;top:auto;padding:8px;gap:5px}.bj-studio-tab{font-size:11px;padding:8px 2px;min-height:42px}.bj-studio-options{overflow-x:hidden;padding:13px 12px 20px}.bj-studio-choice-grid,.bj-studio-choice-grid.colors{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.bj-studio-choice{padding:5px 2px;font-size:10px;max-width:100%;overflow:hidden}.bj-studio-choice .bj-avatar-art{width:min(68px,100%);height:auto;aspect-ratio:1}.bj-studio-swatch{width:35px;height:35px}.bj-studio-bottom{grid-template-columns:minmax(0,1fr)}.bj-studio-bottom .bj-primary{grid-column:1}}
@media(max-width:340px){.bj-studio-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.bj-avatar-studio .bj-avatar-preview{width:70px}}

/* Header BONJOUUUR : titre et commandes, puis logo vérifié lettre par lettre. */
.bj-home-header{height:auto;min-height:115px;grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:auto auto;align-items:center;column-gap:8px;row-gap:9px;padding:9px 6px 12px;margin-bottom:7px;border-radius:0 0 20px 20px;background:radial-gradient(ellipse at 50% 95%,#30201244,transparent 64%),linear-gradient(180deg,#050609,#090d14);border-bottom:1px solid #2b323e;box-shadow:0 12px 22px #0005}
.bj-home-header .bj-icon-btn,.bj-home-header .bj-sound-btn{width:39px;height:39px;justify-self:center;align-self:center;border-radius:13px;background:linear-gradient(145deg,#252a33,#0d1118);border:1px solid #3c4654;font-size:20px}
.bj-home-header .bj-header-title{grid-column:2;grid-row:1;text-align:center;color:#fff;font-size:clamp(16px,3.5vw,23px);font-weight:900;letter-spacing:.01em;line-height:1.1;white-space:nowrap}
.bj-home-header .bj-icon-btn{grid-column:1;grid-row:1}
.bj-home-header .bj-sound-btn{grid-column:3;grid-row:1;box-shadow:inset 0 1px #ffffff1b,0 0 0 2px #10251c;transition:box-shadow .2s,opacity .2s}
.bj-home-header .bj-sound-btn:not(.off){border-color:#269866;box-shadow:inset 0 1px #ffffff24,0 0 12px #23b97955}
.bj-home-header .bj-word-logo{--logo-cell:clamp(18px,calc((100vw - 48px)/9 - 2px),58px);grid-column:1/-1;grid-row:2;display:block;min-width:0;width:100%;line-height:1;letter-spacing:0;text-align:center;perspective:500px}
.bj-home-header .bj-word-row{display:flex;justify-content:center;align-items:center;gap:3px;white-space:nowrap}
.bj-home-header .bj-word-tile{width:var(--logo-cell);height:var(--logo-cell);flex:none;display:grid;place-items:center;position:relative;isolation:isolate;border:1px solid #353943;border-radius:8px;background:linear-gradient(145deg,#1c1e23,#0d0e12);color:#c5c5c9;font-size:calc(var(--logo-cell) * .55);font-weight:950;text-shadow:0 1px 2px #0009;box-shadow:inset 0 1px #ffffff18,0 3px 7px #0007;animation:bjHeaderCheck 5.2s ease-in-out infinite both;animation-delay:calc(var(--tile-order) * .13s);transform-origin:center center;backface-visibility:hidden}
.bj-home-header .bj-word-tile.correct{background:linear-gradient(145deg,#19edab,#00a97e 80%);border-color:#5afbd0;color:#fff;box-shadow:inset 0 1px #ffffff86,0 4px 11px #00ad7f70,0 0 15px #00e8a99c}
.bj-home-header .bj-word-tile.absent{background:linear-gradient(145deg,#111318,#08090c);border-color:#30343d;color:#a0a4ab;box-shadow:inset 0 1px #ffffff0c,0 3px 7px #0008}
.bj-home-header .bj-word-tile.present{border:2px solid #3fc9ff;color:#75d9ff;background:linear-gradient(145deg,#142c42,#0a1828);text-shadow:0 0 8px #52cfffab;box-shadow:inset 0 1px #ffffff25,0 0 12px #1dbafb91}
.bj-home-header .bj-letter-ring{width:76%;height:76%;border:2px solid #3fc9ff;border-radius:50%;display:grid;place-items:center;line-height:1;box-shadow:0 0 7px #1dbafba8,inset 0 0 5px #35ceff66}
@keyframes bjHeaderCheck{0%,4%{transform:rotateX(0);filter:grayscale(1) brightness(.46)}8%{transform:rotateX(-88deg);filter:grayscale(1) brightness(.48)}12%{transform:rotateX(0);filter:brightness(1.65)}17%,83%{transform:rotateX(0);filter:none}96%,100%{transform:rotateX(0);filter:grayscale(1) brightness(.46)}}
@media(min-width:521px){.bj-home-header .bj-word-logo{--logo-cell:clamp(38px,6vw,58px)}.bj-home-header .bj-word-row{gap:5px}}
@media(max-width:520px){.bj-home-header{min-height:98px;grid-template-columns:36px minmax(0,1fr) 36px;column-gap:3px;row-gap:7px;padding:6px 2px 10px}.bj-home-header .bj-icon-btn,.bj-home-header .bj-sound-btn{width:35px;height:35px;font-size:18px}.bj-home-header .bj-word-logo{--logo-cell:clamp(18px,calc((100vw - 48px)/9 - 2px),43px)}.bj-home-header .bj-word-row{gap:2px}.bj-home-header .bj-word-tile{border-radius:6px}}
@media(prefers-reduced-motion:reduce){.bj-home-header .bj-word-tile{animation:none;transform:none;filter:none}}

/* Accueil : lumière cyan, magenta et émeraude, inspirée de la maquette. */
.bj-homepage{background:radial-gradient(ellipse 72% 24% at 50% 0%,#063756 0%,transparent 75%),radial-gradient(ellipse 60% 28% at 0% 37%,#003744 0%,transparent 75%),radial-gradient(ellipse 60% 32% at 100% 72%,#082c57 0%,transparent 75%),#030910;background-attachment:fixed}
.bj-homepage .bj-shell{width:min(900px,100%);padding-top:0}
.bj-site-header{position:relative;margin:0 -9px 16px;padding-top:17px;padding-bottom:16px;border:1px solid #0c4662;border-top:0;border-radius:0 0 31px 31px;background:radial-gradient(ellipse at 10% 80%,#650b453d,transparent 30%),radial-gradient(ellipse at 92% 70%,#02396666,transparent 36%),linear-gradient(160deg,#030812,#051623 55%,#080b17);box-shadow:0 16px 33px #000b,0 3px 23px #007bd136;overflow:hidden}
.bj-site-header:before{content:"";position:absolute;inset:0 8% auto;height:1px;background:linear-gradient(90deg,transparent,#00bdf5,transparent);box-shadow:0 0 12px #00d4ff;pointer-events:none}
.bj-site-header .bj-header-title{position:relative;font-size:clamp(18px,4vw,28px);letter-spacing:-.03em;text-shadow:0 2px 8px #0009}
.bj-site-header .bj-header-title:before,.bj-site-header .bj-header-title:after{content:"";display:inline-block;width:clamp(18px,6vw,60px);height:1px;vertical-align:middle;margin:0 clamp(7px,2vw,18px);background:linear-gradient(90deg,transparent,#08cde9);box-shadow:0 0 7px #00d9ff}
.bj-site-header .bj-header-title:after{transform:rotate(180deg)}
.bj-site-header .bj-header-title em{font-style:normal;color:#03e6f4;text-shadow:0 0 14px #00dfff66}
.bj-site-header .bj-icon-btn,.bj-site-header .bj-sound-btn{position:relative;z-index:1;border-color:#527791;background:linear-gradient(140deg,#1a3547,#091423 75%);box-shadow:inset 0 1px #ffffff55,0 5px 10px #000a,0 0 12px #0579ba45;border-radius:16px}
.bj-site-header .bj-sound-btn:not(.off){box-shadow:inset 0 1px #ffffff55,0 5px 10px #000a,0 0 12px #0ef4ce76}
.bj-site-header .bj-word-logo{position:relative;z-index:1}
.bj-site-header .bj-word-tile{border-radius:10px;box-shadow:inset 0 1px #ffffff40,0 4px 9px #000b,0 0 12px #13699b5c}
.bj-site-header .bj-word-tile.correct{background:linear-gradient(150deg,#26f5b6,#00b382 74%);border-color:#77ffda;box-shadow:inset 0 1px #ffffffad,0 5px 12px #00aa816e,0 0 17px #00e5ad99}
.bj-site-header .bj-word-tile.present{border-color:#65daff;color:#83e0ff;background:linear-gradient(145deg,#172d42,#0a1828);box-shadow:inset 0 1px #ffffff30,0 4px 8px #0008,0 0 15px #22bfff9e}
.bj-site-header .bj-word-tile.absent{background:linear-gradient(150deg,#1c2734,#080c16);border-color:#455566;color:#aab9ca;box-shadow:inset 0 1px #ffffff23,0 4px 9px #000b}
:is(.bj-homepage,.bj-livepage) .bj-mode-grid{gap:12px;margin:14px 0 19px}
:is(.bj-homepage,.bj-livepage) .bj-mode{min-height:155px;padding:19px 17px;border-radius:28px;isolation:isolate;transition:transform .18s,box-shadow .18s;box-shadow:inset 0 1px #ffffff75,0 10px 22px #000a}
:is(.bj-homepage,.bj-livepage) .bj-mode:hover{transform:translateY(-2px)}
:is(.bj-homepage,.bj-livepage) .bj-mode:before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;background:radial-gradient(ellipse at 90% 5%,#ffffff28,transparent 40%),repeating-radial-gradient(ellipse at 0% 105%,transparent 0 27px,#ffffff0a 28px 29px,transparent 30px 57px);pointer-events:none}
:is(.bj-homepage,.bj-livepage) .bj-mode.daily{border:2px solid #06bdec;background:radial-gradient(ellipse at 0% 0%,#0476b4 0%,transparent 65%),linear-gradient(135deg,#09283c,#06121f 75%);box-shadow:inset 0 1px #ffffff8a,0 0 12px #00cafa7d,0 11px 23px #0009}
:is(.bj-homepage,.bj-livepage) .bj-mode.live{border:2px solid #e348aa;background:radial-gradient(ellipse at 0% 0%,#7f145e 0%,transparent 65%),linear-gradient(135deg,#34102a,#14091c 75%);box-shadow:inset 0 1px #ffffff82,0 0 12px #e83aab73,0 11px 23px #0009}
:is(.bj-homepage,.bj-livepage) .bj-mode i{top:12px;right:16px;font-size:36px;filter:drop-shadow(0 0 9px #08e9fa)}
:is(.bj-homepage,.bj-livepage) .bj-mode.live i{filter:drop-shadow(0 0 12px #ffbf31)}
:is(.bj-homepage,.bj-livepage) .bj-mode b{font-size:clamp(17px,3.8vw,27px);line-height:1.12;text-shadow:0 2px 5px #0008}
:is(.bj-homepage,.bj-livepage) .bj-mode small{font-size:clamp(11px,2.4vw,16px);color:#c3d5e9;margin-top:4px;margin-right:30px}
:is(.bj-homepage,.bj-livepage) .bj-mode-arrow{position:absolute;right:17px;bottom:17px;width:39px;height:39px;display:grid;place-items:center;border-radius:50%;font-size:35px;line-height:1;background:linear-gradient(145deg,#024e69,#00a8aa);border:1px solid #1bece0;box-shadow:0 0 13px #00d9dd8a}
:is(.bj-homepage,.bj-livepage) .bj-mode.live .bj-mode-arrow{background:linear-gradient(145deg,#650d41,#d31a71);border-color:#ff5b98;box-shadow:0 0 14px #ed188f8a}
.bj-homepage .bj-card.accent{padding:clamp(17px,4vw,36px);border:2px solid #22daee;border-radius:31px;background:radial-gradient(ellipse at 4% 3%,#087e7566,transparent 31%),radial-gradient(ellipse at 93% 95%,#03699988,transparent 33%),linear-gradient(155deg,#051525,#071322 55%,#071b29);box-shadow:inset 0 1px #ffffff81,inset 0 0 24px #04eade27,0 0 14px #00d8e999,0 16px 34px #000b;isolation:isolate}
.bj-homepage .bj-card.accent:before{height:100%;background:repeating-radial-gradient(ellipse at 0% 95%,transparent 0 60px,#13d5eb0b 61px 62px,transparent 63px 120px);z-index:-1;pointer-events:none}
.bj-homepage .bj-calendar-head{gap:10px}
.bj-homepage .bj-calendar-head .bj-kicker{color:#17eddb;font-size:clamp(11px,2.5vw,18px);letter-spacing:.24em;text-shadow:0 0 10px #03dbc07d}
.bj-homepage .bj-calendar-head h2{font-size:clamp(24px,5.5vw,45px);letter-spacing:-.045em;line-height:1.07;margin:13px 0 0;text-shadow:0 3px 8px #000b}
.bj-homepage .bj-date-badge{flex:none;width:clamp(61px,15vw,105px);border:1px solid #d9f5ff;border-radius:19px;background:linear-gradient(#fff,#c9e0ef);box-shadow:0 0 18px #10b9edaa,0 10px 18px #0009;transform:rotate(3deg)}
.bj-homepage .bj-date-badge b{background:linear-gradient(130deg,#ff5678,#e4004f);font-size:clamp(10px,2.2vw,17px);padding:7px}
.bj-homepage .bj-date-badge strong{font-size:clamp(27px,7vw,48px);padding:4px;color:#0b1826}
.bj-homepage .bj-legend{gap:8px;margin:17px 0 20px}
.bj-homepage .bj-legend span{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #42647a;background:#091827a8;border-radius:99px;color:#dce9f5;font-size:clamp(10px,2.1vw,14px);box-shadow:inset 0 1px #ffffff16}
.bj-homepage .bj-dot{flex:none;width:13px;height:13px;margin-right:7px}
.bj-homepage .bj-dot.won{background:#00e19c;box-shadow:0 0 9px #00e19c}
.bj-homepage .bj-dot.lost{background:#f42d69;box-shadow:0 0 9px #f42d69}
.bj-homepage .bj-dot.idle{border:1px solid #8eaac0}
.bj-homepage .bj-month-nav{grid-template-columns:clamp(42px,11vw,75px) minmax(0,1fr) clamp(42px,11vw,75px);gap:6px;margin:12px 0}
.bj-homepage .bj-month-nav h3{font-size:clamp(19px,4.5vw,33px);letter-spacing:-.035em;text-shadow:0 2px 7px #000a}
.bj-homepage .bj-nav{height:clamp(42px,10vw,63px);border-radius:18px;border-color:#3b769a;background:linear-gradient(145deg,#17374e,#07192a);box-shadow:inset 0 1px #ffffff4d,0 5px 10px #0007;font-size:24px}
.bj-homepage .bj-month-jump{gap:9px;margin:15px 0 13px;flex-wrap:nowrap}
.bj-homepage .bj-month-jump input{min-height:45px;background:linear-gradient(145deg,#102a40,#071726);border:1px solid #318fba;border-radius:13px;font-size:14px;box-shadow:inset 0 1px #ffffff25}
.bj-homepage .bj-month-jump button{min-height:45px;padding:0 clamp(11px,3vw,30px);border:1px solid #19f8c3;border-radius:13px;background:linear-gradient(135deg,#06ca95,#058f7d);box-shadow:0 0 12px #02e4ae99,inset 0 1px #ffffff69;font-size:14px}
.bj-homepage .bj-week,.bj-homepage .bj-dates{gap:clamp(4px,1vw,9px)}
.bj-homepage .bj-week{color:#8ea8bd;font-size:clamp(11px,2.5vw,16px);padding:7px 0 10px}
.bj-homepage .bj-day{border:1px solid #426177;border-radius:clamp(10px,2.7vw,18px);background:linear-gradient(145deg,#172c3b,#0a1522);box-shadow:inset 0 1px #ffffff18,0 4px 8px #0006;font-size:clamp(14px,3.4vw,23px);transition:transform .15s,box-shadow .15s}
.bj-homepage .bj-day:not(.future):hover{transform:translateY(-2px)}
.bj-homepage .bj-day.won{border-color:#35f2bd;background:linear-gradient(145deg,#05eaa7,#00a97d);box-shadow:inset 0 1px #ffffff69,0 0 11px #02e6a88a,0 4px 8px #0007}
.bj-homepage .bj-day.lost{border-color:#ff5c85;background:linear-gradient(145deg,#ff456c,#be0053);box-shadow:inset 0 1px #ffffff72,0 0 11px #ff257d88,0 4px 8px #0007}
.bj-homepage .bj-day.today{outline:2px solid #26d6ff;outline-offset:2px;box-shadow:0 0 14px #0bcaffbc}
.bj-homepage .bj-home-play .bj-primary{background:linear-gradient(135deg,#31cfff,#078bdf 75%);border:1px solid #83eaff;box-shadow:inset 0 1px #ffffff8c,0 0 18px #12bfffad,0 9px 20px #004d8980;color:#fff;font-size:18px;text-shadow:0 1px 5px #034878aa}
.bj-homepage .bj-ranking{border-color:#236578;background:linear-gradient(160deg,#0a2230,#090f1a);box-shadow:0 0 13px #00bdda4a,0 15px 25px #0008}
.bj-homepage .bj-ranking-head .bj-kicker{color:#11e6d4}
@media(max-width:520px){.bj-site-header{margin-left:-9px;margin-right:-9px}.bj-site-header .bj-header-title:before,.bj-site-header .bj-header-title:after{width:clamp(8px,4vw,20px);margin:0 5px}:is(.bj-homepage,.bj-livepage) .bj-mode{min-height:120px;padding:13px 11px;border-radius:23px}:is(.bj-homepage,.bj-livepage) .bj-mode i{font-size:29px;right:10px;top:10px}:is(.bj-homepage,.bj-livepage) .bj-mode-arrow{right:10px;bottom:10px;width:30px;height:30px;font-size:28px}.bj-homepage .bj-card.accent{border-radius:26px}.bj-homepage .bj-legend{gap:5px}.bj-homepage .bj-legend span{padding:6px 7px}.bj-homepage .bj-month-jump input{font-size:12px}.bj-homepage .bj-month-jump button{font-size:12px}}
@media(max-width:350px){.bj-homepage .bj-legend span{font-size:9px}.bj-homepage .bj-dot{width:10px;height:10px;margin-right:4px}:is(.bj-homepage,.bj-livepage) .bj-mode small{font-size:10px}:is(.bj-homepage,.bj-livepage) .bj-mode b{font-size:16px}}

/* Finitions de la maquette : logo arqué et illustrations des deux modes. */
.bj-site-header .bj-word-logo{--arc:clamp(4px,1vw,9px)}
.bj-site-header .bj-word-row{padding:0 1px var(--arc)}
.bj-site-header .bj-word-tile{--arc-y:0px;--arc-r:0deg;animation-name:bjHeaderArcCheck}
.bj-site-header .bj-word-tile:nth-child(1){--arc-y:var(--arc);--arc-r:-4deg}
.bj-site-header .bj-word-tile:nth-child(2){--arc-y:calc(var(--arc) * .55);--arc-r:-3deg}
.bj-site-header .bj-word-tile:nth-child(3){--arc-y:calc(var(--arc) * .22);--arc-r:-2deg}
.bj-site-header .bj-word-tile:nth-child(4){--arc-r:-1deg}
.bj-site-header .bj-word-tile:nth-child(6){--arc-r:1deg}
.bj-site-header .bj-word-tile:nth-child(7){--arc-y:calc(var(--arc) * .22);--arc-r:2deg}
.bj-site-header .bj-word-tile:nth-child(8){--arc-y:calc(var(--arc) * .55);--arc-r:3deg}
.bj-site-header .bj-word-tile:nth-child(9){--arc-y:var(--arc);--arc-r:4deg}
@keyframes bjHeaderArcCheck{0%,4%{transform:translateY(var(--arc-y)) rotate(var(--arc-r)) rotateX(0);filter:grayscale(1) brightness(.46)}8%{transform:translateY(var(--arc-y)) rotate(var(--arc-r)) rotateX(-88deg);filter:grayscale(1) brightness(.48)}12%{transform:translateY(var(--arc-y)) rotate(var(--arc-r)) rotateX(0);filter:brightness(1.65)}17%,83%{transform:translateY(var(--arc-y)) rotate(var(--arc-r)) rotateX(0);filter:none}96%,100%{transform:translateY(var(--arc-y)) rotate(var(--arc-r)) rotateX(0);filter:grayscale(1) brightness(.46)}}
:is(.bj-homepage,.bj-livepage) .bj-mode:before{background-position:center;background-size:cover;background-repeat:no-repeat;opacity:1}
:is(.bj-homepage,.bj-livepage) .bj-mode.daily:before{background-image:url('home-daily-waves.svg')}
:is(.bj-homepage,.bj-livepage) .bj-mode.live:before{background-image:url('home-live-waves.svg')}
:is(.bj-homepage,.bj-livepage) .bj-mode:after{content:"";position:absolute;z-index:-1;inset:1px;border-radius:inherit;background:radial-gradient(ellipse at 15% 0%,#ffffff20,transparent 55%);pointer-events:none}
:is(.bj-homepage,.bj-livepage) .bj-mode .bj-mode-calendar{right:clamp(13px,5vw,34px);top:13px;width:clamp(43px,10vw,75px);height:clamp(48px,11vw,83px);transform:rotate(5deg);filter:drop-shadow(0 0 8px #19ccf5a5);display:block;text-align:center;border:1px solid #c9efff;border-radius:10px;background:linear-gradient(#fff,#d8ebf6);box-shadow:0 7px 9px #0008,0 0 10px #07c7ee6b;overflow:visible}
:is(.bj-homepage,.bj-livepage) .bj-mode-calendar:before,:is(.bj-homepage,.bj-livepage) .bj-mode-calendar:after{content:"";position:absolute;z-index:2;top:-7px;width:5px;height:12px;border-radius:5px;background:linear-gradient(90deg,#6597c4,#e4faff,#507da7);box-shadow:0 0 3px #062b4a}
:is(.bj-homepage,.bj-livepage) .bj-mode-calendar:before{left:23%}:is(.bj-homepage,.bj-livepage) .bj-mode-calendar:after{right:23%}
:is(.bj-homepage,.bj-livepage) .bj-mode-calendar span{display:block;border-radius:9px 9px 0 0;padding:3px 0;background:linear-gradient(130deg,#ff5c80,#ed0c57);color:#fff;font-size:clamp(8px,1.7vw,12px);font-weight:900;line-height:1.15}
:is(.bj-homepage,.bj-livepage) .bj-mode-calendar strong{display:block;color:#101e32;font-size:clamp(22px,5vw,44px);font-weight:950;line-height:1.23}
:is(.bj-homepage,.bj-livepage) .bj-mode .bj-mode-bolt{top:8px;right:clamp(13px,5vw,30px);width:clamp(45px,11vw,86px);height:clamp(57px,14vw,108px);background:url('home-bolt.svg') center/contain no-repeat;filter:drop-shadow(0 0 8px #ff8600b9)}
:is(.bj-homepage,.bj-livepage) .bj-mode-arrow{font-family:Arial,sans-serif;font-weight:300;padding-bottom:4px}
.bj-homepage .bj-card.accent{background:radial-gradient(ellipse at 3% 4%,#037c7770,transparent 31%),radial-gradient(ellipse at 88% 92%,#017ca06b,transparent 35%),radial-gradient(ellipse at 100% 0%,#142f6b66,transparent 42%),linear-gradient(155deg,#051525,#071322 55%,#071b29)}
.bj-homepage .bj-card.accent:after{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;background:linear-gradient(135deg,#ffffff1d 0%,transparent 11%,transparent 87%,#05deea21);pointer-events:none}
@media(max-width:520px){:is(.bj-homepage,.bj-livepage) .bj-mode .bj-mode-calendar{top:10px}:is(.bj-homepage,.bj-livepage) .bj-mode .bj-mode-bolt{top:7px}}
@media(prefers-reduced-motion:reduce){.bj-site-header .bj-word-tile{animation:none;transform:translateY(var(--arc-y)) rotate(var(--arc-r));filter:none}}

/* Modes : seul le mode affiché reçoit l'éclat maximal. */
:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode:not(.is-active){opacity:.72;filter:saturate(.75) brightness(.82);box-shadow:inset 0 1px #ffffff38,0 5px 15px #0008;transition:opacity .25s,filter .25s,box-shadow .25s,transform .25s}
:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode.is-active{opacity:1;filter:none}
:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode:not(.is-active):hover,:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode:not(.is-active):focus-visible{opacity:.92;filter:saturate(.95) brightness(.98)}
:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode-arrow{animation:bjModeInvite 2.5s ease-in-out infinite}
:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode:hover .bj-mode-arrow,:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode:focus-visible .bj-mode-arrow{animation:bjModeInvite .65s ease-in-out infinite}
@keyframes bjModeInvite{0%,65%,100%{transform:translateX(0)}74%{transform:translateX(4px)}84%{transform:translateX(-1px)}91%{transform:translateX(2px)}}
.bj-homepage .bj-calendar-head{margin-bottom:22px}
.bj-homepage .bj-nav svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.bj-homepage .bj-nav{font-size:0;color:#f4fcff;box-shadow:inset 0 1px #ffffff55,0 5px 12px #0008,0 0 10px #0898d045}
.bj-homepage .bj-nav:not(.disabled):hover{border-color:#25c9f3;box-shadow:inset 0 1px #ffffff75,0 0 15px #02c9f18c}

/* Le même langage lumineux sur le Live Battle, le jeu et l'administration. */
.bj-themed{background:radial-gradient(ellipse 78% 24% at 50% 0%,#063756 0%,transparent 76%),radial-gradient(ellipse 65% 30% at 0% 45%,#003d45 0%,transparent 75%),radial-gradient(ellipse 62% 30% at 100% 80%,#102655 0%,transparent 76%),#030910;background-attachment:fixed}
.bj-themed:not(.bj-homepage) .bj-shell{width:min(900px,100%)}
.bj-themed:not(.bj-homepage) .bj-top{height:auto;min-height:79px;margin-bottom:17px;padding:10px 9px;border:1px solid #174d67;border-radius:0 0 24px 24px;background:radial-gradient(ellipse at 80% 100%,#122a574d,transparent 65%),linear-gradient(150deg,#061623,#060a14);box-shadow:0 10px 26px #0009,0 0 15px #008cd13b}
.bj-themed:not(.bj-homepage) .bj-logo{letter-spacing:-1.6px;text-shadow:0 3px 10px #0009}
.bj-themed:not(.bj-homepage) .bj-logo em{color:#21e6ef;text-shadow:0 0 13px #03daee8c}
.bj-themed:not(.bj-homepage) .bj-logo small{color:#8bd4e4}
.bj-themed:not(.bj-homepage) .bj-icon-btn,.bj-themed:not(.bj-homepage) .bj-sound-btn{border-color:#4c8099;background:linear-gradient(140deg,#183447,#081421);box-shadow:inset 0 1px #ffffff57,0 4px 10px #0009,0 0 9px #08a4d856}
.bj-themed .bj-kicker{color:#14e4d3;text-shadow:0 0 9px #00dabe70}
.bj-themed .bj-card,.bj-themed .bj-game-card{border:1px solid #277f93;border-radius:26px;background:radial-gradient(ellipse at 0% 0%,#0466694f,transparent 32%),radial-gradient(ellipse at 100% 100%,#07558061,transparent 38%),linear-gradient(160deg,#091b2b,#07111e 66%,#0a1625);box-shadow:inset 0 1px #ffffff35,0 0 14px #02d4dd4d,0 15px 30px #000a}
.bj-themed .bj-game-card:before{height:2px;background:linear-gradient(90deg,#08e4ce,#1293ff,#d62593)}
.bj-themed .bj-primary{border:1px solid #29f5d0;background:linear-gradient(135deg,#06d0a6,#078d82);box-shadow:inset 0 1px #ffffff6b,0 0 13px #00e9b77a,0 8px 15px #0008}
.bj-themed .bj-primary:hover,.bj-themed .bj-primary:focus-visible{filter:brightness(1.13);box-shadow:inset 0 1px #ffffff78,0 0 19px #00e9b7a3}
.bj-themed .bj-form input:not([type=checkbox]),.bj-themed .bj-form select,.bj-themed .bj-form textarea{background:linear-gradient(145deg,#112c40,#081522);border-color:#3c819e;color:#f7fcff;box-shadow:inset 0 1px #ffffff19}
.bj-themed .bj-form input:focus-visible,.bj-themed .bj-form select:focus-visible,.bj-themed .bj-form textarea:focus-visible{outline:2px solid #13dbed;outline-offset:2px}
.bj-themed .bj-muted{color:#a5bacc}
.bj-themed .bj-score-pill{border-color:#12a994;background:linear-gradient(145deg,#0b423e,#06191c);box-shadow:0 0 14px #02d5b05b,inset 0 1px #ffffff36}
.bj-themed .bj-score-pill b{color:#72ffda;text-shadow:0 0 8px #0af0ba76}
.bj-themed .bj-game-head h1,.bj-themed .bj-admin-head h1{color:#fff;text-shadow:0 3px 12px #000a}
:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-cell{border-color:#415a6e;background:linear-gradient(145deg,#162939,#0a1420);box-shadow:inset 0 1px #ffffff20,0 4px 8px #0009}
:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-cell.correct,:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-cell.given{background:linear-gradient(145deg,#ff4469,#d3003c);border-color:#ff6e8c;box-shadow:inset 0 1px #ffffff7a,0 0 14px #f61e5c8c}
:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-cell.present{background:#161a21;border:3px solid #ffda46;color:#ffda46;box-shadow:0 0 12px #ffca3580,inset 0 1px #ffffff26}
:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-cell.absent{background:linear-gradient(145deg,#151e29,#090f19);border-color:#324354;color:#a2b3c2}
:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-cell.typing{border:2px solid #ffda46;background:#292314;box-shadow:0 0 0 3px #ffd33955,0 0 18px #ffc32d90}
:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-key:not(.correct):not(.present):not(.absent):not(.submit):not(.erase):not(.placeholder-key){background:linear-gradient(145deg,#435667,#253340);border-color:#718da1;box-shadow:inset 0 1px #ffffff52,0 4px 0 #0a121b}
:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-key.correct,:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-key.submit{background:linear-gradient(145deg,#ff3a63,#d60039);border-color:#ff6987;box-shadow:inset 0 1px #ffffff79,0 4px 0 #680724,0 0 12px #fc155a75}
:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-key.present{background:linear-gradient(145deg,#353d46,#1c2530);border:3px solid #ffcf33;color:#ffe67a;box-shadow:0 0 11px #ffcd3280,0 4px 0 #0b1018}
:is(.bj-themed .bj-game-shell,.bj-themed .bj-battle-shell) .bj-key.absent{background:#05070b;border-color:#253443;color:#677c8c}
.bj-themed .bj-hint{border-color:#d1a834;background:linear-gradient(135deg,#30240d,#171620);box-shadow:0 0 11px #ffc9364d}
.bj-themed .bj-score-detail{border-color:#a2802f;background:linear-gradient(145deg,#29220f,#101723);box-shadow:0 0 12px #f5ba3740}
.bj-themed .bj-values{color:#dbeef6}
.bj-themed .bj-value-strip span{background:#112333;border-color:#416477}
.bj-themed .bj-player{border-color:#426b84;background:linear-gradient(145deg,#15344a,#0b1726);box-shadow:inset 0 1px #ffffff2a}
.bj-themed .bj-avatar{border-color:#1bd1f1;background:#0f3853;box-shadow:0 0 9px #05cbf173}
.bj-themed .bj-code{color:#fddf73;text-shadow:0 0 13px #f3b1308c}
.bj-themed .bj-reactions button{background:linear-gradient(#18384a,#0d1c2b);border-color:#4f7c95;box-shadow:0 0 8px #139cc254}
.bj-adminpage .bj-admin-launch{border:1px solid #3198b3;background:linear-gradient(145deg,#103850,#0a1623);box-shadow:inset 0 1px #ffffff48,0 0 12px #06bdda65,0 8px 17px #0008;transition:transform .18s,filter .18s}
.bj-adminpage .bj-admin-launch:hover{transform:translateY(-2px);filter:brightness(1.12)}
.bj-adminpage .bj-admin-launch.games{border-color:#df4e93;background:linear-gradient(145deg,#511b46,#111625);box-shadow:0 0 12px #ef2e9870}
.bj-adminpage .bj-admin-launch.words{border-color:#23cbac;background:linear-gradient(145deg,#104e49,#0c1d25);box-shadow:0 0 12px #13d6af61}
.bj-adminpage .bj-admin-launch.sounds{border-color:#efbf4c;background:linear-gradient(145deg,#49320d,#171825);box-shadow:0 0 12px #ffd23e55}
.bj-adminpage .bj-admin-launch.settings{border-color:#4aa8e3;background:linear-gradient(145deg,#143d65,#101929);box-shadow:0 0 12px #0aaeff63}
.bj-adminpage .bj-admin-launch small{color:#c3d7e5}
.bj-adminpage .bj-audio-card,.bj-adminpage .bj-dict-stats>div{border-color:#3c7791;background:linear-gradient(145deg,#133044,#0b1725);box-shadow:inset 0 1px #ffffff23}
.bj-adminpage .bj-table th{color:#8dd9e8}
.bj-adminpage .bj-table td{border-color:#284253}
.bj-adminpage .bj-table-wrap{border-color:#416e84}
.bj-adminpage .bj-badge{background:#16475a;color:#c5f4f5}
.bj-adminpage .bj-login{border-color:#26cadd}
@media(max-width:520px){.bj-themed:not(.bj-homepage) .bj-top{min-height:69px}.bj-livepage .bj-mode-switch{margin-top:5px}.bj-themed .bj-card,.bj-themed .bj-game-card{border-radius:23px}}
@media(prefers-reduced-motion:reduce){:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode-arrow{animation:none}}

/* Profil et studio d'avatar dans la palette commune. */
.bj-profile-modal{background:#020913ed}
.bj-profile-panel{border-color:#348ca2;background:radial-gradient(ellipse at 0% 0%,#0b526066,transparent 45%),linear-gradient(155deg,#0a2030,#081322);box-shadow:0 0 22px #02bddb6b,0 24px 80px #000e}
.bj-profile-panel input,.bj-profile-panel select{border-color:#477f9b;background:#102c40}
.bj-avatar-studio{background:#0a1d2c;border-color:#358ca5}
.bj-studio-head,.bj-studio-tabs,.bj-studio-bottom{background:linear-gradient(145deg,#12354a,#0a1b2b);border-color:#346780}
.bj-studio-preview{background:radial-gradient(circle at 50% 25%,#165d74,#102638 70%);border-color:#3c8197}
.bj-studio-choice{border-color:#477891;background:linear-gradient(145deg,#1b4359,#10283b)}
.bj-studio-choice:hover{background:#23607a}
.bj-studio-tab.active{background:#13e2c2;color:#042527;box-shadow:0 0 10px #02e1c28b}
.bj-studio-choice.selected{border-color:#16e2cb;background:#144d51;box-shadow:0 0 10px #04e3c184}
.bj-random-btn{border-color:#4ca4c0;background:#19506a}

/* Navigation du calendrier : titre inchangé, mois sélectionnable sans rechargement. */
.bj-homepage .bj-month-center{position:relative;min-width:0;text-align:center}
.bj-homepage .bj-month-center h3{margin:0}
.bj-homepage .bj-month-trigger{display:inline-block;max-width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;text-align:center;text-shadow:inherit;cursor:pointer}
.bj-homepage .bj-month-trigger:focus-visible{outline:2px solid #19d8ec;outline-offset:5px;border-radius:4px}
.bj-homepage .bj-month-picker[hidden],.bj-homepage .bj-calendar-error[hidden]{display:none}
.bj-homepage .bj-month-picker{position:absolute;z-index:25;top:calc(100% + 12px);left:50%;width:min(292px,calc(100vw - 45px));transform:translateX(-50%);padding:12px;border:1px solid #22d6e9;border-radius:17px;background:linear-gradient(155deg,#102b40,#071523);box-shadow:0 0 18px #00d3e68a,0 14px 30px #000c}
.bj-homepage .bj-month-picker-head{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;gap:7px;margin-bottom:10px;color:#fff;font-size:20px}
.bj-homepage .bj-month-year-arrow,.bj-homepage .bj-month-option{border:1px solid #417c96;background:linear-gradient(145deg,#183d52,#0b1c2c);color:#e6f8fb;border-radius:9px;cursor:pointer}
.bj-homepage .bj-month-year-arrow{height:34px;font-size:26px;line-height:1}
.bj-homepage .bj-month-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.bj-homepage .bj-month-option{min-height:37px;font-size:13px;font-weight:800}
.bj-homepage .bj-month-option.selected{border-color:#1af1d1;background:linear-gradient(145deg,#0bc89e,#087f7c);box-shadow:0 0 10px #03e1ba8c;color:#fff}
.bj-homepage .bj-month-option:not(:disabled):hover,.bj-homepage .bj-month-year-arrow:not(:disabled):hover{border-color:#21d8ee;filter:brightness(1.25)}
.bj-homepage .bj-month-option:disabled,.bj-homepage .bj-month-year-arrow:disabled{opacity:.3;cursor:default}
.bj-homepage .bj-month-nav.is-loading{opacity:.75}
.bj-homepage .bj-calendar-error{margin:0 0 8px;color:#ff9fb9;font-size:12px;font-weight:800;text-align:center}

/* Header commun sur toutes les rubriques. */
.bj-themed:not(.bj-homepage) .bj-site-header{height:auto;min-height:112px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:auto auto;column-gap:8px;row-gap:9px;margin-bottom:16px;padding:11px 6px 15px;border:1px solid #0c4662;border-top:0;border-radius:0 0 31px 31px;background:radial-gradient(ellipse at 10% 80%,#650b453d,transparent 30%),radial-gradient(ellipse at 92% 70%,#02396666,transparent 36%),linear-gradient(160deg,#030812,#051623 55%,#080b17);box-shadow:0 16px 33px #000b,0 3px 23px #007bd136;overflow:hidden}
.bj-themed .bj-site-header .bj-icon-btn,.bj-themed .bj-site-header .bj-sound-btn,.bj-themed .bj-site-header .bj-header-spacer{width:39px;height:39px;justify-self:center;align-self:center}
.bj-themed .bj-site-header .bj-header-spacer{display:block}
.bj-themed .bj-site-header .bj-header-title{font-size:clamp(17px,4vw,27px);letter-spacing:-.03em;white-space:nowrap}
.bj-themed .bj-site-header .bj-word-logo{grid-column:1/-1;grid-row:2;display:block;width:100%;line-height:1;letter-spacing:0;min-width:0;perspective:500px}
.bj-themed .bj-site-header .bj-word-row{display:flex;justify-content:center;gap:3px;white-space:nowrap}
.bj-themed .bj-site-header .bj-word-tile{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.bj-adminpage .bj-login{margin:7vh auto}

/* Codes de la partie, identiques pour le mot du jour et le Live Battle. */
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:950;letter-spacing:-.035em}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:850;letter-spacing:-.025em}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.correct,.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.given{background:linear-gradient(145deg,#19edab,#00a97e 80%);border-color:#5afbd0;color:#fff;box-shadow:inset 0 1px #ffffff86,0 0 14px #00e8a9a3,0 5px 11px #0008;text-shadow:0 2px 5px #07503e99}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.present{background:linear-gradient(145deg,#17689c,#09345f 85%);border:3px solid #3fc9ff;color:#d8f6ff;box-shadow:inset 0 1px #ffffff42,0 0 14px #17bdfbb2,0 5px 10px #0008;text-shadow:0 0 8px #72dcffba}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.present:before{content:none}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key.correct{background:linear-gradient(145deg,#18e6a8,#00a77d);border-color:#59fbd1;color:#fff;box-shadow:inset 0 1px #ffffff87,0 4px 0 #075640,0 0 13px #00e3a498;text-shadow:0 2px 5px #08493e99}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key.present{background:linear-gradient(145deg,#14577f,#0b3155);border:3px solid #3cc6ff;color:#e8faff;box-shadow:inset 0 1px #ffffff45,0 4px 0 #092948,0 0 12px #1dbafb9b}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key.present:before{content:none}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.correct:after,.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.given:after{content:none}
@media(max-width:520px){.bj-themed:not(.bj-homepage) .bj-site-header{min-height:99px;grid-template-columns:36px minmax(0,1fr) 36px;column-gap:3px;row-gap:7px;padding:7px 2px 10px}.bj-themed .bj-site-header .bj-icon-btn,.bj-themed .bj-site-header .bj-sound-btn,.bj-themed .bj-site-header .bj-header-spacer{width:35px;height:35px}.bj-themed .bj-site-header .bj-header-title{font-size:clamp(15px,4.5vw,21px)}.bj-themed .bj-site-header .bj-word-row{gap:2px}}
.bj-site-header>.bj-icon-btn:nth-child(3),.bj-site-header>.bj-header-spacer:nth-child(3){grid-column:3;grid-row:1}

/* Sélecteur de mode compact : titre et pictogramme sur la même ligne. */
:is(.bj-homepage,.bj-livepage) .bj-mode-grid{gap:10px;margin:12px 0 17px}
:is(.bj-homepage,.bj-livepage) .bj-mode{min-height:100px;display:flex;align-items:center;justify-content:flex-start;padding:14px 18px;line-height:1.12}
:is(.bj-homepage,.bj-livepage) .bj-mode b{display:block;position:relative;z-index:1;max-width:calc(100% - 83px);margin:0;font-size:clamp(17px,3.8vw,25px)}
:is(.bj-homepage,.bj-livepage) .bj-mode .bj-mode-calendar{top:50%;right:clamp(15px,4vw,27px);transform:translateY(-50%) rotate(5deg)}
:is(.bj-homepage,.bj-livepage) .bj-mode .bj-mode-bolt{top:50%;right:clamp(14px,4vw,26px);transform:translateY(-50%)}
@media(max-width:520px){:is(.bj-homepage,.bj-livepage) .bj-mode{min-height:84px;padding:11px 12px}:is(.bj-homepage,.bj-livepage) .bj-mode b{max-width:calc(100% - 49px);font-size:clamp(15px,3.9vw,18px)}:is(.bj-homepage,.bj-livepage) .bj-mode .bj-mode-calendar{top:50%;right:8px;width:43px;height:48px}:is(.bj-homepage,.bj-livepage) .bj-mode .bj-mode-bolt{top:50%;right:7px;width:45px;height:56px}}

/* Titres des modes plus présents, alignés à gauche sur deux lignes. */
:is(.bj-homepage,.bj-livepage) .bj-mode b{max-width:calc(100% - 83px);font-size:clamp(22px,4.5vw,29px);line-height:1.02;letter-spacing:-.035em;text-align:left}
@media(max-width:520px){:is(.bj-homepage,.bj-livepage) .bj-mode b{max-width:calc(100% - 49px);font-size:clamp(19px,5vw,22px)}}

/* Deux colonnes visuelles : texte réellement à gauche, icône à droite. */
:is(.bj-homepage,.bj-livepage) .bj-mode{flex-direction:row;justify-content:flex-start;align-items:center;min-height:100px}
:is(.bj-homepage,.bj-livepage) .bj-mode b{flex:0 1 auto;width:calc(100% - 85px);max-width:none;margin:0;text-align:left;font-size:clamp(24px,4.8vw,31px);line-height:1.02}
@media(max-width:520px){:is(.bj-homepage,.bj-livepage) .bj-mode{min-height:84px}:is(.bj-homepage,.bj-livepage) .bj-mode b{width:calc(100% - 49px);font-size:clamp(16px,6vw,26px);white-space:nowrap}}

/* Navigation entre les modes : header conservé et accent rose pour le Live Battle. */
.bj-themed.bj-livepage .bj-site-header{min-height:115px;margin:0 -9px 16px;padding:17px 6px 16px}
.bj-livepage .bj-site-header .bj-header-title em{color:#ff59b6;text-shadow:0 0 14px #ff3aab8c}
.bj-livepage .bj-site-header .bj-header-title:before,.bj-livepage .bj-site-header .bj-header-title:after{background:linear-gradient(90deg,transparent,#ff4cad);box-shadow:0 0 9px #ff40ad}
.bj-livepage .bj-site-header:before{background:linear-gradient(90deg,transparent,#ec339d,transparent);box-shadow:0 0 12px #eb299b}
.bj-mode-grid.is-loading{pointer-events:none}
.bj-mode-error{margin:0 0 12px;padding:8px 12px;border:1px solid #d44c87;border-radius:10px;background:#3b102a;color:#ffd9e9;font-size:13px;font-weight:800;text-align:center}
@media(max-width:520px){.bj-themed.bj-livepage .bj-site-header{min-height:65px;grid-template-columns:36px minmax(0,1fr) 36px;padding:17px 2px 16px}}

/* Même ancrage vertical dans les deux modes ; rose réservé au Live Battles. */
.bj-livepage .bj-shell{padding-top:0}
.bj-livepage .bj-site-header .bj-word-tile.present{border:2px solid #ff72c3;color:#ff8aca;background:linear-gradient(145deg,#322035,#180e20);text-shadow:0 0 8px #ff6cc8bd;box-shadow:inset 0 1px #ffffff30,0 4px 8px #0008,0 0 15px #ff42ad9e}

/* Classement du Mot du jour : podium et recherche, cartes compactes. */
.bj-homepage .bj-ranking{padding:clamp(17px,4vw,30px);border:1px solid #1fdad6;border-top:4px solid #29e6d5;border-radius:30px;background:radial-gradient(ellipse at 3% 4%,#086e7355,transparent 38%),linear-gradient(160deg,#071b27,#090f1a 85%);box-shadow:inset 0 1px #ffffff69,0 0 18px #00dacf6e,0 18px 35px #000a}
.bj-ranking-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.bj-ranking-head .bj-kicker{color:#22e9cb;letter-spacing:.18em;font-size:clamp(11px,2.7vw,15px)}
.bj-ranking-head h2{margin:8px 0 0;font-size:clamp(24px,6vw,38px);line-height:1.1;letter-spacing:-.045em}
.bj-ranking-crown{color:#ffe368;font-size:38px;text-shadow:0 0 20px #ffcc5e8c}
.bj-ranking-cards{display:grid;gap:10px}
.bj-ranking-cards[hidden]{display:none}
.bj-rank-card{padding:12px;border:1px solid #345f70;border-radius:20px;background:linear-gradient(135deg,#123044,#0b1723 72%);box-shadow:inset 0 1px #ffffff28,0 8px 18px #0005;min-width:0}
.bj-rank-card.rank-1{border-color:#b8ab54;background:radial-gradient(ellipse at 8% 20%,#75621f66,transparent 73%),linear-gradient(145deg,#242618,#111a1f)}
.bj-rank-card.rank-2{border-color:#7999ac}
.bj-rank-card.rank-3{border-color:#a67b6d}
.bj-rank-card.mine{box-shadow:inset 0 1px #ffffff43,0 0 0 1px #32e5d899,0 0 18px #00d9cf5b}
.bj-rank-primary{display:flex;align-items:center;gap:9px;min-width:0}
.bj-rank-medal{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:#082d3a;color:#b4ecf4;font-size:19px;font-weight:900}
.bj-rank-card.rank-1 .bj-rank-medal{background:#44431d}
.bj-rank-avatar{display:grid;place-items:center;flex:none;width:35px;height:35px;overflow:hidden;border:2px solid #96e9df;border-radius:50%}
.bj-rank-avatar .bj-avatar-art{width:100%;height:100%}
.bj-rank-identity{min-width:0;flex:1}
.bj-rank-identity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(16px,4vw,21px);letter-spacing:-.02em}
.bj-rank-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#98b8c5;font-size:11px;margin-top:2px}
.bj-rank-score{text-align:right;flex:none;line-height:1.03}
.bj-rank-score b{display:block;color:#6bffe0;font-size:clamp(20px,5vw,28px);letter-spacing:-.04em}
.bj-rank-card.rank-1 .bj-rank-score b{color:#ffe279}
.bj-rank-score span{color:#a0b7c1;font-size:9px;letter-spacing:.12em;font-weight:800}
.bj-rank-stats{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:10px;padding:7px 10px;border-radius:11px;background:#030d16a8;color:#c9dbe1;font-size:12px}
.bj-rank-stats strong{color:#fff;font-size:14px}.bj-rank-stats small{color:#9db5c0}.bj-rank-stats>b{color:#42ebd0;font-size:15px;white-space:nowrap}
.bj-rank-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;font-size:11px;color:#b8cbd3}
.bj-rank-chips span{padding:5px 9px;border-radius:999px;background:#061420;border:1px solid #264757}.bj-rank-chips span:first-child{color:#ffe494;border-color:#99783669;background:#302b1580}.bj-rank-chips b{color:#fff}
.bj-ranking-separator{text-align:center;color:#6ccfc8;letter-spacing:.4em;font-size:17px;line-height:12px}
.bj-ranking-search{margin-top:16px}.bj-ranking-search label{display:block;margin-bottom:7px;color:#c7e1e6;font-size:12px;font-weight:800}
.bj-ranking-input{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #347889;border-radius:13px;background:#071b29}.bj-ranking-input:focus-within{border-color:#25e9d6;box-shadow:0 0 0 2px #15d9bd33}
.bj-ranking-input span{font-size:26px;color:#4de7d4}.bj-ranking-input input{width:100%;height:42px;border:0;outline:0;color:#fff;background:transparent;font:inherit;font-size:14px}
.bj-ranking-input input::placeholder{color:#819ba9}.bj-ranking-search p{min-height:13px;margin:5px 0;color:#9db9c2;font-size:11px}
.bj-city-field{position:relative}.bj-city-options{position:absolute;z-index:50;top:100%;left:0;right:0;max-height:220px;overflow:auto;padding:5px;border:1px solid #45b8c3;border-radius:10px;background:#0b2330;box-shadow:0 15px 24px #000b}.bj-city-options[hidden]{display:none}
.bj-city-options button{display:block;width:100%;padding:9px 12px;border:0;border-radius:7px;text-align:left;background:transparent;color:#eafcff;font:inherit;cursor:pointer}.bj-city-options button:hover,.bj-city-options button.active{background:#0c655f}
@media(max-width:480px){.bj-homepage .bj-ranking{padding:15px 12px}.bj-rank-card{padding:10px}.bj-rank-primary{gap:6px}.bj-rank-medal{width:29px;height:29px;font-size:17px}.bj-rank-avatar{width:30px;height:30px}.bj-rank-score b{font-size:19px}.bj-rank-stats{font-size:11px;padding:6px 8px}}
.bj-studio-bottom .bj-city-field{grid-column:1;min-width:0}.bj-studio-bottom .bj-city-field input[name="city_name"]{width:100%}.bj-studio-bottom .bj-primary{grid-column:1/-1;grid-row:auto}

/* Le menu ouvre le compte avant l'éditeur d'avatar. */
.bj-profile-panel [data-profile-form][hidden],.bj-profile-summary[hidden],.bj-profile-confirm[hidden]{display:none!important}
.bj-profile-summary{display:grid;justify-items:center;gap:8px;padding:20px 18px 28px;text-align:center}
.bj-profile-avatar-action{display:grid;justify-items:center;gap:8px;border:0;background:transparent;color:#5cead7;font-weight:800;font-size:12px;cursor:pointer}
.bj-profile-avatar-action .bj-avatar-art{width:105px;height:105px;border:3px solid #5be8d5;border-radius:50%;box-shadow:0 0 18px #11dbc175}
.bj-profile-summary>strong{font-size:clamp(22px,6vw,30px);line-height:1.1}
.bj-profile-summary>p{margin:0 0 15px;color:#b6d4dc}
.bj-profile-edit,.bj-profile-delete{width:min(100%,350px);min-height:46px;border-radius:13px;font:inherit;font-size:15px;font-weight:850;cursor:pointer}
.bj-profile-edit{border:1px solid #54e9d5;background:linear-gradient(135deg,#11c59c,#0887a4);color:#fff;box-shadow:0 0 12px #14dcc163}
.bj-profile-delete{margin-top:15px;border:1px solid #b86173;background:#251621;color:#ffb3c5}
.bj-profile-confirm{padding:24px 18px 28px;text-align:center}.bj-profile-confirm h3{margin:0;font-size:23px}.bj-profile-confirm p{max-width:470px;margin:12px auto 22px}
.bj-profile-confirm-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.bj-profile-confirm-actions button{min-height:45px;padding:9px 17px;border-radius:12px;font:inherit;font-weight:800;cursor:pointer}
.bj-profile-confirm-actions>button{border:1px solid #689eab;background:#193c4c;color:#fff}
.bj-profile-confirm-actions form{display:block;margin:0}.bj-profile-delete-final{border:1px solid #ff7990;background:#b91d49;color:#fff}
.bj-studio-bottom .bj-city-field input#bj-city{width:100%}
@media(max-width:700px){.bj-profile-summary{padding:32px 16px}.bj-profile-confirm{padding:28px 16px}}
.bj-account-deleted{max-width:560px;margin:12vh auto;padding:30px;text-align:center;border-color:#2dd9cf}.bj-account-deleted h1{font-size:clamp(26px,6vw,36px)}.bj-account-deleted p{color:#adcad1;margin-bottom:25px}.bj-account-deleted .bj-primary{display:inline-block;text-decoration:none}

/* Retour au calendrier : même flèche épaisse et centrée que la navigation mensuelle. */
.bj-game-shell .bj-site-header .bj-game-back{border:2.5px solid #4c8099;border-radius:50%;display:grid;place-items:center;padding:0}
.bj-game-shell .bj-site-header .bj-game-back svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* v1.3.34 — plateau de jeu sans carte autour de la grille ni du clavier. */
.bj-themed .bj-game-playing .bj-game-card-open,
.bj-themed .bj-battle-playing .bj-battle-game-card{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;overflow:visible}
.bj-themed .bj-game-playing .bj-game-card-open:before,
.bj-themed .bj-battle-playing .bj-battle-game-card:before{content:none}
@media(max-width:600px){
  .bj-themed .bj-game-playing,.bj-themed .bj-battle-playing{padding-inline:6px}
  .bj-game-playing .bj-game-head{padding-inline:4px}
  .bj-game-playing .bj-progress,.bj-battle-playing .bj-progress{padding-inline:4px}
  .bj-game-playing .bj-grid,.bj-battle-playing .bj-grid{max-width:100%}
  .bj-game-playing .bj-keyboard,.bj-battle-playing .bj-keyboard{max-width:100%}
}

/* Les cases verrouillées restent vertes ; le curseur passe sur la prochaine case libre. */
.bj-battle-playing .bj-cell.typing{border:2px solid #ffd326;background:#1d1b12;color:#fff2ba;box-shadow:0 0 0 3px #ffcf3b55,0 0 19px 5px #ffbb1870,inset 0 0 18px #ffcf2529;transform:scale(1.035)}

/* Administration : commandes visibles et centrées dans la ligne du titre. */
.bj-adminpage .bj-site-header .bj-admin-back,
.bj-adminpage .bj-site-header .bj-admin-logout{width:39px;height:39px;border:2.5px solid #4c8099;border-radius:50%;display:grid;place-items:center;padding:0;color:#f4fcff;visibility:visible;opacity:1}
.bj-adminpage .bj-site-header .bj-admin-back{grid-column:1;grid-row:1}
.bj-adminpage .bj-site-header .bj-admin-logout{grid-column:3;grid-row:1;z-index:3}
.bj-adminpage .bj-site-header .bj-admin-back svg,
.bj-adminpage .bj-site-header .bj-admin-logout svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.bj-adminpage .bj-site-header .bj-admin-logout svg{width:22px;height:22px}
.bj-adminpage .bj-audio-filename{color:#cde8f4;overflow-wrap:anywhere;font-weight:700}
.bj-adminpage .bj-audio-delete-form{margin-top:12px}
.bj-adminpage .bj-audio-delete{border:1px solid #e87988;border-radius:12px;padding:10px 14px;background:#481b2b;color:#ffe7ea;font:inherit;font-weight:800;cursor:pointer}
@media(max-width:520px){.bj-adminpage .bj-site-header .bj-admin-back,.bj-adminpage .bj-site-header .bj-admin-logout{width:35px;height:35px}}

/* v1.3.37 — édition du profil sans ouvrir le studio avatar */
.bj-profile-modal.bj-profile-details-only .bj-studio-layout,.bj-profile-modal.bj-profile-details-only .bj-gender-back{display:none!important}
.bj-profile-modal.bj-profile-details-only .bj-avatar-editor-page{display:block!important}

.bj-win-bonus{display:grid;gap:4px;justify-items:center;margin:-8px auto 20px}.bj-win-bonus b{font-size:16px;color:#f5f7fa}.bj-win-bonus strong{font-size:25px;color:#ffe171}.bj-score-lines h4{margin:14px 0 2px;color:#fff;font-size:14px;letter-spacing:.2px}.bj-score-lines h4:first-child{margin-top:4px}.bj-score-subtotal strong{display:block;margin-top:7px;color:#fff;font-size:15px}

/* v1.3.39 - lisibilite du resultat */
.bj-final .bj-final-score{font-size:clamp(52px,14vw,78px);line-height:1;font-weight:950;margin:22px 0 16px}.bj-final .bj-final-score small{font-size:clamp(11px,2.8vw,15px);vertical-align:middle}.bj-final .bj-final-back{display:flex;width:min(100%,360px);margin:0 auto 22px}.bj-values h2,.bj-values>p{text-align:center}.bj-values>p{margin-left:auto;margin-right:auto}

/* v1.3.40 — joker ×2 sur score total, indisponible au dernier essai */
.bj-double-total{display:block;margin-top:9px;color:#ffe171!important;font-size:17px!important;line-height:1.45}.bj-double-disabled{opacity:.48;cursor:not-allowed}

/* v1.3.41 — résultat du joker : score initial, multiplicateur, puis total mis en avant. */
.bj-final .bj-final-score.bj-final-score-double,.bj-live-hero .bj-final-score.bj-final-score-double{display:grid;justify-items:center;gap:8px;margin:20px auto 18px;font-size:inherit;line-height:1.08}
.bj-double-before{display:flex;align-items:center;justify-content:center;gap:12px;color:#f6f8fa;font-size:clamp(28px,7vw,42px);font-weight:900}
.bj-double-joker{display:inline-flex;align-items:center;padding:6px 11px;border:1px solid #f6cc47;border-radius:12px;background:linear-gradient(135deg,#4f3b06,#251d08);color:#ffe879;font-size:clamp(19px,5vw,27px);box-shadow:0 0 16px #ffce4a55;white-space:nowrap}
.bj-final .bj-double-result,.bj-live-hero .bj-double-result{display:block;color:#fff;font-size:clamp(58px,16vw,86px);font-weight:950;line-height:1;text-shadow:0 0 18px #17d9cd65}
.bj-final .bj-double-result small,.bj-live-hero .bj-double-result small{font-size:clamp(12px,3vw,17px);vertical-align:middle;letter-spacing:2px;color:#b8d8de;text-shadow:none}

/* Live Battles : accueil rose et vert, cartes compactes et classement cohérent avec le quotidien. */
.bj-livepage .bj-live-home,.bj-livepage .bj-live-section,.bj-livepage .bj-live-room,.bj-livepage .bj-battle-ranking{position:relative;border:1px solid #b8418d;border-top:3px solid #fa5abc;border-radius:28px;background:radial-gradient(ellipse at 8% 0%,#60204462,transparent 60%),linear-gradient(155deg,#101728,#090f1c 85%);box-shadow:inset 0 1px #ffffff42,0 0 18px #f0319c4f,0 16px 28px #000a;margin-bottom:18px;padding:clamp(16px,4vw,28px)}
.bj-livepage .bj-live-home .bj-kicker,.bj-livepage .bj-live-section .bj-kicker,.bj-livepage .bj-battle-ranking .bj-kicker,.bj-livepage .bj-live-room .bj-kicker{color:#ff76c2;letter-spacing:.17em;font-weight:900}
.bj-livepage .bj-live-home h1{font-size:clamp(28px,7vw,44px);margin:7px 0 20px;letter-spacing:-.045em}
.bj-live-create-toggle{width:100%;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 18px;border:2px solid #47f5c0;border-radius:19px;background:linear-gradient(120deg,#10c996,#087966);box-shadow:inset 0 1px #ffffff8c,0 0 20px #12deaa81,0 7px 0 #064438;color:white;text-align:left;font-family:inherit;font-size:clamp(17px,4vw,23px);font-weight:900;line-height:1.1;cursor:pointer}
.bj-live-create-toggle span{font-size:32px;font-weight:400;line-height:1}.bj-live-create-toggle:hover{filter:brightness(1.1)}
.bj-live-create-form{display:grid;gap:10px;margin-top:20px;padding:16px;border:1px solid #f662bc69;border-radius:17px;background:#151324b8}.bj-live-create-form[hidden]{display:none}
.bj-live-create-form label{font-weight:800;color:#f8d3eb}.bj-live-create-form select{height:50px;padding:0 13px;border:1px solid #ff78bf;border-radius:12px;background:#191c2e;color:white;font:inherit;font-weight:800}
.bj-livepage .bj-live-create-form .bj-primary,.bj-livepage .bj-live-start{background:linear-gradient(135deg,#f15aa9,#ba1676);border:2px solid #ff8ac9;color:#fff;box-shadow:0 0 18px #ff39a473,inset 0 1px #ffffff91;font-weight:900}
.bj-livepage .bj-live-start:disabled{filter:grayscale(.65);opacity:.52;cursor:default}
.bj-live-section-head h2{margin:7px 0 16px;font-size:clamp(21px,5.5vw,29px);letter-spacing:-.03em}
.bj-live-list-row,.bj-live-history-row{display:flex;align-items:center;gap:11px;min-height:66px;padding:10px 12px;margin:8px 0;border:1px solid #634063;border-radius:16px;background:linear-gradient(120deg,#271827,#0e1827);color:white;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
.bj-live-list-row:hover,.bj-live-history-row:hover{transform:translateY(-2px);border-color:#fb74c4;box-shadow:0 0 13px #f64ca465}
.bj-live-list-row>span:nth-child(2),.bj-live-history-row>span:nth-child(2){flex:1;min-width:0}.bj-live-list-row strong,.bj-live-history-row strong{display:block;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bj-live-list-row small,.bj-live-history-row small{display:block;color:#bcaec2;font-size:11px;margin-top:3px}
.bj-live-list-row>b{color:#54f3c3;white-space:nowrap;font-size:12px}.bj-live-history-row>b{font-size:11px;color:#ed8ec5}.bj-live-list-symbol,.bj-live-history-icon{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:11px;background:#361c39;font-size:24px}
.bj-live-search-label{display:block;font-size:12px;font-weight:800;color:#d9c1d0;margin:8px 0 7px}.bj-live-search{width:100%;height:45px;padding:0 13px;border:1px solid #87527a;border-radius:12px;background:#0b1523;color:white;font:inherit;outline:none}.bj-live-search:focus{border-color:#ff7cc6;box-shadow:0 0 0 2px #f94bac33}
.bj-live-empty{color:#bac4d4;padding:14px 5px;margin:0}.bj-live-pages{display:flex;align-items:center;justify-content:center;gap:18px;margin:16px 0 0;color:#f4cde4;font-weight:850}.bj-live-pages button{width:40px;height:38px;display:grid;place-items:center;border:1px solid #fd79c7;border-radius:12px;background:#301e35;color:#fff;font-size:27px;cursor:pointer}.bj-live-pages button:disabled{opacity:.28;cursor:default}
.bj-livepage .bj-battle-ranking{border-top-color:#37ebbb;border-color:#b74290;background:radial-gradient(ellipse at 0 0,#85265c66,transparent 55%),linear-gradient(145deg,#1e1529,#090e1a)}
.bj-livepage .bj-battle-ranking .bj-ranking-head .bj-kicker{color:#ff86ca}.bj-livepage .bj-battle-ranking .bj-rank-card{border-color:#a3477f;background:linear-gradient(115deg,#351b37,#111b28)}.bj-livepage .bj-battle-ranking .bj-rank-card.rank-1{box-shadow:0 0 15px #ffb74e67}.bj-livepage .bj-battle-ranking .bj-rank-score b{color:#70f9c5}.bj-livepage .bj-battle-ranking .bj-ranking-input:focus-within{border-color:#ff7ac3;box-shadow:0 0 0 2px #ff59ae36}
.bj-live-room-head{text-align:center}.bj-live-room-head .bj-code{display:block;margin:8px auto 2px;color:#fff;font-size:clamp(30px,8vw,48px);letter-spacing:.12em;text-shadow:0 0 16px #ff59b4}.bj-live-room-head p{margin:0 0 18px;color:#bfc8d5}
.bj-whatsapp{display:flex;align-items:center;justify-content:center;gap:11px;min-height:54px;margin:18px 0 8px;padding:10px 16px;border:2px solid #86ffd6;border-radius:16px;background:linear-gradient(145deg,#29d76d,#0eaa58);color:white;text-decoration:none;box-shadow:inset 0 1px #ffffff9d,0 0 15px #29d96d75;font-size:16px;font-weight:900}.bj-whatsapp svg{width:26px;height:26px;flex:none}.bj-copy-link{display:block;margin:5px auto 16px;padding:7px 12px;border:0;background:none;color:#b4e5d2;text-decoration:underline;cursor:pointer;font:inherit}
.bj-live-room .bj-players{margin:15px 0}.bj-live-avatar-initial{display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#ed50ae,#a42a82);font-weight:950}.bj-live-result{text-align:center}.bj-live-result h2{font-size:clamp(26px,7vw,40px)}.bj-live-winner{font-size:clamp(17px,4vw,24px);font-weight:900;color:#7efbd0;text-shadow:0 0 13px #1be9a18f}
.bj-livepage .bj-battle-shell .bj-cell.present{border:3px solid #fa75c8;color:#ffd6f0;background:linear-gradient(145deg,#743164,#341d40);box-shadow:inset 0 1px #ffffff55,0 0 13px #fa4bacaa;text-shadow:0 0 8px #ff9ad4}
.bj-livepage .bj-battle-shell .bj-key.present{border:3px solid #fb72c0;color:#ffe2f1;background:linear-gradient(145deg,#7d315c,#351d3e);box-shadow:inset 0 1px #ffffff66,0 4px 0 #32142b,0 0 13px #f64caf9b}
.bj-live-overlay{position:fixed;z-index:20000;inset:0;display:grid;place-items:center;padding:18px;background:radial-gradient(circle at 50% 43%,#8a1e6580,#090812ec 68%);backdrop-filter:blur(15px);color:#fff;text-align:center;overflow:hidden}
.bj-live-overlay-inner{position:relative;display:grid;justify-items:center;align-content:center;gap:15px;width:min(100%,560px);min-height:330px;padding:25px 14px}.bj-live-overlay-bolt{font-size:86px;filter:drop-shadow(0 0 22px #ffd000);animation:bjLivePulse .6s ease-in-out infinite alternate}.bj-live-overlay.countdown p{font-size:clamp(20px,6vw,35px);font-weight:950;letter-spacing:.1em;color:#ff83c7;text-shadow:0 0 16px #f934a2}.bj-live-count{font-size:clamp(110px,30vw,200px);line-height:.9;color:#7efbd5;text-shadow:0 0 22px #35ebbd,0 0 55px #12cba7;animation:bjLivePulse .42s ease-in-out infinite alternate}.bj-live-overlay-sound{position:relative;z-index:2;min-height:42px;padding:8px 15px;border:1px solid #baffed;border-radius:99px;background:#0d2330;color:white;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.bj-live-faces{font-size:clamp(55px,17vw,110px);white-space:nowrap;animation:bjLaugh .48s ease-in-out infinite alternate}.bj-live-humiliation-title{position:relative;z-index:1;font-size:clamp(34px,9vw,72px);letter-spacing:-.045em;color:#fff;text-shadow:0 0 12px #ff64c9,0 0 30px #ff2eac,0 0 50px #f92483;animation:bjLivePulse .7s ease-in-out infinite alternate}.bj-live-overlay.humiliation p{font-weight:900;font-size:20px;color:#99fbd7}
.bj-live-confetti{position:absolute;inset:-70px -35px;pointer-events:none}.bj-live-confetti i{position:absolute;left:calc((var(--i) * 37% + 9%) / 1.8);top:-20px;width:8px;height:16px;border-radius:3px;background:hsl(calc(var(--i)*37) 95% 63%);animation:bjConfetti calc(1.9s + var(--i)*.037s) linear infinite;animation-delay:calc(var(--i)*-.13s)}
@keyframes bjLivePulse{from{transform:scale(.96)}to{transform:scale(1.055)}}@keyframes bjLaugh{from{transform:rotate(-5deg) translateY(-8px)}to{transform:rotate(5deg) translateY(7px)}}@keyframes bjConfetti{to{transform:translate(calc((var(--i) - 16)*5px),560px) rotate(780deg);opacity:0}}
@media(max-width:520px){.bj-livepage .bj-live-home,.bj-livepage .bj-live-section,.bj-livepage .bj-live-room,.bj-livepage .bj-battle-ranking{padding:16px 12px;border-radius:23px}.bj-live-list-row,.bj-live-history-row{gap:8px;padding:9px}.bj-live-history-row>b{max-width:56px;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){.bj-live-overlay-bolt,.bj-live-count,.bj-live-faces,.bj-live-humiliation-title,.bj-live-confetti i{animation:none}}

.bj-live-audio-unlock{min-height:42px;padding:8px 14px;border:2px solid #70ffd0;border-radius:99px;background:#13835d;color:#fff;font:inherit;font-weight:900;cursor:pointer}.bj-live-audio-unlock[hidden]{display:none}
.bj-live-join-form{display:flex;gap:8px;margin-top:15px}.bj-live-join-form input{flex:1;min-width:0;height:44px;padding:0 12px;border:1px solid #a55b92;border-radius:12px;background:#0c1723;color:#fff;font:inherit;text-transform:uppercase;letter-spacing:.07em}.bj-live-join-form button{padding:0 12px;border:1px solid #7ff6d1;border-radius:12px;background:#116d58;color:#fff;font:inherit;font-weight:900;cursor:pointer}

/* La salle d’attente garde une identité verte sans modifier l’accueil Live. */
.bj-livepage .bj-live-room{border-color:#168e79;border-top-color:#4af2c4;background:radial-gradient(ellipse at 8% 0%,#116e5c52,transparent 60%),linear-gradient(155deg,#101728,#090f1c 85%);box-shadow:inset 0 1px #ffffff42,0 0 18px #13dbad4f,0 16px 28px #000a}
.bj-livepage .bj-live-room .bj-kicker{color:#4cf1c5}.bj-livepage .bj-live-room .bj-live-start{background:linear-gradient(135deg,#16ce9a,#087e69);border-color:#72f6d0;box-shadow:0 0 18px #13d5a075,inset 0 1px #ffffff91}.bj-livepage .bj-live-room .bj-code{text-shadow:0 0 16px #31e6b5}
.bj-test-bot-option{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.35;color:#d6f4e9!important}.bj-test-bot-option input{width:20px;height:20px;accent-color:#13c997;flex:none}.bj-battle-progress{width:min(100%,560px);margin:15px auto 10px}
.bj-reaction-overlay{position:fixed;inset:0;z-index:21000;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px;padding:24px;background:radial-gradient(circle at center,#174c46ed,#070d18f7 70%);backdrop-filter:blur(12px);text-align:center;animation:bjReactionIn .28s ease-out}.bj-reaction-overlay>strong{color:#fff;font-size:clamp(24px,6vw,38px);text-shadow:0 0 18px #33e5bc}.bj-reaction-cards{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;width:min(100%,600px)}.bj-reaction-card{display:grid;justify-items:center;gap:10px;min-width:130px;flex:1;padding:20px 12px;border:2px solid #48eec4;border-radius:24px;background:linear-gradient(155deg,#163938,#101927);box-shadow:0 0 20px #22d6a360}.bj-reaction-face{font-size:clamp(60px,17vw,112px);line-height:1;animation:bjReactionBounce .8s ease-in-out infinite alternate}.bj-reaction-card b{max-width:100%;overflow-wrap:anywhere;font-size:clamp(14px,3.6vw,21px)}.bj-reaction-close{position:absolute;top:22px;right:22px;width:44px;height:44px;border:1px solid #82f8db;border-radius:50%;background:#133b3b;color:#fff;font-size:29px;cursor:pointer}@keyframes bjReactionIn{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes bjReactionBounce{to{transform:translateY(-9px) rotate(5deg)}}@media(prefers-reduced-motion:reduce){.bj-reaction-overlay,.bj-reaction-face{animation:none}}
.bj-opponent-progress{grid-column:1/-1;display:grid;gap:5px;padding:5px 2px 1px}.bj-opponent-progress>small{color:#9ee9d2;font-size:11px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.bj-opponent-row{display:flex;gap:4px;min-height:13px}.bj-opponent-cell{width:clamp(11px,2.6vw,17px);aspect-ratio:1;border:1px solid #344557;border-radius:4px;background:#101722;box-shadow:inset 0 1px #ffffff15}.bj-opponent-cell.correct{border-color:#70fbd1;background:linear-gradient(145deg,#19d89c,#07916f);box-shadow:0 0 7px #18dd9b88}.bj-opponent-cell.present{border:2px solid #fc8bd0;background:#3e2040;box-shadow:0 0 6px #f06bb288}.bj-opponent-cell.absent{background:#090e16;border-color:#263039}
/* Les réactions flottent sur le résultat encore visible. */
.bj-reaction-overlay{gap:15px;background:#03131d66;backdrop-filter:blur(3px);pointer-events:none}.bj-reaction-overlay>strong{padding:9px 19px;border-radius:16px;background:#09232cdd;box-shadow:0 0 18px #24d9ae66}.bj-reaction-cards{width:min(100%,570px)}.bj-reaction-card{min-width:110px;background:linear-gradient(155deg,#173d3cea,#101927f0);box-shadow:0 0 18px #21d4a483;pointer-events:auto}.bj-reaction-close{pointer-events:auto}.bj-reaction-error{position:fixed;z-index:22000;top:max(14px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(90vw,480px);padding:12px 16px;border:1px solid #ff8f9c;border-radius:14px;background:#431a29ef;color:#fff;text-align:center;font-weight:800;box-shadow:0 8px 22px #000a}
/* Résultat Live et écran d’humiliation. */
.bj-live-home-back{display:flex;align-items:center;justify-content:center;width:100%;min-height:64px;margin:26px auto 4px;padding:12px 18px;border:2px solid #80ffdc;border-radius:18px;background:linear-gradient(130deg,#16d3ac,#087f6d);color:#fff;text-decoration:none;text-align:center;font-size:clamp(15px,4.2vw,21px);font-weight:950;letter-spacing:.02em;box-shadow:inset 0 1px #ffffff9c,0 0 22px #0edca881}.bj-live-home-back:focus-visible{outline:3px solid #fff;outline-offset:4px}
.bj-live-final-score{margin:20px auto}.bj-live-overlay.humiliation{z-index:23000;cursor:pointer}.bj-live-humiliation-close{position:absolute;z-index:5;top:max(18px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));display:grid;place-items:center;width:48px;height:48px;padding:0;border:2px solid #ffb2e1;border-radius:50%;background:#3d183ae8;color:#fff;font:inherit;font-size:34px;line-height:1;box-shadow:0 0 16px #fa4eaa88;cursor:pointer}.bj-live-humiliation-close:focus-visible{outline:3px solid #fff;outline-offset:3px}
/* Toutes les zones du panneau des réactions ferment la surimpression. */
.bj-reaction-overlay{pointer-events:auto;cursor:pointer}
/* Liste Live réunie, salle annulée et actions d'administration. */
.bj-live-list-row.is-full{opacity:.67;cursor:default}.bj-live-list-row.is-full:hover{transform:none;border-color:#634063;box-shadow:none}.bj-live-list-row.is-full>b{color:#bcc4d0}
.bj-live-cancelled{text-align:center;padding:clamp(22px,6vw,44px)!important;border-color:#39d8b2!important}.bj-live-cancelled h1{font-size:clamp(26px,7vw,43px);line-height:1.08;margin:15px 0}.bj-live-cancelled p{color:#c2d5d3;line-height:1.5;margin:0 0 24px}
.bj-admin-battle-actions{display:flex;align-items:center;gap:8px}.bj-admin-battle-actions form{margin:0}.bj-admin-battle-stop{padding:8px 10px;border:1px solid #62e8bf;border-radius:10px;background:#0e6955;color:#fff;font:inherit;font-weight:800;cursor:pointer}.bj-admin-battle-stop:hover{filter:brightness(1.15)}

/* Mode avion : commandes du header, indication persistante et dialogue compact. */
.bj-site-header .bj-header-actions{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:5px;z-index:2}
.bj-site-header .bj-header-actions .bj-sound-btn{grid-column:auto;grid-row:auto;width:36px;height:36px;margin:0;flex:none}
.bj-airplane-btn{width:36px;height:36px;display:grid;place-items:center;flex:none;border:2px solid #62b6d4;border-radius:50%;background:linear-gradient(145deg,#19394b,#0a1622);color:#d9faff;font-size:21px;line-height:1;box-shadow:inset 0 1px #ffffff45,0 0 10px #00d1f85a;cursor:pointer}
.bj-airplane-btn.is-active{color:#041419;border-color:#59ffcf;background:linear-gradient(135deg,#7dffe0,#02b887);box-shadow:0 0 20px #17e9babc,0 0 0 3px #15e3ab30}
.bj-offline-banner,.bj-offline-game-status{margin:8px 4px 14px;padding:9px 13px;border:1px solid #20ddb9;border-radius:13px;background:linear-gradient(100deg,#063d3f,#062833);color:#d6fff6;text-align:center;font-weight:750;box-shadow:0 0 15px #06cdb34b}
.bj-offline-pending{border-color:#ffe473;color:#fff2bf}
.bj-airplane-modal[hidden]{display:none}
.bj-airplane-modal{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:16px;background:#020914d9;backdrop-filter:blur(7px)}
.bj-airplane-dialog{position:relative;width:min(100%,440px);padding:28px 23px 24px;border:1px solid #46cbf1;border-radius:25px;background:radial-gradient(circle at top,#0d3a4a,#081b2a 65%,#080f20);color:#eefcff;box-shadow:0 0 35px #00aadd5c,0 20px 60px #000c;text-align:center}
.bj-airplane-symbol{display:block;color:#52e9ff;font-size:42px;line-height:1.2}
.bj-airplane-dialog h2{margin:4px 0 13px;font-size:28px}
.bj-airplane-dialog p{line-height:1.45;color:#d8e9ee}
.bj-airplane-dialog .bj-airplane-note{font-size:13px;color:#a9cad5}
.bj-airplane-message{min-height:1.5em;color:#9dffdd!important;font-weight:750}
.bj-airplane-close{position:absolute;right:11px;top:9px;width:36px;height:36px;border:1px solid #6995a4;border-radius:50%;background:#102536;color:white;font-size:27px;cursor:pointer}
.bj-airplane-actions{display:grid;gap:9px}
.bj-airplane-actions .bj-primary{width:100%;padding:12px;font-size:15px;border:0;cursor:pointer}
.bj-airplane-actions [hidden]{display:none}
.bj-airplane-secondary{width:100%;padding:10px;border:1px solid #69bed4;border-radius:13px;background:#0d2231;color:white;font-weight:750;cursor:pointer}
.bj-airplane-dialog button:disabled{opacity:.5;cursor:wait}
.bj-offline-game-status{margin-bottom:18px}
@media(max-width:520px){.bj-homepage .bj-site-header{grid-template-columns:36px minmax(0,1fr) 78px;column-gap:2px}.bj-site-header .bj-header-actions{gap:3px}.bj-site-header .bj-header-actions .bj-sound-btn,.bj-airplane-btn{width:34px;height:34px}.bj-homepage .bj-site-header .bj-header-title{font-size:clamp(15px,4.1vw,20px)}.bj-homepage .bj-site-header .bj-header-title:before,.bj-homepage .bj-site-header .bj-header-title:after{width:clamp(4px,2vw,10px);margin:0 3px}}
.bj-livepage .bj-airplane-btn,.bj-livepage .bj-offline-banner{display:none}
/* L’avion au repos reste repérable sans signaler un mode actif. */
.bj-airplane-btn:not(.is-active){opacity:.46;filter:saturate(.3);box-shadow:inset 0 1px #ffffff28,0 3px 8px #0008;transition:opacity .2s,filter .2s,box-shadow .2s}
.bj-airplane-btn:not(.is-active):hover,.bj-airplane-btn:not(.is-active):focus-visible{opacity:.85;filter:none}
.bj-airplane-btn.is-active{opacity:1;filter:none;box-shadow:0 0 22px #17e9bade,0 0 0 4px #15e3ab46}
.bj-offline-banner{display:block;width:calc(100% - 8px);font:inherit;cursor:default}
.bj-offline-banner[hidden]{display:none}
.bj-offline-banner.bj-offline-action{cursor:pointer;animation:bjOfflineNotice 2.3s ease-in-out infinite}
.bj-offline-banner.bj-offline-action:focus-visible{outline:3px solid #fff;outline-offset:3px}
@keyframes bjOfflineNotice{50%{box-shadow:0 0 22px #ffe4739c}}
/* Deux étapes nettes : réglage du téléphone, puis synchronisation volontaire. */
.bj-airplane-actions .bj-phone-mode{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;padding:12px 15px;border:2px solid #54ceea;border-radius:15px;background:linear-gradient(135deg,#174c63,#0b2a3b);color:#f3ffff;text-decoration:none;text-align:center;font:inherit;font-weight:850;box-shadow:inset 0 1px #ffffff55,0 0 15px #1bb6d95e;cursor:pointer}
.bj-airplane-actions .bj-phone-mode[hidden]{display:none}
.bj-airplane-actions .bj-phone-mode:focus-visible{outline:3px solid #fff;outline-offset:3px}
.bj-airplane-dialog .bj-airplane-instructions{padding:11px 13px;border:1px solid #48bad3;border-radius:13px;background:#0b3041;color:#ddf9ff;font-size:14px;text-align:left}
.bj-airplane-dialog .bj-airplane-instructions[hidden]{display:none}
.bj-airplane-actions .bj-airplane-secondary{border:0;background:transparent;color:#a9c7ce;text-decoration:underline;font-size:13px;font-weight:650;box-shadow:none;opacity:.72}

/* Rappel du joker oublié en fin de partie. */
.bj-missed-joker{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;width:min(100%,530px);margin:0 auto 21px;padding:11px 14px;border:1px solid #dcb84b8a;border-radius:17px;background:linear-gradient(135deg,#3b2b0cba,#17170fcf);box-shadow:inset 0 1px #ffef9b28,0 0 17px #f6cd3b26;color:#fff2c6;font-size:clamp(14px,3.8vw,18px);font-weight:800;line-height:1.35}.bj-missed-joker .bj-double-joker{font-size:21px;padding:4px 9px}


/* v1.3.68 — Live Battles à dominante verte */
:is(.bj-homepage,.bj-livepage) .bj-mode.live{border:2px solid #38efc7;background:radial-gradient(ellipse at 0% 0%,#11886b 0%,transparent 65%),linear-gradient(135deg,#0f2f2b,#09111d 75%);box-shadow:inset 0 1px #ffffff82,0 0 12px #27e2bb7d,0 11px 23px #0009}
:is(.bj-homepage,.bj-livepage) .bj-mode.live .bj-mode-arrow{background:linear-gradient(145deg,#0f735d,#23d4a7);border-color:#76ffd6;box-shadow:0 0 14px #22dfb98a}
.bj-livepage .bj-site-header .bj-header-title em{color:#62ffd3;text-shadow:0 0 14px #27dfae8c}
.bj-livepage .bj-site-header .bj-header-title:before,.bj-livepage .bj-site-header .bj-header-title:after{background:linear-gradient(90deg,transparent,#46f2c4);box-shadow:0 0 9px #30dfb2}
.bj-livepage .bj-site-header:before{background:linear-gradient(90deg,transparent,#29d8a6,transparent);box-shadow:0 0 12px #22ca98}
.bj-livepage .bj-live-home,.bj-livepage .bj-live-section,.bj-livepage .bj-battle-ranking{border:1px solid #1a8b73;border-top:3px solid #4df2c5;border-radius:28px;background:radial-gradient(ellipse at 8% 0%,#146f5a59,transparent 60%),linear-gradient(155deg,#101728,#090f1c 85%);box-shadow:inset 0 1px #ffffff42,0 0 18px #12d7a74f,0 16px 28px #000a}
.bj-livepage .bj-live-home .bj-kicker,.bj-livepage .bj-live-section .bj-kicker,.bj-livepage .bj-battle-ranking .bj-kicker,.bj-livepage .bj-live-room .bj-kicker{color:#72ffd6}
.bj-live-create-form{border:1px solid #3ac9a47a;background:#10211dbd}
.bj-live-create-form label{color:#d6fff1}
.bj-live-create-form select{border:1px solid #63edca;background:#121d29}
.bj-livepage .bj-live-create-form .bj-primary,.bj-livepage .bj-live-start{background:linear-gradient(135deg,#18cf9c,#0b7f69);border:2px solid #7effda;color:#fff;box-shadow:0 0 18px #19d8a873,inset 0 1px #ffffff91;font-weight:900}
.bj-live-list-row,.bj-live-history-row{border:1px solid #24524d;background:linear-gradient(120deg,#172a27,#0e1827)}
.bj-live-list-row:hover,.bj-live-history-row:hover{border-color:#53f2c9;box-shadow:0 0 13px #28d6a565}
.bj-live-list-row small,.bj-live-history-row small{color:#bad0ca}
.bj-live-list-row>b{color:#6cffd8}
.bj-live-history-row>b{color:#ff9fd2}
.bj-live-list-symbol,.bj-live-history-icon{background:#173c39}
.bj-live-search-label{color:#c8ebe0}
.bj-live-search{border:1px solid #3d8676;background:#0b1523}
.bj-live-search:focus{border-color:#58f1c9;box-shadow:0 0 0 2px #3ae1b133}
.bj-live-pages{color:#cffff0}
.bj-live-pages button{border:1px solid #57efc6;background:#143934}
.bj-livepage .bj-battle-ranking{border-top-color:#4bf0c4;border-color:#23886f;background:radial-gradient(ellipse at 0 0,#116c5754,transparent 55%),linear-gradient(145deg,#15242a,#090e1a)}
.bj-livepage .bj-battle-ranking .bj-ranking-head .bj-kicker{color:#78ffd9}
.bj-livepage .bj-battle-ranking .bj-rank-card{border-color:#2d7768;background:linear-gradient(115deg,#18302d,#111b28)}
.bj-livepage .bj-battle-ranking .bj-rank-score b{color:#78ffd5}
.bj-livepage .bj-battle-ranking .bj-ranking-input:focus-within{border-color:#56f0c8;box-shadow:0 0 0 2px #38e1b636}
.bj-live-room-head .bj-code{color:#eafff8;text-shadow:0 0 16px #2be0b0}
.bj-live-overlay{background:radial-gradient(circle at 50% 43%,#0f70598a,#090812ec 68%)}
.bj-live-overlay.countdown p{color:#7effd9;text-shadow:0 0 16px #2dd6aa}
.bj-live-overlay-sound{border:1px solid #9effe0;background:#0e2828}
.bj-live-join-form input{border:1px solid #4c917f;background:#0c1723}
.bj-live-join-form button{border:1px solid #7ff6d1;background:#116d58}
.bj-live-list-row.is-full:hover{border-color:#24524d;box-shadow:none}


/* v1.3.72 — écran d’accueil moderne à la première connexion */
.bj-welcome-panel{width:min(920px,100%);padding:0;border-color:#39c2eb;background:radial-gradient(circle at 50% -10%,#2f8bd264,transparent 38%),radial-gradient(circle at 15% 25%,#1cdbb85b,transparent 26%),linear-gradient(155deg,#071521,#07101d 48%,#0c1930 100%);box-shadow:0 0 28px #17c2e86f,0 24px 80px #000f}
.bj-welcome-panel .bj-studio-head{padding:16px 24px;border-bottom:1px solid #224760;background:linear-gradient(180deg,#0b2132,#0a1724)}
.bj-welcome-panel .bj-toast{margin:0 18px 18px}
.bj-welcome-step{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:0;overflow:hidden;min-height:min(100dvh,760px)}
.bj-welcome-hero{position:relative;display:grid;align-content:center;gap:14px;min-height:540px;padding:34px 34px 38px;border-right:1px solid #24435a;background:radial-gradient(circle at 55% 20%,#1f63af3d,transparent 24%),radial-gradient(circle at 30% 60%,#07cfb145,transparent 23%),transparent}
.bj-welcome-glow{position:absolute;inset:auto auto 48px 34px;width:140px;height:140px;border-radius:50%;background:#19d2af26;filter:blur(12px);pointer-events:none}
.bj-welcome-overline{display:inline-flex;justify-self:start;align-items:center;gap:8px;padding:7px 12px;border:1px solid #5dddf5;border-radius:999px;background:#0d2538;color:#b6f4ff;font-size:12px;font-weight:900;letter-spacing:.18em}
.bj-welcome-overline:before{content:"✦";color:#ffd14a}
.bj-welcome-logo{--logo-cell:clamp(28px,5vw,58px);max-width:100%;padding:16px 0 8px;perspective:800px}
.bj-welcome-logo .bj-word-row{display:grid;grid-template-columns:repeat(9,minmax(0,var(--logo-cell)));justify-content:start;gap:clamp(4px,.8vw,8px)}
.bj-welcome-logo .bj-word-tile{display:grid;place-items:center;width:var(--logo-cell);height:calc(var(--logo-cell) * 1.15);font-size:clamp(22px,3.6vw,37px);font-weight:950;border-radius:12px;animation:bjWelcomeTile 4.8s ease-in-out infinite;animation-delay:calc(var(--tile-order) * .11s);transform-origin:center 65%;box-shadow:inset 0 1px #ffffff5e,0 10px 18px #0008}
.bj-welcome-logo .bj-word-tile.correct{background:linear-gradient(160deg,#42efc5,#129f7f);border:2px solid #9affdf;color:#fff;text-shadow:0 0 10px #b5fff0}
.bj-welcome-logo .bj-word-tile.present{background:linear-gradient(160deg,#5f66f1,#934ef0);border:2px solid #bca8ff;color:#fff;text-shadow:0 0 10px #ddd2ff}
.bj-welcome-logo .bj-word-tile.absent{background:linear-gradient(160deg,#17314b,#0d1827);border:2px solid #4ea5d0;color:#d9efff;text-shadow:0 0 8px #8ecbf5}
.bj-welcome-hero h3{margin:4px 0 0;font-size:clamp(30px,4.4vw,52px);line-height:1.02;letter-spacing:-.05em}
.bj-welcome-hero p{margin:0;max-width:520px;color:#d2e2ed;font-size:clamp(15px,2.3vw,18px);line-height:1.55}
.bj-welcome-form-card{display:grid;align-content:center;gap:14px;padding:34px 28px;background:linear-gradient(180deg,#0a1726,#08121c);box-shadow:inset 1px 0 #ffffff08}
.bj-welcome-form-card label{display:block;font-size:13px;color:#eff9ff;font-weight:900;letter-spacing:.02em}
.bj-welcome-form-card label small{display:block;margin-top:4px;color:#92afc4;font-weight:600}
.bj-welcome-form-card input{margin-top:7px;padding:14px 15px;border-radius:14px;background:#10273b;border:1px solid #4a84a6;color:#fff;font-size:17px;box-shadow:inset 0 1px #ffffff0f}
.bj-welcome-form-card input:focus{outline:none;border-color:#77f6d6;box-shadow:0 0 0 3px #1ed8af2f}
.bj-welcome-form-card .bj-city-options{margin-top:6px;border-radius:14px}
.bj-welcome-submit{min-height:60px;margin-top:4px;border:2px solid #86ffdf;background:linear-gradient(135deg,#19d3a2,#0a7d68);box-shadow:inset 0 1px #ffffff8f,0 0 20px #11d6a071;font-size:18px;font-weight:950;letter-spacing:.03em}
.bj-welcome-note{margin:0;color:#9fb7c8;font-size:13px;line-height:1.45}
@keyframes bjWelcomeTile{0%,18%,100%{transform:translateY(0) rotateX(0) scale(1)}8%{transform:translateY(-7px) rotateX(0) scale(1.03)}11%{transform:translateY(-1px) rotateX(86deg) scale(1)}15%{transform:translateY(0) rotateX(0) scale(1.02)}}
@media(max-width:820px){.bj-welcome-step{grid-template-columns:1fr}.bj-welcome-hero{min-height:auto;border-right:0;border-bottom:1px solid #24435a;padding:28px 22px 24px}.bj-welcome-form-card{padding:24px 22px 26px}.bj-welcome-logo{--logo-cell:clamp(24px,8.2vw,44px)}}
@media(max-width:520px){.bj-welcome-panel{width:100%;min-height:100dvh;border-radius:0;border:0}.bj-welcome-panel .bj-studio-head{padding:14px 18px}.bj-welcome-step{min-height:100dvh}.bj-welcome-hero{padding:24px 16px 18px}.bj-welcome-form-card{padding:20px 16px 24px}.bj-welcome-hero h3{font-size:clamp(28px,9vw,40px)}.bj-welcome-logo .bj-word-row{justify-content:center}.bj-welcome-overline{justify-self:center}.bj-welcome-hero p{text-align:center}.bj-welcome-hero h3{text-align:center}}


/* v1.3.75 — écran de première connexion en un seul bloc plein écran */
.bj-profile-modal:has(.bj-welcome-panel){padding:0;background:linear-gradient(155deg,#071521,#07101d 48%,#0c1930 100%)}
.bj-welcome-panel{width:100%;max-width:none;min-height:100dvh;max-height:none;border:0;border-radius:0;padding:0;background:radial-gradient(circle at 50% -10%,#2f8bd264,transparent 38%),radial-gradient(circle at 15% 25%,#1cdbb85b,transparent 26%),radial-gradient(circle at 88% 78%,#1a5fa849,transparent 20%),linear-gradient(155deg,#071521,#07101d 48%,#0c1930 100%);box-shadow:none}
.bj-welcome-step{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;min-height:100dvh;padding:26px 18px 34px;overflow:visible}
.bj-welcome-hero{display:grid;justify-items:center;align-content:end;gap:14px;min-height:auto;width:min(100%,760px);padding:12px 0 0;border:0;background:transparent;text-align:center}
.bj-welcome-overline{justify-self:center}
.bj-welcome-form-card{width:min(100%,520px);padding:28px 24px 30px;border:1px solid #2d5471;border-radius:26px;background:linear-gradient(180deg,#0d1d30f0,#08131ff2);box-shadow:0 16px 50px #0007,inset 0 1px #ffffff14}
.bj-welcome-form-card .bj-city-field{width:100%}
.bj-welcome-form-card .bj-city-options{text-align:left}
@media(max-width:820px){.bj-welcome-step{padding:24px 16px 30px}.bj-welcome-hero{width:min(100%,680px);padding-top:8px}.bj-welcome-form-card{padding:24px 20px 24px}}
@media(max-width:520px){.bj-profile-modal:has(.bj-welcome-panel){padding:0}.bj-welcome-panel{min-height:100dvh}.bj-welcome-step{justify-content:flex-start;gap:20px;padding:22px 14px 26px}.bj-welcome-hero{padding-top:12px}.bj-welcome-form-card{width:100%;padding:22px 16px 22px;border-radius:22px}.bj-welcome-logo .bj-word-row{justify-content:center}}


/* v1.3.76 — validation AJAX du pseudonyme à la première connexion */
.bj-welcome-error{margin:2px 0 0;padding:11px 13px;border:1px solid #ff6678;border-radius:13px;background:#48141dcc;color:#ffd7dd;font-size:14px;font-weight:850;line-height:1.35;box-shadow:0 0 16px #ff3e5c24}
.bj-welcome-error[hidden]{display:none!important}
.bj-welcome-submit:disabled{opacity:.68;cursor:wait;filter:saturate(.7)}


/* v1.3.77 — administration des joueurs */
.bj-adminpage .bj-admin-launch.players{border-color:#7f78ff;background:linear-gradient(145deg,#2a255f,#101727);box-shadow:0 0 12px #7468ff66}
.bj-players-admin-table td{vertical-align:middle}.bj-players-admin-table td small{color:#92a8b6;line-height:1.45}.bj-player-delete{border:1px solid #ef6671;border-radius:12px;padding:9px 12px;background:#4d1820;color:#ffdce0;font-weight:900;cursor:pointer}.bj-player-delete:hover{background:#711d28}.bj-admin-empty{text-align:center!important;color:#8ea1af;padding:28px!important}
@media(max-width:650px){.bj-players-admin-table table{min-width:760px}.bj-player-delete{padding:8px 10px}}


/* v1.3.79 — calendrier plus compact verticalement */
.bj-homepage .bj-dates{row-gap:clamp(4px,.9vw,7px)}
.bj-homepage .bj-day{aspect-ratio:auto;min-height:clamp(34px,8.5vw,46px);padding:2px 0;border-radius:clamp(9px,2.3vw,15px)}
.bj-homepage .bj-week{padding:5px 0 7px}
.bj-homepage .bj-home-play{margin-top:11px}
@media(max-width:520px){.bj-homepage .bj-day{min-height:38px;padding:1px 0}.bj-homepage .bj-dates{row-gap:5px}.bj-homepage .bj-home-play{margin-top:9px}}


/* v1.3.80 — refonte graphique globale inspirée du nouveau visuel */
:root{--bj-tv-red:#ff2248;--bj-tv-red2:#ff6f31;--bj-tv-blue:#0a4dff;--bj-tv-blue2:#071d67;--bj-tv-yellow:#ffd431;--bj-tv-yellow2:#ffef67;--bj-tv-deep:#040915;--bj-tv-panel:#081428;--bj-tv-panel2:#0b1d38;--bj-tv-line:#2b5cff}
body.bj-homepage,body.bj-livepage,body.bj-adminpage,body.bj-body.bj-themed{background:
radial-gradient(circle at 10% 24%,rgba(255,34,72,.22),transparent 18%),
radial-gradient(circle at 92% 8%,rgba(10,77,255,.22),transparent 20%),
radial-gradient(circle at 88% 88%,rgba(8,117,255,.18),transparent 20%),
linear-gradient(135deg,#030813 0%,#051231 38%,#030812 100%);color:#fff}
body.bj-homepage::before,body.bj-livepage::before,body.bj-adminpage::before,body.bj-body.bj-themed::before{content:"";position:fixed;inset:0;pointer-events:none;background:
radial-gradient(120% 35% at -6% 35%,rgba(255,44,68,.9) 0%,rgba(255,160,0,.68) 18%,transparent 34%),
radial-gradient(75% 34% at 118% 40%,rgba(18,91,255,.9) 0%,rgba(12,56,176,.72) 20%,transparent 38%),
radial-gradient(50% 22% at 92% 90%,rgba(0,160,255,.30) 0%,transparent 38%);opacity:.78;mix-blend-mode:screen;z-index:0}
.bj-shell{position:relative;z-index:1;width:min(920px,100%);padding-inline:14px}
.bj-homepage .bj-shell,.bj-livepage .bj-shell,.bj-adminpage .bj-shell,.bj-game-shell{width:min(920px,100%)}

.bj-homepage .bj-site-header,.bj-livepage .bj-site-header,.bj-adminpage .bj-site-header,.bj-game-shell .bj-site-header{margin:0 -14px 16px;padding:12px 12px 16px;border:0;border-radius:0 0 32px 32px;overflow:hidden;background:
radial-gradient(circle at 4% 24%,rgba(255,24,57,.80),transparent 26%),
radial-gradient(circle at 96% 26%,rgba(0,72,255,.82),transparent 30%),
linear-gradient(135deg,#060d1e 0%,#071838 42%,#061022 100%);box-shadow:0 18px 40px rgba(0,0,0,.45),inset 0 -1px rgba(255,255,255,.08)}
.bj-homepage .bj-site-header::after,.bj-livepage .bj-site-header::after,.bj-adminpage .bj-site-header::after,.bj-game-shell .bj-site-header::after{content:"";position:absolute;inset:auto -12% -20px;height:52px;background:radial-gradient(40% 170% at 15% 0,rgba(255,34,72,.85) 0%,rgba(255,168,0,.60) 30%,transparent 52%),radial-gradient(42% 170% at 86% 0,rgba(31,119,255,.88) 0%,transparent 50%);filter:blur(10px);opacity:.9;pointer-events:none}
.bj-site-header:before{display:none}
.bj-homepage .bj-site-header .bj-header-title,.bj-livepage .bj-site-header .bj-header-title,.bj-adminpage .bj-site-header .bj-header-title,.bj-game-shell .bj-site-header .bj-header-title{font-size:clamp(18px,4.6vw,30px);font-weight:950;letter-spacing:-.04em;text-shadow:0 3px 10px rgba(0,0,0,.45)}
.bj-homepage .bj-site-header .bj-header-title em,.bj-game-shell .bj-site-header .bj-header-title em{color:var(--bj-tv-yellow);text-shadow:0 0 14px rgba(255,212,49,.62)}
.bj-livepage .bj-site-header .bj-header-title em,.bj-adminpage .bj-site-header .bj-header-title em{color:var(--bj-tv-yellow);text-shadow:0 0 14px rgba(255,212,49,.52)}
.bj-homepage .bj-site-header .bj-header-title:before,.bj-homepage .bj-site-header .bj-header-title:after,.bj-livepage .bj-site-header .bj-header-title:before,.bj-livepage .bj-site-header .bj-header-title:after,.bj-adminpage .bj-site-header .bj-header-title:before,.bj-adminpage .bj-site-header .bj-header-title:after,.bj-game-shell .bj-site-header .bj-header-title:before,.bj-game-shell .bj-site-header .bj-header-title:after{display:none}
.bj-homepage .bj-site-header .bj-icon-btn,.bj-homepage .bj-site-header .bj-sound-btn,.bj-homepage .bj-site-header .bj-airplane-btn,
.bj-livepage .bj-site-header .bj-icon-btn,.bj-livepage .bj-site-header .bj-sound-btn,.bj-livepage .bj-site-header .bj-airplane-btn,
.bj-adminpage .bj-site-header .bj-icon-btn,.bj-adminpage .bj-site-header .bj-sound-btn,
.bj-game-shell .bj-site-header .bj-icon-btn,.bj-game-shell .bj-site-header .bj-sound-btn{border-radius:50%;border:2px solid rgba(84,148,255,.95);background:linear-gradient(180deg,rgba(20,31,72,.88),rgba(7,12,29,.96));box-shadow:inset 0 1px rgba(255,255,255,.22),0 0 0 2px rgba(0,0,0,.18),0 0 16px rgba(68,127,255,.35);color:#eef6ff}
.bj-homepage .bj-site-header .bj-airplane-btn,.bj-livepage .bj-site-header .bj-airplane-btn{border-color:#ffd33c;box-shadow:inset 0 1px rgba(255,255,255,.22),0 0 0 2px rgba(0,0,0,.18),0 0 16px rgba(255,211,60,.35);color:#ffe257}
.bj-homepage .bj-site-header .bj-word-logo,.bj-livepage .bj-site-header .bj-word-logo,.bj-adminpage .bj-site-header .bj-word-logo,.bj-game-shell .bj-site-header .bj-word-logo{margin-top:2px}
.bj-homepage .bj-site-header .bj-word-row,.bj-livepage .bj-site-header .bj-word-row,.bj-adminpage .bj-site-header .bj-word-row,.bj-game-shell .bj-site-header .bj-word-row{gap:5px}
.bj-homepage .bj-site-header .bj-word-tile,.bj-livepage .bj-site-header .bj-word-tile,.bj-adminpage .bj-site-header .bj-word-tile,.bj-game-shell .bj-site-header .bj-word-tile{width:var(--logo-cell);height:calc(var(--logo-cell)*1.06);border-radius:14px;border:2px solid rgba(255,255,255,.16);color:#fff;font-weight:950;box-shadow:inset 0 1px rgba(255,255,255,.34),0 10px 18px rgba(0,0,0,.33),0 0 12px rgba(255,255,255,.08)}
.bj-homepage .bj-site-header .bj-word-tile:nth-child(1),.bj-homepage .bj-site-header .bj-word-tile:nth-child(5),.bj-homepage .bj-site-header .bj-word-tile:nth-child(9),.bj-livepage .bj-site-header .bj-word-tile:nth-child(1),.bj-livepage .bj-site-header .bj-word-tile:nth-child(5),.bj-livepage .bj-site-header .bj-word-tile:nth-child(9),.bj-adminpage .bj-site-header .bj-word-tile:nth-child(1),.bj-adminpage .bj-site-header .bj-word-tile:nth-child(5),.bj-adminpage .bj-site-header .bj-word-tile:nth-child(9),.bj-game-shell .bj-site-header .bj-word-tile:nth-child(1),.bj-game-shell .bj-site-header .bj-word-tile:nth-child(5),.bj-game-shell .bj-site-header .bj-word-tile:nth-child(9){background:linear-gradient(180deg,#ff425f,#cf072b);border-color:#ff7f8f;box-shadow:inset 0 1px rgba(255,255,255,.38),0 10px 18px rgba(0,0,0,.33),0 0 16px rgba(255,67,96,.36)}
.bj-homepage .bj-site-header .bj-word-tile:nth-child(2),.bj-homepage .bj-site-header .bj-word-tile:nth-child(4),.bj-homepage .bj-site-header .bj-word-tile:nth-child(7),.bj-homepage .bj-site-header .bj-word-tile:nth-child(8),.bj-livepage .bj-site-header .bj-word-tile:nth-child(2),.bj-livepage .bj-site-header .bj-word-tile:nth-child(4),.bj-livepage .bj-site-header .bj-word-tile:nth-child(7),.bj-livepage .bj-site-header .bj-word-tile:nth-child(8),.bj-adminpage .bj-site-header .bj-word-tile:nth-child(2),.bj-adminpage .bj-site-header .bj-word-tile:nth-child(4),.bj-adminpage .bj-site-header .bj-word-tile:nth-child(7),.bj-adminpage .bj-site-header .bj-word-tile:nth-child(8),.bj-game-shell .bj-site-header .bj-word-tile:nth-child(2),.bj-game-shell .bj-site-header .bj-word-tile:nth-child(4),.bj-game-shell .bj-site-header .bj-word-tile:nth-child(7),.bj-game-shell .bj-site-header .bj-word-tile:nth-child(8){background:linear-gradient(180deg,#1d5dff,#0a2e9d);border-color:#73a0ff;box-shadow:inset 0 1px rgba(255,255,255,.38),0 10px 18px rgba(0,0,0,.33),0 0 16px rgba(45,107,255,.36)}
.bj-homepage .bj-site-header .bj-word-tile:nth-child(3),.bj-homepage .bj-site-header .bj-word-tile:nth-child(6),.bj-livepage .bj-site-header .bj-word-tile:nth-child(3),.bj-livepage .bj-site-header .bj-word-tile:nth-child(6),.bj-adminpage .bj-site-header .bj-word-tile:nth-child(3),.bj-adminpage .bj-site-header .bj-word-tile:nth-child(6),.bj-game-shell .bj-site-header .bj-word-tile:nth-child(3),.bj-game-shell .bj-site-header .bj-word-tile:nth-child(6){background:linear-gradient(180deg,#ffd84b,#f0a900);border-color:#ffef94;color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.46),0 10px 18px rgba(0,0,0,.33),0 0 16px rgba(255,208,39,.34)}

.bj-homepage .bj-mode-grid,.bj-livepage .bj-mode-grid{gap:14px;margin:10px 0 18px}
.bj-homepage .bj-mode,.bj-livepage .bj-mode{min-height:128px;padding:18px 16px 16px;border-radius:28px;border:2px solid rgba(255,209,67,.5);box-shadow:0 16px 30px rgba(0,0,0,.30),inset 0 1px rgba(255,255,255,.22);overflow:hidden}
.bj-homepage .bj-mode:before,.bj-livepage .bj-mode:before{content:"";position:absolute;inset:auto -10% -30%;height:95px;pointer-events:none;opacity:.92}
.bj-homepage .bj-mode.daily,.bj-livepage .bj-mode.daily{background:radial-gradient(circle at 18% 18%,rgba(255,35,63,.26),transparent 24%),linear-gradient(135deg,#5e0018 0%,#a1082f 28%,#0a2f93 72%,#07132c 100%);border-color:#ff5368}
.bj-homepage .bj-mode.daily:before,.bj-livepage .bj-mode.daily:before{background:radial-gradient(40% 180% at 0 0,rgba(255,63,70,.96) 0%,rgba(255,193,39,.78) 24%,transparent 52%)}
.bj-homepage .bj-mode.live,.bj-livepage .bj-mode.live{background:radial-gradient(circle at 88% 14%,rgba(30,123,255,.30),transparent 20%),linear-gradient(135deg,#07215b 0%,#0d4df6 30%,#081b5f 68%,#061126 100%);border-color:#2f7cff}
.bj-homepage .bj-mode.live:before,.bj-livepage .bj-mode.live:before{background:radial-gradient(42% 180% at 100% 0,rgba(41,112,255,.94) 0%,transparent 52%)}
.bj-homepage .bj-mode b,.bj-livepage .bj-mode b{position:relative;z-index:1;font-size:clamp(18px,4vw,24px);line-height:1.02;text-shadow:0 3px 8px rgba(0,0,0,.33)}
.bj-homepage .bj-mode i,.bj-livepage .bj-mode i{top:15px;right:18px;filter:drop-shadow(0 8px 14px rgba(0,0,0,.28))}
.bj-homepage .bj-mode.live .bj-mode-bolt,.bj-livepage .bj-mode.live .bj-mode-bolt{background:linear-gradient(180deg,#ffe971,#ffca22);box-shadow:0 0 24px rgba(255,211,60,.48)}
.bj-homepage .bj-mode.is-active,.bj-livepage .bj-mode.is-active{transform:none;box-shadow:0 18px 34px rgba(0,0,0,.35),0 0 0 1px rgba(255,255,255,.08),0 0 18px rgba(255,211,60,.22)}

.bj-homepage .bj-card.accent,.bj-homepage .bj-card.bj-ranking,.bj-livepage .bj-live-home,.bj-livepage .bj-live-section,.bj-livepage .bj-live-room,.bj-livepage .bj-battle-ranking,.bj-adminpage .bj-card,.bj-body.bj-themed .bj-game-card,.bj-body.bj-themed .bj-card{border-radius:30px;border:2px solid rgba(67,136,255,.62);background:linear-gradient(135deg,rgba(4,13,30,.96) 0%,rgba(5,19,53,.96) 55%,rgba(5,12,29,.98) 100%);box-shadow:0 20px 42px rgba(0,0,0,.36),inset 0 1px rgba(255,255,255,.18);overflow:hidden}
.bj-homepage .bj-card.accent::before,.bj-homepage .bj-card.bj-ranking::before,.bj-livepage .bj-live-home::before,.bj-livepage .bj-live-section::before,.bj-livepage .bj-live-room::before,.bj-livepage .bj-battle-ranking::before,.bj-adminpage .bj-card::before,.bj-body.bj-themed .bj-game-card::before,.bj-body.bj-themed .bj-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:
radial-gradient(65% 40% at -5% 100%,rgba(255,36,70,.90) 0%,rgba(255,181,44,.58) 22%,transparent 38%),
radial-gradient(46% 34% at 104% 8%,rgba(31,118,255,.78) 0%,transparent 38%),
radial-gradient(28% 26% at 97% 99%,rgba(20,126,255,.38) 0%,transparent 40%);opacity:.80}
.bj-homepage .bj-card.accent>*,.bj-homepage .bj-card.bj-ranking>*,.bj-livepage .bj-live-home>*,.bj-livepage .bj-live-section>*,.bj-livepage .bj-live-room>*,.bj-livepage .bj-battle-ranking>*,.bj-adminpage .bj-card>*,.bj-body.bj-themed .bj-game-card>*,.bj-body.bj-themed .bj-card>*{position:relative;z-index:1}
.bj-homepage .bj-card.accent,.bj-homepage .bj-card.bj-ranking{border-color:#4ea3ff}
.bj-homepage .bj-kicker,.bj-livepage .bj-kicker,.bj-adminpage .bj-kicker,.bj-body.bj-themed .bj-kicker{color:#1da0ff;letter-spacing:.22em;font-size:clamp(11px,2vw,18px);text-shadow:0 0 10px rgba(20,160,255,.28)}
.bj-homepage .bj-calendar-head h2,.bj-homepage .bj-ranking-head h2,.bj-livepage .bj-live-home h1,.bj-livepage .bj-live-section h2,.bj-adminpage h1,.bj-body.bj-themed .bj-game-head h1{font-size:clamp(29px,6vw,56px);line-height:1.02;letter-spacing:-.05em;margin:.12em 0 .18em;text-shadow:0 3px 10px rgba(0,0,0,.28)}

.bj-homepage .bj-date-badge{width:92px;border-radius:22px;background:#f5f7fb;box-shadow:0 16px 30px rgba(0,0,0,.24)}
.bj-homepage .bj-date-badge b{background:linear-gradient(180deg,#ff1747,#ff4566);padding:10px 6px;font-size:12px;letter-spacing:.04em}
.bj-homepage .bj-date-badge strong{padding:10px 0 13px;font-size:44px;line-height:1}
.bj-homepage .bj-month-nav{grid-template-columns:58px 1fr 58px;align-items:center;margin:10px 0 6px}
.bj-homepage .bj-month-nav h3{font-size:24px;font-weight:950}
.bj-homepage .bj-month-trigger{background:none;border:0;color:#fff;font:inherit;font-weight:950}
.bj-homepage .bj-nav{height:54px;width:54px;margin:auto;border-radius:50%;border:2px solid #4c8aff;background:linear-gradient(180deg,#10388f,#072059);box-shadow:inset 0 1px rgba(255,255,255,.26),0 0 18px rgba(58,113,255,.34)}
.bj-homepage .bj-nav svg{width:24px;height:24px;stroke:#fff;stroke-width:2.8;fill:none}
.bj-homepage .bj-week{padding:8px 0 6px;color:#dfe9ff;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.bj-homepage .bj-dates{gap:8px;row-gap:8px}
.bj-homepage .bj-day{aspect-ratio:auto;min-height:45px;padding:3px 0;border-radius:16px;background:linear-gradient(180deg,rgba(13,29,68,.88),rgba(7,17,40,.98));border:2px solid rgba(94,124,189,.38);color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.10)}
.bj-homepage .bj-day.idle{color:#f0f4ff}
.bj-homepage .bj-day.won{background:linear-gradient(180deg,#1a61ff,#0c2f9d);border-color:#6ba4ff}
.bj-homepage .bj-day.lost{background:linear-gradient(180deg,#ff314f,#d91338);border-color:#ff7d90}
.bj-homepage .bj-day.today{background:linear-gradient(180deg,#ff314f,#e11437);border-color:#ffe25a;outline:3px solid rgba(255,214,47,.95);outline-offset:0;box-shadow:0 0 0 2px rgba(255,214,47,.45),0 0 18px rgba(255,214,47,.42)}
.bj-homepage .bj-day.future{opacity:.28}
.bj-homepage .bj-home-play{margin-top:16px}
.bj-homepage .bj-home-play .bj-primary{width:100%;min-height:74px;border-radius:999px;border:2px solid #ffe76f;background:linear-gradient(90deg,#ff2a4d 0%,#ff5538 28%,#ff8c2e 56%,#ffd82c 100%);box-shadow:inset 0 2px rgba(255,255,255,.28),0 18px 26px rgba(0,0,0,.28),0 0 24px rgba(255,214,47,.28);font-size:clamp(21px,7vw,34px);letter-spacing:.03em;text-shadow:0 3px 8px rgba(0,0,0,.28)}
.bj-homepage .bj-home-play .bj-primary::after{content:"›";margin-left:14px;font-size:1.35em;line-height:1}

.bj-homepage .bj-ranking-head,.bj-livepage .bj-ranking-head{align-items:start}
.bj-homepage .bj-ranking-crown,.bj-livepage .bj-ranking-crown{color:#ffe15c;text-shadow:0 0 16px rgba(255,225,92,.42)}
.bj-homepage .bj-rank-card,.bj-livepage .bj-rank-card{border-radius:22px;border:1px solid rgba(95,143,255,.44);background:linear-gradient(180deg,rgba(10,24,53,.94),rgba(7,16,36,.98));box-shadow:inset 0 1px rgba(255,255,255,.12)}
.bj-homepage .bj-ranking-input,.bj-livepage .bj-ranking-input,.bj-adminpage .bj-search-field{border-radius:18px;border:2px solid rgba(64,114,246,.52);background:rgba(6,16,40,.9);box-shadow:inset 0 1px rgba(255,255,255,.10)}
.bj-homepage .bj-ranking-input input,.bj-livepage .bj-ranking-input input,.bj-adminpage .bj-search-field input{background:transparent;color:#fff}

.bj-livepage .bj-live-home,.bj-livepage .bj-live-section,.bj-livepage .bj-live-room,.bj-livepage .bj-battle-ranking{border-color:#3a84ff}
.bj-livepage .bj-live-home .bj-kicker,.bj-livepage .bj-live-section .bj-kicker,.bj-livepage .bj-battle-ranking .bj-kicker,.bj-livepage .bj-live-room .bj-kicker{color:#1ba2ff}
.bj-livepage .bj-live-create-form,.bj-livepage .bj-live-join-form input,.bj-livepage .bj-live-search,.bj-livepage .bj-ranking-input{border-radius:18px;border:2px solid rgba(72,119,255,.48);background:rgba(7,16,40,.88);box-shadow:inset 0 1px rgba(255,255,255,.09)}
.bj-livepage .bj-live-list-row,.bj-livepage .bj-live-history-row,.bj-adminpage .bj-table-wrap{border-radius:22px;border:1px solid rgba(82,127,255,.34);background:linear-gradient(180deg,rgba(10,23,52,.92),rgba(7,16,34,.98));box-shadow:inset 0 1px rgba(255,255,255,.06)}
.bj-livepage .bj-livepage .bj-live-history-row>b{}
.bj-livepage .bj-live-history-row>b,.bj-livepage .bj-live-list-row>b{color:#ff92a8}
.bj-livepage .bj-livepage .bj-live-list-symbol{}
.bj-livepage .bj-live-list-symbol,.bj-livepage .bj-live-history-icon{background:linear-gradient(180deg,rgba(255,42,77,.18),rgba(19,65,191,.30));border:1px solid rgba(255,214,47,.25)}
.bj-livepage .bj-livepage .bj-live-start{}
.bj-primary,.bj-livepage .bj-live-start,.bj-adminpage .bj-search-submit,.bj-adminpage .bj-player-delete,.bj-adminpage .bj-danger,.bj-adminpage .bj-admin-battle-stop{border:2px solid rgba(255,231,111,.75);background:linear-gradient(90deg,#ff2449 0%,#ff5538 28%,#ff8a2f 56%,#ffd62b 100%);box-shadow:inset 0 2px rgba(255,255,255,.28),0 12px 26px rgba(0,0,0,.25),0 0 20px rgba(255,214,47,.18);color:#fff;font-weight:950;text-shadow:0 2px 6px rgba(0,0,0,.26)}
.bj-primary:hover,.bj-livepage .bj-live-start:hover,.bj-adminpage .bj-search-submit:hover,.bj-adminpage .bj-player-delete:hover,.bj-adminpage .bj-danger:hover,.bj-adminpage .bj-admin-battle-stop:hover{filter:brightness(1.04)}

.bj-adminpage .bj-admin-head{margin:6px 0 16px}
.bj-adminpage .bj-admin-grid{gap:14px}
.bj-adminpage .bj-admin-launch{min-height:154px;padding:20px;border-radius:28px;border:2px solid rgba(255,214,47,.36);background:linear-gradient(135deg,rgba(4,13,30,.96) 0%,rgba(8,26,62,.96) 100%);box-shadow:0 20px 36px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.18);position:relative;overflow:hidden}
.bj-adminpage .bj-admin-launch::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.78;background:radial-gradient(48% 32% at 0 100%,rgba(255,42,77,.88) 0%,rgba(255,185,43,.56) 22%,transparent 42%),radial-gradient(42% 30% at 100% 0,rgba(31,118,255,.76) 0%,transparent 40%)}
.bj-adminpage .bj-admin-launch>*{position:relative;z-index:1}
.bj-adminpage .bj-admin-launch.players,.bj-adminpage .bj-admin-launch.games,.bj-adminpage .bj-admin-launch.words,.bj-adminpage .bj-admin-launch.sounds,.bj-adminpage .bj-admin-launch.settings{background:linear-gradient(135deg,rgba(4,13,30,.96) 0%,rgba(8,26,62,.96) 100%)}
.bj-adminpage .bj-admin-launch span{font-size:34px;filter:drop-shadow(0 6px 12px rgba(0,0,0,.25))}
.bj-adminpage .bj-admin-launch b{font-size:20px;letter-spacing:-.02em}
.bj-adminpage .bj-admin-launch small{color:#d6e5ff;opacity:.88}
.bj-adminpage .bj-login{border-radius:30px}
.bj-adminpage .bj-form input,.bj-adminpage .bj-form textarea,.bj-adminpage .bj-form select,.bj-adminpage .bj-search-field input{border-radius:16px;border:2px solid rgba(86,130,255,.42);background:rgba(5,16,39,.78);color:#fff}
.bj-adminpage .bj-table-wrap{padding:6px}
.bj-adminpage .bj-table{font-size:13px}
.bj-adminpage .bj-table th{color:#97d8ff;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.bj-adminpage .bj-table th,.bj-adminpage .bj-table td{border-bottom:1px solid rgba(83,113,181,.32);padding:12px 10px}
.bj-adminpage .bj-pagination a{border-radius:50%;border:2px solid rgba(75,138,255,.62);background:linear-gradient(180deg,#10388f,#072059)}
.bj-adminpage .bj-badge{background:linear-gradient(180deg,rgba(15,52,145,.76),rgba(7,23,62,.96));border:1px solid rgba(98,156,255,.38)}
.bj-adminpage .bj-ok,.bj-homepage .bj-ok,.bj-livepage .bj-ok,.bj-themed .bj-ok{border-radius:18px;border:1px solid rgba(255,214,47,.38);background:rgba(16,33,68,.88);box-shadow:inset 0 1px rgba(255,255,255,.10)}
.bj-toast.error{border-radius:18px;border:1px solid rgba(255,111,133,.42);background:rgba(91,16,34,.88)}

.bj-body.bj-themed .bj-game-card,.bj-body.bj-themed .bj-card{border-color:#3a84ff}
.bj-body.bj-themed .bj-progress,.bj-body.bj-themed .bj-double-help,.bj-body.bj-themed .bj-values p{color:#dbe7ff}
.bj-body.bj-themed .bj-hint{border:2px solid rgba(255,214,47,.40);background:linear-gradient(180deg,rgba(60,38,7,.70),rgba(24,17,7,.90))}
.bj-body.bj-themed .bj-score-pill{border-color:rgba(255,214,47,.32);background:linear-gradient(180deg,rgba(17,32,71,.86),rgba(9,18,39,.98))}

@media(max-width:520px){
  .bj-shell{padding-inline:10px}
  .bj-homepage .bj-site-header,.bj-livepage .bj-site-header,.bj-adminpage .bj-site-header,.bj-game-shell .bj-site-header{margin-inline:-10px;padding:10px 8px 14px;border-radius:0 0 26px 26px}
  .bj-homepage .bj-site-header .bj-word-row,.bj-livepage .bj-site-header .bj-word-row,.bj-adminpage .bj-site-header .bj-word-row,.bj-game-shell .bj-site-header .bj-word-row{gap:4px}
  .bj-homepage .bj-mode,.bj-livepage .bj-mode{min-height:112px;padding:14px 14px 14px;border-radius:22px}
  .bj-homepage .bj-card.accent,.bj-homepage .bj-card.bj-ranking,.bj-livepage .bj-live-home,.bj-livepage .bj-live-section,.bj-livepage .bj-live-room,.bj-livepage .bj-battle-ranking,.bj-adminpage .bj-card,.bj-body.bj-themed .bj-game-card,.bj-body.bj-themed .bj-card{border-radius:24px;padding:14px}
  .bj-homepage .bj-calendar-head h2,.bj-homepage .bj-ranking-head h2,.bj-livepage .bj-live-home h1,.bj-livepage .bj-live-section h2,.bj-adminpage h1,.bj-body.bj-themed .bj-game-head h1{font-size:clamp(26px,8.6vw,42px)}
  .bj-homepage .bj-date-badge{width:82px}
  .bj-homepage .bj-date-badge strong{font-size:38px}
  .bj-homepage .bj-day{min-height:42px;border-radius:14px}
  .bj-homepage .bj-home-play .bj-primary{min-height:68px;font-size:clamp(19px,8vw,30px)}
  .bj-adminpage .bj-admin-launch{min-height:136px;padding:16px;border-radius:22px}
}


/* v1.3.81 — calage haute fidélité sur la maquette de référence */
.bj-homepage{background:#020714!important}
.bj-homepage .bj-shell{width:min(900px,100%);padding:0 16px 42px}
.bj-homepage .bj-site-header{min-height:235px;margin:0 -16px 14px;padding:22px 24px 22px;border-radius:0;background:#05102a url('tv-header-waves.svg') center/100% 100% no-repeat!important;box-shadow:0 8px 24px #000b;overflow:hidden}
.bj-homepage .bj-site-header .bj-header-title{font-size:clamp(22px,5vw,34px);font-weight:950;line-height:1;margin-top:2px}
.bj-homepage .bj-site-header .bj-header-title em{color:#ffd42e}
.bj-homepage .bj-site-header .bj-icon-btn{width:58px;height:58px;border-width:2px;font-size:32px}
.bj-homepage .bj-site-header .bj-header-actions{gap:12px}
.bj-homepage .bj-site-header .bj-header-actions .bj-airplane-btn,.bj-homepage .bj-site-header .bj-header-actions .bj-sound-btn{width:54px;height:54px;font-size:26px;border-width:2px;opacity:1;filter:none}
.bj-homepage .bj-site-header .bj-word-logo{--logo-cell:clamp(48px,9.6vw,82px);margin-top:12px}
.bj-homepage .bj-site-header .bj-word-row{gap:7px}
.bj-homepage .bj-site-header .bj-word-tile{border-radius:16px;font-size:calc(var(--logo-cell)*.50);transform:rotate(var(--bj-rot,0deg));box-shadow:inset 0 3px 4px #ffffff4a,0 7px 0 #0005,0 0 18px currentColor}
.bj-homepage .bj-site-header .bj-word-tile:nth-child(1){--bj-rot:-4deg}.bj-homepage .bj-site-header .bj-word-tile:nth-child(2){--bj-rot:2deg}.bj-homepage .bj-site-header .bj-word-tile:nth-child(3){--bj-rot:-1deg}.bj-homepage .bj-site-header .bj-word-tile:nth-child(4){--bj-rot:1deg}.bj-homepage .bj-site-header .bj-word-tile:nth-child(5){--bj-rot:-2deg}.bj-homepage .bj-site-header .bj-word-tile:nth-child(6){--bj-rot:1deg}.bj-homepage .bj-site-header .bj-word-tile:nth-child(7){--bj-rot:2deg}.bj-homepage .bj-site-header .bj-word-tile:nth-child(8){--bj-rot:4deg}.bj-homepage .bj-site-header .bj-word-tile:nth-child(9){--bj-rot:5deg}

.bj-homepage .bj-mode-grid{gap:18px;margin:12px 0 22px}
.bj-homepage .bj-mode{min-height:190px;padding:28px 28px 24px;border-radius:32px;border:3px solid transparent;justify-content:flex-start;background-clip:padding-box,border-box;box-shadow:0 18px 26px #0008,inset 0 1px #ffffff4c}
.bj-homepage .bj-mode.daily{background-image:url('home-daily-waves.svg'),linear-gradient(#510015,#510015),linear-gradient(120deg,#ff2345,#ffdd48);background-size:cover,auto,auto;background-position:center;background-origin:border-box}
.bj-homepage .bj-mode.live{background-image:url('home-live-waves.svg'),linear-gradient(#071e5c,#071e5c),linear-gradient(120deg,#1b55ff,#42c5ff);background-size:cover,auto,auto;background-position:center;background-origin:border-box}
.bj-homepage .bj-mode:before{display:none}
.bj-homepage .bj-mode b{display:flex;flex-direction:column;align-items:flex-start;gap:0;max-width:58%;font-size:clamp(25px,5vw,43px);line-height:.96;letter-spacing:-.035em;text-shadow:0 4px 8px #0007}
.bj-homepage .bj-mode b span{color:#fff}.bj-homepage .bj-mode b em{font-style:normal;color:#ffeb4f}
.bj-homepage .bj-mode .bj-mode-arrow{display:grid!important;left:28px;right:auto;bottom:22px;width:52px;height:52px;border:2px solid #ff3f58;border-radius:50%;background:#68051d;color:#fff;font-size:42px;line-height:1;padding:0 0 5px 2px;box-shadow:0 0 14px #ff174b88}
.bj-homepage .bj-mode.live .bj-mode-arrow{border-color:#3993ff;background:#062461;box-shadow:0 0 14px #1b7fff8a}
.bj-homepage .bj-mode .bj-mode-calendar{top:50%;right:28px;width:92px;height:108px;transform:translateY(-50%) rotate(5deg);border-radius:18px;border:2px solid #cfeaff;filter:none;box-shadow:0 11px 18px #0009,0 0 14px #ffffff66}
.bj-homepage .bj-mode-calendar span{font-size:18px;padding:7px 0;background:linear-gradient(#ff244c,#ef1645)}
.bj-homepage .bj-mode-calendar strong{font-size:50px;line-height:1.25}
.bj-homepage .bj-mode .bj-mode-bolt{top:50%;right:30px;width:112px;height:126px;transform:translateY(-50%);background:url('home-bolt.svg') center/contain no-repeat!important;filter:drop-shadow(0 0 14px #ffdc35)}

.bj-homepage .bj-card.accent{padding:30px 34px 30px;border:3px solid transparent;border-radius:34px;background:url('tv-calendar-waves.svg') center/100% 100% no-repeat padding-box,linear-gradient(#061329,#061329) padding-box,linear-gradient(135deg,#2495ff 0%,#ffdb42 35%,#ff2348 62%,#29a9ff 100%) border-box!important;box-shadow:0 20px 34px #0009,0 0 18px #137cff66;overflow:hidden}
.bj-homepage .bj-card.accent:before{display:none}
.bj-homepage .bj-calendar-head{min-height:130px;align-items:flex-start}
.bj-homepage .bj-calendar-head .bj-kicker{font-size:18px;color:#29a8ff;letter-spacing:.25em;margin-top:3px}
.bj-homepage .bj-calendar-head h2{font-size:clamp(34px,7vw,55px);margin:12px 0 0;line-height:1;letter-spacing:-.045em;max-width:80%}
.bj-homepage .bj-date-badge{width:112px;border-radius:22px;transform:rotate(4deg);border:2px solid #dceeff;box-shadow:0 13px 24px #0009,0 0 15px #55aaff70}
.bj-homepage .bj-date-badge b{font-size:21px;padding:8px 0}.bj-homepage .bj-date-badge strong{font-size:55px;padding:10px 0 14px}
.bj-homepage .bj-month-nav{grid-template-columns:74px 1fr 74px;margin:8px 0 10px}
.bj-homepage .bj-month-nav h3{font-size:32px}
.bj-homepage .bj-nav{width:66px;height:66px;border:2px solid #1688ff;background:radial-gradient(circle at 35% 30%,#174cbe,#081b5d 70%);box-shadow:inset 0 1px #ffffff55,0 0 16px #147dff88,0 8px 14px #0007}
.bj-homepage .bj-nav svg{width:34px;height:34px;stroke-width:3.4}
.bj-homepage .bj-week{padding:10px 0 9px;color:#93a6cd;font-size:20px;font-weight:900}
.bj-homepage .bj-dates{gap:9px;row-gap:9px}
.bj-homepage .bj-day{min-height:66px;padding:0;border-radius:16px;border:2px solid #37527d;background:linear-gradient(180deg,#13284e,#07162f);font-size:24px;box-shadow:inset 0 1px #ffffff18,0 5px 8px #0004}
.bj-homepage .bj-day.future{opacity:.34}.bj-homepage .bj-day.today{background:linear-gradient(180deg,#ff323b,#e81128);border-color:#ffcf2f;outline:3px solid #ffd32f;box-shadow:0 0 0 2px #ff711a,0 0 20px #ffb51fbb,inset 0 1px #ffffff4f}
.bj-homepage .bj-home-play{margin:22px 8px 28px}
.bj-homepage .bj-home-play .bj-primary{min-height:108px;border-radius:38px;border:3px solid #ffe75f;background:linear-gradient(90deg,#ff253b 0%,#ff1039 36%,#ff541f 68%,#ffd92d 100%);box-shadow:inset 0 2px #ffffff55,0 16px 30px #0008,0 0 24px #ffbf2a77;font-size:44px;font-weight:950}
.bj-homepage .bj-home-play .bj-primary::after{font-size:1.35em;margin-left:26px}
.bj-homepage .bj-card.bj-ranking{margin-top:6px}

@media(max-width:520px){
 .bj-homepage .bj-shell{padding:0 10px 34px}
 .bj-homepage .bj-site-header{min-height:214px;margin:0 -10px 12px;padding:18px 12px 18px}
 .bj-homepage .bj-site-header .bj-icon-btn{width:48px;height:48px;font-size:27px}
 .bj-homepage .bj-site-header .bj-header-actions{gap:6px}.bj-homepage .bj-site-header .bj-header-actions .bj-airplane-btn,.bj-homepage .bj-site-header .bj-header-actions .bj-sound-btn{width:46px;height:46px;font-size:22px}
 .bj-homepage .bj-site-header .bj-word-logo{--logo-cell:calc((100vw - 42px)/9)}.bj-homepage .bj-site-header .bj-word-row{gap:3px}
 .bj-homepage .bj-site-header .bj-word-tile{border-radius:10px}
 .bj-homepage .bj-mode-grid{gap:10px;margin-top:8px}.bj-homepage .bj-mode{min-height:118px;padding:17px 14px;border-radius:24px;border-width:2px}
 .bj-homepage .bj-mode b{font-size:clamp(23px,6.7vw,31px);max-width:58%}.bj-homepage .bj-mode .bj-mode-arrow{left:14px;bottom:14px;width:38px;height:38px;font-size:32px}
 .bj-homepage .bj-mode .bj-mode-calendar{right:13px;width:68px;height:80px}.bj-homepage .bj-mode-calendar span{font-size:12px;padding:5px 0}.bj-homepage .bj-mode-calendar strong{font-size:39px}
 .bj-homepage .bj-mode .bj-mode-bolt{right:11px;width:79px;height:92px}
 .bj-homepage .bj-card.accent{padding:22px 18px 22px;border-radius:27px;border-width:2px}.bj-homepage .bj-calendar-head{min-height:102px}.bj-homepage .bj-calendar-head .bj-kicker{font-size:12px}.bj-homepage .bj-calendar-head h2{font-size:clamp(30px,8.8vw,42px);max-width:75%;margin-top:8px}
 .bj-homepage .bj-date-badge{width:82px;border-radius:17px}.bj-homepage .bj-date-badge b{font-size:15px;padding:6px}.bj-homepage .bj-date-badge strong{font-size:39px;padding:7px 0 10px}
 .bj-homepage .bj-month-nav{grid-template-columns:56px 1fr 56px;margin-top:4px}.bj-homepage .bj-month-nav h3{font-size:24px}.bj-homepage .bj-nav{width:50px;height:50px}.bj-homepage .bj-nav svg{width:26px;height:26px}
 .bj-homepage .bj-week{font-size:13px;padding:7px 0}.bj-homepage .bj-dates{gap:6px;row-gap:6px}.bj-homepage .bj-day{min-height:48px;border-radius:12px;font-size:18px;border-width:1.5px}
 .bj-homepage .bj-home-play{margin:17px 3px 22px}.bj-homepage .bj-home-play .bj-primary{min-height:76px;border-radius:28px;font-size:clamp(29px,9.3vw,40px)}
}


/* v1.3.82 — affinage visuel pour coller davantage à la maquette cible */
.bj-homepage{background:#020714!important}
.bj-homepage .bj-shell{padding:0 14px 38px}
.bj-homepage .bj-site-header{min-height:226px;margin:0 -14px 16px;padding:18px 18px 20px;background:
 radial-gradient(90% 70% at -4% 72%,rgba(129,8,48,.96) 0%,rgba(255,75,53,.55) 25%,rgba(255,182,35,.20) 34%,transparent 42%),
 radial-gradient(78% 56% at 106% 76%,rgba(15,90,255,.90) 0%,rgba(15,90,255,.48) 27%,transparent 42%),
 linear-gradient(180deg,#04102a 0%,#07153a 100%)!important;
 box-shadow:0 10px 28px rgba(0,0,0,.72);position:relative}
.bj-homepage .bj-site-header::before{display:none}
.bj-homepage .bj-site-header::after{content:"";position:absolute;inset:42px 0 auto 0;height:152px;pointer-events:none;background:
 linear-gradient(145deg,transparent 0 11%,rgba(255,28,69,.96) 11% 19%,rgba(255,156,36,.98) 19% 24%,transparent 24% 100%),
 linear-gradient(-145deg,transparent 0 12%,rgba(24,96,255,.95) 12% 19%,rgba(42,120,255,.72) 19% 24%,transparent 24% 100%);
 opacity:.95}
.bj-homepage .bj-top{height:auto;display:grid;grid-template-columns:58px 1fr auto;grid-template-rows:auto auto;align-items:center;row-gap:16px}
.bj-homepage .bj-site-header .bj-icon-btn{width:56px;height:56px;border-radius:50%;border:3px solid #438fff;background:linear-gradient(180deg,#0e204b,#08142e 85%);box-shadow:inset 0 1px rgba(255,255,255,.34),0 0 0 2px rgba(0,0,0,.16),0 0 15px rgba(52,122,255,.34);font-size:33px;color:#fff}
.bj-homepage .bj-site-header .bj-header-title{grid-column:2;grid-row:1;justify-self:center;align-self:center;font-size:clamp(22px,5vw,34px);font-weight:900;letter-spacing:-.04em;text-shadow:0 2px 8px rgba(0,0,0,.44);margin:0;position:relative}
.bj-homepage .bj-site-header .bj-header-title em{color:#ffd53b;text-shadow:0 0 18px rgba(255,213,59,.48)}
.bj-homepage .bj-site-header .bj-header-title::after{content:"";position:absolute;left:58%;bottom:-8px;width:88px;height:10px;background:radial-gradient(60% 120% at 50% 0,rgba(255,225,57,.95) 0%,rgba(255,93,39,.92) 58%,transparent 72%);transform:translateX(-10%) rotate(-3deg);filter:blur(.25px)}
.bj-homepage .bj-site-header .bj-header-actions{grid-column:3;grid-row:1;display:flex;gap:10px}
.bj-homepage .bj-site-header .bj-header-actions .bj-airplane-btn,.bj-homepage .bj-site-header .bj-header-actions .bj-sound-btn{width:52px;height:52px;border-radius:50%;border:3px solid #428fff;background:linear-gradient(180deg,#112551,#08142d);box-shadow:inset 0 1px rgba(255,255,255,.34),0 0 0 2px rgba(0,0,0,.16),0 0 15px rgba(52,122,255,.26);font-size:24px}
.bj-homepage .bj-site-header .bj-header-actions .bj-airplane-btn{border-color:#ffd441;color:#ffd441;box-shadow:inset 0 1px rgba(255,255,255,.34),0 0 0 2px rgba(0,0,0,.16),0 0 16px rgba(255,212,65,.28)}
.bj-homepage .bj-site-header .bj-word-logo{grid-column:1 / -1;grid-row:2;justify-self:center;align-self:end;margin-top:4px;--logo-cell:clamp(43px,9.2vw,78px)}
.bj-homepage .bj-site-header .bj-word-row{gap:6px;align-items:end}
.bj-homepage .bj-site-header .bj-word-tile{width:var(--logo-cell);height:calc(var(--logo-cell)*1.10);border-radius:14px!important;font-size:calc(var(--logo-cell)*.50);color:#fff!important;border:2px solid rgba(255,255,255,.22);box-shadow:inset 0 2px 3px rgba(255,255,255,.38),0 7px 0 rgba(0,0,0,.35),0 0 18px rgba(255,255,255,.08)!important;transform:translateY(var(--arc-y,0)) rotate(var(--bj-rot,0deg))}
.bj-homepage .bj-site-header .bj-word-tile:nth-child(1),.bj-homepage .bj-site-header .bj-word-tile:nth-child(5),.bj-homepage .bj-site-header .bj-word-tile:nth-child(9){background:linear-gradient(180deg,#ff3758,#d3082b)!important;border-color:#ff8da1!important;box-shadow:inset 0 2px 3px rgba(255,255,255,.38),0 7px 0 rgba(0,0,0,.35),0 0 18px rgba(255,59,92,.42)!important}
.bj-homepage .bj-site-header .bj-word-tile:nth-child(2),.bj-homepage .bj-site-header .bj-word-tile:nth-child(4),.bj-homepage .bj-site-header .bj-word-tile:nth-child(7),.bj-homepage .bj-site-header .bj-word-tile:nth-child(8){background:linear-gradient(180deg,#2374ff,#0e3eb6)!important;border-color:#84b2ff!important;box-shadow:inset 0 2px 3px rgba(255,255,255,.38),0 7px 0 rgba(0,0,0,.35),0 0 18px rgba(37,111,255,.38)!important}
.bj-homepage .bj-site-header .bj-word-tile:nth-child(3),.bj-homepage .bj-site-header .bj-word-tile:nth-child(6){background:linear-gradient(180deg,#ffd941,#f1ad00)!important;border-color:#fff09c!important;box-shadow:inset 0 2px 3px rgba(255,255,255,.42),0 7px 0 rgba(0,0,0,.35),0 0 18px rgba(255,210,45,.35)!important}
.bj-homepage .bj-site-header .bj-word-tile:nth-child(1){--bj-rot:-5deg;--arc-y:2px}.bj-homepage .bj-site-header .bj-word-tile:nth-child(2){--bj-rot:1deg;--arc-y:0}.bj-homepage .bj-site-header .bj-word-tile:nth-child(3){--bj-rot:-1deg;--arc-y:-3px}.bj-homepage .bj-site-header .bj-word-tile:nth-child(4){--bj-rot:1deg;--arc-y:-4px}.bj-homepage .bj-site-header .bj-word-tile:nth-child(5){--bj-rot:-1deg;--arc-y:-3px}.bj-homepage .bj-site-header .bj-word-tile:nth-child(6){--bj-rot:1deg;--arc-y:-1px}.bj-homepage .bj-site-header .bj-word-tile:nth-child(7){--bj-rot:2deg;--arc-y:0}.bj-homepage .bj-site-header .bj-word-tile:nth-child(8){--bj-rot:4deg;--arc-y:1px}.bj-homepage .bj-site-header .bj-word-tile:nth-child(9){--bj-rot:5deg;--arc-y:2px}

.bj-homepage .bj-mode-grid{gap:14px;margin:8px 0 18px}
.bj-homepage .bj-mode{min-height:132px;padding:16px 18px 16px;border-radius:28px;border:2px solid transparent;box-shadow:0 14px 24px rgba(0,0,0,.40),inset 0 1px rgba(255,255,255,.24)}
.bj-homepage .bj-mode.daily{background-image:url('home-daily-waves.svg'),linear-gradient(#630113,#630113),linear-gradient(120deg,#ff2e4b,#ffd33e);background-size:cover,auto,auto}
.bj-homepage .bj-mode.live{background-image:url('home-live-waves.svg'),linear-gradient(#082367,#082367),linear-gradient(120deg,#1f61ff,#45c8ff);background-size:cover,auto,auto}
.bj-homepage .bj-mode b{max-width:52%;font-size:clamp(22px,6vw,36px);line-height:.96;letter-spacing:-.05em}
.bj-homepage .bj-mode .bj-mode-arrow{left:15px;bottom:15px;width:36px;height:36px;border-width:2px;font-size:29px;padding:0 0 3px 2px}
.bj-homepage .bj-mode .bj-mode-calendar{right:16px;width:84px;height:96px;transform:translateY(-49%) rotate(4deg);border-radius:18px;box-shadow:0 9px 16px rgba(0,0,0,.42),0 0 12px rgba(255,255,255,.26)}
.bj-homepage .bj-mode-calendar span{font-size:16px;padding:6px 0}.bj-homepage .bj-mode-calendar strong{font-size:46px;line-height:1.2}
.bj-homepage .bj-mode .bj-mode-bolt{right:14px;width:92px;height:104px;transform:translateY(-50%);filter:drop-shadow(0 0 12px rgba(255,210,52,.60));background:url('home-bolt.svg') center/contain no-repeat!important}

.bj-homepage .bj-card.accent{padding:22px 22px 22px;border-width:2px;border-radius:30px;background:
 radial-gradient(60% 50% at 6% 92%,rgba(148,8,49,.88) 0%,rgba(255,84,53,.22) 22%,transparent 38%),
 radial-gradient(56% 46% at 98% 10%,rgba(23,110,255,.72) 0%,transparent 42%),
 linear-gradient(180deg,#071435 0%,#061028 100%) padding-box!important;
 box-shadow:0 18px 28px rgba(0,0,0,.48),0 0 0 1px rgba(48,132,255,.32),0 0 18px rgba(20,115,255,.28)}
.bj-homepage .bj-card.accent::after{content:"";position:absolute;inset:0;pointer-events:none;background:
 linear-gradient(160deg,transparent 0 13%,rgba(255,31,73,.70) 13% 17%,transparent 17%),
 linear-gradient(160deg,transparent 0 18%,rgba(31,114,255,.36) 18% 18.8%,transparent 18.8%),
 radial-gradient(circle at 95% 95%,rgba(99,178,255,.50) 0%,transparent 18%),
 radial-gradient(circle at 5% 68%,rgba(255,69,75,.32) 0%,transparent 18%);
 opacity:.9}
.bj-homepage .bj-card.accent>*{position:relative;z-index:1}
.bj-homepage .bj-calendar-head{min-height:114px}
.bj-homepage .bj-calendar-head .bj-kicker{font-size:12px;letter-spacing:.26em;color:#1ea4ff;text-shadow:none}
.bj-homepage .bj-calendar-head h2{font-size:clamp(26px,8.5vw,46px);margin:8px 0 0;line-height:1.02;max-width:72%}
.bj-homepage .bj-date-badge{width:88px;border-radius:20px;transform:rotate(4deg);border:2px solid #e2f2ff;box-shadow:0 12px 22px rgba(0,0,0,.42),0 0 14px rgba(121,191,255,.30)}
.bj-homepage .bj-date-badge b{font-size:16px;padding:7px 0}.bj-homepage .bj-date-badge strong{font-size:45px;padding:8px 0 11px}
.bj-homepage .bj-month-nav{grid-template-columns:52px 1fr 52px;gap:6px;margin:2px 0 8px}
.bj-homepage .bj-month-nav h3{font-size:24px;font-weight:900}
.bj-homepage .bj-nav{width:48px;height:48px;border-radius:50%;border:2px solid #2a82ff;background:linear-gradient(180deg,#103b97,#0a225a 80%);box-shadow:inset 0 1px rgba(255,255,255,.26),0 0 13px rgba(36,129,255,.38)}
.bj-homepage .bj-nav.disabled{opacity:.30}
.bj-homepage .bj-nav svg{width:26px;height:26px;stroke-width:3}
.bj-homepage .bj-week{padding:6px 2px 7px;color:#9aa9ca;font-size:13px;letter-spacing:.02em}
.bj-homepage .bj-dates{gap:7px;row-gap:7px}
.bj-homepage .bj-day{min-height:48px;border-radius:13px;border:1.5px solid #385986;background:linear-gradient(180deg,#123058,#08182f);font-size:18px;font-weight:900;box-shadow:inset 0 1px rgba(255,255,255,.10),0 3px 7px rgba(0,0,0,.24)}
.bj-homepage .bj-day.idle{color:#eef4ff}.bj-homepage .bj-day.future{opacity:.28}.bj-homepage .bj-day.today{background:linear-gradient(180deg,#ff374b,#e1112a);border-color:#ffe04b;outline:2px solid #ffe04b;box-shadow:0 0 0 2px rgba(255,117,0,.55),0 0 16px rgba(255,207,43,.50),inset 0 1px rgba(255,255,255,.28)}
.bj-homepage .bj-home-play{margin:16px 2px 24px}
.bj-homepage .bj-home-play .bj-primary{min-height:82px;border-radius:32px;border:2px solid #ffe36a;background:linear-gradient(90deg,#ff2946 0%,#ff2444 30%,#ff6d24 72%,#ffe13a 100%);box-shadow:inset 0 1px rgba(255,255,255,.34),0 14px 24px rgba(0,0,0,.38),0 0 20px rgba(255,188,44,.28);font-size:clamp(31px,9.5vw,46px);font-weight:950;letter-spacing:.02em;position:relative;overflow:hidden}
.bj-homepage .bj-home-play .bj-primary::before{content:"";position:absolute;inset:14% 8%;background:linear-gradient(160deg,transparent 0 18%,rgba(255,255,255,.16) 18% 21%,transparent 21% 100%);pointer-events:none}
.bj-homepage .bj-home-play .bj-primary::after{content:"›";position:relative;margin-left:18px;font-size:1.15em;line-height:1}

@media(max-width:520px){
  .bj-homepage .bj-shell{padding:0 12px 34px}
  .bj-homepage .bj-site-header{min-height:226px;margin:0 -12px 16px;padding:18px 14px 20px}
  .bj-homepage .bj-site-header::after{inset:45px 0 auto 0;height:150px;background:linear-gradient(145deg,transparent 0 13%,rgba(164,7,56,.95) 13% 21%,rgba(255,167,38,.95) 21% 26%,transparent 26% 100%),linear-gradient(-145deg,transparent 0 13%,rgba(21,96,255,.96) 13% 20%,rgba(42,120,255,.72) 20% 25%,transparent 25% 100%)}
  .bj-homepage .bj-top{grid-template-columns:52px 1fr auto;row-gap:14px}
  .bj-homepage .bj-site-header .bj-icon-btn{width:50px;height:50px;font-size:28px}
  .bj-homepage .bj-site-header .bj-header-title{font-size:clamp(20px,5vw,29px)}
  .bj-homepage .bj-site-header .bj-header-title::after{width:76px;height:8px;bottom:-7px}
  .bj-homepage .bj-site-header .bj-header-actions{gap:8px}
  .bj-homepage .bj-site-header .bj-header-actions .bj-airplane-btn,.bj-homepage .bj-site-header .bj-header-actions .bj-sound-btn{width:46px;height:46px;font-size:21px}
  .bj-homepage .bj-site-header .bj-word-logo{--logo-cell:calc((100vw - 50px)/9);margin-top:2px}
  .bj-homepage .bj-site-header .bj-word-row{gap:4px}
  .bj-homepage .bj-site-header .bj-word-tile{border-radius:11px}
  .bj-homepage .bj-mode-grid{gap:12px;margin:10px 0 16px}
  .bj-homepage .bj-mode{min-height:120px;padding:16px 14px;border-radius:25px}
  .bj-homepage .bj-mode b{font-size:clamp(22px,6.8vw,31px);max-width:56%}
  .bj-homepage .bj-mode .bj-mode-arrow{left:13px;bottom:13px;width:34px;height:34px;font-size:28px}
  .bj-homepage .bj-mode .bj-mode-calendar{right:13px;width:74px;height:86px}.bj-homepage .bj-mode-calendar span{font-size:13px;padding:5px 0}.bj-homepage .bj-mode-calendar strong{font-size:41px}
  .bj-homepage .bj-mode .bj-mode-bolt{right:10px;width:84px;height:96px}
  .bj-homepage .bj-card.accent{padding:20px 18px 20px;border-radius:28px}
  .bj-homepage .bj-calendar-head{min-height:96px}.bj-homepage .bj-calendar-head h2{font-size:clamp(29px,8.8vw,42px)}
  .bj-homepage .bj-date-badge{width:84px}.bj-homepage .bj-date-badge b{font-size:15px}.bj-homepage .bj-date-badge strong{font-size:40px}
  .bj-homepage .bj-month-nav{grid-template-columns:50px 1fr 50px}.bj-homepage .bj-month-nav h3{font-size:23px}
  .bj-homepage .bj-nav{width:46px;height:46px}.bj-homepage .bj-nav svg{width:24px;height:24px}
  .bj-homepage .bj-week{font-size:12px;padding:4px 2px 6px}
  .bj-homepage .bj-dates{gap:6px;row-gap:6px}.bj-homepage .bj-day{min-height:46px;border-radius:12px;font-size:18px}
  .bj-homepage .bj-home-play{margin:16px 2px 20px}.bj-homepage .bj-home-play .bj-primary{min-height:78px;border-radius:28px;font-size:clamp(28px,9.6vw,40px)}
}


/* v1.3.83 — passe ultra fine sur l’accueil Mot du jour */
.bj-homepage .bj-shell{padding:0 12px 36px}
.bj-homepage .bj-site-header{min-height:244px;margin:0 -12px 14px;padding:22px 16px 18px;background:#06112d url('tv-header-waves.svg') center/100% 100% no-repeat!important;box-shadow:0 12px 30px rgba(0,0,0,.70)}
.bj-homepage .bj-site-header::after{display:none}
.bj-homepage .bj-top{grid-template-columns:52px 1fr auto;row-gap:12px}
.bj-homepage .bj-site-header .bj-header-title{font-size:clamp(21px,5.2vw,34px);margin-top:0;transform:translateY(-2px)}
.bj-homepage .bj-site-header .bj-header-title::after{width:82px;left:60%;bottom:-10px;transform:translateX(-12%) rotate(-3deg)}
.bj-homepage .bj-site-header .bj-icon-btn{width:50px;height:50px;font-size:28px}
.bj-homepage .bj-site-header .bj-header-actions{gap:8px}
.bj-homepage .bj-site-header .bj-header-actions .bj-airplane-btn,.bj-homepage .bj-site-header .bj-header-actions .bj-sound-btn{width:46px;height:46px;font-size:21px}
.bj-homepage .bj-site-header .bj-word-logo{--logo-cell:calc((100vw - 54px)/9);margin-top:4px}
.bj-homepage .bj-site-header .bj-word-row{gap:4px}
.bj-homepage .bj-site-header .bj-word-tile{height:calc(var(--logo-cell)*1.08);border-radius:12px!important;font-size:calc(var(--logo-cell)*.50);box-shadow:inset 0 2px 3px rgba(255,255,255,.38),0 5px 0 rgba(0,0,0,.35),0 0 16px rgba(255,255,255,.08)!important}

.bj-homepage .bj-mode-grid{gap:12px;margin:8px 0 18px}
.bj-homepage .bj-mode{min-height:120px;padding:16px 14px;border-radius:24px}
.bj-homepage .bj-mode b{max-width:55%;font-size:clamp(21px,6.8vw,32px)}
.bj-homepage .bj-mode .bj-mode-arrow{left:14px;bottom:13px;width:34px;height:34px;font-size:28px;padding:0 0 4px 1px}
.bj-homepage .bj-mode .bj-mode-calendar{right:14px;width:72px;height:84px;transform:translateY(-49%) rotate(5deg)}
.bj-homepage .bj-mode-calendar span{font-size:13px;padding:5px 0}.bj-homepage .bj-mode-calendar strong{font-size:41px}
.bj-homepage .bj-mode .bj-mode-bolt{right:10px;width:83px;height:96px}

.bj-homepage .bj-card.accent{padding:18px 16px 20px;border-radius:28px;border-width:2px;background:url('tv-calendar-waves.svg') center/100% 100% no-repeat padding-box,linear-gradient(#071330,#071330) padding-box,linear-gradient(135deg,#2495ff 0%,#ffd744 30%,#ff2f4e 62%,#29a9ff 100%) border-box!important;box-shadow:0 18px 28px rgba(0,0,0,.50),0 0 0 1px rgba(48,132,255,.24),0 0 18px rgba(20,115,255,.22)}
.bj-homepage .bj-card.accent::after{display:none}
.bj-homepage .bj-calendar-head{min-height:96px}
.bj-homepage .bj-calendar-head .bj-kicker{font-size:11px;letter-spacing:.25em}
.bj-homepage .bj-calendar-head h2{font-size:clamp(28px,8.8vw,44px);max-width:74%;margin-top:8px}
.bj-homepage .bj-date-badge{width:84px;border-radius:18px;transform:rotate(3deg)}
.bj-homepage .bj-date-badge b{font-size:15px;padding:6px 0}.bj-homepage .bj-date-badge strong{font-size:40px;padding:7px 0 10px}
.bj-homepage .bj-month-nav{grid-template-columns:50px 1fr 50px;gap:8px;margin:2px 0 7px}
.bj-homepage .bj-month-nav h3{font-size:22px}
.bj-homepage .bj-nav{width:46px;height:46px}
.bj-homepage .bj-nav svg{width:24px;height:24px}
.bj-homepage .bj-week{font-size:12px;padding:4px 0 6px}
.bj-homepage .bj-dates{gap:6px;row-gap:6px}
.bj-homepage .bj-day{min-height:46px;border-radius:12px;font-size:18px;border-width:1.5px}
.bj-homepage .bj-home-play{margin:15px 2px 22px}
.bj-homepage .bj-home-play .bj-primary{min-height:76px;border-radius:28px;font-size:clamp(28px,9.2vw,40px)}
.bj-homepage .bj-home-play .bj-primary::after{margin-left:16px}

@media(min-width:521px){
  .bj-homepage .bj-shell{width:min(860px,100%)}
  .bj-homepage .bj-site-header{min-height:250px;padding:24px 22px 20px}
  .bj-homepage .bj-site-header .bj-word-logo{--logo-cell:min(68px,7vw)}
  .bj-homepage .bj-mode{min-height:136px;padding:20px 20px 18px}
  .bj-homepage .bj-mode .bj-mode-calendar{width:82px;height:96px}
  .bj-homepage .bj-mode .bj-mode-bolt{width:94px;height:108px}
  .bj-homepage .bj-card.accent{padding:24px 24px 26px}
  .bj-homepage .bj-day{min-height:56px;font-size:20px}
  .bj-homepage .bj-home-play .bj-primary{min-height:88px;font-size:42px}
}


/* v1.3.84 — recalage renforcé de l’accueil Mot du jour */
.bj-homepage{background:#030814!important}
.bj-homepage .bj-shell{padding:0 14px 38px!important;max-width:860px!important}
.bj-homepage .bj-site-header{margin:0 -14px 14px!important;padding:18px 16px 14px!important;min-height:226px!important;border-radius:0!important;background:#07122f url('tv-header-waves.svg') center/cover no-repeat!important;box-shadow:0 10px 24px rgba(0,0,0,.62)!important;display:grid!important;grid-template-columns:54px 1fr auto!important;grid-template-rows:auto auto!important;row-gap:14px!important;align-items:center!important}
.bj-homepage .bj-site-header::before,.bj-homepage .bj-site-header::after{display:none!important}
.bj-homepage .bj-site-header>.bj-icon-btn{grid-column:1;grid-row:1;justify-self:start;align-self:start;width:50px!important;height:50px!important;border-radius:50%!important;border:3px solid #3d8cff!important;background:linear-gradient(180deg,#14234d,#09152f 84%)!important;box-shadow:inset 0 1px rgba(255,255,255,.35),0 0 0 2px rgba(0,0,0,.15),0 0 14px rgba(60,135,255,.32)!important;color:#fff!important;font-size:27px!important}
.bj-homepage .bj-site-header>.bj-header-title{grid-column:2;grid-row:1;justify-self:center;align-self:start;display:block!important;margin:4px 0 0!important;font-size:clamp(21px,5.4vw,32px)!important;font-weight:900!important;letter-spacing:-.04em!important;color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,.4)!important;position:relative}
.bj-homepage .bj-site-header>.bj-header-title em{color:#ffd73d!important;text-shadow:0 0 14px rgba(255,215,61,.35)!important}
.bj-homepage .bj-site-header>.bj-header-title::after{content:"";position:absolute;left:64%;bottom:-9px;width:82px;height:8px;background:linear-gradient(90deg,#ffb82d,#ff364e,#1e6dff);border-radius:999px;transform:translateX(-50%) skewX(-16deg);box-shadow:0 0 10px rgba(255,110,44,.22)}
.bj-homepage .bj-site-header>.bj-header-actions{grid-column:3;grid-row:1;justify-self:end;align-self:start;display:flex!important;gap:8px!important}
.bj-homepage .bj-site-header>.bj-header-actions>.bj-airplane-btn,.bj-homepage .bj-site-header>.bj-header-actions>.bj-sound-btn{width:46px!important;height:46px!important;border-radius:50%!important;border:3px solid #387fff!important;background:linear-gradient(180deg,#13244c,#08152f 84%)!important;box-shadow:inset 0 1px rgba(255,255,255,.35),0 0 0 2px rgba(0,0,0,.15),0 0 14px rgba(60,135,255,.24)!important;color:#dfeaff!important;font-size:21px!important}
.bj-homepage .bj-site-header>.bj-header-actions>.bj-airplane-btn{border-color:#ffd23c!important;color:#ffd23c!important;box-shadow:inset 0 1px rgba(255,255,255,.35),0 0 0 2px rgba(0,0,0,.15),0 0 16px rgba(255,210,60,.24)!important}
.bj-homepage .bj-site-header>.bj-word-logo{grid-column:1/-1;grid-row:2;justify-self:center;align-self:end;--logo-cell:clamp(44px,9vw,64px)!important;margin:0!important;position:relative;top:-2px}
.bj-homepage .bj-site-header>.bj-word-logo .bj-word-row{gap:4px!important;align-items:end!important}
.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile{width:var(--logo-cell)!important;height:calc(var(--logo-cell)*1.06)!important;border-radius:12px!important;border:2px solid rgba(255,255,255,.18)!important;color:#fff!important;font-size:calc(var(--logo-cell)*.50)!important;font-weight:900!important;opacity:1!important;text-shadow:0 1px 2px rgba(0,0,0,.35)!important;box-shadow:inset 0 2px 3px rgba(255,255,255,.38),0 5px 0 rgba(0,0,0,.34),0 10px 18px rgba(0,0,0,.20)!important;filter:none!important;animation:none!important}
.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(1),.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(5),.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(9){background:linear-gradient(180deg,#ff4c69,#d7072c)!important;border-color:#ff95a6!important;box-shadow:inset 0 2px 3px rgba(255,255,255,.38),0 5px 0 rgba(0,0,0,.34),0 0 12px rgba(255,71,105,.24)!important}
.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(2),.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(4),.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(7),.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(8){background:linear-gradient(180deg,#2d79ff,#0e3db7)!important;border-color:#8eb5ff!important;box-shadow:inset 0 2px 3px rgba(255,255,255,.38),0 5px 0 rgba(0,0,0,.34),0 0 12px rgba(45,121,255,.22)!important}
.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(3),.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(6){background:linear-gradient(180deg,#ffd94e,#f1b100)!important;border-color:#fff1a0!important;box-shadow:inset 0 2px 3px rgba(255,255,255,.42),0 5px 0 rgba(0,0,0,.34),0 0 12px rgba(255,217,78,.22)!important}
.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(1){transform:rotate(-4deg)!important}.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(2){transform:rotate(-1deg)!important}.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(3){transform:rotate(0deg)!important}.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(4){transform:rotate(0deg)!important}.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(5){transform:rotate(0deg)!important}.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(6){transform:rotate(0deg)!important}.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(7){transform:rotate(1deg)!important}.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(8){transform:rotate(2deg)!important}.bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile:nth-child(9){transform:rotate(4deg)!important}

.bj-homepage .bj-mode-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin:0 0 18px!important}
.bj-homepage .bj-mode{min-height:116px!important;padding:16px 14px!important;border-radius:24px!important;overflow:hidden!important;position:relative!important;border:2px solid transparent!important;box-shadow:0 12px 24px rgba(0,0,0,.38)!important}
.bj-homepage .bj-mode::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.10),transparent 34%),radial-gradient(circle at 8% 18%,rgba(255,255,255,.10),transparent 20%)}
.bj-homepage .bj-mode.daily{background:#4a0015 url('home-daily-waves.svg') center/cover no-repeat!important;border-color:#ff5c6d!important;box-shadow:0 12px 24px rgba(0,0,0,.38),0 0 0 1px rgba(255,96,113,.18)!important}
.bj-homepage .bj-mode.live{background:#082366 url('home-live-waves.svg') center/cover no-repeat!important;border-color:#3b7bff!important;box-shadow:0 12px 24px rgba(0,0,0,.38),0 0 0 1px rgba(59,123,255,.18)!important}
.bj-homepage .bj-mode b{position:relative;z-index:1;display:block;max-width:54%!important;font-size:clamp(19px,6.5vw,31px)!important;line-height:.96!important;letter-spacing:-.05em!important;color:#fff!important;text-shadow:0 2px 6px rgba(0,0,0,.28)!important}
.bj-homepage .bj-mode b span{display:block;color:#fff!important}.bj-homepage .bj-mode b em{display:block;color:#ffd744!important;font-style:normal!important}
.bj-homepage .bj-mode .bj-mode-arrow{left:14px!important;bottom:13px!important;width:34px!important;height:34px!important;border:2px solid currentColor!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:28px!important;padding:0 0 4px 1px!important;z-index:1}
.bj-homepage .bj-mode.daily .bj-mode-arrow{color:#fff!important;background:rgba(78,0,24,.45)!important;border-color:#ff4360!important}
.bj-homepage .bj-mode.live .bj-mode-arrow{color:#fff!important;background:rgba(2,37,104,.45)!important;border-color:#2e77ff!important}
.bj-homepage .bj-mode .bj-mode-calendar{right:16px!important;width:76px!important;height:88px!important;transform:translateY(-50%) rotate(4deg)!important;border-radius:18px!important;box-shadow:0 10px 18px rgba(0,0,0,.35)!important;z-index:1}
.bj-homepage .bj-mode .bj-mode-calendar span{font-size:14px!important;padding:5px 0!important}.bj-homepage .bj-mode .bj-mode-calendar strong{font-size:43px!important;padding-top:2px!important}
.bj-homepage .bj-mode .bj-mode-bolt{right:10px!important;width:85px!important;height:98px!important;transform:translateY(-50%)!important;background:url('home-bolt.svg') center/contain no-repeat!important;filter:drop-shadow(0 0 12px rgba(255,210,55,.42))!important}

.bj-homepage .bj-card.accent{position:relative!important;padding:18px 16px 20px!important;border-radius:28px!important;border:2px solid transparent!important;background:#071330 url('tv-calendar-waves.svg') center/cover no-repeat padding-box,linear-gradient(135deg,#2f9cff 0%,#f8c93b 30%,#ff3b58 61%,#4ec1ff 100%) border-box!important;box-shadow:0 14px 28px rgba(0,0,0,.44)!important}
.bj-homepage .bj-card.accent::before,.bj-homepage .bj-card.accent::after{display:none!important}
.bj-homepage .bj-calendar-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;min-height:100px!important;margin-bottom:4px!important}
.bj-homepage .bj-calendar-head .bj-kicker{font-size:12px!important;letter-spacing:.25em!important;color:#1ea3ff!important}
.bj-homepage .bj-calendar-head h2{margin:10px 0 0!important;max-width:68%!important;font-size:clamp(28px,8.8vw,44px)!important;line-height:1.03!important;letter-spacing:-.05em!important;color:#fff!important}
.bj-homepage .bj-date-badge{width:84px!important;border-radius:18px!important;transform:rotate(4deg)!important;box-shadow:0 10px 18px rgba(0,0,0,.35)!important;border:2px solid #e3eefc!important}
.bj-homepage .bj-date-badge b{font-size:15px!important;padding:6px 0!important}.bj-homepage .bj-date-badge strong{font-size:41px!important;padding:8px 0 11px!important}
.bj-homepage .bj-month-nav{display:grid!important;grid-template-columns:50px 1fr 50px!important;align-items:center!important;gap:6px!important;margin:6px 0 8px!important}
.bj-homepage .bj-month-nav h3{margin:0!important;font-size:23px!important;font-weight:900!important;color:#fff!important;text-align:center!important}
.bj-homepage .bj-month-trigger{background:transparent!important;border:0!important;color:#fff!important;font:inherit!important;font-weight:900!important}
.bj-homepage .bj-nav{width:46px!important;height:46px!important;border-radius:50%!important;border:2px solid #2b82ff!important;background:linear-gradient(180deg,#10398e,#0a205a 84%)!important;display:grid!important;place-items:center!important;box-shadow:inset 0 1px rgba(255,255,255,.28),0 0 12px rgba(43,130,255,.28)!important}
.bj-homepage .bj-nav.disabled{opacity:.34!important}.bj-homepage .bj-nav svg{width:24px!important;height:24px!important;stroke-width:3!important}
.bj-homepage .bj-week{padding:4px 0 6px!important;display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:6px!important;color:#a9b4d0!important;font-size:12px!important;font-weight:800!important;letter-spacing:.04em!important}
.bj-homepage .bj-dates{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:6px!important;row-gap:6px!important}
.bj-homepage .bj-day{min-height:46px!important;border-radius:12px!important;border:1.5px solid #375885!important;background:linear-gradient(180deg,#123058,#08182f)!important;color:#eff4ff!important;font-size:18px!important;font-weight:900!important;display:grid!important;place-items:center!important;box-shadow:inset 0 1px rgba(255,255,255,.10),0 3px 7px rgba(0,0,0,.22)!important}
.bj-homepage .bj-day.future{opacity:.28!important}.bj-homepage .bj-day.won{background:linear-gradient(180deg,#205eff,#10349f)!important;border-color:#79a5ff!important}.bj-homepage .bj-day.lost{background:linear-gradient(180deg,#ff374f,#da1734)!important;border-color:#ff8594!important}
.bj-homepage .bj-day.today{background:linear-gradient(180deg,#ff3750,#ea152e)!important;border-color:#ffde49!important;color:#fff!important;outline:2px solid #ffde49!important;outline-offset:0!important;box-shadow:0 0 0 2px rgba(255,111,0,.42),0 0 14px rgba(255,214,58,.42),inset 0 1px rgba(255,255,255,.26)!important}
.bj-homepage .bj-home-play{margin:16px 2px 24px!important}.bj-homepage .bj-home-play .bj-primary{width:100%!important;min-height:78px!important;border-radius:28px!important;border:2px solid #ffe56b!important;background:linear-gradient(90deg,#ff2746 0%,#ff3550 24%,#ff7b26 71%,#ffe03a 100%)!important;color:#fff!important;font-size:clamp(29px,9.1vw,40px)!important;font-weight:950!important;letter-spacing:.02em!important;text-shadow:0 2px 6px rgba(0,0,0,.26)!important;box-shadow:inset 0 1px rgba(255,255,255,.30),0 14px 24px rgba(0,0,0,.32)!important;position:relative!important;overflow:hidden!important}
.bj-homepage .bj-home-play .bj-primary::before{content:""!important;position:absolute!important;inset:14% 8%!important;background:linear-gradient(160deg,transparent 0 18%,rgba(255,255,255,.16) 18% 21%,transparent 21% 100%)!important;pointer-events:none!important}
.bj-homepage .bj-home-play .bj-primary::after{content:"›"!important;position:relative!important;margin-left:16px!important;font-size:1.15em!important;line-height:1!important}


/* v1.3.85 — recalage mobile de précision sur la capture de référence */
@media(max-width:520px){
  .bj-homepage{background:#020713!important}
  .bj-homepage .bj-shell{padding:0 10px 30px!important;max-width:none!important}

  /* HEADER : proportions réduites pour retrouver exactement la densité de la référence */
  .bj-homepage .bj-site-header{min-height:118px!important;height:118px!important;margin:0 -10px 10px!important;padding:10px 12px 8px!important;grid-template-columns:40px 1fr auto!important;grid-template-rows:38px 58px!important;row-gap:4px!important;background:#06112c url('tv-header-waves.svg') center/100% 100% no-repeat!important;box-shadow:0 8px 18px rgba(0,0,0,.56)!important;overflow:hidden!important}
  .bj-homepage .bj-site-header>.bj-icon-btn{width:38px!important;height:38px!important;border-width:2px!important;font-size:23px!important;box-shadow:inset 0 1px rgba(255,255,255,.28),0 0 10px rgba(56,129,255,.34)!important}
  .bj-homepage .bj-site-header>.bj-header-title{font-size:18px!important;line-height:1!important;margin:5px 0 0!important;white-space:nowrap!important;transform:none!important}
  .bj-homepage .bj-site-header>.bj-header-title::after{width:64px!important;height:5px!important;bottom:-7px!important;left:63%!important}
  .bj-homepage .bj-site-header>.bj-header-actions{gap:6px!important}
  .bj-homepage .bj-site-header>.bj-header-actions>.bj-airplane-btn,.bj-homepage .bj-site-header>.bj-header-actions>.bj-sound-btn{width:36px!important;height:36px!important;border-width:2px!important;font-size:17px!important;box-shadow:inset 0 1px rgba(255,255,255,.24),0 0 10px rgba(56,129,255,.26)!important}
  .bj-homepage .bj-site-header>.bj-word-logo{--logo-cell:calc((100vw - 52px)/9)!important;top:0!important;margin:0!important;align-self:center!important}
  .bj-homepage .bj-site-header>.bj-word-logo .bj-word-row{gap:3px!important;padding:0!important}
  .bj-homepage .bj-site-header>.bj-word-logo .bj-word-tile{width:var(--logo-cell)!important;height:calc(var(--logo-cell)*1.04)!important;border-radius:9px!important;font-size:calc(var(--logo-cell)*.50)!important;border-width:1.5px!important;box-shadow:inset 0 1px 2px rgba(255,255,255,.34),0 3px 0 rgba(0,0,0,.34),0 0 10px rgba(255,255,255,.05)!important}

  /* LES 2 CARTES MODES */
  .bj-homepage .bj-mode-grid{gap:9px!important;margin:0 0 12px!important}
  .bj-homepage .bj-mode{min-height:86px!important;height:86px!important;padding:11px 10px!important;border-radius:19px!important;border-width:2px!important;box-shadow:0 8px 16px rgba(0,0,0,.34)!important}
  .bj-homepage .bj-mode b{font-size:20px!important;line-height:.92!important;max-width:55%!important;letter-spacing:-.05em!important}
  .bj-homepage .bj-mode .bj-mode-arrow{left:10px!important;bottom:9px!important;width:26px!important;height:26px!important;font-size:22px!important;padding:0 0 3px 1px!important;border-width:1.5px!important}
  .bj-homepage .bj-mode .bj-mode-calendar{right:9px!important;width:54px!important;height:63px!important;border-radius:13px!important;border-width:1.5px!important;transform:translateY(-50%) rotate(4deg)!important}
  .bj-homepage .bj-mode .bj-mode-calendar span{font-size:10px!important;padding:3px 0!important}.bj-homepage .bj-mode .bj-mode-calendar strong{font-size:29px!important;line-height:1.25!important}
  .bj-homepage .bj-mode .bj-mode-bolt{right:7px!important;width:61px!important;height:70px!important;filter:drop-shadow(0 0 8px rgba(255,210,55,.40))!important}

  /* PANNEAU CALENDRIER */
  .bj-homepage .bj-card.accent{padding:13px 13px 15px!important;border-radius:22px!important;border-width:2px!important;box-shadow:0 12px 22px rgba(0,0,0,.40),0 0 12px rgba(25,121,255,.18)!important;background:#071330 url('tv-calendar-waves.svg') center/100% 100% no-repeat padding-box,linear-gradient(135deg,#278fff 0%,#f0c542 30%,#ff405b 60%,#45b8ff 100%) border-box!important}
  .bj-homepage .bj-calendar-head{min-height:68px!important;margin-bottom:0!important}
  .bj-homepage .bj-calendar-head .bj-kicker{font-size:9px!important;letter-spacing:.24em!important}
  .bj-homepage .bj-calendar-head h2{font-size:27px!important;line-height:1!important;max-width:72%!important;margin:7px 0 0!important;letter-spacing:-.05em!important}
  .bj-homepage .bj-date-badge{width:61px!important;border-radius:13px!important;border-width:1.5px!important;transform:rotate(3deg)!important;box-shadow:0 7px 13px rgba(0,0,0,.30)!important}
  .bj-homepage .bj-date-badge b{font-size:11px!important;padding:4px 0!important}.bj-homepage .bj-date-badge strong{font-size:29px!important;padding:5px 0 7px!important}
  .bj-homepage .bj-month-nav{grid-template-columns:39px 1fr 39px!important;gap:4px!important;margin:2px 0 4px!important}
  .bj-homepage .bj-month-nav h3{font-size:18px!important}
  .bj-homepage .bj-nav{width:35px!important;height:35px!important;border-width:1.5px!important;box-shadow:inset 0 1px rgba(255,255,255,.22),0 0 9px rgba(43,130,255,.24)!important}
  .bj-homepage .bj-nav svg{width:19px!important;height:19px!important;stroke-width:3!important}
  .bj-homepage .bj-week{font-size:9px!important;padding:2px 0 4px!important;gap:4px!important;color:#9aa9c8!important}
  .bj-homepage .bj-dates{gap:4px!important;row-gap:4px!important}
  .bj-homepage .bj-day{min-height:31px!important;height:31px!important;border-radius:8px!important;border-width:1px!important;font-size:13px!important;box-shadow:inset 0 1px rgba(255,255,255,.08),0 2px 4px rgba(0,0,0,.20)!important}
  .bj-homepage .bj-day.today{outline:1.5px solid #ffdd4a!important;box-shadow:0 0 0 1.5px rgba(255,112,0,.38),0 0 10px rgba(255,214,58,.38),inset 0 1px rgba(255,255,255,.22)!important}

  /* BOUTON JOUER */
  .bj-homepage .bj-home-play{margin:12px 2px 18px!important}
  .bj-homepage .bj-home-play .bj-primary{min-height:58px!important;height:58px!important;border-radius:22px!important;border-width:2px!important;font-size:29px!important;box-shadow:inset 0 1px rgba(255,255,255,.27),0 9px 18px rgba(0,0,0,.30),0 0 13px rgba(255,190,44,.20)!important}
  .bj-homepage .bj-home-play .bj-primary::after{margin-left:12px!important;font-size:1.08em!important}
}

.bj-homepage .bj-site-header .bj-airplane-btn svg,.bj-homepage .bj-site-header .bj-sound-btn svg{width:21px;height:21px;fill:currentColor;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bj-homepage .bj-site-header .bj-sound-btn svg path:first-child{stroke:none}.bj-homepage .bj-site-header .bj-sound-btn .bj-sound-wave{fill:none}


/* v1.4.30 — cartes Mot du jour / Live Battles : titres encore légèrement remontés */
:is(.bj-homepage,.bj-livepage) .bj-mode{
  position:relative;
}
:is(.bj-homepage,.bj-livepage) .bj-mode b{
  position:absolute !important;
  left:16px !important;
  top:12px !important;
  bottom:auto !important;
  margin:0 !important;
  z-index:2 !important;
  line-height:.94 !important;
}
:is(.bj-homepage,.bj-livepage) .bj-mode b span,
:is(.bj-homepage,.bj-livepage) .bj-mode b em{
  display:block !important;
}
@media(max-width:520px){
  :is(.bj-homepage,.bj-livepage) .bj-mode b{
    left:12px !important;
    top:6px !important;
    bottom:auto !important;
  }
}

/* v1.4.40 — accueil Live Battles : attente, Mes Battles et résultats détaillés */
.bj-livepage .bj-live-section-intro{
  margin:-2px 0 14px;
  color:#aebbd4;
  font-size:13px;
  line-height:1.45;
}
.bj-livepage .bj-live-waiting{
  border-color:#2f7cff!important;
  box-shadow:0 18px 38px rgba(0,0,0,.34),0 0 18px rgba(41,112,255,.16),inset 0 1px rgba(255,255,255,.12)!important;
}
.bj-livepage .bj-my-battles{
  border-color:#f6bd35!important;
  background:
    radial-gradient(circle at 92% 8%,rgba(255,196,48,.12),transparent 24%),
    radial-gradient(circle at 4% 92%,rgba(255,45,72,.10),transparent 26%),
    linear-gradient(145deg,rgba(5,18,49,.98),rgba(6,12,30,.98))!important;
  box-shadow:0 18px 38px rgba(0,0,0,.34),0 0 18px rgba(255,193,49,.13),inset 0 1px rgba(255,255,255,.12)!important;
}
.bj-livepage .bj-my-battles .bj-kicker{color:#ffd84a!important}
.bj-livepage .bj-my-battle-row{
  border-color:rgba(255,207,70,.27)!important;
  background:linear-gradient(120deg,rgba(15,36,83,.96),rgba(8,18,43,.98))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 6px 14px rgba(0,0,0,.22)!important;
}
.bj-livepage .bj-my-battle-row.is-win{
  border-color:rgba(255,210,61,.58)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.13),0 0 13px rgba(255,199,45,.14),0 7px 16px rgba(0,0,0,.24)!important;
}
.bj-livepage .bj-my-battle-row>b{color:#ffd84b!important;white-space:nowrap}
.bj-livepage .bj-my-battle-row .bj-live-history-icon{
  background:linear-gradient(145deg,rgba(255,47,73,.28),rgba(25,93,230,.38))!important;
  border-color:rgba(255,214,64,.34)!important;
}

.bj-livepage .bj-battle-result-summary{
  position:relative;
  display:grid;
  justify-items:center;
  gap:4px;
  margin:18px 0 16px;
  padding:15px 12px 17px;
  overflow:hidden;
  border:1px solid rgba(255,216,68,.68);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(15,50,137,.96),rgba(7,24,68,.98) 58%,rgba(86,14,37,.90));
  box-shadow:inset 0 1px rgba(255,255,255,.20),0 0 18px rgba(45,122,255,.20),0 0 14px rgba(255,205,50,.10);
}
.bj-livepage .bj-battle-result-summary::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(165deg,rgba(255,255,255,.15),transparent 34%),radial-gradient(circle at 86% 14%,rgba(255,218,76,.20),transparent 24%);
}
.bj-livepage .bj-battle-result-summary>*{position:relative;z-index:1}
.bj-livepage .bj-battle-result-summary span{font-size:10px;font-weight:950;letter-spacing:.20em;color:#ffd84e}
.bj-livepage .bj-battle-result-summary strong{font-size:clamp(27px,8vw,42px);line-height:1;letter-spacing:.08em;color:#fff;text-shadow:0 0 14px rgba(73,150,255,.42),0 2px 4px rgba(0,0,0,.45)}
.bj-livepage .bj-battle-player-results{display:grid;gap:12px;margin:0 0 18px}
.bj-livepage .bj-battle-player-result{
  position:relative;
  overflow:hidden;
  padding:12px;
  border:1px solid rgba(61,128,255,.42);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(10,27,65,.98),rgba(6,14,34,.99));
  box-shadow:inset 0 1px rgba(255,255,255,.09),0 10px 20px rgba(0,0,0,.28);
}
.bj-livepage .bj-battle-player-result.is-winner{
  border-color:rgba(255,211,63,.72);
  box-shadow:inset 0 1px rgba(255,255,255,.14),0 0 18px rgba(255,195,43,.15),0 10px 20px rgba(0,0,0,.30);
}
.bj-livepage .bj-battle-player-result>header{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:9px;margin-bottom:10px}
.bj-livepage .bj-battle-player-result>header .bj-avatar{width:44px;height:44px}
.bj-livepage .bj-battle-player-result>header div{min-width:0}
.bj-livepage .bj-battle-player-result>header div>strong{display:block;font-size:16px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bj-livepage .bj-battle-player-result>header div>small{display:block;margin-top:2px;color:#9eb0ce;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.bj-livepage .bj-battle-player-result>header>b{font-size:22px;line-height:.9;color:#ffd84b;text-align:right;text-shadow:0 0 10px rgba(255,202,44,.20)}
.bj-livepage .bj-battle-player-result>header>b small{display:block;margin-top:5px;font-size:8px;letter-spacing:.14em;color:#9eafd0}
.bj-livepage .bj-battle-result-attempts{display:grid;gap:7px}
.bj-livepage .bj-battle-result-attempts>p{margin:4px 0 2px;color:#8998b4;font-size:12px;text-align:center}
.bj-livepage .bj-battle-result-attempt{display:grid;grid-template-columns:55px minmax(0,1fr) 54px;align-items:center;gap:7px}
.bj-livepage .bj-result-attempt-no{font-size:9px;font-weight:900;letter-spacing:.04em;color:#8798b8;text-transform:uppercase}
.bj-livepage .bj-result-word{display:grid;grid-template-columns:repeat(var(--result-cols),minmax(0,1fr));gap:3px;min-width:0}
.bj-livepage .bj-result-word i{
  min-width:0;
  aspect-ratio:1;
  display:grid;
  place-items:center;
  border:1px solid #263653;
  border-radius:7px;
  background:#10182a;
  color:#fff;
  font-style:normal;
  font-size:clamp(10px,3.1vw,16px);
  font-weight:950;
  text-transform:uppercase;
  box-shadow:inset 0 1px rgba(255,255,255,.08);
}
.bj-livepage .bj-result-word i.correct{background:linear-gradient(180deg,#28d47f,#0b9f5b);border-color:#54f0a1;box-shadow:inset 0 1px rgba(255,255,255,.34),0 0 8px rgba(30,212,119,.20)}
.bj-livepage .bj-result-word i.present{background:linear-gradient(180deg,#2384ff,#0755dc);border-color:#5a9cff;box-shadow:inset 0 1px rgba(255,255,255,.28),0 0 8px rgba(31,117,255,.20)}
.bj-livepage .bj-result-word i.absent{background:linear-gradient(180deg,#1a2130,#060910);border-color:#283249;color:#aeb7c8}
.bj-livepage .bj-result-word i.wildcard{background:linear-gradient(180deg,#ff344e,#b8112e);border-color:#ff6c7d}
.bj-livepage .bj-battle-result-attempt>strong{font-size:10px;color:#ffd84b;text-align:right;white-space:nowrap}

@media(max-width:520px){
  .bj-livepage .bj-battle-player-result{padding:10px;border-radius:18px}
  .bj-livepage .bj-battle-result-attempt{grid-template-columns:42px minmax(0,1fr) 43px;gap:5px}
  .bj-livepage .bj-result-attempt-no{font-size:8px}
  .bj-livepage .bj-result-word{gap:2px}
  .bj-livepage .bj-result-word i{border-radius:5px;font-size:clamp(9px,2.8vw,14px)}
  .bj-livepage .bj-battle-result-attempt>strong{font-size:9px}
  .bj-livepage .bj-my-battle-row>b{font-size:10px}
}
.bj-livepage .bj-my-battle-row>b{max-width:none!important;overflow:visible!important;text-overflow:clip!important}

/* v1.4.42 — code couleur du jeu inspiré du header BONJOUUUR : rouge / jaune / bleu */
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.correct,
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.given,
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.prefilled-correct{
  background:linear-gradient(180deg,#ff4a36 0%,#f20d12 47%,#b90012 100%)!important;
  border:2px solid #ff8b7f!important;
  color:#fff!important;
  box-shadow:inset 0 2px 2px rgba(255,255,255,.52),inset 0 -4px 7px rgba(108,0,9,.38),0 5px 0 rgba(77,0,7,.62),0 0 17px rgba(255,25,31,.68)!important;
  text-shadow:0 2px 3px rgba(77,0,0,.55),0 0 7px rgba(255,255,255,.22)!important;
}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.present{
  background:linear-gradient(180deg,#ffe956 0%,#ffc914 48%,#e99800 100%)!important;
  border:2px solid #fff19b!important;
  color:#10265b!important;
  box-shadow:inset 0 2px 2px rgba(255,255,255,.68),inset 0 -4px 7px rgba(151,85,0,.27),0 5px 0 rgba(118,67,0,.56),0 0 18px rgba(255,201,19,.68)!important;
  text-shadow:0 1px 1px rgba(255,255,255,.42)!important;
}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.present:before{content:none!important}

.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.prefilled-correct.typing,
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.given.typing{
  border:2px solid #ffd52e!important;
  box-shadow:inset 0 2px 2px rgba(255,255,255,.52),inset 0 -4px 7px rgba(108,0,9,.38),0 5px 0 rgba(77,0,7,.62),0 0 0 3px rgba(255,213,46,.34),0 0 18px rgba(255,214,10,.62)!important;
  transform:scale(1.035);
}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.absent:not(.wildcard){
  background:linear-gradient(180deg,#2396ff 0%,#0861dd 49%,#07328f 100%)!important;
  border:2px solid #72bdff!important;
  color:#fff!important;
  box-shadow:inset 0 2px 2px rgba(255,255,255,.46),inset 0 -4px 7px rgba(0,27,102,.42),0 5px 0 rgba(1,27,87,.62),0 0 17px rgba(25,126,255,.64)!important;
  text-shadow:0 2px 3px rgba(0,20,76,.58),0 0 6px rgba(255,255,255,.20)!important;
}

.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key.correct{
  background:linear-gradient(180deg,#ff4937,#eb0c16 52%,#b90012)!important;
  border-color:#ff8579!important;
  color:#fff!important;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.48),0 4px 0 #72000a,0 0 13px rgba(255,24,32,.58)!important;
}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key.present{
  background:linear-gradient(180deg,#ffe75a,#ffc512 52%,#df9300)!important;
  border:2px solid #fff093!important;
  color:#10265b!important;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.62),0 4px 0 #805300,0 0 13px rgba(255,198,20,.58)!important;
}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key.present:before{content:none!important}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key.absent{
  background:linear-gradient(180deg,#218eff,#0758d0 54%,#062f89)!important;
  border-color:#67b6ff!important;
  color:#fff!important;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.38),0 4px 0 #031e62,0 0 12px rgba(24,118,255,.50)!important;
}

/* Live Battle : progression de l'adversaire et résultat détaillé avec le même code couleur. */
.bj-livepage .bj-opponent-cell.correct{
  background:linear-gradient(180deg,#ff4936,#e90915 55%,#b80012)!important;
  border-color:#ff877c!important;
  box-shadow:inset 0 1px rgba(255,255,255,.42),0 0 8px rgba(255,28,35,.58)!important;
}
.bj-livepage .bj-opponent-cell.present{
  background:linear-gradient(180deg,#ffe75a,#ffc313 58%,#df9200)!important;
  border-color:#fff09a!important;
  box-shadow:inset 0 1px rgba(255,255,255,.52),0 0 8px rgba(255,197,17,.58)!important;
}
.bj-livepage .bj-opponent-cell.absent{
  background:linear-gradient(180deg,#218eff,#0757cf 58%,#062f88)!important;
  border-color:#65b5ff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.34),0 0 8px rgba(23,117,255,.50)!important;
}
.bj-livepage .bj-result-word i.correct{
  background:linear-gradient(180deg,#ff4937,#ea0d17 52%,#b80012)!important;
  border-color:#ff887d!important;
  color:#fff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.46),0 0 9px rgba(255,27,34,.52)!important;
}
.bj-livepage .bj-result-word i.present{
  background:linear-gradient(180deg,#ffe75a,#ffc514 52%,#df9400)!important;
  border-color:#fff099!important;
  color:#10265b!important;
  box-shadow:inset 0 1px rgba(255,255,255,.58),0 0 9px rgba(255,198,18,.52)!important;
}
.bj-livepage .bj-result-word i.absent{
  background:linear-gradient(180deg,#218eff,#0758d0 54%,#062f89)!important;
  border-color:#65b5ff!important;
  color:#fff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 9px rgba(24,118,255,.48)!important;
}


/* v1.4.43 — écran de jeu épuré + états de lettres affinés */
/* Absente : exactement la famille sombre des cases par défaut. */
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.absent:not(.wildcard){
  background:linear-gradient(145deg,#162939,#0a1420)!important;
  border:1px solid #415a6e!important;
  color:#8fa0af!important;
  box-shadow:inset 0 1px rgba(255,255,255,.12),0 4px 8px rgba(0,0,0,.56)!important;
  text-shadow:none!important;
}
/* Présente mais mal placée : fond sombre, uniquement contour + lettre jaunes. */
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.present{
  background:linear-gradient(145deg,#171d24,#0b1119)!important;
  border:2px solid #ffd52e!important;
  color:#ffe14b!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10),0 0 11px rgba(255,207,35,.50),0 4px 8px rgba(0,0,0,.52)!important;
  text-shadow:0 0 9px rgba(255,213,44,.48)!important;
}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-cell.present:before{content:none!important}
/* Même langage visuel sur le clavier. */
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key.absent{
  background:linear-gradient(145deg,#1c2a36,#0b141d)!important;
  border-color:#344959!important;
  color:#738796!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10),0 4px 0 #060b10!important;
}
.bj-themed :is(.bj-game-shell,.bj-battle-shell) .bj-key.present{
  background:linear-gradient(145deg,#1b2027,#0c1219)!important;
  border:2px solid #ffd52e!important;
  color:#ffe14b!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10),0 0 10px rgba(255,207,35,.44),0 4px 0 #080b10!important;
}

/* Pendant une partie, plus aucun grand header : seulement retour + son. */
.bj-game-toolbar{
  min-height:44px;
  margin:0 0 4px;
  padding:2px 2px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.bj-game-toolbar .bj-icon-btn,
.bj-game-toolbar .bj-sound-btn{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border:1px solid #3f6680!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#173247,#08131f)!important;
  color:#f8fbff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.20),0 4px 12px rgba(0,0,0,.45),0 0 10px rgba(35,139,255,.18)!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
}
.bj-game-toolbar .bj-icon-btn svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.bj-game-toolbar .bj-sound-btn{font-size:20px;cursor:pointer}
.bj-game-toolbar .bj-sound-btn.off{opacity:.58}

/* Le Mot du jour commence immédiatement sous la barre de commandes. */
.bj-gamepage .bj-game-playing .bj-game-head{display:none!important}
.bj-gamepage .bj-game-playing .bj-game-card{margin-top:0!important;padding-top:10px!important}
.bj-gamepage .bj-game-playing .bj-progress{margin-bottom:8px!important}
.bj-gamepage .bj-game-playing .bj-grid{scroll-margin-top:0!important}


/* v1.4.45 — grille plein écran : plus de grand container bleu autour du jeu */
.bj-gamepage .bj-shell.bj-game-shell{
  padding-left:10px;
  padding-right:10px;
}
.bj-gamepage .bj-game-playing .bj-game-card{
  margin-top:0!important;
  padding:10px 0 0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.bj-gamepage .bj-game-playing .bj-game-card:before{display:none!important}
.bj-gamepage .bj-game-playing .bj-progress{padding:0 2px!important}
.bj-gamepage .bj-game-playing .bj-grid{width:100%!important;max-width:none!important;margin:0 auto!important}
.bj-gamepage .bj-game-playing .bj-double-row,
.bj-gamepage .bj-game-playing .bj-keyboard,
.bj-gamepage .bj-game-playing .bj-hint{width:100%!important;max-width:none!important}

/* En Live Battle actif, le grand header vidéo et les cartes de mode sont remplacés par la même barre compacte. */
.bj-livepage .bj-battle-playing>.bj-game-toolbar{margin-bottom:4px}
.bj-livepage .bj-battle-playing .bj-battle-game-card{margin-top:0!important;padding-top:10px!important}
.bj-livepage .bj-battle-playing .bj-battle-game-card>.bj-live-room-head{display:none!important}
.bj-livepage .bj-battle-playing .bj-battle-progress{margin-top:0!important;margin-bottom:8px!important}
.bj-livepage .bj-battle-playing [data-battle-grid]{margin-top:0!important}

/* Résumés Live Battle : même sémantique visuelle que la grille. */
.bj-livepage .bj-result-word i.present{
  background:linear-gradient(145deg,#171d24,#0b1119)!important;
  border:2px solid #ffd52e!important;
  color:#ffe14b!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10),0 0 8px rgba(255,207,35,.42)!important;
}
.bj-livepage .bj-result-word i.absent{
  background:linear-gradient(145deg,#162939,#0a1420)!important;
  border-color:#415a6e!important;
  color:#8fa0af!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10)!important;
}
.bj-livepage .bj-opponent-cell.present{
  background:linear-gradient(145deg,#171d24,#0b1119)!important;
  border-color:#ffd52e!important;
  box-shadow:0 0 8px rgba(255,207,35,.38)!important;
}
.bj-livepage .bj-opponent-cell.absent{
  background:linear-gradient(145deg,#162939,#0a1420)!important;
  border-color:#415a6e!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08)!important;
}

@media(max-width:600px){
  .bj-gamepage .bj-game-shell,
  .bj-livepage .bj-battle-playing{padding-top:2px!important}
  .bj-game-toolbar{min-height:40px;margin-bottom:2px;padding-top:0}
  .bj-game-toolbar .bj-icon-btn,
  .bj-game-toolbar .bj-sound-btn{width:39px!important;height:39px!important;min-width:39px!important}
  .bj-gamepage .bj-game-playing .bj-game-card,
  .bj-livepage .bj-battle-playing .bj-battle-game-card{padding-top:8px!important}
  .bj-gamepage .bj-game-playing .bj-progress,
  .bj-livepage .bj-battle-playing .bj-battle-progress{margin-bottom:6px!important}
}
.bj-gamepage[data-offline-game] .bj-offline-game-status{margin:0 0 5px!important;padding:5px 8px!important;font-size:10px!important;line-height:1.2!important}


/* v1.4.47 — harmonisation calendrier, profil, jeu et Live Battle */
/* Calendrier : chaque date est un carré réel sur toutes les tailles d'écran. */
.bj-homepage .bj-dates{align-items:start!important}
.bj-homepage .bj-day{
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  padding:0!important;
  border-radius:clamp(8px,2.2vw,14px)!important;
}

/* Joker ×2 : rendu TV glossy rouge / jaune / bleu, plus moderne. */
:is(.bj-game-shell,.bj-battle-shell) .bj-double{
  position:relative;
  overflow:hidden;
  width:min(100%,340px)!important;
  min-height:84px!important;
  border:2px solid #ffd746!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 16% 20%,rgba(255,224,72,.30),transparent 27%),
    linear-gradient(118deg,#ff243f 0%,#e8183a 25%,#174dc4 68%,#071a57 100%)!important;
  box-shadow:inset 0 2px rgba(255,255,255,.30),inset 0 -10px 24px rgba(0,0,0,.22),0 0 0 2px rgba(255,198,33,.14),0 0 24px rgba(255,195,28,.30),0 10px 22px rgba(0,0,0,.36)!important;
}
:is(.bj-game-shell,.bj-battle-shell) .bj-double:after{
  content:"";position:absolute;left:-10%;top:-34%;width:120%;height:58%;transform:rotate(-4deg);
  background:linear-gradient(180deg,rgba(255,255,255,.26),rgba(255,255,255,0));pointer-events:none;
}
:is(.bj-game-shell,.bj-battle-shell) .bj-double>*{position:relative;z-index:1}
:is(.bj-game-shell,.bj-battle-shell) .bj-double span{color:#ffd940;filter:drop-shadow(0 0 10px rgba(255,210,36,.75))}
:is(.bj-game-shell,.bj-battle-shell) .bj-double b{color:#fff!important;text-shadow:0 2px 4px rgba(0,0,0,.45),0 0 10px rgba(255,219,75,.32)!important}
:is(.bj-game-shell,.bj-battle-shell) .bj-double small{color:#ffe978!important}
:is(.bj-game-shell,.bj-battle-shell) .bj-double.active{
  filter:brightness(1.12) saturate(1.15);
  box-shadow:inset 0 2px rgba(255,255,255,.34),0 0 0 3px rgba(255,219,58,.36),0 0 32px rgba(255,206,36,.60),0 11px 24px rgba(0,0,0,.38)!important;
}
:is(.bj-game-shell,.bj-battle-shell) .bj-double.is-used{filter:saturate(.55) brightness(.68)!important;opacity:.72!important}

/* Fin de partie : plus aucun bouton vert. */
.bj-gamepage .bj-final .bj-final-back{
  background:linear-gradient(105deg,#ff2446 0%,#ff5a31 48%,#ffd83d 100%)!important;
  border:1px solid #ffe577!important;
  color:#fff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.34),0 0 18px rgba(255,68,47,.34),0 9px 20px rgba(0,0,0,.30)!important;
}

/* Profil : bleu nuit / rouge / jaune / bleu, sans vert. */
.bj-profile-modal{background:rgba(1,5,15,.92)!important}
.bj-profile-panel,.bj-avatar-studio{
  border:2px solid #347cff!important;
  background:linear-gradient(145deg,#06142f 0%,#071020 58%,#180815 100%)!important;
  box-shadow:0 0 0 1px rgba(255,44,72,.22),0 0 28px rgba(46,112,255,.28),0 26px 80px rgba(0,0,0,.78)!important;
}
.bj-studio-head,.bj-studio-tabs,.bj-studio-bottom{
  background:linear-gradient(105deg,#071630,#0b1632 58%,#2b0b1b)!important;
  border-color:rgba(74,126,255,.38)!important;
}
.bj-profile-panel .bj-kicker,.bj-studio-head .bj-kicker{color:#ffd84a!important}
.bj-profile-panel input,.bj-profile-panel select{
  background:#09172d!important;border:1px solid #3b70c7!important;color:#fff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08)!important;
}
.bj-profile-edit,.bj-random-btn,.bj-profile-confirm-actions>button{
  background:linear-gradient(135deg,#164fb7,#09296d)!important;border:1px solid #4f91ff!important;color:#fff!important;
}
.bj-profile-delete,.bj-profile-delete-final{
  background:linear-gradient(135deg,#ff324d,#b80e30)!important;border:1px solid #ff7185!important;color:#fff!important;
}
.bj-studio-tab.active,.bj-studio-choice.selected,.bj-avatar-choice.selected{
  background:linear-gradient(135deg,#173f9f,#0c2a70)!important;
  border-color:#ffd84a!important;color:#fff!important;
  box-shadow:0 0 0 2px rgba(255,216,74,.18),0 0 14px rgba(47,119,255,.34)!important;
}
.bj-avatar-studio .bj-avatar-preview{border-color:#ffd84a!important;box-shadow:0 0 0 5px rgba(43,112,255,.24),0 0 22px rgba(255,208,54,.25)!important}

/* Live Battle : même univers que le Mot du jour. */
.bj-livepage .bj-live-home,.bj-livepage .bj-live-section,.bj-livepage .bj-live-room,.bj-livepage .bj-battle-ranking{
  border:2px solid rgba(60,126,255,.62)!important;
  border-top-color:#ff4059!important;
  background:
    radial-gradient(circle at 92% 5%,rgba(255,210,45,.13),transparent 24%),
    radial-gradient(circle at 5% 95%,rgba(255,45,72,.14),transparent 26%),
    linear-gradient(145deg,#061530,#071020 62%,#100914)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.14),0 0 18px rgba(42,105,255,.17),0 16px 32px rgba(0,0,0,.42)!important;
}
.bj-livepage .bj-live-home .bj-kicker,.bj-livepage .bj-live-section .bj-kicker,.bj-livepage .bj-battle-ranking .bj-kicker,.bj-livepage .bj-live-room .bj-kicker{color:#ffd84a!important}
.bj-livepage .bj-live-create-toggle{
  border:2px solid #ffd84a!important;
  background:linear-gradient(105deg,#ff2545,#e8163c 38%,#1451c6 100%)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.36),0 0 20px rgba(255,56,70,.25),0 7px 0 #07184d!important;
}
.bj-livepage .bj-live-create-form{background:#07142b!important;border-color:#376ed0!important}
.bj-livepage .bj-live-create-form label{color:#ffd84a!important}
.bj-livepage .bj-live-create-form select{background:#08172e!important;border-color:#4d85ef!important;color:#fff!important}
.bj-livepage .bj-live-list-row,.bj-livepage .bj-live-history-row,.bj-livepage .bj-player{
  background:linear-gradient(120deg,#0d2452,#07142d)!important;border-color:rgba(74,129,239,.42)!important;
}
.bj-livepage .bj-live-list-row>b,.bj-livepage .bj-live-history-row>b{color:#ffd84a!important}
.bj-livepage .bj-whatsapp,.bj-livepage .bj-copy-link,.bj-livepage .bj-live-start,.bj-livepage .bj-live-home-back{
  background:linear-gradient(105deg,#ff2848,#df1539 42%,#174fc2)!important;
  border:1px solid #ffd84a!important;color:#fff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.28),0 0 14px rgba(47,107,255,.22)!important;
}

/* Battle réellement en cours : même ergonomie compacte que le Mot du jour. */
.bj-livepage .bj-battle-playing{padding-left:10px!important;padding-right:10px!important}
.bj-livepage .bj-battle-playing .bj-battle-game-card{
  padding:10px 0 0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;
}
.bj-livepage .bj-battle-playing .bj-battle-game-card:before{display:none!important}
.bj-livepage .bj-battle-playing .bj-players{display:none!important}
.bj-livepage .bj-battle-playing .bj-battle-progress{padding:0 2px!important;margin:0 0 8px!important}
.bj-livepage .bj-battle-playing [data-battle-grid]{width:100%!important;max-width:none!important;margin:0 auto!important}
.bj-livepage .bj-battle-playing .bj-battle-play-form{gap:0!important}
.bj-livepage .bj-battle-playing .bj-double-row,.bj-livepage .bj-battle-playing .bj-keyboard{width:100%!important;max-width:none!important}

/* v1.4.47 — finitions profil et boutons Battle */
.bj-profile-avatar-action{color:#ffd84a!important}
.bj-profile-avatar-action .bj-avatar-art{border-color:#ffd84a!important;box-shadow:0 0 0 4px rgba(37,105,255,.24),0 0 18px rgba(255,209,57,.28)!important}
.bj-livepage .bj-primary,.bj-livepage .bj-live-create-form .bj-primary{
  background:linear-gradient(105deg,#ff2848 0%,#df1539 42%,#174fc2 100%)!important;
  border:1px solid #ffd84a!important;
  color:#fff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.28),0 0 14px rgba(47,107,255,.22),0 8px 18px rgba(0,0,0,.26)!important;
}

.bj-livepage .bj-live-section[hidden]{display:none!important}

/* v1.4.48 — proposition d'installation PWA LMDJ Bonjour */
.bj-install-overlay{
  position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:18px;
  background:rgba(1,5,14,.78);backdrop-filter:blur(8px);opacity:0;transition:opacity .18s ease;
}
.bj-install-overlay.is-visible{opacity:1}
.bj-install-dialog{
  position:relative;width:min(100%,410px);padding:26px 22px 22px;text-align:center;color:#fff;
  border:2px solid rgba(58,132,255,.85);border-radius:30px;
  background:
    radial-gradient(circle at 16% 10%,rgba(255,33,58,.28),transparent 30%),
    radial-gradient(circle at 86% 18%,rgba(24,116,255,.34),transparent 34%),
    linear-gradient(155deg,#071126 0%,#040812 58%,#10070b 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.22),0 0 0 1px rgba(255,210,46,.20),0 22px 70px rgba(0,0,0,.62),0 0 34px rgba(38,118,255,.22);
  transform:translateY(8px) scale(.985);transition:transform .18s ease;
}
.bj-install-overlay.is-visible .bj-install-dialog{transform:none}
.bj-install-dialog:before{
  content:"";position:absolute;inset:0;border-radius:28px;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,45,63,.58),rgba(255,214,49,.55) 48%,rgba(34,123,255,.66));
  padding:2px;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;
}
.bj-install-close{position:absolute;top:10px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:#111b2a;color:#fff;font-size:27px;line-height:1;cursor:pointer}
.bj-install-icon{display:block;width:104px;height:104px;margin:0 auto 14px;border-radius:24px;box-shadow:0 0 0 2px rgba(255,255,255,.13),0 9px 25px rgba(0,0,0,.5),0 0 24px rgba(255,197,31,.24)}
.bj-install-dialog h2{margin:0;font-size:26px;line-height:1.05;letter-spacing:-.5px}
.bj-install-intro{margin:11px auto 8px;max-width:330px;color:#dfe9f8;font-size:14px;line-height:1.45}
.bj-install-note{margin:8px auto 0;color:#ffd94e;font-size:12px;font-weight:800}
.bj-install-steps{margin:15px 0 5px;padding:0;counter-reset:step;display:grid;gap:8px;text-align:left;list-style:none}
.bj-install-steps li{position:relative;padding:10px 11px 10px 43px;border:1px solid rgba(72,137,255,.35);border-radius:14px;background:rgba(8,21,47,.82);color:#edf5ff;font-size:13px;line-height:1.35}
.bj-install-steps li:before{counter-increment:step;content:counter(step);position:absolute;left:10px;top:50%;translate:0 -50%;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ff3148,#e50b26);color:#fff;font-weight:950;box-shadow:0 0 12px rgba(255,35,58,.35)}
.bj-install-actions{display:grid;gap:9px;margin-top:17px}
.bj-install-primary,.bj-install-secondary{min-height:52px;border-radius:16px;font-weight:950;font-size:15px;cursor:pointer}
.bj-install-primary{border:1px solid #ffe073;background:linear-gradient(110deg,#f41632 0%,#ff761d 48%,#ffd83d 100%);color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.42),0 8px 22px rgba(255,65,25,.26),0 0 18px rgba(255,207,31,.18)}
.bj-install-secondary{border:1px solid #38557b;background:linear-gradient(145deg,#12233c,#08111e);color:#cfe2ff}
@media(max-width:380px){.bj-install-dialog{padding:22px 16px 18px}.bj-install-icon{width:88px;height:88px;border-radius:21px}.bj-install-dialog h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.bj-install-overlay,.bj-install-dialog{transition:none}}

/* v1.4.49 — refonte de l'écran de création de compte, alignée sur le Mot du jour */
.bj-profile-modal:has(.bj-welcome-panel){padding:0;background:rgba(1,6,16,.96)!important}
.bj-welcome-panel{width:100%;max-width:none;min-height:100dvh;max-height:none;border:0;border-radius:0;padding:0;background:
radial-gradient(circle at 10% 26%,rgba(255,34,72,.18),transparent 20%),
radial-gradient(circle at 88% 10%,rgba(10,77,255,.18),transparent 24%),
radial-gradient(circle at 86% 88%,rgba(0,167,255,.16),transparent 20%),
linear-gradient(135deg,#030813 0%,#051231 38%,#030812 100%);box-shadow:none}
.bj-welcome-step{display:block;min-height:100dvh;padding:0 0 34px;overflow:auto}
.bj-welcome-header{margin:0 0 18px!important}
.bj-welcome-header .bj-word-logo{pointer-events:none}
.bj-welcome-header .bj-word-row{justify-content:center}
.bj-welcome-header .bj-header-video{object-position:center center}
.bj-welcome-header-btn{display:grid;place-items:center;pointer-events:none;user-select:none}
.bj-welcome-stage{padding:0 14px 10px}
.bj-welcome-form-card{width:min(100%,760px);margin:0 auto;display:grid;gap:18px;padding:24px 20px 24px;border-radius:30px;border:1px solid rgba(79,143,255,.46);background:
radial-gradient(circle at 0% 0%,rgba(255,35,63,.18),transparent 26%),
radial-gradient(circle at 100% 0%,rgba(255,211,60,.18),transparent 24%),
radial-gradient(circle at 100% 100%,rgba(28,108,255,.18),transparent 28%),
linear-gradient(180deg,rgba(8,20,40,.97),rgba(6,16,30,.98));box-shadow:0 16px 48px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.1),0 0 26px rgba(12,94,255,.14)}
.bj-welcome-copy{display:grid;gap:6px}
.bj-welcome-kicker{display:inline-flex;justify-self:start;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;border:1px solid rgba(122,204,255,.8);background:rgba(7,27,50,.86);color:#d8f5ff;font-size:12px;font-weight:900;letter-spacing:.18em}
.bj-welcome-kicker::before{content:"✦";color:#ffd84a}
.bj-welcome-form-card h2{margin:0;color:#fff;font-size:clamp(32px,6vw,46px);line-height:1;letter-spacing:-.05em;text-shadow:0 6px 18px rgba(0,0,0,.35)}
.bj-welcome-form-card p{margin:0;color:#d7e2f0;font-size:15px;line-height:1.55}
.bj-welcome-fields{display:grid;gap:14px}
.bj-welcome-fields label{display:block;font-size:15px;color:#fff;font-weight:900;letter-spacing:.01em}
.bj-welcome-form-card input{margin-top:8px;min-height:60px;padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,#0d2543,#09182d);border:1px solid rgba(78,141,255,.55);color:#fff;font-size:17px;box-shadow:inset 0 1px rgba(255,255,255,.1),0 0 0 1px rgba(0,0,0,.08)}
.bj-welcome-form-card input::placeholder{color:#7f93ac}
.bj-welcome-form-card input:focus{outline:none;border-color:#ffd84a;box-shadow:0 0 0 3px rgba(37,105,255,.18),0 0 20px rgba(255,209,57,.26)}
.bj-welcome-form-card .bj-city-options{margin-top:8px;border-radius:18px}
.bj-welcome-submit{min-height:70px;margin-top:2px;border:1px solid #ffe37c;border-radius:22px;background:linear-gradient(90deg,#ff2556 0%,#ff8a2d 55%,#ffd83b 100%);box-shadow:inset 0 1px rgba(255,255,255,.56),0 14px 28px rgba(0,0,0,.28),0 0 20px rgba(255,188,47,.3);font-size:22px;font-weight:950;letter-spacing:.02em;color:#fff;text-shadow:0 3px 8px rgba(0,0,0,.35)}
.bj-welcome-submit:hover{filter:brightness(1.03)}
.bj-welcome-submit:active{transform:translateY(1px)}
@media(max-width:700px){.bj-welcome-header{margin-bottom:14px!important}.bj-welcome-form-card{padding:22px 16px 22px;border-radius:26px}.bj-welcome-form-card h2{font-size:clamp(28px,8vw,40px)}.bj-welcome-submit{min-height:66px;font-size:20px}}
@media(max-width:520px){.bj-welcome-step{padding-bottom:24px}.bj-welcome-stage{padding:0 12px 8px}.bj-welcome-form-card{padding:20px 16px 20px;border-radius:24px}.bj-welcome-fields{gap:12px}.bj-welcome-form-card input{min-height:58px;font-size:16px}}


/* v1.4.50 — premier écran ultra simple + avatar anonyme */
.bj-profile-modal:has(.bj-welcome-panel),
.bj-profile-modal:has(.bj-welcome-panel) .bj-welcome-panel,
.bj-profile-modal:has(.bj-welcome-panel) .bj-welcome-step{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.bj-profile-modal:has(.bj-welcome-panel)::before,
.bj-profile-modal:has(.bj-welcome-panel)::after,
.bj-welcome-panel::before,
.bj-welcome-panel::after{display:none!important}
.bj-welcome-stage{padding-top:0!important}
.bj-welcome-form-card{
  gap:14px!important;
  padding-top:20px!important;
  border-color:rgba(79,143,255,.28)!important;
}
.bj-welcome-copy,.bj-welcome-kicker{display:none!important}
.bj-welcome-fields{gap:12px!important}
.bj-welcome-fields label{font-size:15px!important;margin:0!important}
@media(max-width:520px){
  .bj-welcome-header{margin-bottom:10px!important}
  .bj-welcome-form-card{padding:18px 16px 20px!important}
}


/* v1.4.53 — profil simplifié + invitation WhatsApp */
.bj-profile-topbar{justify-content:flex-end!important;min-height:58px!important;padding:10px 14px!important}
.bj-profile-topbar .bj-profile-close{margin-left:auto!important}
.bj-profile-summary{gap:10px!important}
.bj-profile-main-title{
  width:min(100%,350px);margin:8px 0 0!important;text-align:left;
  color:#fff;font-size:clamp(30px,7vw,42px)!important;line-height:1!important;letter-spacing:-.04em;
  text-shadow:0 4px 16px rgba(0,0,0,.34),0 0 16px rgba(37,105,255,.16);
}
.bj-profile-whatsapp{
  width:min(100%,350px);min-height:54px;display:flex;align-items:center;justify-content:center;gap:11px;
  padding:10px 16px;border:1px solid #7df0a6;border-radius:15px;text-decoration:none;
  background:linear-gradient(145deg,#2ee36f 0%,#25d366 45%,#128c4b 100%);color:#fff;
  box-shadow:inset 0 1px rgba(255,255,255,.38),0 8px 18px rgba(0,0,0,.24),0 0 18px rgba(37,211,102,.28);
  font:inherit;font-size:15px;font-weight:900;letter-spacing:.01em;
}
.bj-profile-whatsapp svg{width:25px;height:25px;flex:none;fill:currentColor;filter:drop-shadow(0 2px 3px rgba(0,0,0,.24))}
.bj-profile-whatsapp:active{transform:translateY(1px)}
.bj-profile-delete{margin-top:4px!important}
@media(max-width:520px){.bj-profile-main-title{font-size:34px!important}.bj-profile-whatsapp{min-height:52px}}

/* v1.4.54 — profil plein écran, sans bordure, plus moderne */
.bj-profile-modal:not(:has(.bj-welcome-panel)){
  padding:0!important;
  background:
    radial-gradient(circle at 10% 18%,rgba(255,37,78,.22),transparent 22%),
    radial-gradient(circle at 92% 12%,rgba(25,92,255,.24),transparent 26%),
    radial-gradient(circle at 82% 90%,rgba(255,205,53,.12),transparent 24%),
    linear-gradient(145deg,#030812 0%,#06142e 48%,#050916 100%)!important;
}
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-panel,
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-avatar-studio{
  width:100%!important;max-width:none!important;min-height:100dvh!important;max-height:none!important;
  border:0!important;border-radius:0!important;padding:0!important;
  background:transparent!important;box-shadow:none!important;overflow:auto!important;
}
.bj-profile-topbar{
  position:sticky;top:0;z-index:8;display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:82px!important;padding:18px 18px 14px!important;
  border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;
  background:linear-gradient(180deg,rgba(3,8,18,.96),rgba(5,16,36,.88))!important;
  backdrop-filter:blur(14px);
  box-shadow:0 12px 28px rgba(0,0,0,.22)!important;
}
.bj-profile-topbar .bj-profile-main-title{
  width:auto!important;margin:0!important;text-align:left!important;
  font-size:clamp(34px,8vw,48px)!important;line-height:.98!important;font-weight:950!important;
  color:#fff!important;letter-spacing:-.05em!important;
  text-shadow:0 0 22px rgba(36,103,255,.3),0 3px 12px rgba(0,0,0,.45)!important;
}
.bj-profile-topbar .bj-profile-main-title::after{
  content:"";display:block;width:82px;height:5px;margin-top:10px;border-radius:999px;
  background:linear-gradient(90deg,#ff2b52,#ffd53d 52%,#1f66ff);
  box-shadow:0 0 16px rgba(255,210,61,.34);
}
.bj-profile-topbar .bj-profile-close{
  position:static!important;display:grid;place-items:center;width:46px;height:46px;margin:0!important;padding:0!important;
  border:1px solid rgba(255,255,255,.14)!important;border-radius:50%!important;
  background:linear-gradient(180deg,rgba(20,35,74,.86),rgba(7,13,28,.94))!important;
  color:#fff!important;font-size:30px!important;line-height:1!important;
  box-shadow:inset 0 1px rgba(255,255,255,.15),0 8px 18px rgba(0,0,0,.25)!important;
}
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-summary{
  width:min(100%,620px)!important;margin:0 auto!important;padding:28px 18px 36px!important;gap:14px!important;
}
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-avatar-action .bj-avatar-art{
  width:116px!important;height:116px!important;border:3px solid #ffd84a!important;
  box-shadow:0 0 0 5px rgba(37,105,255,.22),0 0 24px rgba(255,208,54,.3)!important;
}
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-summary>strong{
  margin-top:4px;font-size:clamp(28px,7vw,40px)!important;font-weight:950!important;letter-spacing:-.03em;
}
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-summary>p{
  margin:-4px 0 8px!important;color:#aebed1!important;font-size:15px!important;
}
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-edit,
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-whatsapp,
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-delete{
  width:min(100%,390px)!important;min-height:56px!important;border-radius:18px!important;font-size:16px!important;
}
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-edit{
  background:linear-gradient(135deg,#1e63ff,#0b2d87)!important;border-color:#72a5ff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.28),0 10px 24px rgba(0,0,0,.22),0 0 18px rgba(40,106,255,.26)!important;
}
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-whatsapp{
  border-color:#78eda0!important;border-radius:18px!important;
}
.bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-delete{
  margin-top:8px!important;background:linear-gradient(135deg,#ff3655,#a90d2a)!important;
  border-color:#ff7a8d!important;box-shadow:inset 0 1px rgba(255,255,255,.22),0 10px 24px rgba(0,0,0,.2),0 0 16px rgba(255,45,77,.2)!important;
}
@media(max-width:520px){
  .bj-profile-topbar{min-height:76px!important;padding:16px 14px 12px!important}
  .bj-profile-topbar .bj-profile-main-title{font-size:36px!important}
  .bj-profile-topbar .bj-profile-close{width:42px;height:42px;font-size:28px!important}
  .bj-profile-modal:not(:has(.bj-welcome-panel)) .bj-profile-summary{padding:24px 14px 30px!important}
}

/* v1.4.55 — marqueur discret des parties Mot du jour en cours */
.bj-homepage .bj-day.in-progress{position:relative}
.bj-homepage .bj-day.in-progress::after{
  content:"";position:absolute;left:50%;bottom:4px;width:6px;height:6px;border-radius:50%;
  transform:translateX(-50%);background:#ffd431;border:1px solid rgba(255,255,255,.78);
  box-shadow:0 0 5px rgba(255,212,49,.95),0 0 10px rgba(255,212,49,.55);
}
@media(max-width:520px){.bj-homepage .bj-day.in-progress::after{bottom:3px;width:5px;height:5px}}

/* v1.4.56 — date complète au-dessus de la grille du Mot du jour */
.bj-gamepage .bj-game-date-title{
  width:100%;
  margin:0 0 12px;
  text-align:center;
  color:#fff;
  font-size:clamp(16px,4.4vw,22px);
  line-height:1.15;
  font-weight:950;
  letter-spacing:-.02em;
  text-transform:none;
  text-shadow:0 2px 10px rgba(0,0,0,.5),0 0 16px rgba(48,115,255,.26);
}
.bj-gamepage .bj-game-playing .bj-game-date-title{
  margin-top:0;
  padding:1px 4px 2px;
}

/* v1.4.58 — classement Live Battle : avatar identique au classement Mot du jour */
.bj-livepage .bj-battle-ranking .bj-rank-avatar{
  display:grid!important;
  place-items:center!important;
  flex:none!important;
  width:35px!important;
  height:35px!important;
  overflow:hidden!important;
  border:2px solid #96e9df!important;
  border-radius:50%!important;
  background:transparent!important;
  padding:0!important;
}
.bj-livepage .bj-battle-ranking .bj-rank-avatar .bj-avatar-art{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
}
@media(max-width:480px){
  .bj-livepage .bj-battle-ranking .bj-rank-avatar{width:30px!important;height:30px!important}
}

/* v1.4.59 — Live Battle : salle d'attente modernisée et suivi des adversaires en jeu */
.bj-livepage .bj-live-room{
  border:2px solid rgba(62,126,255,.78)!important;
  border-top-color:#ff4d4d!important;
  background:
    radial-gradient(circle at 12% 10%,rgba(255,62,81,.20),transparent 28%),
    radial-gradient(circle at 88% 0%,rgba(255,216,74,.16),transparent 24%),
    radial-gradient(circle at 92% 92%,rgba(48,123,255,.18),transparent 30%),
    linear-gradient(145deg,#08122a 0%,#07142d 58%,#0d1020 100%)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.16),0 0 24px rgba(42,105,255,.18),0 20px 40px rgba(0,0,0,.44)!important;
}
.bj-livepage .bj-live-room .bj-kicker{color:#ffd84a!important;text-shadow:0 0 12px rgba(255,216,74,.32)}
.bj-livepage .bj-live-room-head .bj-code{
  color:#ffd84a!important;
  letter-spacing:.14em;
  text-shadow:0 0 22px rgba(255,216,74,.34),0 0 42px rgba(44,122,255,.20)!important;
}
.bj-livepage .bj-live-room-head p{color:#e4edff!important;font-size:clamp(16px,4.2vw,20px)}
.bj-livepage .bj-live-room .bj-players{gap:12px;margin:18px 0 20px}
.bj-livepage .bj-live-room .bj-player{
  padding:14px 16px!important;
  border-radius:24px!important;
  background:
    linear-gradient(145deg,rgba(8,24,58,.96),rgba(7,18,41,.96))!important;
  border:1.5px solid rgba(73,132,255,.46)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10),0 0 18px rgba(37,108,255,.12)!important;
}
.bj-livepage .bj-live-room .bj-player>div>b{font-size:clamp(18px,4.8vw,22px);color:#fff}
.bj-livepage .bj-live-room .bj-player>strong{font-size:clamp(18px,4.8vw,24px);color:#fff}
.bj-livepage .bj-live-room .bj-player .bj-online{color:#58eb95!important;font-size:12px;font-weight:850;letter-spacing:.04em}
.bj-livepage .bj-whatsapp{
  min-height:58px;
  margin:16px 0 14px;
  border:2px solid #8affc4!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#24d366 0%,#18c25d 46%,#0b8f4e 100%)!important;
  color:#fff!important;
  box-shadow:inset 0 2px rgba(255,255,255,.26),0 14px 26px rgba(0,0,0,.24),0 0 18px rgba(36,211,102,.26)!important;
  font-size:clamp(16px,4.2vw,18px);
  font-weight:950;
  text-shadow:0 2px 6px rgba(0,0,0,.20);
}
.bj-livepage .bj-whatsapp svg{width:28px;height:28px}
.bj-livepage .bj-copy-link{display:none!important}
.bj-livepage [data-live-start-help]{display:none!important}
.bj-livepage .bj-live-room .bj-live-start{
  width:100%;
  min-height:60px;
  border-radius:24px!important;
  border:2px solid rgba(255,231,111,.78)!important;
  background:linear-gradient(92deg,#ff2148 0%,#ff5838 32%,#ff8f2f 58%,#ffd62b 100%)!important;
  box-shadow:inset 0 2px rgba(255,255,255,.28),0 15px 28px rgba(0,0,0,.24),0 0 22px rgba(255,214,47,.18)!important;
  font-size:clamp(18px,4.8vw,22px);
  letter-spacing:.02em;
}
.bj-livepage .bj-live-room .bj-live-start[disabled]{opacity:.58;filter:saturate(.75)}

.bj-live-overlay{
  background:radial-gradient(circle at 50% 32%,rgba(14,31,77,.72),rgba(4,7,18,.92) 70%);
  backdrop-filter:blur(12px);
}
.bj-live-overlay.countdown .bj-live-overlay-inner{
  width:min(100%,560px);
  min-height:370px;
  padding:26px 18px 34px;
  border-radius:36px;
  border:2px solid rgba(69,133,255,.56);
  background:
    radial-gradient(circle at 18% 18%,rgba(255,69,88,.22),transparent 24%),
    radial-gradient(circle at 82% 8%,rgba(255,216,74,.22),transparent 20%),
    radial-gradient(circle at 76% 86%,rgba(43,113,255,.22),transparent 25%),
    linear-gradient(145deg,rgba(8,20,46,.98),rgba(8,13,28,.98));
  box-shadow:inset 0 1px rgba(255,255,255,.18),0 0 30px rgba(38,107,255,.18),0 30px 60px rgba(0,0,0,.48);
}
.bj-live-overlay.countdown .bj-live-overlay-bolt{font-size:92px;color:#ffd84a;filter:drop-shadow(0 0 24px rgba(255,216,74,.64))}
.bj-live-overlay.countdown p{color:#fff!important;font-size:clamp(20px,5.4vw,32px);font-weight:950;letter-spacing:.12em;text-align:center}
.bj-live-overlay.countdown .bj-live-count{
  display:grid;place-items:center;
  width:min(58vw,220px);aspect-ratio:1;border-radius:50%;
  border:3px solid rgba(255,231,111,.86);
  background:radial-gradient(circle at 30% 28%,rgba(255,255,255,.28),transparent 18%),linear-gradient(145deg,#ff2649 0%,#ff6a35 38%,#ffd62b 100%);
  color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.30),0 0 18px rgba(255,255,255,.28);
  box-shadow:inset 0 4px rgba(255,255,255,.26),0 0 28px rgba(255,214,47,.28),0 0 0 10px rgba(40,107,255,.18);
}
.bj-live-overlay.countdown span{font-size:clamp(15px,3.7vw,18px);font-weight:800;color:#bcd2ff;letter-spacing:.08em;text-transform:uppercase}
.bj-live-overlay-sound{border:1px solid rgba(73,133,255,.82)!important;background:linear-gradient(145deg,#0f2858,#0b1731)!important;color:#fff!important;box-shadow:inset 0 1px rgba(255,255,255,.18),0 0 14px rgba(43,113,255,.18)!important}

.bj-live-opponents{display:grid;gap:10px;margin:0 0 12px}
.bj-live-opponents[hidden]{display:none!important}
.bj-live-opponent-card{
  padding:12px 14px;
  border-radius:20px;
  border:1.5px solid rgba(70,131,255,.44);
  background:
    radial-gradient(circle at 85% 10%,rgba(255,216,74,.14),transparent 20%),
    linear-gradient(145deg,rgba(13,37,82,.92),rgba(7,17,38,.96));
  box-shadow:inset 0 1px rgba(255,255,255,.12),0 0 16px rgba(43,113,255,.14);
}
.bj-live-opponent-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bj-live-opponent-id{display:flex;align-items:center;gap:10px;min-width:0}
.bj-live-opponent-id .bj-avatar{width:42px;height:42px;flex:none;overflow:hidden;padding:0}
.bj-live-opponent-id .bj-avatar-art{width:100%;height:100%}
.bj-live-opponent-id strong{display:block;font-size:16px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bj-live-opponent-id .bj-online{display:block;margin-top:2px;font-size:10px;color:#53e78f!important;letter-spacing:.05em}
.bj-live-opponent-score{text-align:right}
.bj-live-opponent-score b{display:block;font-size:23px;line-height:.95;color:#ffd84a;text-shadow:0 0 12px rgba(255,216,74,.24)}
.bj-live-opponent-score small{font-size:10px;color:#c5d7ff;text-transform:uppercase;letter-spacing:.10em}
.bj-live-opponent-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;flex-wrap:wrap}
.bj-live-opponent-summary{margin:0;font-size:12px;font-weight:850;color:#eef4ff;letter-spacing:.02em}
.bj-live-opponent-mini{display:flex;gap:4px}
.bj-live-opponent-mini i{display:block;width:12px;height:12px;border-radius:4px;border:1px solid rgba(86,113,151,.72);background:#0a1120;box-shadow:inset 0 1px rgba(255,255,255,.10)}
.bj-live-opponent-mini i.correct{background:linear-gradient(145deg,#ff2449,#d81239);border-color:#ff758d;box-shadow:0 0 8px rgba(255,60,90,.40)}
.bj-live-opponent-mini i.present{background:rgba(255,221,74,.12);border:2px solid #ffd84a;box-shadow:0 0 8px rgba(255,216,74,.32)}
.bj-live-opponent-mini i.absent{background:#101722;border-color:#314256}

@media(max-width:520px){
  .bj-live-overlay.countdown .bj-live-overlay-inner{min-height:320px;border-radius:28px}
  .bj-live-opponent-card{padding:11px 12px;border-radius:18px}
  .bj-live-opponent-id strong{font-size:15px}
  .bj-live-opponent-summary{font-size:11px}
}

/* v1.4.60 — finition Live Battle + cache busting par nom physique du CSS */
/* Salle d'attente : WhatsApp doit rester vert, quelles que soient les anciennes règles Live. */
.bj-livepage .bj-live-room[data-battle-view="waiting"] .bj-whatsapp,
.bj-livepage .bj-live-room[data-battle-view="waiting"] a.bj-whatsapp{
  background:linear-gradient(135deg,#2be36f 0%,#25d366 42%,#128c4e 100%)!important;
  border:2px solid #8fffc1!important;
  color:#fff!important;
  box-shadow:inset 0 2px rgba(255,255,255,.28),0 12px 25px rgba(0,0,0,.28),0 0 22px rgba(37,211,102,.36)!important;
}

/* Partie en cours : aucun cadre autour du plateau, largeur maximale comme le Mot du jour. */
.bj-livepage main.bj-battle-shell.bj-battle-playing{
  width:100%!important;max-width:920px!important;padding-left:6px!important;padding-right:6px!important;
}
.bj-livepage .bj-battle-playing .bj-live-room.bj-battle-game-card{
  width:100%!important;max-width:none!important;margin:0!important;padding:6px 0 0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
.bj-livepage .bj-battle-playing .bj-live-room.bj-battle-game-card::before{display:none!important;content:none!important}
.bj-livepage .bj-battle-playing .bj-live-room.bj-battle-game-card>[data-battle-grid],
.bj-livepage .bj-battle-playing [data-battle-grid]{width:100%!important;max-width:none!important;margin:0 auto!important}
.bj-livepage .bj-battle-playing .bj-battle-play-form,
.bj-livepage .bj-battle-playing .bj-keyboard{width:100%!important;max-width:none!important}

/* Bonus x2 Live Battle : compact, centré, une seule ligne. */
.bj-livepage .bj-battle-playing .bj-double-row{display:flex!important;justify-content:center!important;margin:10px auto 9px!important}
.bj-livepage .bj-battle-playing .bj-double{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  width:auto!important;min-width:0!important;min-height:44px!important;padding:7px 15px!important;
  grid-template-columns:none!important;grid-template-rows:none!important;border-radius:15px!important;
  white-space:nowrap!important;
}
.bj-livepage .bj-battle-playing .bj-double span{font-size:22px!important;line-height:1!important}
.bj-livepage .bj-battle-playing .bj-double b{font-size:15px!important;line-height:1!important;white-space:nowrap!important;letter-spacing:.02em!important}
.bj-livepage .bj-battle-playing .bj-double small{display:none!important}

/* Écran de résultat : plein écran visuel, sans carte extérieure. */
.bj-livepage .bj-live-room[data-battle-view="results"]{
  width:100%!important;max-width:none!important;margin:0!important;padding:8px 4px 28px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
.bj-livepage .bj-live-room[data-battle-view="results"]::before{display:none!important;content:none!important}
.bj-livepage .bj-live-room[data-battle-view="results"]>.bj-live-room-head,
.bj-livepage .bj-live-room[data-battle-view="results"]>.bj-players{display:none!important}
.bj-livepage .bj-live-result{padding:0!important;text-align:center!important}
.bj-livepage .bj-live-outcome{
  margin:4px auto 8px!important;padding:0 6px!important;
  color:#ffd84a!important;font-size:clamp(34px,10vw,58px)!important;line-height:.98!important;font-weight:1000!important;letter-spacing:-.04em!important;
  text-shadow:0 0 13px rgba(255,216,74,.42),0 0 30px rgba(34,103,255,.24),0 4px 10px rgba(0,0,0,.48)!important;
}
.bj-livepage .bj-live-reaction-form{margin:0 0 12px!important}
.bj-livepage .bj-live-result .bj-reactions{
  display:flex!important;justify-content:center!important;gap:9px!important;margin:0 auto 14px!important;padding:0!important;
}
.bj-livepage .bj-live-result .bj-reactions button{
  width:52px!important;height:52px!important;padding:0!important;border-radius:17px!important;
  border:1px solid rgba(78,137,255,.66)!important;background:linear-gradient(145deg,#10285a,#07152f)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.16),0 7px 14px rgba(0,0,0,.26),0 0 14px rgba(52,116,255,.16)!important;
  font-size:28px!important;line-height:1!important;
}
.bj-livepage .bj-live-result .bj-reactions button:active{transform:translateY(2px) scale(.98)}

.bj-livepage .bj-battle-result-summary{
  width:100%!important;margin:8px auto 12px!important;padding:14px 12px!important;border-radius:22px!important;
  border:1px solid rgba(255,216,74,.55)!important;
  background:radial-gradient(circle at 10% 20%,rgba(255,45,72,.18),transparent 25%),radial-gradient(circle at 90% 15%,rgba(49,116,255,.20),transparent 28%),linear-gradient(145deg,#08152e,#0b1022)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.12),0 0 18px rgba(255,211,55,.12)!important;
}
.bj-livepage .bj-battle-result-summary span{color:#ffd84a!important}
.bj-livepage .bj-battle-result-summary strong{color:#fff!important;text-shadow:0 0 16px rgba(48,116,255,.38),0 3px 8px rgba(0,0,0,.42)!important}
.bj-livepage .bj-battle-player-results{gap:10px!important;margin:0 0 14px!important}
.bj-livepage .bj-battle-player-result{
  width:100%!important;margin:0!important;padding:11px 10px 12px!important;border-radius:22px!important;
  border:1px solid rgba(71,130,255,.42)!important;
  background:radial-gradient(circle at 0 0,rgba(255,46,72,.12),transparent 24%),radial-gradient(circle at 100% 0,rgba(255,216,74,.10),transparent 22%),linear-gradient(145deg,#0a1d42,#071226)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10),0 8px 20px rgba(0,0,0,.24)!important;
}
.bj-livepage .bj-battle-player-result.is-winner{
  border-color:rgba(255,216,74,.72)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.13),0 0 20px rgba(255,216,74,.15),0 8px 20px rgba(0,0,0,.24)!important;
}
.bj-livepage .bj-battle-player-result>header{
  display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;margin:0 0 10px!important;text-align:left!important;
}
.bj-livepage .bj-battle-player-result>header .bj-avatar{
  width:48px!important;height:48px!important;overflow:hidden!important;padding:0!important;border:2px solid #ffd84a!important;
  background:#0a1730!important;box-shadow:0 0 0 3px rgba(45,109,255,.18),0 0 12px rgba(255,216,74,.18)!important;
}
.bj-livepage .bj-battle-player-result>header .bj-avatar .bj-avatar-art{width:100%!important;height:100%!important;display:block!important}
.bj-livepage .bj-battle-player-result>header div>strong{font-size:17px!important;color:#fff!important}
.bj-livepage .bj-battle-player-result>header div>small{color:#ffd84a!important}
.bj-livepage .bj-battle-player-result>header>b{color:#ffd84a!important;font-size:22px!important}
.bj-livepage .bj-battle-result-attempt{grid-template-columns:48px minmax(0,1fr) 48px!important;gap:5px!important}
.bj-livepage .bj-result-word{gap:3px!important}
.bj-livepage .bj-result-word i{min-width:0!important}
.bj-livepage .bj-live-home-back{width:min(100%,360px)!important;margin:14px auto 0!important}

@media(max-width:520px){
  .bj-livepage main.bj-battle-shell.bj-battle-playing{padding-left:3px!important;padding-right:3px!important}
  .bj-livepage .bj-live-room[data-battle-view="results"]{padding-left:2px!important;padding-right:2px!important}
  .bj-livepage .bj-battle-player-result{padding:10px 7px 11px!important;border-radius:18px!important}
  .bj-livepage .bj-battle-player-result>header{grid-template-columns:44px minmax(0,1fr) auto!important;gap:7px!important}
  .bj-livepage .bj-battle-player-result>header .bj-avatar{width:44px!important;height:44px!important}
  .bj-livepage .bj-live-result .bj-reactions button{width:48px!important;height:48px!important;font-size:26px!important}
  .bj-livepage .bj-battle-result-attempt{grid-template-columns:42px minmax(0,1fr) 42px!important}
}

/* v1.4.61 — Live Battle : priorité au plateau, adversaires sous le clavier */
.bj-livepage .bj-battle-playing .bj-battle-toolbar{margin-bottom:4px!important}
.bj-livepage .bj-battle-playing .bj-battle-progress{margin:0 0 5px!important;padding:0 3px!important;min-height:24px!important}
.bj-livepage .bj-battle-playing .bj-battle-progress span{font-size:12px!important;letter-spacing:.06em!important}
.bj-livepage .bj-battle-playing [data-battle-grid]{margin-top:0!important}
.bj-livepage .bj-battle-playing .bj-grid{row-gap:5px!important;column-gap:5px!important}
.bj-livepage .bj-battle-playing .bj-double-row{margin:6px auto 6px!important}
.bj-livepage .bj-battle-playing .bj-double{min-height:40px!important;padding:6px 13px!important;border-radius:14px!important}
.bj-livepage .bj-battle-playing .bj-double span{font-size:20px!important}
.bj-livepage .bj-battle-playing .bj-double b{font-size:14px!important}
.bj-livepage .bj-battle-playing .bj-keyboard{margin-top:0!important}
.bj-livepage .bj-battle-playing .bj-key-row{gap:3px!important;margin-top:3px!important}
.bj-livepage .bj-battle-playing .bj-key{height:46px!important;min-height:46px!important;border-radius:9px!important;font-size:16px!important}

/* Les adversaires sont secondaires : affichage compact uniquement après le clavier. */
.bj-livepage .bj-battle-playing .bj-live-opponents{
  display:grid!important;gap:6px!important;width:100%!important;margin:9px 0 0!important;padding:0!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponent-card{
  display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;
  min-height:42px!important;padding:5px 8px!important;border-radius:15px!important;
  border:1px solid rgba(68,129,255,.38)!important;
  background:linear-gradient(135deg,rgba(8,24,54,.88),rgba(6,14,30,.92))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 5px 12px rgba(0,0,0,.18)!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponent-card .bj-avatar{
  width:34px!important;height:34px!important;overflow:hidden!important;padding:0!important;flex:none!important;
  border:1.5px solid #4d8cff!important;box-shadow:0 0 9px rgba(61,126,255,.22)!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponent-card .bj-avatar-art{width:100%!important;height:100%!important;display:block!important}
.bj-livepage .bj-battle-playing .bj-live-opponent-name{
  min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:13px!important;font-weight:900!important;color:#fff!important;text-align:left!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponent-mini{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:3px!important;flex-wrap:nowrap!important}
.bj-livepage .bj-battle-playing .bj-live-opponent-mini i{
  width:11px!important;height:11px!important;border-radius:3px!important;flex:none!important;
  border:1px solid #32465f!important;background:#101722!important;box-shadow:inset 0 1px rgba(255,255,255,.08)!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponent-mini i.correct{
  background:linear-gradient(145deg,#ff274b,#d70c35)!important;border-color:#ff6d84!important;box-shadow:0 0 6px rgba(255,42,75,.38)!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponent-mini i.present{
  background:rgba(255,216,74,.10)!important;border:2px solid #ffd84a!important;box-shadow:0 0 6px rgba(255,216,74,.30)!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponent-mini i.absent{background:#0d1520!important;border-color:#26384c!important;box-shadow:none!important}
.bj-livepage .bj-battle-playing .bj-live-opponent-top,
.bj-livepage .bj-battle-playing .bj-live-opponent-id,
.bj-livepage .bj-battle-playing .bj-live-opponent-score,
.bj-livepage .bj-battle-playing .bj-live-opponent-line,
.bj-livepage .bj-battle-playing .bj-live-opponent-summary,
.bj-livepage .bj-battle-playing .bj-live-opponent-card .bj-online{display:none!important}

@media(max-width:520px){
  .bj-livepage .bj-battle-playing{padding-left:2px!important;padding-right:2px!important}
  .bj-livepage .bj-battle-playing .bj-grid{row-gap:4px!important;column-gap:4px!important}
  .bj-livepage .bj-battle-playing .bj-key{height:43px!important;min-height:43px!important;font-size:15px!important}
  .bj-livepage .bj-battle-playing .bj-key-row{gap:2px!important;margin-top:2px!important}
  .bj-livepage .bj-battle-playing .bj-double-row{margin:5px auto!important}
  .bj-livepage .bj-battle-playing .bj-double{min-height:38px!important;padding:5px 12px!important}
  .bj-livepage .bj-battle-playing .bj-double b{font-size:13px!important}
  .bj-livepage .bj-battle-playing .bj-live-opponents{margin-top:7px!important}
  .bj-livepage .bj-battle-playing .bj-live-opponent-card{grid-template-columns:30px minmax(0,1fr) auto!important;min-height:38px!important;padding:4px 7px!important;border-radius:13px!important}
  .bj-livepage .bj-battle-playing .bj-live-opponent-card .bj-avatar{width:30px!important;height:30px!important}
  .bj-livepage .bj-battle-playing .bj-live-opponent-name{font-size:12px!important}
  .bj-livepage .bj-battle-playing .bj-live-opponent-mini i{width:10px!important;height:10px!important}
}

/* v1.4.62 — Live Battle : résultats plein écran, réactions intégrées, salle d'attente et décompte */
.bj-livepage .bj-battle-results{
  width:100%!important;max-width:none!important;padding-left:2px!important;padding-right:2px!important;
}
.bj-livepage .bj-battle-results .bj-live-room[data-battle-view="results"]{
  width:100%!important;max-width:none!important;margin:0!important;padding:4px 0 24px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
.bj-livepage .bj-battle-results .bj-live-result{width:100%!important;max-width:none!important;padding:0!important}
.bj-livepage .bj-battle-results .bj-live-outcome{
  width:100%!important;margin:4px 0 8px!important;padding:0 4px!important;
  font-size:clamp(34px,10.5vw,60px)!important;
}
.bj-livepage .bj-battle-result-summary{
  width:100%!important;margin:6px 0 10px!important;padding:12px 4px 8px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
.bj-livepage .bj-battle-result-summary::before{display:none!important}
.bj-livepage .bj-battle-result-summary>span{display:block!important;font-size:11px!important;letter-spacing:.22em!important}
.bj-livepage .bj-battle-result-summary>strong{display:block!important;margin-top:3px!important;font-size:clamp(31px,9vw,48px)!important;color:#fff!important}
.bj-livepage .bj-live-reaction-feed{
  display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:10px 16px;
  width:100%;margin:10px auto 0;padding:0 4px;
}
.bj-livepage .bj-live-reaction-feed:empty{display:none}
.bj-livepage .bj-live-reaction-item{display:grid;justify-items:center;gap:2px;min-width:54px}
.bj-livepage .bj-live-reaction-item span{font-size:32px!important;line-height:1!important;filter:drop-shadow(0 3px 7px rgba(0,0,0,.28))}
.bj-livepage .bj-live-reaction-item b{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:11px;font-weight:850}
.bj-livepage .bj-battle-player-results{width:100%!important;margin:0!important;gap:8px!important}
.bj-livepage .bj-battle-player-result{width:100%!important;max-width:none!important;border-radius:18px!important}
.bj-livepage .bj-battle-player-result>header .bj-avatar{display:grid!important;visibility:visible!important;opacity:1!important}
.bj-livepage .bj-battle-player-result>header .bj-avatar-art{display:block!important;width:100%!important;height:100%!important}

/* Les boutons d'émotion restent en haut, juste sous le résultat. */
.bj-livepage .bj-live-reaction-form{margin:0 0 6px!important}
.bj-livepage .bj-live-result .bj-reactions{margin:0 auto 8px!important}

/* Salle d'attente : statut en ligne clairement sous le nom. */
.bj-livepage .bj-live-room[data-battle-view="waiting"] .bj-player{
  grid-template-columns:50px minmax(0,1fr) auto!important;align-items:center!important;
}
.bj-livepage .bj-live-room[data-battle-view="waiting"] .bj-player>div{display:grid!important;gap:3px!important;min-width:0!important;align-content:center!important}
.bj-livepage .bj-live-room[data-battle-view="waiting"] .bj-player>div>b{display:block!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.bj-livepage .bj-live-room[data-battle-view="waiting"] .bj-player .bj-online{display:block!important;position:static!important;margin:0!important;line-height:1.15!important;white-space:nowrap!important}

/* Le décompte commence immédiatement et reste très lisible. */
.bj-live-overlay.countdown .bj-live-count{animation:bjLivePulse .42s ease-in-out infinite alternate}

@media(max-width:520px){
  .bj-livepage .bj-battle-results{padding-left:0!important;padding-right:0!important}
  .bj-livepage .bj-battle-results .bj-live-room[data-battle-view="results"]{padding-left:0!important;padding-right:0!important}
  .bj-livepage .bj-battle-result-summary{padding-left:2px!important;padding-right:2px!important}
  .bj-livepage .bj-battle-player-result{padding-left:6px!important;padding-right:6px!important;border-radius:16px!important}
  .bj-livepage .bj-live-reaction-item span{font-size:29px!important}
}

/* v1.4.63 — transition directe, résultats sans cadre et ergonomie Battle adaptative */
.bj-livepage main.bj-battle-shell.bj-battle-results{
  width:100%!important;max-width:none!important;margin:0!important;padding:0 4px 28px!important;
}
.bj-livepage .bj-battle-results [data-mode-content]{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.bj-livepage .bj-battle-results .bj-live-room[data-battle-view="results"]{
  width:100%!important;max-width:none!important;margin:0!important;padding:0 0 24px!important;
  border:0!important;outline:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;
}
.bj-livepage .bj-battle-results .bj-live-room[data-battle-view="results"]::before,
.bj-livepage .bj-battle-results .bj-live-room[data-battle-view="results"]::after{display:none!important;content:none!important}
.bj-livepage .bj-battle-results .bj-live-result,
.bj-livepage .bj-battle-results .bj-battle-result-summary,
.bj-livepage .bj-battle-results .bj-battle-player-results{width:100%!important;max-width:none!important}

/* Plateau Battle : compromis vertical entre grille et clavier, sans sacrifier les touches. */
.bj-livepage main.bj-battle-shell.bj-battle-playing{width:100%!important;max-width:760px!important;padding:4px 4px 20px!important}
.bj-livepage .bj-battle-playing .bj-battle-toolbar{height:52px!important;margin:0 0 2px!important;padding:0 2px!important}
.bj-livepage .bj-battle-playing .bj-battle-progress{margin:0 0 4px!important;min-height:20px!important}
.bj-livepage .bj-battle-playing [data-battle-grid]{width:100%!important;max-width:620px!important;margin:0 auto!important;gap:4px!important}
.bj-livepage .bj-battle-playing .bj-cell{
  aspect-ratio:auto!important;
  height:clamp(49px,8.1vh,72px)!important;
  min-height:0!important;
  border-radius:10px!important;
  font-size:clamp(24px,5.8vw,37px)!important;
}
.bj-livepage .bj-battle-playing .bj-double-row{margin:5px auto!important;min-height:0!important}
.bj-livepage .bj-battle-playing .bj-double{min-height:36px!important;padding:4px 12px!important;border-radius:13px!important}
.bj-livepage .bj-battle-playing .bj-keyboard{width:100%!important;max-width:720px!important;margin:0 auto!important}
.bj-livepage .bj-battle-playing .bj-key-row{gap:3px!important;margin:3px 0!important}
.bj-livepage .bj-battle-playing .bj-key{
  height:clamp(45px,6.8vh,58px)!important;
  min-height:45px!important;
  border-radius:9px!important;
  font-size:clamp(15px,3.8vw,18px)!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents{margin-top:6px!important}

@media(max-height:780px){
  .bj-livepage .bj-battle-playing .bj-battle-toolbar{height:46px!important}
  .bj-livepage .bj-battle-playing .bj-cell{height:clamp(43px,7.2vh,58px)!important;font-size:clamp(22px,5.3vw,32px)!important}
  .bj-livepage .bj-battle-playing .bj-key{height:44px!important;min-height:44px!important}
  .bj-livepage .bj-battle-playing .bj-double{min-height:34px!important;padding:3px 11px!important}
  .bj-livepage .bj-battle-playing .bj-double-row{margin:4px auto!important}
}
@media(max-height:700px){
  .bj-livepage .bj-battle-playing .bj-cell{height:40px!important;font-size:22px!important}
  .bj-livepage .bj-battle-playing .bj-key{height:41px!important;min-height:41px!important;font-size:14px!important}
  .bj-livepage .bj-battle-playing .bj-key-row{margin:2px 0!important;gap:2px!important}
  .bj-livepage .bj-battle-playing .bj-double{min-height:32px!important}
  .bj-livepage .bj-battle-playing .bj-double span{font-size:17px!important}
  .bj-livepage .bj-battle-playing .bj-double b{font-size:12px!important}
}

/* v1.4.64 — Live Battle : classement en salle, grille carrée, clavier renforcé, transition sans flash */
.bj-livepage .bj-live-room[data-battle-view="waiting"] .bj-player>strong{
  min-width:96px!important;
  font-size:clamp(14px,3.8vw,17px)!important;
  line-height:1.15!important;
  color:#ffd84a!important;
  text-align:right!important;
  white-space:nowrap!important;
  text-shadow:0 0 10px rgba(255,216,74,.22)!important;
}

/* Pendant la Battle, priorité visuelle à grille + bonus + clavier. */
.bj-livepage main.bj-battle-shell.bj-battle-playing{
  width:100%!important;max-width:none!important;
  padding:2px 3px 18px!important;
}
.bj-livepage .bj-battle-playing .bj-battle-toolbar{
  height:48px!important;margin:0 0 1px!important;padding:0 3px!important;
}
.bj-livepage .bj-battle-playing .bj-battle-progress{
  width:100%!important;max-width:680px!important;margin:0 auto 4px!important;padding:0 3px!important;
}
.bj-livepage .bj-battle-playing [data-battle-grid]{
  width:100%!important;margin:0 auto!important;gap:4px!important;
}
/* Le plateau est volontairement un peu plus étroit pour conserver des cases proches du carré
   tout en laissant davantage de hauteur au clavier. */
.bj-livepage .bj-battle-playing [data-battle-grid][data-length="5"]{max-width:300px!important}
.bj-livepage .bj-battle-playing [data-battle-grid][data-length="6"]{max-width:342px!important}
.bj-livepage .bj-battle-playing [data-battle-grid][data-length="7"]{max-width:378px!important}
.bj-livepage .bj-battle-playing [data-battle-grid][data-length="8"]{max-width:408px!important}
.bj-livepage .bj-battle-playing .bj-cell{
  width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;
  border-radius:11px!important;
  font-size:clamp(22px,6vw,34px)!important;
}
.bj-livepage .bj-battle-playing .bj-double-row{
  width:100%!important;max-width:680px!important;margin:5px auto 6px!important;
}
.bj-livepage .bj-battle-playing .bj-double{
  min-height:38px!important;padding:4px 14px!important;border-radius:15px!important;
}
.bj-livepage .bj-battle-playing .bj-keyboard{
  width:100%!important;max-width:720px!important;margin:0 auto!important;
}
.bj-livepage .bj-battle-playing .bj-key-row{
  gap:3px!important;margin:3px 0!important;
}
.bj-livepage .bj-battle-playing .bj-key{
  height:clamp(49px,7.2vh,61px)!important;min-height:49px!important;
  border-radius:10px!important;font-size:clamp(16px,4.2vw,19px)!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents{margin:8px 0 0!important}

/* Le 0 reste à l'écran pendant le chargement réel de la grille : aucun retour visuel à l'accueil. */
.bj-live-overlay.countdown.is-launching{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
}
.bj-live-overlay.countdown.is-launching .bj-live-count{
  background:linear-gradient(145deg,#ff2649 0%,#ff7d34 45%,#ffd62b 100%)!important;
}
.bj-live-overlay.countdown.is-launching p{color:#ffd84a!important}

/* Résultats : la vue immédiate et l'historique utilisent exactement le même gabarit plein largeur. */
.bj-livepage main.bj-battle-shell.bj-battle-results{
  width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important;
}
.bj-livepage .bj-battle-results [data-mode-content]{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
.bj-livepage .bj-battle-results .bj-live-room[data-battle-view="results"]{
  width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;
  outline:0!important;box-shadow:none!important;background:transparent!important;padding-left:4px!important;padding-right:4px!important;
}
.bj-livepage .bj-battle-results .bj-battle-player-result{width:100%!important;max-width:none!important}

@media(max-width:520px){
  .bj-livepage .bj-battle-playing [data-battle-grid][data-length="5"]{max-width:286px!important}
  .bj-livepage .bj-battle-playing [data-battle-grid][data-length="6"]{max-width:324px!important}
  .bj-livepage .bj-battle-playing [data-battle-grid][data-length="7"]{max-width:350px!important}
  .bj-livepage .bj-battle-playing [data-battle-grid][data-length="8"]{max-width:372px!important}
  .bj-livepage .bj-battle-playing .bj-key{height:50px!important;min-height:50px!important;font-size:16px!important}
  .bj-livepage .bj-battle-playing .bj-key-row{gap:3px!important;margin:3px 0!important}
  .bj-livepage .bj-live-room[data-battle-view="waiting"] .bj-player>strong{min-width:88px!important;font-size:13px!important}
}

@media(max-height:740px){
  .bj-livepage .bj-battle-playing [data-battle-grid][data-length="5"]{max-width:270px!important}
  .bj-livepage .bj-battle-playing [data-battle-grid][data-length="6"]{max-width:300px!important}
  .bj-livepage .bj-battle-playing [data-battle-grid][data-length="7"]{max-width:326px!important}
  .bj-livepage .bj-battle-playing [data-battle-grid][data-length="8"]{max-width:350px!important}
  .bj-livepage .bj-battle-playing .bj-key{height:47px!important;min-height:47px!important}
}

/* v1.4.66 — duel visible sans scroll + restauration humiliation */
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel{
  width:100%!important;
  max-width:680px!important;
  margin:0 auto 4px!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-card{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:5px 8px!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,rgba(10,31,70,.96),rgba(7,17,37,.98))!important;
  border:1px solid rgba(71,132,255,.46)!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-avatar{
  width:34px!important;height:34px!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-name{
  font-size:12px!important;line-height:1.05!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-mini{
  display:flex!important;gap:3px!important;justify-content:flex-end!important;flex-wrap:nowrap!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-mini i{
  width:9px!important;height:9px!important;border-radius:3px!important;
}
.bj-live-opponent-live-score{
  min-width:48px;text-align:right;white-space:nowrap;
  color:#ffd84a;font-size:12px;font-weight:950;text-shadow:0 0 8px rgba(255,216,74,.22);
}

/* En duel, on compacte légèrement le haut de partie pour conserver grille + bonus + clavier à l'écran. */
.bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) .bj-battle-toolbar{height:44px!important}
.bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) .bj-battle-progress{margin-bottom:2px!important}
.bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) .bj-double-row{margin-top:4px!important;margin-bottom:4px!important}
@media(max-height:780px){
  .bj-livepage .bj-battle-playing .bj-live-opponents.is-duel{margin-bottom:3px!important}
  .bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-card{min-height:38px!important;padding:3px 7px!important}
  .bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-avatar{width:30px!important;height:30px!important}
  .bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-name{font-size:11px!important}
  .bj-live-opponent-live-score{font-size:11px!important;min-width:44px!important}
}

/* v1.4.67 — adversaires toujours sous le clavier + avatars résultats fiabilisés */
.bj-livepage .bj-battle-playing .bj-live-opponents,
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel{
  order:initial!important;
  width:100%!important;
  max-width:720px!important;
  margin:5px auto 0!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-card{
  min-height:36px!important;
  padding:3px 7px!important;
  border-radius:12px!important;
  grid-template-columns:28px minmax(0,1fr) auto auto!important;
  gap:6px!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-avatar{
  width:28px!important;height:28px!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-name{
  font-size:11px!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-mini i{
  width:8px!important;height:8px!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel .bj-live-opponent-live-score{
  min-width:42px!important;font-size:11px!important;
}
/* En duel, compacter légèrement grille/espacements pour que l'unique adversaire reste visible sous le clavier. */
.bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) .bj-battle-toolbar{height:42px!important}
.bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) .bj-battle-progress{margin-bottom:1px!important}
.bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) .bj-double-row{margin:3px auto 4px!important}
.bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) .bj-key-row{margin:2px 0!important}
@media(max-height:820px){
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) [data-battle-grid][data-length="5"]{max-width:270px!important}
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) [data-battle-grid][data-length="6"]{max-width:300px!important}
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) [data-battle-grid][data-length="7"]{max-width:326px!important}
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) [data-battle-grid][data-length="8"]{max-width:348px!important}
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) .bj-key{height:46px!important;min-height:46px!important}
}
/* Les avatars des résultats sont toujours visibles et correctement cadrés. */
.bj-livepage .bj-battle-results .bj-battle-player-result>header .bj-avatar,
.bj-livepage .bj-live-room[data-battle-view="results"] .bj-battle-player-result>header .bj-avatar{
  display:grid!important;place-items:center!important;overflow:hidden!important;
  width:48px!important;height:48px!important;min-width:48px!important;
  border-radius:50%!important;visibility:visible!important;opacity:1!important;
}
.bj-livepage .bj-battle-results .bj-battle-player-result>header .bj-avatar .bj-avatar-art,
.bj-livepage .bj-live-room[data-battle-view="results"] .bj-battle-player-result>header .bj-avatar .bj-avatar-art{
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
}

/* v1.4.68 — remplissage adaptatif de la hauteur pendant une Live Battle */
.bj-livepage main.bj-battle-shell.bj-battle-playing{
  min-height:100dvh!important;
  --bj-live-cell:52px;
  --bj-live-key-h:52px;
  --bj-live-flow-gap:6px;
  --bj-live-grid-gap:4px;
}
.bj-livepage .bj-battle-playing [data-battle-grid]{
  width:max-content!important;
  max-width:100%!important;
  grid-template-columns:repeat(var(--cols),var(--bj-live-cell))!important;
  gap:var(--bj-live-grid-gap)!important;
  margin:0 auto!important;
}
.bj-livepage .bj-battle-playing [data-battle-grid][data-length="5"],
.bj-livepage .bj-battle-playing [data-battle-grid][data-length="6"],
.bj-livepage .bj-battle-playing [data-battle-grid][data-length="7"],
.bj-livepage .bj-battle-playing [data-battle-grid][data-length="8"]{max-width:none!important}
.bj-livepage .bj-battle-playing .bj-cell{
  width:var(--bj-live-cell)!important;
  height:var(--bj-live-cell)!important;
  aspect-ratio:1/1!important;
  min-width:0!important;min-height:0!important;
  font-size:clamp(22px,calc(var(--bj-live-cell) * .52),36px)!important;
}
.bj-livepage .bj-battle-playing .bj-double-row{
  margin:var(--bj-live-flow-gap) auto!important;
}
.bj-livepage .bj-battle-playing .bj-key-row{
  gap:3px!important;
  margin:3px 0!important;
}
.bj-livepage .bj-battle-playing .bj-key{
  height:var(--bj-live-key-h)!important;
  min-height:var(--bj-live-key-h)!important;
  font-size:clamp(16px,4.25vw,20px)!important;
  border-radius:11px!important;
}
.bj-livepage .bj-battle-playing .bj-live-opponents,
.bj-livepage .bj-battle-playing .bj-live-opponents.is-duel{
  margin:var(--bj-live-flow-gap) auto 0!important;
}
/* Les anciennes réductions liées à la hauteur sont neutralisées : le calcul JS prend le relais. */
@media(max-height:820px){
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) [data-battle-grid][data-length="5"],
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) [data-battle-grid][data-length="6"],
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) [data-battle-grid][data-length="7"],
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) [data-battle-grid][data-length="8"]{max-width:none!important}
  .bj-livepage .bj-battle-playing:has(.bj-live-opponents.is-duel) .bj-key{height:var(--bj-live-key-h)!important;min-height:var(--bj-live-key-h)!important}
}

/* v1.4.69 — classement Live Battle : libellé Humiliations + bulles conservées */
.bj-livepage .bj-battle-ranking .bj-battle-humiliations{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
}
.bj-livepage .bj-battle-ranking .bj-battle-humiliations .bj-humiliation-label{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#dce7ff!important;
  font-weight:850;
  box-shadow:none!important;
}

/* v1.4.70 — rang explicite sur chaque joueur du classement Live Battle */
.bj-livepage .bj-battle-ranking .bj-rank-identity{position:relative;display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;column-gap:8px;min-width:0}
.bj-livepage .bj-battle-ranking .bj-rank-identity>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bj-livepage .bj-battle-ranking .bj-rank-identity>small{grid-column:1/-1}
.bj-livepage .bj-battle-ranking .bj-battle-rank-number{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:24px;padding:0 8px;border:1px solid rgba(255,216,74,.72);border-radius:999px;background:linear-gradient(145deg,rgba(255,216,74,.18),rgba(255,96,48,.10));color:#ffd84a;font-size:12px;font-weight:950;line-height:1;box-shadow:inset 0 1px rgba(255,255,255,.18),0 0 10px rgba(255,216,74,.15)}
@media(max-width:520px){.bj-livepage .bj-battle-ranking .bj-rank-identity{column-gap:6px}.bj-livepage .bj-battle-ranking .bj-battle-rank-number{min-width:28px;height:22px;padding:0 6px;font-size:11px}}

/* v1.4.71 — classement Live Battle : rang intégré au repère de classement */
.bj-livepage .bj-battle-ranking .bj-rank-medal{display:flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap}
.bj-livepage .bj-battle-ranking .bj-rank-medal small{font-size:9px;font-weight:950;color:#ffd84a;line-height:1}
.bj-livepage .bj-battle-ranking .bj-rank-card:not(.podium) .bj-rank-medal{font-size:14px;font-weight:950;color:#ffd84a}

/* v1.4.72 — rang du classement Live Battle */
.bj-livepage .bj-battle-ranking .bj-rank-inline{color:#ffd84a;font-size:.78em;font-weight:950;white-space:nowrap;margin-left:4px;text-shadow:0 0 9px rgba(255,216,74,.22)}
.bj-livepage .bj-battle-ranking .bj-rank-medal{white-space:nowrap}
.bj-livepage .bj-battle-ranking .bj-rank-card:not(.podium) .bj-rank-medal{font-size:17px;color:#ffd84a;font-weight:950;letter-spacing:-.02em}

/* v1.4.73 — résultats Battle : avatars garantis, score total simplifié, Bonus ×2 */
.bj-livepage .bj-battle-result-player-head{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:11px!important;
  margin-bottom:10px!important;
}
.bj-livepage .bj-battle-result-avatar{
  display:grid!important;
  place-items:center!important;
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  min-height:56px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#10275a,#07152f)!important;
  border:2px solid #ffd84a!important;
  box-shadow:0 0 0 3px rgba(44,106,255,.18),0 0 16px rgba(255,216,74,.22)!important;
  position:relative!important;
  z-index:3!important;
  visibility:visible!important;
  opacity:1!important;
}
.bj-livepage .bj-battle-result-avatar .bj-avatar-art,
.bj-livepage .bj-battle-result-avatar .bj-result-avatar-art{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  visibility:visible!important;
  opacity:1!important;
}
.bj-livepage .bj-battle-result-player-id{min-width:0!important}
.bj-livepage .bj-battle-result-player-id>strong{display:block!important;color:#fff!important;font-size:17px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.bj-livepage .bj-battle-result-player-id>small{display:block!important;margin-top:3px!important;color:#ffd84a!important;font-size:11px!important;font-weight:950!important;letter-spacing:.08em!important}
.bj-livepage .bj-battle-result-total{font-size:23px!important;color:#ffd84a!important;text-align:right!important;white-space:nowrap!important;text-shadow:0 0 12px rgba(255,216,74,.22)!important}
.bj-livepage .bj-battle-result-total small{display:block!important;margin-top:4px!important;font-size:9px!important;color:#aebcdb!important;letter-spacing:.12em!important}
.bj-livepage .bj-battle-result-attempt.bj-battle-result-attempt-no-points{
  grid-template-columns:52px minmax(0,1fr)!important;
}
.bj-livepage .bj-battle-result-attempt.bj-battle-result-attempt-no-points>strong{display:none!important}
.bj-livepage .bj-battle-double-summary{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px 12px!important;
  align-items:center!important;
  margin:8px 0 12px!important;
  padding:10px 12px!important;
  border-radius:18px!important;
  border:1px solid rgba(255,216,74,.38)!important;
  background:linear-gradient(145deg,rgba(10,30,68,.92),rgba(8,17,38,.96))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10),0 0 15px rgba(43,107,255,.10)!important;
}
.bj-livepage .bj-battle-double-initial{display:flex!important;align-items:baseline!important;gap:8px!important;min-width:0!important}
.bj-livepage .bj-battle-double-initial span,.bj-livepage .bj-battle-double-total span{font-size:9px!important;font-weight:900!important;letter-spacing:.11em!important;color:#9fb2d5!important}
.bj-livepage .bj-battle-double-initial strong{font-size:18px!important;color:#fff!important;white-space:nowrap!important}
.bj-livepage .bj-battle-double-badge{
  display:inline-flex!important;align-items:center!important;gap:5px!important;justify-content:center!important;
  padding:7px 10px!important;border-radius:999px!important;border:1px solid #ffd84a!important;
  background:linear-gradient(135deg,#ff294b,#ff8d2f)!important;color:#fff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.28),0 0 12px rgba(255,197,47,.22)!important;
  white-space:nowrap!important;
}
.bj-livepage .bj-battle-double-badge b{font-size:12px!important;letter-spacing:.04em!important}
.bj-livepage .bj-battle-double-total{
  grid-column:1/-1!important;
  display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;
  padding-top:8px!important;border-top:1px solid rgba(80,137,255,.25)!important;
}
.bj-livepage .bj-battle-double-total strong{font-size:28px!important;line-height:1!important;color:#ffd84a!important;text-shadow:0 0 15px rgba(255,216,74,.24)!important;white-space:nowrap!important}
@media(max-width:520px){
  .bj-livepage .bj-battle-result-player-head{grid-template-columns:50px minmax(0,1fr) auto!important;gap:8px!important}
  .bj-livepage .bj-battle-result-avatar{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important}
  .bj-livepage .bj-battle-result-attempt.bj-battle-result-attempt-no-points{grid-template-columns:43px minmax(0,1fr)!important;gap:5px!important}
  .bj-livepage .bj-battle-double-summary{padding:9px 10px!important;gap:7px!important}
  .bj-livepage .bj-battle-double-total strong{font-size:25px!important}
}

/* v1.4.75 — humiliation visible dans les résultats sans rejouer l'animation */
.bj-livepage .bj-battle-results .bj-result-humiliation{
  width:min(100%,720px)!important;
  margin:8px auto 14px!important;
  padding:14px 12px 13px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  border:1px solid rgba(255,82,178,.72)!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,rgba(104,12,77,.9),rgba(34,12,58,.96))!important;
  box-shadow:0 0 22px rgba(255,47,166,.2),inset 0 0 24px rgba(255,255,255,.035)!important;
  text-align:center!important;
}
.bj-livepage .bj-battle-results .bj-result-humiliation>span{
  font-size:clamp(28px,8vw,42px)!important;
  line-height:1!important;
}
.bj-livepage .bj-battle-results .bj-result-humiliation>strong{
  font-size:clamp(28px,8vw,46px)!important;
  line-height:1!important;
  letter-spacing:.045em!important;
  color:#fff!important;
  text-shadow:0 0 10px #ff78cc,0 0 24px #ff2aa8,0 2px 4px rgba(0,0,0,.55)!important;
}


/* v1.4.76 — Administration alignée sur l'identité visuelle de l'application */
.bj-adminpage{background:#05080c;color:#fff;min-height:100vh}
.bj-adminpage .bj-shell{max-width:1180px}
.bj-adminpage .bj-admin-hero{position:relative;overflow:hidden;min-height:168px;border-radius:0 0 28px 28px;background:#05080c;box-shadow:0 16px 45px rgba(0,0,0,.36)}
.bj-adminpage .bj-admin-hero .bj-header-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92}
.bj-adminpage .bj-admin-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,7,14,.12),rgba(3,7,14,.42));pointer-events:none}
.bj-adminpage .bj-admin-hero>*:not(.bj-header-video){position:relative;z-index:2}
.bj-adminpage .bj-admin-hero .bj-header-title{font-weight:900;text-transform:uppercase;letter-spacing:.08em;text-shadow:0 2px 12px #000}
.bj-adminpage .bj-card{border:1px solid rgba(78,165,255,.28);background:linear-gradient(180deg,rgba(12,22,39,.97),rgba(5,10,19,.98));box-shadow:0 18px 48px rgba(0,0,0,.32)}
.bj-admin-battle-bulkbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px;padding:10px 12px;border:1px solid rgba(255,207,50,.25);border-radius:14px;background:rgba(255,255,255,.035)}
.bj-admin-battle-bulkbar label{display:flex;gap:8px;align-items:center;font-weight:800}
.bj-admin-delete-selected{border-radius:12px;padding:10px 14px}
.bj-admin-battle-table .bj-check-col{width:42px;text-align:center}
.bj-admin-battle-table tr.is-clickable{cursor:pointer}
.bj-admin-battle-table tr.is-clickable:hover td{background:rgba(31,127,255,.08)}
.bj-admin-result-link,.bj-admin-battle-view{color:#8fcbff;font-weight:900;text-decoration:none}
.bj-admin-battle-view{display:inline-flex;padding:7px 10px;border:1px solid rgba(72,160,255,.45);border-radius:10px;background:rgba(25,95,180,.16)}
.bj-admin-humiliation.yes{display:inline-flex;align-items:center;gap:4px;padding:6px 9px;border-radius:999px;background:linear-gradient(135deg,#ffcc28,#ff7b00);color:#1b0b00;font-weight:950;box-shadow:0 0 16px rgba(255,183,0,.3)}
.bj-admin-humiliation.no{opacity:.55}
.bj-admin-result-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.bj-admin-result-back{color:#9bd1ff;text-decoration:none;font-weight:850}
.bj-admin-battle-result .bj-battle-player-results{width:100%;max-width:none}
.bj-admin-battle-result .bj-battle-player-result{background:linear-gradient(180deg,rgba(14,27,48,.95),rgba(7,13,24,.98));border-color:rgba(75,163,255,.28)}
@media(max-width:700px){.bj-adminpage .bj-admin-hero{min-height:142px}.bj-admin-battle-bulkbar{align-items:stretch;flex-direction:column}.bj-admin-delete-selected{width:100%}}


/* v1.4.77 — administration : un seul header, l'animation sert d'identité visuelle */
.bj-adminpage .bj-admin-hero .bj-header-title,
.bj-adminpage .bj-admin-hero .bj-logo{display:none!important}
.bj-adminpage .bj-admin-hero{min-height:168px!important}
@media(max-width:700px){.bj-adminpage .bj-admin-hero{min-height:142px!important}}

/* v1.4.79 — choix PWA directement lors de la création du profil */
.bj-welcome-install-choice{margin:16px 0 6px!important;padding:0!important;border:0!important;min-width:0!important}
.bj-welcome-install-choice legend{margin:0 0 9px!important;padding:0!important;color:#fff!important;font-size:14px!important;font-weight:900!important;letter-spacing:.04em!important}
.bj-welcome-install-option{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;margin:8px 0!important;padding:12px 13px!important;border:1px solid rgba(83,147,218,.42)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(10,28,52,.94),rgba(5,15,29,.98))!important;box-shadow:inset 0 1px rgba(255,255,255,.06)!important;cursor:pointer!important;transition:.16s ease!important}
.bj-welcome-install-option.is-selected{border-color:#ffd538!important;box-shadow:0 0 17px rgba(255,208,46,.18),inset 0 0 18px rgba(255,199,34,.05)!important;background:linear-gradient(145deg,rgba(47,38,8,.95),rgba(9,22,39,.98))!important}
.bj-welcome-install-option input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.bj-welcome-install-radio{width:24px!important;height:24px!important;border-radius:50%!important;border:2px solid #7694b5!important;box-shadow:inset 0 0 0 5px rgba(3,10,18,.95)!important;background:#12243a!important}
.bj-welcome-install-option.is-selected .bj-welcome-install-radio{border-color:#ffd538!important;background:#ffd538!important;box-shadow:inset 0 0 0 5px #07101c,0 0 12px rgba(255,213,56,.45)!important}
.bj-welcome-install-copy{display:block!important;min-width:0!important}
.bj-welcome-install-copy strong{display:block!important;color:#fff!important;font-size:15px!important;line-height:1.18!important}
.bj-welcome-install-copy small{display:block!important;margin-top:4px!important;color:#aebed3!important;font-size:11px!important;line-height:1.32!important}
.bj-welcome-install-option.is-selected .bj-welcome-install-copy strong{color:#ffe25f!important}

/* v1.4.81 — Mot du jour : date intégrée à la barre haute + bonus ×2 compact comme en Battle */
.bj-gamepage .bj-game-playing .bj-game-toolbar{
  position:relative!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 42px!important;
  align-items:center!important;
  column-gap:8px!important;
  min-height:46px!important;
  margin-bottom:2px!important;
}
.bj-gamepage .bj-game-playing .bj-game-toolbar-date{
  min-width:0;
  padding:0 4px;
  text-align:center;
  color:#f5f8ff;
  font-size:clamp(13px,3.8vw,18px);
  line-height:1.08;
  font-weight:900;
  letter-spacing:-.015em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-shadow:0 2px 9px rgba(0,0,0,.55),0 0 14px rgba(62,132,255,.28);
}
.bj-gamepage .bj-game-playing .bj-game-date-title{display:none!important}
.bj-gamepage .bj-game-playing .bj-game-card{padding-top:3px!important}
.bj-gamepage .bj-game-playing .bj-progress{margin-top:0!important;margin-bottom:6px!important}

/* Même présence visuelle que le bouton SCORE ×2 des Live Battles. */
.bj-gamepage .bj-game-playing .bj-double-row{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  margin:6px auto!important;
  min-height:0!important;
}
.bj-gamepage .bj-game-playing .bj-double{
  width:auto!important;
  min-width:0!important;
  min-height:36px!important;
  padding:4px 12px!important;
  border-radius:13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
.bj-gamepage .bj-game-playing .bj-double span{font-size:17px!important;line-height:1!important}
.bj-gamepage .bj-game-playing .bj-double b{font-size:12px!important;line-height:1!important;white-space:nowrap!important;letter-spacing:.02em!important}
.bj-gamepage .bj-game-playing .bj-double small,
.bj-gamepage .bj-game-playing .bj-double-help{display:none!important}

@media(max-width:600px){
  .bj-gamepage .bj-game-playing .bj-game-toolbar{
    grid-template-columns:39px minmax(0,1fr) 39px!important;
    min-height:41px!important;
    column-gap:6px!important;
  }
  .bj-gamepage .bj-game-playing .bj-game-toolbar-date{font-size:clamp(12px,3.55vw,16px)}
  .bj-gamepage .bj-game-playing .bj-game-card{padding-top:2px!important}
  .bj-gamepage .bj-game-playing .bj-double-row{margin:5px auto!important}
  .bj-gamepage .bj-game-playing .bj-double{min-height:34px!important;padding:3px 11px!important}
}

/* v1.4.82 — installation LMDJ Bonjour : information écran d’accueil */
.bj-install-home-hint{margin:10px auto 0;max-width:340px;padding:10px 12px;border:1px solid rgba(255,213,56,.28);border-radius:13px;background:rgba(255,213,56,.07);color:#dce9f8;font-size:11px;line-height:1.4;text-align:left}.bj-install-home-hint strong,.bj-install-home-hint b{color:#ffe25f}

/* v1.4.84 — parcours post-installation LMDJ Bonjour */
.bj-install-success .bj-install-icon{margin-bottom:12px}
.bj-install-success .bj-install-intro{font-size:15px;font-weight:800;color:#f4f8ff}
.bj-install-success .bj-install-home-hint{margin-top:13px;font-size:12px}
.bj-install-launch-feedback{margin:11px 0 0;padding:9px 11px;border-radius:12px;background:rgba(40,115,255,.10);border:1px solid rgba(87,149,255,.28);color:#dceaff;font-size:12px;line-height:1.4}
.bj-install-open{font-size:16px;min-height:56px}

/* v1.4.86 — Mot du jour : date plus moderne + espacement grille / bonus / clavier */
.bj-gamepage .bj-game-playing .bj-game-toolbar{
  min-height:52px!important;
  margin-bottom:4px!important;
}
.bj-gamepage .bj-game-playing .bj-game-toolbar-date{
  padding:0 6px!important;
  font-size:clamp(17px,4.9vw,24px)!important;
  line-height:1.04!important;
  font-weight:950!important;
  letter-spacing:-.03em!important;
  text-shadow:0 2px 10px rgba(0,0,0,.58),0 0 14px rgba(92,147,255,.22),0 0 24px rgba(255,255,255,.08)!important;
}
.bj-gamepage .bj-game-playing .bj-grid{
  margin-bottom:0!important;
}
.bj-gamepage .bj-game-playing .bj-double-row{
  margin:12px auto 14px!important;
}
.bj-gamepage .bj-game-playing .bj-keyboard{
  margin-top:10px!important;
}

@media(max-width:600px){
  .bj-gamepage .bj-game-playing .bj-game-toolbar{
    min-height:48px!important;
    margin-bottom:3px!important;
  }
  .bj-gamepage .bj-game-playing .bj-game-toolbar-date{
    padding:0 4px!important;
    font-size:clamp(16px,4.65vw,21px)!important;
  }
  .bj-gamepage .bj-game-playing .bj-double-row{
    margin:10px auto 12px!important;
  }
  .bj-gamepage .bj-game-playing .bj-keyboard{
    margin-top:8px!important;
  }
}

/* v1.4.87 — Ajustement VISUEL plus marqué sur le Mot du jour */
.bj-gamepage .bj-game-playing .bj-game-toolbar{
  min-height:58px!important;
  margin-bottom:6px!important;
}
.bj-gamepage .bj-game-playing .bj-game-toolbar-date{
  font-size:clamp(20px,5.7vw,28px)!important;
  font-weight:1000!important;
  letter-spacing:-.045em!important;
  line-height:1!important;
  color:#ffffff!important;
  text-shadow:0 2px 11px rgba(0,0,0,.65),0 0 10px rgba(70,145,255,.28)!important;
}
.bj-gamepage .bj-game-playing .bj-grid{
  margin-bottom:14px!important;
}
.bj-gamepage .bj-game-playing .bj-double-row{
  margin:16px auto 18px!important;
}
.bj-gamepage .bj-game-playing .bj-keyboard{
  margin-top:14px!important;
}

@media(max-width:600px){
  .bj-gamepage .bj-game-playing .bj-game-toolbar{
    min-height:54px!important;
    margin-bottom:5px!important;
  }
  .bj-gamepage .bj-game-playing .bj-game-toolbar-date{
    font-size:clamp(19px,5.25vw,24px)!important;
  }
  .bj-gamepage .bj-game-playing .bj-grid{
    margin-bottom:12px!important;
  }
  .bj-gamepage .bj-game-playing .bj-double-row{
    margin:14px auto 16px!important;
  }
  .bj-gamepage .bj-game-playing .bj-keyboard{
    margin-top:12px!important;
  }
}

/* v1.4.88 — Mot du jour : bouton SCORE ×2 plus grand */
.bj-gamepage .bj-game-playing .bj-double{
  min-width:220px!important;
  min-height:50px!important;
  padding:8px 20px!important;
  border-radius:17px!important;
  gap:10px!important;
}
.bj-gamepage .bj-game-playing .bj-double span{
  font-size:25px!important;
}
.bj-gamepage .bj-game-playing .bj-double b{
  font-size:17px!important;
  letter-spacing:.01em!important;
}
@media(max-width:600px){
  .bj-gamepage .bj-game-playing .bj-double{
    min-width:210px!important;
    min-height:48px!important;
    padding:7px 18px!important;
  }
  .bj-gamepage .bj-game-playing .bj-double span{font-size:23px!important}
  .bj-gamepage .bj-game-playing .bj-double b{font-size:16px!important}
}

/* v1.4.89 — Mot du jour : état SCORE ×2 actif beaucoup plus visible */
@keyframes bjDailyDoubleActivePulse{
  0%,100%{box-shadow:0 0 0 3px #ffe23b,0 0 14px 5px rgba(255,214,10,.72),0 0 34px 12px rgba(255,170,0,.32),inset 0 1px rgba(255,255,255,.35)}
  50%{box-shadow:0 0 0 4px #fff08a,0 0 22px 8px rgba(255,221,35,.95),0 0 48px 18px rgba(255,151,0,.48),inset 0 1px rgba(255,255,255,.48)}
}
.bj-gamepage .bj-game-playing .bj-double.active{
  border:2px solid #fff06a!important;
  background:linear-gradient(135deg,#ff5a2b 0%,#d72f49 34%,#264bd0 100%)!important;
  color:#fff!important;
  transform:scale(1.035)!important;
  animation:bjDailyDoubleActivePulse 1.15s ease-in-out infinite!important;
  filter:saturate(1.2) brightness(1.08)!important;
}
.bj-gamepage .bj-game-playing .bj-double.active span{
  color:#fff35b!important;
  filter:drop-shadow(0 0 9px rgba(255,230,45,.95))!important;
}
.bj-gamepage .bj-game-playing .bj-double.active b{
  color:#fff!important;
  text-shadow:0 0 8px rgba(255,255,255,.35),0 2px 4px rgba(0,0,0,.55)!important;
}
@media(prefers-reduced-motion:reduce){
  .bj-gamepage .bj-game-playing .bj-double.active{
    animation:none!important;
    box-shadow:0 0 0 4px #fff06a,0 0 24px 8px rgba(255,214,10,.9),0 0 46px 16px rgba(255,151,0,.42)!important;
  }
}

/* v1.4.92 — Administration : Calendrier des mots */
.bj-admin-launch.calendar span{filter:drop-shadow(0 0 13px rgba(70,154,255,.55))}
.bj-calendar-year-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 1px 10px;margin:10px 0 14px;scrollbar-width:thin}
.bj-calendar-year-tabs a{flex:0 0 auto;min-width:72px;padding:10px 14px;border:1px solid #314055;border-radius:13px;background:linear-gradient(145deg,#151d28,#0a1018);color:#cbd8e8;text-align:center;text-decoration:none;font-weight:900;box-shadow:inset 0 1px rgba(255,255,255,.05)}
.bj-calendar-year-tabs a.active{border-color:#ffd948;background:linear-gradient(145deg,#5b4507,#241d08);color:#fff3a4;box-shadow:0 0 0 1px rgba(255,215,60,.22),0 0 18px rgba(255,203,42,.18)}
.bj-word-calendar-table th:nth-child(1),.bj-word-calendar-table td:nth-child(1){white-space:nowrap;width:1%}
.bj-word-calendar-table th:nth-child(3),.bj-word-calendar-table td:nth-child(3){width:1%;white-space:nowrap;text-align:right}
.bj-calendar-word{font-size:16px;font-weight:950;letter-spacing:.06em;color:#fff}
.bj-calendar-replace{border:1px solid #f0c83e;border-radius:12px;background:linear-gradient(145deg,#594407,#2a2108);color:#fff0a0;min-height:38px;padding:0 13px;font-weight:900;cursor:pointer;box-shadow:inset 0 1px rgba(255,244,166,.16),0 0 12px rgba(255,208,50,.10)}
.bj-calendar-replace:disabled{cursor:default;opacity:.65}
.bj-calendar-replace.is-locked{border-color:#334151;background:#171f29;color:#91a0b0;box-shadow:none}
.bj-calendar-replace-status{min-height:0;margin:0 0 10px;padding:0;font-size:12px;font-weight:800}
.bj-calendar-replace-status.ok,.bj-calendar-replace-status.error{padding:10px 12px;border-radius:12px}
.bj-calendar-replace-status.ok{border:1px solid rgba(29,207,131,.35);background:rgba(20,139,91,.13);color:#88f0bd}
.bj-calendar-replace-status.error{border:1px solid rgba(255,73,84,.35);background:rgba(175,38,46,.14);color:#ffb6bc}
@media(max-width:560px){
  .bj-word-calendar{padding-inline:10px!important}
  .bj-word-calendar-table{font-size:12px}
  .bj-word-calendar-table th,.bj-word-calendar-table td{padding:10px 7px!important}
  .bj-calendar-word{font-size:14px}
  .bj-calendar-replace{min-height:36px;padding:0 10px;font-size:11px}
}

/* v1.4.121 — Consultation des parties passées : grille carrée plein écran.
   Les parties en cours conservent leur mise en page et leurs animations. */
.bj-gamepage .bj-game-shell:not(.bj-game-playing){
  width:min(820px,100%)!important;
  padding-inline:clamp(5px,1.8vw,12px)!important;
}
.bj-body.bj-themed .bj-game-shell:not(.bj-game-playing) .bj-game-card{
  width:100%!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:8px 0 20px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.bj-body.bj-themed .bj-game-shell:not(.bj-game-playing) .bj-game-card::before{
  content:none!important;display:none!important;
}
.bj-gamepage .bj-game-shell:not(.bj-game-playing) .bj-game-date-title{
  margin:4px 0 12px!important;
  text-align:center;
  color:#f5faff;
  font-weight:900;
  font-size:clamp(14px,3.8vw,20px);
}
.bj-gamepage .bj-game-shell:not(.bj-game-playing) .bj-progress{
  padding:0 3px!important;
  margin-bottom:10px!important;
  font-size:clamp(10px,2.7vw,12px);
}
.bj-gamepage .bj-game-shell:not(.bj-game-playing) .bj-grid{
  --bj-cell-size:unset;
  display:grid!important;
  grid-template-columns:repeat(var(--cols),minmax(0,1fr))!important;
  width:100%!important;
  max-width:680px!important;
  margin:0 auto!important;
  column-gap:clamp(3px,.9vw,6px)!important;
  row-gap:clamp(4px,1.2vw,7px)!important;
  align-items:start!important;
}
.bj-gamepage .bj-game-shell:not(.bj-game-playing) .bj-grid>.bj-cell{
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  aspect-ratio:1/1!important;
  line-height:1!important;
  font-size:clamp(17px,5.5vw,34px)!important;
  border-radius:clamp(6px,2vw,11px)!important;
}
.bj-gamepage .bj-game-shell:not(.bj-game-playing) .bj-final{
  width:min(100%,680px);
  margin:8px auto 0!important;
  padding:10px 8px 16px!important;
}
.bj-gamepage .bj-game-shell:not(.bj-game-playing) .bj-final-icon{
  font-size:clamp(42px,12vw,60px);
}
@media(max-width:520px){
  .bj-gamepage .bj-game-shell:not(.bj-game-playing) .bj-game-head{padding-inline:4px!important}
  .bj-gamepage .bj-game-shell:not(.bj-game-playing) .bj-game-card{padding-top:4px!important}
  .bj-gamepage .bj-game-shell:not(.bj-game-playing) .bj-final h2{font-size:27px}
}


/* ==== CSS SOURCE: home-reference.css ==== */
/* BONJOUUUR 1.4.25 — header vidéo épuré + icône mode avion active/inactive */

:is(.bj-homepage,.bj-livepage) .bj-shell{
  padding-top:0 !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header{
  position:relative !important;
  margin:0 -14px 8px !important;
  min-height:172px !important;
  height:172px !important;
  padding:12px !important;
  display:grid !important;
  grid-template-columns:54px 1fr 54px !important;
  grid-template-rows:1fr !important;
  align-items:start !important;
  border:0 !important;
  border-radius:0 0 26px 26px !important;
  background:#04070d !important;
  overflow:hidden !important;
  box-shadow:0 14px 28px rgba(0,0,0,.40) !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header::before{
  display:none !important;
  content:none !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:54px !important;
  background:linear-gradient(to bottom, rgba(4,7,13,0) 0%, rgba(5,8,12,.88) 68%, #05080c 100%) !important;
  pointer-events:none !important;
  z-index:2 !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-video{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  z-index:0 !important;
  background:#04070d !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-title,
:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-word-logo{
  display:none !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-icon-btn{
  position:relative !important;
  z-index:3 !important;
  grid-column:1 !important;
  grid-row:1 !important;
  justify-self:start !important;
  align-self:start !important;
  width:54px !important;
  height:54px !important;
  border-radius:50% !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions{
  position:absolute !important;
  top:4px !important;
  right:12px !important;
  width:54px !important;
  height:54px !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
  pointer-events:none !important;
  z-index:3 !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions > .bj-airplane-btn{
  position:relative !important;
  inset:auto !important;
  display:block !important;
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  min-height:54px !important;
  max-width:54px !important;
  max-height:54px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:transparent url('header-airplane-inactive.png') center -4px / 100% 100% no-repeat !important;
  box-shadow:none !important;
  color:transparent !important;
  font-size:0 !important;
  opacity:1 !important;
  overflow:hidden !important;
  transform:none !important;
  pointer-events:auto !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions > .bj-airplane-btn.is-active{
  background-image:url('header-airplane-active.png') !important;
}

:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions > .bj-airplane-btn::before,
:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions > .bj-airplane-btn::after,
:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions > .bj-airplane-btn svg,
:is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions > .bj-airplane-btn svg path,
:is(.bj-homepage,.bj-livepage) .bj-site-header .bj-sound-btn{
  display:none !important;
  content:none !important;
}

:is(.bj-homepage,.bj-livepage) .bj-mode-grid{
  margin-top:6px !important;
}

.bj-homepage .bj-card.accent{
  margin-top:0 !important;
}

.bj-homepage .bj-home-play{
  margin-top:6px !important;
  margin-bottom:18px !important;
}

@media (max-width: 520px){
  :is(.bj-homepage,.bj-livepage) .bj-shell{
    padding:0 10px 28px !important;
  }

  :is(.bj-homepage,.bj-livepage) .bj-site-header{
    margin:0 -10px 6px !important;
    min-height:148px !important;
    height:148px !important;
    padding:10px !important;
    grid-template-columns:50px 1fr 50px !important;
    border-radius:0 0 24px 24px !important;
  }

  :is(.bj-homepage,.bj-livepage) .bj-site-header::after{
    height:44px !important;
  }

  :is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-icon-btn,
  :is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions,
  :is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions > .bj-airplane-btn{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
    max-width:48px !important;
    max-height:48px !important;
  }

  :is(.bj-homepage,.bj-livepage) .bj-site-header > .bj-header-actions{
    top:2px !important;
    right:10px !important;
  }

  :is(.bj-homepage,.bj-livepage) .bj-mode-grid{
    margin-top:4px !important;
    margin-bottom:12px !important;
    gap:10px !important;
  }

  .bj-homepage .bj-home-play{
    margin-top:10px !important;
    margin-bottom:16px !important;
  }
}

/* v1.4.31 — date jouable glossy + sélecteur de mois rouge / jaune / bleu */
.bj-homepage .bj-day.playable{
  position:relative !important;
  overflow:hidden !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.05) 36%, rgba(255,255,255,0) 37%),
    linear-gradient(180deg,#ff4960 0%,#f21b3b 46%,#c90b2d 100%) !important;
  border:1.5px solid #ff7183 !important;
  outline:none !important;
  outline-offset:0 !important;
  color:#fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.48),
    inset 0 -4px 8px rgba(126,0,24,.30),
    0 4px 8px rgba(0,0,0,.28),
    0 0 13px rgba(255,37,70,.50) !important;
  text-shadow:0 2px 3px rgba(0,0,0,.30) !important;
}
.bj-homepage .bj-day.playable::before{
  content:"" !important;
  position:absolute !important;
  inset:2px 7px auto !important;
  height:38% !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.36),rgba(255,255,255,.04)) !important;
  pointer-events:none !important;
}

/* Le jour courant n'a plus de contour spécifique : seule la prochaine date jouable est mise en avant. */
.bj-homepage .bj-day.today{
  outline:none !important;
}

.bj-homepage .bj-month-picker{
  z-index:500 !important;
  padding:13px !important;
  border:2px solid transparent !important;
  border-radius:19px !important;
  background:
    linear-gradient(155deg,#08162f 0%,#07122a 55%,#091a3d 100%) padding-box,
    linear-gradient(135deg,#ff3150 0%,#ffd43c 48%,#2b8cff 100%) border-box !important;
  box-shadow:
    0 16px 34px rgba(0,0,0,.72),
    -5px 0 16px rgba(255,38,73,.18),
    5px 0 16px rgba(39,137,255,.22),
    0 0 14px rgba(255,211,58,.14) !important;
  overflow:hidden !important;
}
.bj-homepage .bj-month-picker::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  pointer-events:none !important;
  background:
    radial-gradient(circle at 6% 16%,rgba(255,38,75,.22),transparent 34%),
    radial-gradient(circle at 94% 10%,rgba(41,137,255,.24),transparent 36%),
    linear-gradient(120deg,transparent 42%,rgba(255,210,54,.06) 54%,transparent 66%) !important;
}
.bj-homepage .bj-month-picker-head,
.bj-homepage .bj-month-options{
  position:relative !important;
  z-index:1 !important;
}
.bj-homepage .bj-month-picker-head strong{
  color:#fff !important;
  text-shadow:0 2px 6px rgba(0,0,0,.45),0 0 10px rgba(55,139,255,.24) !important;
}
.bj-homepage .bj-month-year-arrow{
  border:1.5px solid #3d8cff !important;
  background:linear-gradient(180deg,#16479a 0%,#0a245c 100%) !important;
  color:#fff !important;
  box-shadow:inset 0 1px rgba(255,255,255,.22),0 0 9px rgba(45,134,255,.28) !important;
}
.bj-homepage .bj-month-option{
  border:1px solid #385c91 !important;
  background:linear-gradient(180deg,#15345f 0%,#0a1d3d 100%) !important;
  color:#f5f8ff !important;
  box-shadow:inset 0 1px rgba(255,255,255,.08) !important;
}
.bj-homepage .bj-month-option.selected{
  border:1.5px solid #ffd43c !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,0) 38%),
    linear-gradient(180deg,#ff4059 0%,#e71135 100%) !important;
  color:#fff !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.34),
    0 0 0 1px rgba(255,116,39,.28),
    0 0 12px rgba(255,207,49,.34) !important;
}
.bj-homepage .bj-month-option:not(:disabled):hover,
.bj-homepage .bj-month-year-arrow:not(:disabled):hover{
  border-color:#ffd64a !important;
  filter:brightness(1.12) !important;
}


/* v1.4.32 — nouveaux codes couleurs du calendrier */
/* Date non jouée dans le passé : fond sombre identique au calendrier. */
.bj-homepage .bj-day.idle:not(.future){
  background:linear-gradient(180deg,#123058 0%,#08182f 100%) !important;
  border-color:#375885 !important;
  color:#eff4ff !important;
  outline:none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 3px 7px rgba(0,0,0,.22) !important;
  text-shadow:0 1px 2px rgba(0,0,0,.34) !important;
}

/* Prochaine date à jouer : même case sombre, seulement entourée d'un halo jaune. */
.bj-homepage .bj-day.playable,
.bj-homepage .bj-day.idle.playable{
  position:relative !important;
  overflow:visible !important;
  background:linear-gradient(180deg,#123058 0%,#08182f 100%) !important;
  border:1.5px solid #46658f !important;
  color:#fff !important;
  outline:none !important;
  outline-offset:0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 3px 7px rgba(0,0,0,.24),
    0 0 9px rgba(255,220,58,.72),
    0 0 18px rgba(255,194,26,.46) !important;
  text-shadow:0 1px 2px rgba(0,0,0,.34) !important;
}
.bj-homepage .bj-day.playable::before{
  display:none !important;
  content:none !important;
}

/* Mot trouvé : vert glossy. */
.bj-homepage .bj-day.won{
  position:relative !important;
  overflow:hidden !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.10) 34%,rgba(255,255,255,0) 35%),
    linear-gradient(180deg,#50e897 0%,#14b96a 48%,#078648 100%) !important;
  border:1.5px solid #74f0ae !important;
  color:#fff !important;
  outline:none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.52),
    inset 0 -4px 8px rgba(0,82,42,.32),
    0 4px 8px rgba(0,0,0,.26),
    0 0 12px rgba(30,219,116,.34) !important;
  text-shadow:0 2px 3px rgba(0,0,0,.28) !important;
}
.bj-homepage .bj-day.won::before{
  content:"" !important;
  position:absolute !important;
  left:7px !important;
  right:7px !important;
  top:2px !important;
  height:34% !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,.03)) !important;
  pointer-events:none !important;
}

/* Mot non trouvé : rouge glossy. */
.bj-homepage .bj-day.lost{
  position:relative !important;
  overflow:hidden !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.10) 34%,rgba(255,255,255,0) 35%),
    linear-gradient(180deg,#ff5c6f 0%,#ee2743 48%,#b90e2d 100%) !important;
  border:1.5px solid #ff8190 !important;
  color:#fff !important;
  outline:none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.52),
    inset 0 -4px 8px rgba(111,0,20,.32),
    0 4px 8px rgba(0,0,0,.26),
    0 0 12px rgba(255,46,75,.34) !important;
  text-shadow:0 2px 3px rgba(0,0,0,.28) !important;
}
.bj-homepage .bj-day.lost::before{
  content:"" !important;
  position:absolute !important;
  left:7px !important;
  right:7px !important;
  top:2px !important;
  height:34% !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,.03)) !important;
  pointer-events:none !important;
}


/* v1.4.33 — popup calendrier au premier plan + classement rouge/jaune/bleu */
.bj-homepage .bj-month-picker{
  position:fixed !important;
  z-index:30000 !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  bottom:auto !important;
  width:min(340px,calc(100vw - 28px)) !important;
  max-height:min(76vh,520px) !important;
  transform:translate(-50%,-50%) !important;
  overflow:auto !important;
  overscroll-behavior:contain !important;
  isolation:isolate !important;
  box-shadow:
    0 0 0 100vmax rgba(1,4,12,.68),
    0 20px 48px rgba(0,0,0,.84),
    -7px 0 22px rgba(255,40,74,.22),
    7px 0 22px rgba(43,140,255,.26),
    0 0 20px rgba(255,214,60,.18) !important;
}
.bj-homepage .bj-month-picker[hidden]{
  display:none !important;
}
.bj-homepage .bj-month-options{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

/* Classement Mot du jour : palette cohérente rouge / jaune / bleu. */
.bj-homepage .bj-card.bj-ranking{
  border:2px solid transparent !important;
  border-radius:28px !important;
  background:
    radial-gradient(circle at 8% 4%,rgba(255,44,76,.18),transparent 34%),
    radial-gradient(circle at 94% 12%,rgba(46,137,255,.22),transparent 38%),
    linear-gradient(155deg,#06132d 0%,#071a3d 52%,#050c1d 100%) padding-box,
    linear-gradient(135deg,#ff3150 0%,#ffd43c 48%,#2b8cff 100%) border-box !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.16),
    -5px 0 16px rgba(255,42,75,.15),
    5px 0 18px rgba(42,135,255,.18),
    0 16px 32px rgba(0,0,0,.42) !important;
}
.bj-homepage .bj-ranking-head .bj-kicker{
  color:#38a7ff !important;
  text-shadow:0 0 10px rgba(47,145,255,.24) !important;
}
.bj-homepage .bj-ranking-head h2{
  color:#fff !important;
  text-shadow:0 2px 8px rgba(0,0,0,.45) !important;
}
.bj-homepage .bj-ranking-crown{
  color:#ffd83f !important;
  text-shadow:0 0 16px rgba(255,211,55,.52) !important;
}
.bj-homepage .bj-rank-card{
  border:1px solid #315b92 !important;
  background:linear-gradient(145deg,#0e2850 0%,#07162f 72%) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.12),0 8px 18px rgba(0,0,0,.26) !important;
}
.bj-homepage .bj-rank-card.rank-1{
  border-color:#ffd441 !important;
  background:
    radial-gradient(circle at 10% 12%,rgba(255,213,61,.22),transparent 42%),
    linear-gradient(145deg,#302810 0%,#17182a 78%) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.15),0 0 14px rgba(255,210,57,.20),0 8px 18px rgba(0,0,0,.26) !important;
}
.bj-homepage .bj-rank-card.rank-2{
  border-color:#3a91ff !important;
  background:linear-gradient(145deg,#123c77 0%,#091a38 78%) !important;
}
.bj-homepage .bj-rank-card.rank-3{
  border-color:#ff4964 !important;
  background:
    radial-gradient(circle at 9% 18%,rgba(255,55,86,.18),transparent 42%),
    linear-gradient(145deg,#43172a 0%,#12162b 78%) !important;
}
.bj-homepage .bj-rank-card.mine{
  box-shadow:inset 0 1px rgba(255,255,255,.18),0 0 0 1px rgba(255,210,57,.50),0 0 16px rgba(51,137,255,.30) !important;
}
.bj-homepage .bj-rank-medal{
  background:#0a2147 !important;
  color:#ddebff !important;
  border:1px solid rgba(55,143,255,.40) !important;
}
.bj-homepage .bj-rank-card.rank-1 .bj-rank-medal{
  background:#4a3d10 !important;
  color:#ffe46b !important;
  border-color:#d9b637 !important;
}
.bj-homepage .bj-rank-card.rank-3 .bj-rank-medal{
  background:#48182a !important;
  color:#ff9aaa !important;
  border-color:#d94760 !important;
}
.bj-homepage .bj-rank-score b{
  color:#ffd84a !important;
}
.bj-homepage .bj-ranking-separator{
  color:#3e9cff !important;
}
.bj-homepage .bj-ranking-search label{
  color:#f3f6ff !important;
}
.bj-homepage .bj-ranking-input{
  border:1.5px solid #347dff !important;
  background:linear-gradient(180deg,#0a2148 0%,#06152f 100%) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.09),0 0 10px rgba(39,123,255,.15) !important;
}
.bj-homepage .bj-ranking-input:focus-within{
  border-color:#ffd342 !important;
  box-shadow:0 0 0 2px rgba(255,211,66,.18),0 0 14px rgba(255,47,77,.12) !important;
}
.bj-homepage .bj-ranking-input span{
  color:#ff4963 !important;
}
.bj-homepage .bj-rank-chips span:first-child{
  color:#ffe580 !important;
  border-color:rgba(255,210,59,.42) !important;
  background:rgba(66,51,12,.54) !important;
}

/* v1.4.34 — mois sélectionné : bleu glossy moderne, sans contour jaune */
.bj-homepage .bj-month-option.selected,
.bj-homepage .bj-month-option.selected:hover,
.bj-homepage .bj-month-option.selected:focus-visible{
  position:relative !important;
  overflow:hidden !important;
  border:1.5px solid #69b9ff !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.36) 0%,rgba(255,255,255,.10) 26%,rgba(255,255,255,0) 43%),
    linear-gradient(180deg,#2f94ff 0%,#1268df 48%,#0a3f9d 100%) !important;
  color:#fff !important;
  text-shadow:0 2px 4px rgba(0,0,0,.34),0 0 8px rgba(160,218,255,.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.58),
    inset 0 -5px 9px rgba(0,35,105,.34),
    0 4px 10px rgba(0,0,0,.28),
    0 0 0 1px rgba(75,156,255,.18),
    0 0 16px rgba(38,139,255,.52) !important;
  filter:none !important;
}
.bj-homepage .bj-month-option.selected::before{
  content:"" !important;
  position:absolute !important;
  left:8px !important;
  right:8px !important;
  top:3px !important;
  height:34% !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.44),rgba(255,255,255,.05)) !important;
  pointer-events:none !important;
}
.bj-homepage .bj-month-option:not(.selected):not(:disabled):hover,
.bj-homepage .bj-month-year-arrow:not(:disabled):hover{
  border-color:#5faaff !important;
  filter:brightness(1.10) !important;
}


/* v1.4.35 — Live Battles : même header vidéo + palette rouge / jaune / bleu glossy */
.bj-livepage{
  background:
    radial-gradient(circle at 0 18%,rgba(255,36,67,.17),transparent 31%),
    radial-gradient(circle at 100% 30%,rgba(40,126,255,.20),transparent 34%),
    radial-gradient(circle at 50% 82%,rgba(255,205,46,.08),transparent 30%),
    #020713 !important;
  color:#fff !important;
}

/* Les deux cartes de navigation gardent exactement le même rendu dans les deux modes. */
:is(.bj-homepage,.bj-livepage) .bj-mode-grid{
  gap:10px !important;
  margin-top:4px !important;
  margin-bottom:12px !important;
}
:is(.bj-homepage,.bj-livepage) .bj-mode{
  isolation:isolate !important;
}

/* Cartes principales Live : bordure tricolore, verre bleu nuit et lumière glossy. */
.bj-livepage [data-mode-content] > .bj-card,
.bj-livepage .bj-live-home,
.bj-livepage .bj-live-section,
.bj-livepage .bj-live-room,
.bj-livepage .bj-battle-ranking,
.bj-livepage .bj-live-cancelled{
  position:relative !important;
  border:2px solid transparent !important;
  border-radius:28px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0) 18%) padding-box,
    radial-gradient(circle at 7% 10%,rgba(255,39,72,.18),transparent 34%) padding-box,
    radial-gradient(circle at 94% 12%,rgba(39,126,255,.22),transparent 38%) padding-box,
    linear-gradient(155deg,#06142f 0%,#081d46 54%,#050c1d 100%) padding-box,
    linear-gradient(135deg,#ff3150 0%,#ffd43c 48%,#2b8cff 100%) border-box !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.17),
    -5px 0 18px rgba(255,42,75,.14),
    5px 0 20px rgba(42,135,255,.17),
    0 16px 34px rgba(0,0,0,.42) !important;
  overflow:hidden !important;
}
.bj-livepage [data-mode-content] > .bj-card::after,
.bj-livepage .bj-live-home::after,
.bj-livepage .bj-live-section::after,
.bj-livepage .bj-live-room::after,
.bj-livepage .bj-battle-ranking::after,
.bj-livepage .bj-live-cancelled::after{
  content:"" !important;
  position:absolute !important;
  left:5% !important;
  right:5% !important;
  top:2px !important;
  height:18% !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,0)) !important;
  pointer-events:none !important;
  z-index:0 !important;
}
.bj-livepage [data-mode-content] > .bj-card > *,
.bj-livepage .bj-live-home > *,
.bj-livepage .bj-live-section > *,
.bj-livepage .bj-live-room > *,
.bj-livepage .bj-battle-ranking > *,
.bj-livepage .bj-live-cancelled > *{
  position:relative !important;
  z-index:1 !important;
}

.bj-livepage .bj-kicker{
  color:#42aaff !important;
  text-shadow:0 0 12px rgba(54,151,255,.34) !important;
}
.bj-livepage :is(.bj-live-home h1,.bj-live-section h2,.bj-live-result h2,.bj-ranking-head h2){
  color:#fff !important;
  text-shadow:0 3px 9px rgba(0,0,0,.42),0 0 12px rgba(48,137,255,.12) !important;
}

/* Gros boutons et actions : rouge vers jaune, reflet glossy. */
.bj-livepage :is(.bj-primary,.bj-live-create-toggle,.bj-live-start,.bj-live-home-back,.bj-live-join-form button,.bj-copy-link){
  position:relative !important;
  overflow:hidden !important;
  border:1.5px solid #ffe06a !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,.04) 34%,rgba(255,255,255,0) 35%),
    linear-gradient(90deg,#ff2449 0%,#ff3f43 30%,#ff812d 67%,#ffd62b 100%) !important;
  color:#fff !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.42),
    0 8px 18px rgba(0,0,0,.30),
    0 0 14px rgba(255,73,55,.18),
    0 0 12px rgba(255,211,53,.12) !important;
  text-shadow:0 2px 5px rgba(0,0,0,.30) !important;
}
.bj-livepage :is(.bj-primary,.bj-live-create-toggle,.bj-live-start,.bj-live-home-back,.bj-live-join-form button,.bj-copy-link)::before{
  content:"" !important;
  position:absolute !important;
  left:7% !important;
  right:7% !important;
  top:2px !important;
  height:31% !important;
  border-radius:999px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,0)) !important;
  pointer-events:none !important;
}

/* Champs et sélecteurs : bleu électrique glossy. */
.bj-livepage :is(.bj-live-search,.bj-live-join-form input,.bj-live-create-form select,.bj-live-create-form input:not([type="checkbox"]),.bj-ranking-input){
  border:1.5px solid #438dff !important;
  border-radius:16px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0) 36%),
    linear-gradient(180deg,#102c59 0%,#071831 100%) !important;
  color:#fff !important;
  box-shadow:inset 0 1px rgba(255,255,255,.12),0 0 11px rgba(39,126,255,.16) !important;
}
.bj-livepage :is(.bj-live-search,.bj-live-join-form input,.bj-live-create-form select,.bj-ranking-input):focus,
.bj-livepage .bj-ranking-input:focus-within{
  border-color:#60b3ff !important;
  box-shadow:0 0 0 2px rgba(55,142,255,.14),0 0 16px rgba(44,137,255,.28) !important;
  outline:none !important;
}

/* Lignes de Battles et joueurs. */
.bj-livepage :is(.bj-live-list-row,.bj-live-history-row,.bj-player){
  border:1px solid rgba(70,133,255,.50) !important;
  border-radius:18px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0) 24%),
    linear-gradient(145deg,#0d2853 0%,#07162f 76%) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.09),0 6px 15px rgba(0,0,0,.23) !important;
}
.bj-livepage :is(.bj-live-list-row,.bj-live-history-row) > b{
  color:#ffd84b !important;
  text-shadow:0 0 9px rgba(255,213,65,.20) !important;
}
.bj-livepage :is(.bj-live-list-symbol,.bj-live-history-icon){
  border:1px solid rgba(255,215,69,.52) !important;
  background:linear-gradient(145deg,rgba(255,53,78,.33),rgba(28,91,221,.40)) !important;
  color:#ffe45e !important;
  box-shadow:0 0 12px rgba(51,130,255,.18) !important;
}
.bj-livepage .bj-code{
  color:#ffd83f !important;
  text-shadow:0 0 12px rgba(255,214,61,.35) !important;
}

/* Classement Live : même code podium que le Mot du jour. */
.bj-livepage .bj-rank-card{
  border:1px solid #315b92 !important;
  background:linear-gradient(145deg,#0e2850 0%,#07162f 72%) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.12),0 8px 18px rgba(0,0,0,.26) !important;
}
.bj-livepage .bj-rank-card.rank-1{
  border-color:#ffd441 !important;
  background:radial-gradient(circle at 10% 12%,rgba(255,213,61,.22),transparent 42%),linear-gradient(145deg,#302810 0%,#17182a 78%) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.15),0 0 14px rgba(255,210,57,.20),0 8px 18px rgba(0,0,0,.26) !important;
}
.bj-livepage .bj-rank-card.rank-2{
  border-color:#3a91ff !important;
  background:linear-gradient(145deg,#123c77 0%,#091a38 78%) !important;
}
.bj-livepage .bj-rank-card.rank-3{
  border-color:#ff4964 !important;
  background:radial-gradient(circle at 9% 18%,rgba(255,55,86,.18),transparent 42%),linear-gradient(145deg,#43172a 0%,#12162b 78%) !important;
}
.bj-livepage .bj-ranking-crown,
.bj-livepage .bj-rank-score b{
  color:#ffd84a !important;
  text-shadow:0 0 14px rgba(255,212,66,.34) !important;
}

/* WhatsApp est volontairement harmonisé au thème plutôt que vert. */
.bj-livepage .bj-whatsapp{
  border:1.5px solid #4898ff !important;
  background:linear-gradient(180deg,#185ac7 0%,#0d347d 100%) !important;
  color:#fff !important;
  box-shadow:inset 0 1px rgba(255,255,255,.20),0 0 14px rgba(45,137,255,.22) !important;
}

@media(max-width:520px){
  .bj-livepage [data-mode-content] > .bj-card,
  .bj-livepage .bj-live-home,
  .bj-livepage .bj-live-section,
  .bj-livepage .bj-live-room,
  .bj-livepage .bj-battle-ranking,
  .bj-livepage .bj-live-cancelled{
    border-radius:24px !important;
  }
}

/* v1.4.37 — cartes de navigation figées sur le rendu exact du Mot du jour v1.4.35 */
/* Le mode Live Battles reprend désormais exactement le même habillage que la page Mot du jour. */
.bj-livepage .bj-mode-grid{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
  margin:4px 0 12px !important;
}
.bj-livepage .bj-mode{
  min-height:116px !important;
  padding:16px 14px !important;
  border-radius:24px !important;
  overflow:hidden !important;
  position:relative !important;
  border:2px solid transparent !important;
  box-shadow:0 12px 24px rgba(0,0,0,.38) !important;
}
.bj-livepage .bj-mode::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  pointer-events:none !important;
  background:linear-gradient(180deg,rgba(255,255,255,.10),transparent 34%),radial-gradient(circle at 8% 18%,rgba(255,255,255,.10),transparent 20%) !important;
}
.bj-livepage .bj-mode.daily{
  background:#4a0015 url('home-daily-waves.svg') center/cover no-repeat !important;
  border-color:#ff5c6d !important;
  box-shadow:0 12px 24px rgba(0,0,0,.38),0 0 0 1px rgba(255,96,113,.18) !important;
}
.bj-livepage .bj-mode.live{
  background:#082366 url('home-live-waves.svg') center/cover no-repeat !important;
  border-color:#3b7bff !important;
  box-shadow:0 12px 24px rgba(0,0,0,.38),0 0 0 1px rgba(59,123,255,.18) !important;
}
.bj-livepage .bj-mode b{
  max-width:54% !important;
  font-size:clamp(19px,6.5vw,31px) !important;
  line-height:.94 !important;
  letter-spacing:-.05em !important;
  color:#fff !important;
  text-shadow:0 2px 6px rgba(0,0,0,.28) !important;
}
.bj-livepage .bj-mode b span{display:block !important;color:#fff !important}
.bj-livepage .bj-mode b em{display:block !important;color:#ffd744 !important;font-style:normal !important}
.bj-livepage .bj-mode .bj-mode-arrow{
  left:14px !important;
  right:auto !important;
  bottom:13px !important;
  width:34px !important;
  height:34px !important;
  border:2px solid currentColor !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  font-size:28px !important;
  padding:0 0 4px 1px !important;
  z-index:2 !important;
}
.bj-livepage .bj-mode.daily .bj-mode-arrow{
  color:#fff !important;
  background:rgba(78,0,24,.45) !important;
  border-color:#ff4360 !important;
  box-shadow:none !important;
}
.bj-livepage .bj-mode.live .bj-mode-arrow{
  color:#fff !important;
  background:rgba(2,37,104,.45) !important;
  border-color:#2e77ff !important;
  box-shadow:none !important;
}
.bj-livepage .bj-mode .bj-mode-calendar{
  top:50% !important;
  right:16px !important;
  width:76px !important;
  height:88px !important;
  transform:translateY(-50%) rotate(4deg) !important;
  border-radius:18px !important;
  box-shadow:0 10px 18px rgba(0,0,0,.35) !important;
  z-index:2 !important;
}
.bj-livepage .bj-mode .bj-mode-calendar span{font-size:14px !important;padding:5px 0 !important}
.bj-livepage .bj-mode .bj-mode-calendar strong{font-size:43px !important;padding-top:2px !important}
.bj-livepage .bj-mode .bj-mode-bolt{
  top:50% !important;
  right:10px !important;
  width:85px !important;
  height:98px !important;
  transform:translateY(-50%) !important;
  background:url('home-bolt.svg') center/contain no-repeat !important;
  filter:drop-shadow(0 0 12px rgba(255,210,55,.42)) !important;
  z-index:2 !important;
}

/* L'apparence ne change plus lorsque l'on passe d'un mode à l'autre :
   on conserve exactement le visuel de la page Mot du jour v1.4.35. */
:is(.bj-homepage,.bj-livepage) .bj-mode.daily,
:is(.bj-homepage,.bj-livepage) .bj-mode.daily.is-active,
:is(.bj-homepage,.bj-livepage) .bj-mode.daily:not(.is-active),
:is(.bj-homepage,.bj-livepage) .bj-mode.daily:hover,
:is(.bj-homepage,.bj-livepage) .bj-mode.daily:focus-visible,
:is(.bj-homepage,.bj-livepage) .bj-mode.daily:active{
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
}
:is(.bj-homepage,.bj-livepage) .bj-mode.live,
:is(.bj-homepage,.bj-livepage) .bj-mode.live.is-active,
:is(.bj-homepage,.bj-livepage) .bj-mode.live:not(.is-active),
:is(.bj-homepage,.bj-livepage) .bj-mode.live:hover,
:is(.bj-homepage,.bj-livepage) .bj-mode.live:focus-visible,
:is(.bj-homepage,.bj-livepage) .bj-mode.live:active{
  opacity:.72 !important;
  filter:saturate(.75) brightness(.82) !important;
  transform:none !important;
}

@media(max-width:520px){
  .bj-livepage .bj-mode-grid{
    gap:9px !important;
    margin:4px 0 12px !important;
  }
  .bj-livepage .bj-mode{
    min-height:86px !important;
    height:86px !important;
    padding:11px 10px !important;
    border-radius:19px !important;
    border-width:2px !important;
    box-shadow:0 8px 16px rgba(0,0,0,.34) !important;
  }
  .bj-livepage .bj-mode b{
    left:12px !important;
    top:6px !important;
    max-width:55% !important;
    font-size:20px !important;
    line-height:.92 !important;
  }
  .bj-livepage .bj-mode .bj-mode-arrow{
    left:10px !important;
    bottom:9px !important;
    width:26px !important;
    height:26px !important;
    font-size:22px !important;
    padding:0 0 3px 1px !important;
    border-width:1.5px !important;
  }
  .bj-livepage .bj-mode .bj-mode-calendar{
    right:9px !important;
    width:54px !important;
    height:63px !important;
    border-radius:13px !important;
    border-width:1.5px !important;
    transform:translateY(-50%) rotate(4deg) !important;
  }
  .bj-livepage .bj-mode .bj-mode-calendar span{font-size:10px !important;padding:3px 0 !important}
  .bj-livepage .bj-mode .bj-mode-calendar strong{font-size:29px !important;line-height:1.25 !important}
  .bj-livepage .bj-mode .bj-mode-bolt{
    right:7px !important;
    width:61px !important;
    height:70px !important;
    filter:drop-shadow(0 0 8px rgba(255,210,55,.40)) !important;
  }
}

/* v1.4.38 — navigation de modes : cartes rapprochées + état actif/inactif lumineux */
:is(.bj-homepage,.bj-livepage) .bj-site-header{
  margin-bottom:2px !important;
}
:is(.bj-homepage,.bj-livepage) .bj-mode-grid{
  margin-top:0 !important;
}

/* État inactif : même graphisme, simplement estompé. */
:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode:not(.is-active){
  opacity:.76 !important;
  filter:saturate(.72) brightness(.84) !important;
  transform:none !important;
  box-shadow:0 8px 18px rgba(0,0,0,.34) !important;
  transition:opacity .22s ease,filter .22s ease,box-shadow .22s ease !important;
}

/* État actif : couleurs pleines + halo lumineux sans changer le dessin de la carte. */
:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode.is-active{
  opacity:1 !important;
  filter:saturate(1.12) brightness(1.06) !important;
  transform:none !important;
  transition:opacity .22s ease,filter .22s ease,box-shadow .22s ease !important;
}
:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode.daily.is-active{
  box-shadow:
    0 12px 24px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,96,113,.24),
    0 0 18px rgba(255,43,74,.38),
    0 0 12px rgba(255,211,58,.18) !important;
}
:is(.bj-homepage,.bj-livepage) .bj-mode-grid .bj-mode.live.is-active{
  box-shadow:
    0 12px 24px rgba(0,0,0,.38),
    0 0 0 1px rgba(59,123,255,.28),
    0 0 20px rgba(39,120,255,.42),
    0 0 12px rgba(255,211,58,.16) !important;
}

/* Sur mobile, le rapprochement est encore un peu plus marqué. */
@media(max-width:520px){
  :is(.bj-homepage,.bj-livepage) .bj-site-header{
    margin-bottom:0 !important;
  }
  :is(.bj-homepage,.bj-livepage) .bj-mode-grid{
    margin-top:-2px !important;
  }
}

/* v1.4.40 — éclair Live Battles sans rectangle ni fond apparent */
:is(.bj-homepage,.bj-livepage) .bj-mode.live .bj-mode-bolt{
  background-color:transparent !important;
  background-image:url('home-bolt.svg') !important;
  background-position:center !important;
  background-size:contain !important;
  background-repeat:no-repeat !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  outline:0 !important;
}

/* v1.4.135 : classement unique Power Index */
.bj-homepage .bj-power-explainer{margin:4px 0 16px;color:#d8e8ff;font-size:.88rem;line-height:1.45}
.bj-homepage .bj-power-explainer strong{color:#ffe07b}
.bj-homepage .bj-ranking-empty{padding:14px;text-align:center;color:#d9e8ff}
.bj-homepage .bj-rank-score span{font-size:.66rem;letter-spacing:.05em;white-space:normal;text-align:right}
.bj-homepage .bj-rank-score b{font-variant-numeric:tabular-nums}

/* v1.4.138 — information discrète avant éligibilité au classement */
.bj-homepage .bj-power-eligibility{
  display:flex;align-items:center;gap:11px;
  margin:10px 0 12px;padding:11px 13px;
  color:#fff;background:linear-gradient(115deg,#a91f35 0%,#cb3448 55%,#9c1e34 100%);
  border:1px solid rgba(255,255,255,.2);border-radius:14px;
  box-shadow:0 5px 16px rgba(108,12,30,.18),inset 0 1px 0 rgba(255,255,255,.12);
  font-size:.82rem;font-weight:500;line-height:1.38;text-align:left;
}
.bj-homepage .bj-power-eligibility-icon{
  flex:none;display:grid;place-items:center;width:26px;height:26px;
  border-radius:9px;background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.24);color:#fff;
  font-size:.88rem;font-weight:900;line-height:1;
}
.bj-homepage .bj-power-eligibility strong{font-weight:800;color:#fff}
.bj-homepage .bj-power-eligibility small{display:block;margin-top:2px;font-size:.77rem;color:rgba(255,255,255,.9)}
@media(max-width:520px){.bj-homepage .bj-power-eligibility{padding:10px 11px;gap:9px;font-size:.78rem}.bj-homepage .bj-power-eligibility small{font-size:.74rem}}

/* v1.4.139 — pagination (10 joueurs) et section provisoire sobre */
.bj-homepage .bj-ranking-pages{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;margin:14px 0 24px}
.bj-homepage .bj-ranking-pages[hidden]{display:none}
.bj-homepage .bj-ranking-page-btn{min-width:34px;height:34px;padding:0 8px;border:1px solid rgba(96,150,217,.42);border-radius:10px;color:#e6f1ff;background:rgba(21,51,94,.8);font-size:.85rem;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.bj-homepage .bj-ranking-page-btn:hover:not(:disabled){background:#234f8d;border-color:#78b4ff}
.bj-homepage .bj-ranking-page-btn.active{color:#08172a;background:#ffd74b;border-color:#ffd74b}
.bj-homepage .bj-ranking-page-btn:disabled{opacity:.35;cursor:default}
.bj-homepage .bj-ranking-page-label{color:#aac0d9;font-size:.72rem;margin-left:5px;white-space:nowrap}
.bj-homepage .bj-ranking-provisional{margin:20px 0 8px;padding:16px 12px 6px;border-radius:18px;background:linear-gradient(165deg,rgba(15,26,42,.74),rgba(12,21,35,.88));border:1px solid rgba(150,166,190,.19)}
.bj-homepage .bj-ranking-provisional-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
.bj-homepage .bj-ranking-provisional-title h3{margin:0;color:#d2d9e4;font-size:1rem;font-weight:750}
.bj-homepage .bj-ranking-provisional-title>span,.bj-homepage .bj-ranking-provisional-note{color:#98a5b5;font-size:.75rem}
.bj-homepage .bj-ranking-provisional-note{margin:5px 0 13px}
.bj-homepage .bj-ranking-provisional .bj-rank-card,
.bj-homepage .bj-ranking-search-results .bj-ranking-search-provisional+.bj-rank-card{
  border:1px solid rgba(148,166,185,.20)!important;background:#152235!important;box-shadow:none!important;color:#dce4eb!important}
.bj-homepage .bj-ranking-provisional .bj-rank-card.mine{box-shadow:inset 0 0 0 1px rgba(200,217,236,.32)!important}
.bj-homepage .bj-ranking-provisional .bj-rank-score b,
.bj-homepage .bj-ranking-search-results .bj-ranking-search-provisional+.bj-rank-card .bj-rank-score b{color:#d3dce7!important}
.bj-homepage .bj-ranking-provisional .bj-rank-medal{background:#263246!important;border-color:#47566b!important;color:#aab8c8!important}
.bj-homepage .bj-ranking-provisional .bj-rank-chips span:first-child{color:#bbc7d5!important;background:#202e43!important;border-color:#425067!important}
.bj-homepage .bj-ranking-provisional .bj-ranking-page-btn{background:#202b3c;border-color:#425065;color:#c6d1df}
.bj-homepage .bj-ranking-provisional .bj-ranking-page-btn.active{background:#a9b7c9;border-color:#a9b7c9;color:#162338}
.bj-homepage .bj-ranking-search-provisional{margin:12px 0 5px;color:#aab7c8;font-size:.74rem;font-weight:600}
@media(max-width:520px){.bj-homepage .bj-ranking-provisional{padding:13px 9px 3px}.bj-homepage .bj-ranking-pages{gap:4px}.bj-homepage .bj-ranking-page-btn{min-width:31px;height:32px}}

/* v1.4.143 — Fiche de joueur rapide, accessible depuis chaque ligne de classement */
.bj-homepage .bj-rank-card[data-bj-player-id]{cursor:pointer;transition:transform .15s ease,filter .15s ease}
.bj-homepage .bj-rank-card[data-bj-player-id]:hover{transform:translateY(-2px);filter:brightness(1.12)}
.bj-homepage .bj-rank-card[data-bj-player-id]:focus-visible{outline:3px solid #ffda54;outline-offset:3px}
.bj-player-sheet-open{overflow:hidden}
.bj-player-sheet-overlay[hidden]{display:none!important}
.bj-player-sheet-overlay{position:fixed;z-index:12000;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(3,8,22,.78);backdrop-filter:blur(9px);opacity:0;transition:opacity .17s ease}
.bj-player-sheet-overlay.is-visible{opacity:1}
.bj-player-sheet{box-sizing:border-box;position:relative;width:min(100%,420px);max-height:min(90dvh,780px);overflow:auto;overscroll-behavior:contain;border:1px solid rgba(109,168,255,.6);border-radius:23px;padding:20px;color:#f8fbff;background:radial-gradient(circle at 100% 0%,rgba(44,98,197,.35),transparent 49%),linear-gradient(155deg,#102c59,#071124 85%);box-shadow:0 24px 95px rgba(0,0,0,.62),inset 0 1px rgba(255,255,255,.1);transform:translateY(18px) scale(.94);transition:transform .19s cubic-bezier(.19,1,.22,1);font-family:system-ui,-apple-system,sans-serif}
.bj-player-sheet-overlay.is-visible .bj-player-sheet{transform:translateY(0) scale(1)}
.bj-player-sheet-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bj-player-sheet-kicker{font-size:.65rem;font-weight:900;letter-spacing:.18em;color:#9cbef4}
.bj-player-sheet-close{cursor:pointer;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.09);color:#fff;width:33px;height:33px;border-radius:12px;font-size:1.5rem;line-height:1}
.bj-player-sheet-hero{display:flex;align-items:center;gap:13px;padding:13px 0 16px}
.bj-player-sheet-avatar{flex:none;width:78px;height:78px;border-radius:50%;overflow:hidden;border:3px solid #4a95f5;background:#0d274a;box-shadow:0 0 24px rgba(35,114,255,.24)}
.bj-player-sheet-avatar svg{display:block;width:100%;height:100%}
.bj-player-sheet-name{flex:1;min-width:0}
.bj-player-sheet-name h2{font-size:1.25rem;line-height:1.15;overflow-wrap:anywhere;margin:0 0 6px;color:#fff}
.bj-player-sheet-name p{color:#bbd0e9;font-size:.76rem;margin:0;overflow-wrap:anywhere}
.bj-player-sheet-star{flex:none;cursor:pointer;width:44px;height:44px;border:1px solid #536782;border-radius:15px;background:#1c2940;color:#718096;font-size:1.8rem;line-height:1;transition:background .16s,transform .16s,color .16s,box-shadow .16s}
.bj-player-sheet-star:hover{transform:scale(1.09)}
.bj-player-sheet-star.is-favorite{color:#ffd33a;border-color:#ffdb67;background:#514015;box-shadow:0 0 18px #f9be2b55}
.bj-player-sheet-star:disabled{opacity:.55;cursor:wait}
.bj-player-sheet-power{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;border:1px solid #ffd45b70;border-radius:17px;padding:11px 16px;background:linear-gradient(110deg,#203767,#19305b 65%,#423818)}
.bj-player-sheet-power span{font-size:.68rem;letter-spacing:.15em;font-weight:900;color:#d3dffa}
.bj-player-sheet-power strong{font-size:2.1rem;letter-spacing:-.04em;color:#ffe174;font-variant-numeric:tabular-nums}
.bj-player-sheet-power small{flex-basis:100%;font-size:.57rem;letter-spacing:.14em;color:#b7c7e4}
.bj-player-sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.bj-player-sheet-stat{border:1px solid #426ca44b;border-radius:14px;padding:12px 11px;background:linear-gradient(140deg,#183e75a6,#101b34);min-width:0}
.bj-player-sheet-stat span{display:block;font-size:.68rem;color:#b6cde9;font-weight:600;margin-bottom:5px}
.bj-player-sheet-stat strong{display:block;font-size:1.25rem;color:#fff;letter-spacing:-.03em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.bj-player-sheet-spark{height:4px;border-radius:10px;margin-top:10px;background:#ffffff20;overflow:hidden}
.bj-player-sheet-spark:after{display:block;content:'';height:100%;width:var(--fill);background:linear-gradient(90deg,#42b8f5,#ffe16c);border-radius:10px}
.bj-player-sheet-favorite-label{color:#9cb3d1;font-size:.7rem;text-align:center;margin:12px 0 0}
.bj-player-sheet-done{display:block;width:100%;cursor:pointer;border:0;border-radius:13px;background:linear-gradient(110deg,#2154a0,#316fd1);color:white;padding:12px;margin-top:15px;font-size:.86rem;font-weight:800}
.bj-player-sheet-loading{min-height:150px;display:flex;align-items:center;justify-content:center;gap:20px}
@media(max-width:420px){.bj-player-sheet{padding:15px;border-radius:19px}.bj-player-sheet-avatar{width:66px;height:66px}.bj-player-sheet-name h2{font-size:1.1rem}.bj-player-sheet-stat{padding:10px}.bj-player-sheet-power strong{font-size:1.8rem}}
@media(prefers-reduced-motion:reduce){.bj-player-sheet-overlay,.bj-player-sheet{transition:none!important}}

/* v1.4.144 — étoile d'ami et avatar de la fiche joueur */
.bj-rank-friend-star{display:inline-block;color:#ffcf45!important;margin-left:6px;font-size:1.1em;line-height:1;text-shadow:0 1px 6px rgba(255,192,40,.4);vertical-align:baseline}
.bj-player-sheet-avatar img{width:100%!important;height:100%!important;display:block;object-fit:cover;border-radius:50%}
/* Onglet amis : sobre, lisible et compatible mobile */
.bj-profile-section-tabs{display:flex;gap:6px;margin:0 0 14px;padding:4px;border-radius:14px;background:rgba(8,18,42,.78);border:1px solid rgba(122,171,246,.2)}
.bj-profile-section-tabs button{flex:1;min-height:40px;padding:8px;border:0;border-radius:10px;background:transparent;color:#b8cce8;font:700 13px system-ui;cursor:pointer}
.bj-profile-section-tabs button.is-active{background:linear-gradient(125deg,#1f66b4,#264a91);color:#fff;box-shadow:0 3px 12px #0004}
.bj-friends-panel{color:#fff;padding:10px 0 14px}
.bj-friends-panel[hidden]{display:none!important}
.bj-friends-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 14px;gap:12px}
.bj-friends-heading h3{margin:0;color:#fff;font:800 20px system-ui}
.bj-friends-heading span{color:#b0c7e7;font:600 12px system-ui}
.bj-friends-search-label{display:block;margin:4px 0 6px;color:#b0c7e7;font:600 12px system-ui}
.bj-friends-panel [data-friends-query]{box-sizing:border-box;width:100%;padding:12px 14px;border:1px solid #43628f;border-radius:12px;background:#0c1d3a;color:white;outline-offset:2px;font:500 14px system-ui}
.bj-friends-status{min-height:1em;font:500 12px system-ui;color:#d1dcf1}
.bj-friends-table{display:grid;gap:7px}
.bj-friend-row{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #2d4368;border-radius:13px;background:rgba(20,40,77,.7)}
.bj-friend-avatar{flex:none;border-radius:50%;border:2px solid #456da9;background:#142e56;object-fit:cover}
.bj-friend-name{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.bj-friend-name strong{font:700 14px system-ui;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bj-friend-name small{font:500 11px system-ui;color:#a4bedf}
.bj-friend-remove{flex:none;cursor:pointer;padding:8px 10px;border:1px solid #975267;border-radius:9px;background:#4b2337;color:#ffe7ed;font:700 12px system-ui}
.bj-friend-remove:disabled{opacity:.5}
.bj-friends-pagination{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:13px 0}
.bj-friends-pagination button{min-width:34px;min-height:34px;padding:4px 8px;border:1px solid #435a7d;border-radius:8px;background:#142c54;color:#e6ecf9;cursor:pointer}
.bj-friends-pagination button.is-active{background:#3675c7;color:#fff;border-color:#80b2fa}
.bj-friends-pagination button:disabled{opacity:.45;cursor:default}
.bj-friends-hint{margin:12px 3px 0;color:#a4b7d4;font:500 12px/1.45 system-ui}

.bj-friends-add{margin:0 0 17px;padding:12px;border:1px solid #36649a;border-radius:13px;background:rgba(17,49,91,.7)}
.bj-friends-add label{display:block;margin-bottom:7px;color:#d6e7ff;font:700 13px system-ui}
.bj-friends-add input{box-sizing:border-box;width:100%;padding:11px;border:1px solid #5378a7;border-radius:9px;background:#0b213f;color:white;font:500 13px system-ui}
.bj-friends-add-results{display:grid;gap:6px;margin-top:7px}
.bj-friend-add-row{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:7px;border:1px solid #294c77;border-radius:9px;color:white;font:500 12px system-ui}
.bj-friend-add-row span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.bj-friend-add-row button{flex:none;border:1px solid #ae8d39;border-radius:8px;padding:8px;background:#59471d;color:#ffe8a7;font:700 12px system-ui;cursor:pointer}


/* ==== CSS SOURCE: recovery.css ==== */
.bj-recovery-open{display:block;text-align:center;margin:14px auto 0;padding:12px 14px;color:#d4efff;background:#0d2948;border:1px solid #61aeec;border-radius:14px;text-decoration:none;font-size:14px;font-weight:800;box-shadow:0 4px 15px #0005}.bj-recovery-open:hover{background:#164675}.bj-recovery-page{min-height:100dvh;background:radial-gradient(circle at top,#173b76,#071022 65%)}.bj-recovery-card,.bj-recovery-admin{margin:23px auto;max-width:670px;padding:26px 20px!important;border:1px solid #448bc6!important;border-radius:22px!important;background:linear-gradient(145deg,#10294e,#08152d)!important}.bj-recovery-card h1,.bj-recovery-admin h1{font-size:clamp(25px,6vw,38px);line-height:1.15}.bj-recovery-card p,.bj-recovery-admin p{color:#d4e5f5;line-height:1.5;font-size:14px}.bj-recovery-card ol{margin:19px 0 25px;padding-left:24px;color:#f1e7ba;line-height:1.6}.bj-recovery-card form{display:flex;flex-direction:column;gap:10px}.bj-recovery-card label{color:#f1f6ff;font-size:14px;font-weight:800}.bj-recovery-card input{width:100%;min-height:52px;padding:12px;border:1px solid #76a6de;border-radius:12px;background:#081c3c;color:white;font-size:16px}.bj-recovery-card form .bj-primary{margin-top:10px;min-height:52px}.bj-recovery-status{padding:12px;border:1px solid #4ccad1;background:#102d40;border-radius:10px}.bj-recovery-admin-back{display:block;text-align:center;margin:20px auto;color:#afd6ff;text-decoration:none}.bj-recovery-issued{margin:17px 0;padding:18px;border:1px solid #39d7aa;border-radius:15px;background:#062b30;color:#fff;display:grid;gap:10px}.bj-recovery-issued code{display:block;overflow-wrap:anywhere;font-size:clamp(19px,5vw,30px);letter-spacing:2px;font-weight:900;color:#ffe57c}.bj-recovery-admin .bj-table button{font-size:12px;padding:8px}.bj-recovery-admin .bj-table td{vertical-align:middle}


/* ==== CSS SOURCE: google.css ==== */
.bj-google-entry{display:grid;gap:10px;margin-top:15px;text-align:center}.bj-google-entry>span{color:#aabdd4;font-size:12px;font-weight:900;letter-spacing:.1em}.bj-google-button{display:flex;align-items:center;justify-content:center;gap:11px;min-height:49px;width:100%;max-width:460px;margin:0 auto;padding:11px 17px;border:1px solid #d5dfea;border-radius:13px;background:#fff;color:#1f2937;text-decoration:none;font-size:15px;font-weight:800;box-shadow:0 5px 17px #0006}.bj-google-button:hover{background:#e9f1fb}.bj-google-entry>small{color:#aaccdd;font-size:11px}.bj-google-profile{margin:12px 0;padding:15px;border:1px solid #5b88b9;border-radius:14px;background:linear-gradient(120deg,#132b4a,#10213c);color:#fff}.bj-google-profile strong{font-size:15px}.bj-google-profile p{font-size:12px;color:#c9d9ef;line-height:1.5}.bj-google-profile .bj-google-button{font-size:13px}.bj-google-admin{margin:20px auto;max-width:750px;padding:24px!important;border:1px solid #628fcd!important;border-radius:20px!important;background:linear-gradient(125deg,#142e56,#0b1b36)!important}.bj-google-admin p,.bj-google-admin li{font-size:14px;line-height:1.5;color:#d6e5f5}.bj-google-admin .bj-form input{width:100%;background:#08172c;color:white;padding:13px;border:1px solid #6a96ca;border-radius:11px}.bj-google-admin .bj-form label{display:block;margin-top:12px;color:#fff;font-weight:800}.bj-google-admin .bj-form button{margin-top:18px}.bj-google-admin code{overflow-wrap:anywhere;color:#ffe678}.bj-google-admin-back{color:#bbdfff;text-decoration:none}
.bj-google-first{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding:28px 16px 20px;color:#f8fbff}.bj-google-first-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:23px;font-size:35px;background:linear-gradient(135deg,#194b9f,#0e2759);border:1px solid #6d9bf6;box-shadow:0 8px 28px #143d9b88}.bj-google-first h2{font-size:clamp(23px,6vw,30px);margin:2px 0 0;line-height:1.1}.bj-google-first p{font-size:14px;line-height:1.55;color:#c2d6f0;max-width:355px;margin:0}.bj-google-first .bj-google-first-action{margin:10px 0 0;max-width:340px;min-height:57px;font-size:16px}.bj-google-first small{font-size:12px;line-height:1.5;color:#b3c6e3;max-width:335px}.bj-google-first .bj-welcome-legal{margin-top:16px;font-size:12px}.bj-google-first-confirm{margin:0 0 15px;padding:11px 13px;color:#c9f7dd;border:1px solid #39d7aa60;border-radius:13px;background:#0b342940;font-size:13px;line-height:1.5;text-align:center}
.bj-profile-logout-form{display:grid;gap:8px;justify-items:center;margin:20px auto 10px;width:min(100%,380px)}
.bj-profile-logout{width:100%;min-height:54px;border:1px solid #8ebcf4cc;border-radius:15px;background:linear-gradient(125deg,#15365d,#10223e);color:#f5f9ff;font:850 15px system-ui;cursor:pointer;box-shadow:inset 0 1px #ffffff30,0 8px 22px #0005}
.bj-profile-logout:focus-visible{outline:2px solid #f9d34b;outline-offset:3px}
.bj-profile-logout-form p{margin:0!important;max-width:330px;color:#bfd0e9!important;font:500 12px/1.5 system-ui!important;text-align:center}


/* ==== CSS SOURCE: google-login.css ==== */
/* v1.4.128 — premier accès : logo fourni et connexion Google seule. */
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-welcome-header{display:none!important}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-welcome-step{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:22px 14px!important;background:radial-gradient(ellipse at 9% 18%,#6a18374d,transparent 42%),radial-gradient(ellipse at 93% 80%,#145ce45a,transparent 50%),#030a1a}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-welcome-stage{width:100%;padding:0!important}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-welcome-form-card{max-width:460px;width:100%;padding:clamp(18px,5vw,32px)!important;border-radius:32px!important;background:linear-gradient(140deg,#12264cbf,#080f23ee)!important;border:1px solid #5484e877!important;box-shadow:0 18px 70px #0009,0 0 34px #2364cc26,inset 0 1px #ffffff17!important}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-google-first{padding:0;gap:0;width:100%;display:flex;flex-direction:column;align-items:center}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-google-first-logo{display:block;width:min(100%,360px);height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 27px;filter:drop-shadow(0 8px 28px #134cb65e)}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-google-button.bj-google-first-action{width:100%;max-width:355px;min-height:68px;gap:14px;border-radius:21px;border:2px solid #e9f2ff;background:linear-gradient(180deg,#fff,#e6eefc);box-shadow:0 14px 34px #0007,0 0 25px #397cf94f;color:#16263f;font:900 clamp(15px,4.5vw,19px)/1.2 system-ui,sans-serif;letter-spacing:-.01em;transition:transform .18s,box-shadow .18s}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-google-button.bj-google-first-action:active{transform:scale(.985)}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-google-first-legal{display:flex;align-items:center;justify-content:center;gap:12px;margin:23px 0 0;color:#9eb4d1;font:500 11px/1.5 system-ui,sans-serif}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-google-first-legal a{color:#a9c7ec;text-decoration:none;text-underline-offset:3px}
.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-google-first-legal a:hover{text-decoration:underline}
@media(max-height:700px){.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-google-first-logo{max-width:260px;margin-bottom:14px}.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-welcome-form-card{padding:14px!important}.bj-profile-modal[data-profile-new="1"][data-google-ready="0"] .bj-google-first-legal{margin-top:13px}}


/* ==== CSS SOURCE: legal-links.css ==== */
.bj-site-legal{padding:24px 16px 32px;max-width:820px;margin:5px auto 0;display:flex;gap:12px 18px;align-items:center;justify-content:center;flex-wrap:wrap;text-align:center;color:#91a8cb;font:500 12px/1.5 system-ui,sans-serif}.bj-site-legal p{flex-basis:100%;margin:0 0 3px;opacity:.85}.bj-site-legal a,.bj-profile-legal a,.bj-welcome-legal a{color:#c6d9fb;text-decoration:underline;text-underline-offset:3px}.bj-profile-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:18px 0 7px;font:600 12px/1.5 system-ui,sans-serif}.bj-welcome-legal{font:500 12px/1.55 system-ui,sans-serif;color:#c0cfe3;text-align:center;margin:14px 0 8px}.bj-welcome-legal a{color:#d4e8ff}


/* ==== CSS SOURCE: intro-video.css ==== */
.bj-intro-playing{overflow:hidden!important}
.bj-intro-screen{position:fixed;inset:0;z-index:2147483000;background:#02040c;display:flex;align-items:center;justify-content:center;overflow:hidden}
.bj-intro-screen-video{width:100%;height:100%;height:100dvh;object-fit:contain;background:#02040c;display:block}
.bj-intro-screen-controls{position:absolute;z-index:2;bottom:calc(22px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(94%,450px);display:flex;flex-direction:column;align-items:center;gap:12px}
.bj-intro-screen-actions{display:flex;width:100%;gap:10px;flex-wrap:wrap;justify-content:center;align-items:center}
.bj-intro-google{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:14px;width:100%;padding:17px 19px;border:2px solid #fff;border-radius:20px;background:linear-gradient(110deg,#fff,#e6f0ff);color:#121c36;text-decoration:none;font:900 clamp(16px,4.3vw,20px) system-ui;box-shadow:0 0 0 5px #2876ff55,0 8px 30px #000b,0 0 35px #2372ffaa;transition:transform .15s,box-shadow .15s}
.bj-intro-google:focus-visible{outline:3px solid #ffce3a;outline-offset:5px}
.bj-intro-google:active{transform:scale(.98)}
.bj-intro-google svg{flex:none}
.bj-intro-login-required .bj-intro-screen-controls{bottom:calc(18px + env(safe-area-inset-bottom));gap:13px;width:min(92%,470px)}
.bj-intro-login-required .bj-intro-google{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#09265b 0%,#1449bc 46%,#041638 100%);color:#fff;border:1px solid #bcd9ffdb;border-radius:24px;min-height:76px;padding:18px 24px;box-shadow:inset 0 2px 2px #ffffff57,inset 0 -5px 16px #01091b88,0 0 0 3px #3479ff55,0 0 36px #2870ff88,0 14px 36px #000d;letter-spacing:.05px;text-shadow:0 2px 8px #001533;transition:transform .18s,box-shadow .18s}
.bj-intro-login-required .bj-intro-google:after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(120deg,#ff334c2c,transparent 38%,#ffcc3028 80%);pointer-events:none}
.bj-intro-login-required .bj-intro-google:active{transform:translateY(2px) scale(.985)}
.bj-intro-login-required .bj-intro-google svg{background:#fff;border-radius:12px;padding:7px;width:29px;height:29px;box-shadow:0 4px 16px #0006}
.bj-intro-login-required .bj-intro-google span{font-weight:900}
.bj-intro-login-required .bj-intro-google:before{content:'';position:absolute;inset:-60% auto -60% -45%;width:40%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,#ffffffc9,transparent);animation:bj-intro-google-shine 4s ease-in-out infinite;pointer-events:none}
.bj-intro-login-required .bj-intro-google svg,.bj-intro-login-required .bj-intro-google span{position:relative;z-index:1}
@keyframes bj-intro-google-shine{0%,30%{left:-45%}70%,100%{left:125%}}
.bj-intro-legal{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;align-items:center;width:100%}
.bj-intro-legal a{font:600 11px system-ui;color:#e1edff;text-decoration:none;padding:7px 11px;border:1px solid #ffffff4c;border-radius:999px;background:#101e38b8;box-shadow:0 3px 15px #0006;backdrop-filter:blur(9px)}
.bj-intro-legal a:focus-visible{outline:2px solid #fff;outline-offset:2px}
.bj-intro-login-required .bj-intro-screen-sound{border-color:#a7c8ff88;background:#0b1a35de;min-width:170px}
.bj-intro-screen-sound,.bj-intro-screen-skip,.bj-intro-screen-play{border:1px solid #ffffff80;color:white;background:#101a30ed;box-shadow:0 4px 18px #000a;border-radius:999px;padding:12px 15px;font:750 14px system-ui;cursor:pointer;backdrop-filter:blur(8px)}
.bj-intro-screen-skip{border:2px solid #fff;background:linear-gradient(105deg,#fc3458,#ffb923);color:#fff;font-weight:900;box-shadow:0 0 20px #ff873d99,0 5px 15px #0008}
.bj-intro-screen-remember{display:flex;justify-content:center;align-items:center;gap:11px;width:100%;max-width:340px;box-sizing:border-box;padding:13px 17px;border-radius:999px;background:linear-gradient(110deg,#152746ed,#0c162edc);color:#f9fcff;font:750 13px system-ui;text-align:center;border:1px solid #79a2ce88;cursor:pointer;box-shadow:0 6px 22px #000b;backdrop-filter:blur(12px);transition:background .18s,border-color .18s,box-shadow .18s;user-select:none}
.bj-intro-screen-remember input{appearance:none;-webkit-appearance:none;width:21px;height:21px;flex:none;border:2px solid #a9c5e0;background:#07101f;border-radius:7px;display:grid;place-items:center;margin:0;cursor:pointer;transition:background .18s,border-color .18s}
.bj-intro-screen-remember input:checked{background:#2ee4ad;border-color:#2ee4ad}
.bj-intro-screen-remember input:checked::after{content:'✓';color:#052b25;font:900 16px system-ui}
.bj-intro-screen-remember:has(input:checked){background:linear-gradient(110deg,#085949f2,#0c3739ed);border-color:#38e9b8;box-shadow:0 0 20px #24d5a744,0 6px 22px #000b}
.bj-intro-screen-remember:focus-within{outline:2px solid #fff;outline-offset:3px}
@media(max-width:380px){.bj-intro-screen-sound,.bj-intro-screen-skip{font-size:12px;padding:11px 12px}.bj-intro-screen-remember{font-size:12px;padding:12px}}


/* ==== Adaptations v1.4.145-146 du classement compact ==== */


/* v1.4.145 — Cartes Power Index : pseudo sur 26 caractères maximum,
   étoile immédiatement à droite et disposition mobile optimisée. */
.bj-homepage .bj-rank-primary{min-width:0}
.bj-homepage .bj-rank-identity{min-width:0;flex:1}
.bj-homepage .bj-rank-name-line{
  display:flex;align-items:center;justify-content:flex-start;
  gap:5px;min-width:0;max-width:100%;
}
.bj-homepage .bj-rank-name-line>strong{
  display:block;min-width:0;max-width:100%;flex:0 1 auto;
  overflow:visible;text-overflow:clip;white-space:normal;
  overflow-wrap:anywhere;word-break:normal;
  font-size:clamp(13px,3.6vw,17px);line-height:1.2;
  letter-spacing:-.025em;
}
.bj-homepage .bj-rank-name-line>.bj-rank-friend-star{
  display:inline-flex;flex:0 0 auto;align-self:center;
  align-items:center;justify-content:center;
  margin:0;color:#ffd44d!important;font-size:15px;
  line-height:1;white-space:nowrap;
  text-shadow:0 1px 8px rgba(255,206,56,.4);
}
.bj-homepage .bj-rank-identity small{max-width:100%;font-size:11px;margin-top:4px}
.bj-homepage .bj-rank-score{min-width:0}
.bj-homepage .bj-rank-chips{gap:5px;align-items:center}
.bj-homepage .bj-rank-chips span{font-size:10px;padding:5px 7px}
@media (max-width:600px){
  /* Rang + avatar à gauche, Power Index à droite ; pseudo sur toute la largeur en dessous. */
  .bj-homepage .bj-rank-primary{
    display:grid;grid-template-columns:auto auto minmax(0,1fr);
    grid-template-rows:auto auto;gap:6px 8px;align-items:center;
  }
  .bj-homepage .bj-rank-medal{grid-column:1;grid-row:1}
  .bj-homepage .bj-rank-avatar{grid-column:2;grid-row:1}
  .bj-homepage .bj-rank-score{grid-column:3;grid-row:1;justify-self:end;text-align:right}
  .bj-homepage .bj-rank-identity{grid-column:1/-1;grid-row:2;min-width:0;width:100%}
  .bj-homepage .bj-rank-name-line>strong{font-size:clamp(13px,3.9vw,17px)}
  .bj-homepage .bj-rank-card{padding:11px 12px}
  .bj-homepage .bj-rank-stats{margin-top:9px;gap:8px}
  .bj-homepage .bj-rank-stats>span{min-width:0;line-height:1.3}
  .bj-homepage .bj-rank-stats>b{flex:none}
}
@media (max-width:355px){
  .bj-homepage .bj-rank-name-line>strong{font-size:12px}
  .bj-homepage .bj-rank-card{padding:9px}
  .bj-homepage .bj-rank-primary{column-gap:6px}
}


/* v1.4.146 — En-tête compact : médaille, avatar, identité et Power Index
   sur une seule ligne, même sur smartphone. */
.bj-homepage .bj-rank-primary {
  display:grid !important;
  grid-template-columns:auto auto minmax(0,1fr) auto !important;
  grid-template-rows:auto !important;
  align-items:center !important;
  column-gap:8px !important;
  row-gap:0 !important;
  min-width:0;
}
.bj-homepage .bj-rank-primary > .bj-rank-medal {
  grid-column:1 !important;
  grid-row:1 !important;
  align-self:center;
}
.bj-homepage .bj-rank-primary > .bj-rank-avatar {
  grid-column:2 !important;
  grid-row:1 !important;
  align-self:center;
}
.bj-homepage .bj-rank-primary > .bj-rank-identity {
  grid-column:3 !important;
  grid-row:1 !important;
  min-width:0 !important;
  width:auto !important;
  align-self:center;
}
.bj-homepage .bj-rank-primary > .bj-rank-score {
  grid-column:4 !important;
  grid-row:1 !important;
  align-self:center;
  justify-self:end !important;
  text-align:right;
  margin-left:2px;
  flex-shrink:0;
}
.bj-homepage .bj-rank-identity .bj-rank-name-line {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:4px;
  max-width:100%;
  min-width:0;
}
.bj-homepage .bj-rank-identity .bj-rank-name-line > strong {
  min-width:0;
  overflow-wrap:anywhere;
  font-size:clamp(12px,3.5vw,16px);
  line-height:1.17;
}
.bj-homepage .bj-rank-identity .bj-rank-name-line > .bj-rank-friend-star {
  flex:none;
  margin:0;
}
.bj-homepage .bj-rank-identity > small {
  display:block;
  margin-top:2px;
  line-height:1.22;
  font-size:10px;
  overflow-wrap:anywhere;
}
.bj-homepage .bj-rank-card {
  padding:9px 10px;
}
.bj-homepage .bj-rank-stats {
  margin-top:7px;
}
.bj-homepage .bj-rank-chips {
  margin-top:5px;
}
@media(max-width:400px){
  .bj-homepage .bj-rank-primary { column-gap:5px !important; }
  .bj-homepage .bj-rank-primary > .bj-rank-medal {
    width:27px;
    height:27px;
  }
  .bj-homepage .bj-rank-primary > .bj-rank-avatar {
    width:30px;
    height:30px;
  }
  .bj-homepage .bj-rank-score b { font-size:17px; }
  .bj-homepage .bj-rank-score span {
    font-size:8px;
    line-height:1.1;
    max-width:84px;
  }
  .bj-homepage .bj-rank-card { padding:9px; }
  .bj-homepage .bj-rank-identity .bj-rank-name-line > strong {
    font-size:12px;
  }
  .bj-homepage .bj-rank-identity > small { font-size:9px; }
}


/* v1.4.148 — assure un rendu SVG identique dans le classement et la fiche. */
.bj-player-sheet .bj-player-sheet-avatar {display:flex;align-items:center;justify-content:center;min-width:0;isolation:isolate;}
.bj-player-sheet .bj-player-sheet-avatar > svg.bj-avatar-art,
.bj-player-sheet .bj-player-sheet-avatar > svg {display:block!important;width:100%!important;height:100%!important;max-width:100%;max-height:100%;flex:none;opacity:1!important;visibility:visible!important;}

/* v1.4.153 — Historique compact des mots dans les fiches joueurs. */
.bj-player-history{margin-top:16px;padding-top:14px;border-top:1px solid rgba(134,176,234,.26)}
.bj-player-history-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
.bj-player-history-title h3{margin:0;font-size:1rem;letter-spacing:.01em;color:#fff;font-weight:850}
.bj-player-history-title span{color:#a6c5eb;font-size:.72rem;font-variant-numeric:tabular-nums}
.bj-player-history-results[aria-busy="true"]{opacity:.7}
.bj-history-list{display:grid;gap:7px}
.bj-history-item{border:1px solid rgba(95,150,222,.27);border-radius:12px;padding:10px;background:linear-gradient(120deg,#193a6c,#101d36)}
.bj-history-item.is-loss{background:linear-gradient(120deg,#282b43,#151b30);border-color:rgba(160,171,192,.2)}
.bj-history-line{display:flex;align-items:start;justify-content:space-between;gap:8px}
.bj-history-word,.bj-history-result{display:flex;flex-direction:column;min-width:0;gap:3px}
.bj-history-word strong{font-size:.84rem;color:#fff;overflow-wrap:anywhere;line-height:1.2}
.bj-history-word time{font-size:.68rem;color:#a5bcdd;font-variant-numeric:tabular-nums}
.bj-history-result{text-align:right;align-items:flex-end;flex:none}
.bj-history-result b{font-size:.93rem;color:#ffe58a;font-variant-numeric:tabular-nums}
.bj-history-result b small{font-size:.62rem;color:#c7d9f5}
.bj-history-result span{font-size:.65rem;color:#bed1ec}
.bj-history-joker{font-size:.68rem;margin-top:7px;padding-top:7px;border-top:1px solid rgba(151,181,234,.13);color:#96a9c8}
.bj-history-joker.is-success{color:#ffe18c}
.bj-history-joker.is-missed{color:#ffb9ad}
.bj-history-joker b{color:inherit;font-variant-numeric:tabular-nums}
.bj-history-empty,.bj-history-loading{color:#a9c5e8;font-size:.79rem;margin:8px 0 10px}
.bj-player-history-pager{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:12px}
.bj-player-history-pager[hidden]{display:none}
.bj-player-history-pager button{cursor:pointer;border:1px solid #688bb9;background:#173964;color:white;width:34px;height:30px;border-radius:9px;font-size:1.3rem;line-height:1}
.bj-player-history-pager button:disabled{opacity:.3;cursor:default}
.bj-player-history-pager span{font-size:.76rem;color:#c3d7f1;font-variant-numeric:tabular-nums}
@media(max-width:380px){.bj-history-item{padding:9px}.bj-history-result b{font-size:.85rem}}

/* v1.4.154 : uniquement la date de jeu, aucun mot dans l'historique. */
.bj-history-date{display:flex;flex-direction:column;min-width:0;gap:3px}
.bj-history-date span{font-size:.62rem;color:#94aed3}
.bj-history-date time{font-size:.88rem;font-weight:800;color:#fff;font-variant-numeric:tabular-nums;line-height:1.2}

/* v1.4.155 — Deux dates dans chaque résultat historique, sans révéler le mot. */
.bj-history-date .bj-history-calendar-label {display:block;margin-top:7px;opacity:.72;font-size:10px;line-height:1.2}
.bj-history-date .bj-history-calendar-date {display:block;margin-top:2px;font-size:12px;line-height:1.25;color:#d8e7ff;font-weight:600}
.bj-history-date time {white-space:normal}

/* v1.4.156 — Historique des joueurs : valeur de l'index et tendance après chaque partie. */
.bj-history-power{display:flex;align-items:center;gap:6px;min-width:0;margin-top:9px;padding:7px 9px;border:1px solid rgba(129,170,222,.17);border-radius:9px;background:rgba(5,18,41,.47);font-variant-numeric:tabular-nums}
.bj-history-power-label{min-width:0;flex:1;font-size:.67rem;color:#b1c9e8;line-height:1.25}
.bj-history-power strong{flex:none;font-size:.87rem;color:#fff;white-space:nowrap}
.bj-history-power-trend{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:1.05rem;font-weight:900;line-height:1}
.bj-history-power.is-up .bj-history-power-trend{color:#6ef0a0;background:rgba(39,187,94,.18)}
.bj-history-power.is-down .bj-history-power-trend{color:#ff858c;background:rgba(222,67,73,.17)}
.bj-history-power.is-flat .bj-history-power-trend{color:#a6b7ce;background:rgba(148,163,184,.15)}
@media(max-width:370px){.bj-history-power{gap:4px;padding:7px}.bj-history-power-label{font-size:.61rem}.bj-history-power strong{font-size:.79rem}}


/* v1.4.160 : navigation constamment lisible ; halo seulement sur le mode actif.
   Sélecteurs finaux volontairement prioritaires sur les styles historiques. */
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid {
  overflow:visible !important;
  isolation:isolate;
  padding:7px 5px 10px !important;
}
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode,
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode:not(.is-active),
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode.is-active {
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
  visibility:visible !important;
  transition:box-shadow .2s ease,border-color .2s ease,filter .2s ease !important;
}
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode.daily:not(.is-active) {
  box-shadow:0 9px 19px rgba(0,0,0,.36),0 0 0 1px rgba(255,96,113,.19) !important;
}
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode.live:not(.is-active) {
  box-shadow:0 9px 19px rgba(0,0,0,.36),0 0 0 1px rgba(59,123,255,.19) !important;
}
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode.daily.is-active {
  box-shadow:0 10px 24px rgba(0,0,0,.40),
             0 0 0 2px rgba(255,108,122,.76),
             0 0 18px 3px rgba(255,43,78,.58),
             0 0 34px 8px rgba(255,49,78,.24) !important;
}
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode.live.is-active {
  box-shadow:0 10px 24px rgba(0,0,0,.40),
             0 0 0 2px rgba(82,148,255,.78),
             0 0 18px 3px rgba(39,120,255,.62),
             0 0 34px 8px rgba(39,120,255,.25) !important;
}
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode:not(.is-active):hover,
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode:not(.is-active):focus-visible {
  opacity:1 !important;
  filter:brightness(1.09) !important;
}
:is(body.bj-homepage,body.bj-livepage) .bj-mode-grid .bj-mode:focus-visible {
  outline:2px solid #fff !important;
  outline-offset:4px !important;
}
@media(max-width:520px) {
  :is(body.bj-homepage,body.bj-livepage) .bj-mode-grid {
    margin-top:0 !important;
    padding:7px 6px 9px !important;
  }
}

/* Footer légal commun : style autonome, y compris lors d'un accès direct à live.php. */
body.bj-homepage .bj-site-legal,body.bj-livepage .bj-site-legal {
  box-sizing:border-box;
  padding:24px 16px 32px;
  max-width:820px;
  margin:5px auto 0;
  display:flex;
  gap:12px 18px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  text-align:center;
  color:#91a8cb;
  font:500 12px/1.5 system-ui,sans-serif;
}
body.bj-homepage .bj-site-legal p,body.bj-livepage .bj-site-legal p {
  flex-basis:100%;margin:0 0 3px;opacity:.85;
}
body.bj-homepage .bj-site-legal a,body.bj-livepage .bj-site-legal a,
body.bj-homepage .bj-profile-legal a,body.bj-livepage .bj-profile-legal a,
body.bj-homepage .bj-welcome-legal a,body.bj-livepage .bj-welcome-legal a {
  color:#c6d9fb !important;
  text-decoration:underline;
  text-underline-offset:3px;
  font:inherit;
}
body.bj-homepage .bj-site-legal a:visited,body.bj-livepage .bj-site-legal a:visited {
  color:#c6d9fb !important;
}
body.bj-homepage .bj-site-legal a:hover,body.bj-livepage .bj-site-legal a:hover {
  color:#fff !important;
}
body.bj-homepage .bj-profile-legal,body.bj-livepage .bj-profile-legal {
  display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:18px 0 7px;
  font:600 12px/1.5 system-ui,sans-serif;
}
body.bj-homepage .bj-welcome-legal,body.bj-livepage .bj-welcome-legal {
  font:500 12px/1.55 system-ui,sans-serif;color:#c0cfe3;text-align:center;margin:14px 0 8px;
}
