/* Jocus V45 — Pêche complice. Couleurs seules, sauf contacts et rappel de partie demandés. */
html[data-theme="bougie"]{
 --bg:#fff8f2;--bg-rgb:255,248,242;--outer:#fff8f2;--surface:#ffffff;--surface-rgb:255,255,255;--surface2:#ffe2d5;--surface2-rgb:255,226,213;
 --fg:#382834;--muted:#725c68;--ov:56,40,52;--line:#ead8d0;--line2:#c7a99e;
 --acc:#c64549;--acc-rgb:198,69,73;--acc-lt:#a9373c;--acc-lt-rgb:169,55,60;--acc-dk:#9b3037;--on-acc:#ffffff;
 --acc2:#1e6766;--acc2-rgb:30,103,102;--acc2-lt:#1e6766;--acc2-dk:#185251;--danger:#b32b40;--ok:#23735c;--gold:#98601f;
 --hero:#fff8f2;--stripe:rgba(56,40,52,.025);--stripe2:rgba(198,69,73,.05);--nav-bg:#ffffff;--nav-btn:#ffe2d5;--glow:0 12px 28px -12px rgba(198,69,73,.25);--meta:#fff0e6;--jx-soft:#ffe2d5;--jx-positive:#1e6766;color-scheme:light;
}
/* Ces composants héritaient d'accents clairs du thème nuit. */
html[data-theme="bougie"] :is(#v-main,#v-auth,#v-profile,#v-photos,#v-username,#v-join,#v-settings,#v-theme,#v-blocked,#v-conv) .jx-tags span{background:#ffe2d5;color:#382834;border-color:#d5ada0}
html[data-theme="bougie"] :is(.jx-logomark,.jx-wordmark,.jx-auth-brand img,.jx-rail-logo img){filter:brightness(0) saturate(100%) invert(34%) sepia(52%) saturate(1229%) hue-rotate(321deg) brightness(90%) contrast(88%)}
html[data-theme="bougie"] .jx-story-photo img{background:#fff8f2}
html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="discover"] svg *,html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="discover"] svg{stroke:#be3b61!important;color:#be3b61!important}
html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="messages"] svg *,html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="messages"] svg{stroke:#336eaf!important;color:#336eaf!important}
html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="games"] svg *,html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="games"] svg{stroke:#a95817!important;color:#a95817!important}
html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="friends"] svg *,html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="friends"] svg{stroke:#7850ad!important;color:#7850ad!important}
html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="me"] svg *,html[data-theme="bougie"] #v-main nav.tabs .tab[data-tab="me"] svg{stroke:#237971!important;color:#237971!important}
html[data-theme="bougie"] #v-main nav.tabs .tab[aria-current="page"]{color:#382834!important}
/* Correction des contacts sur petit écran : seul ajustement de disposition dans les menus. */
html #p-friends,html #cxSub,html #cxTools{min-width:0;max-width:100%}
html #cxTools .fhead{flex-wrap:wrap;min-width:0;max-width:100%;box-sizing:border-box}
html #cxTools .fhead .t{min-width:0;flex:1 1 160px;max-width:100%}
html #cxTools .fhead .t b{display:block;overflow-wrap:anywhere;max-width:100%;font-size:clamp(20px,6vw,30px)}
html #cxTools .fhead .go{display:flex;flex:1 1 170px;min-width:0;gap:8px}
html #cxTools .fhead .go button{min-width:0;flex:1 1 0;white-space:normal;max-width:100%;padding-inline:12px;min-height:44px}
html #cxTools .fsearch{display:flex;min-width:0;max-width:100%;width:100%;box-sizing:border-box}
html #cxTools .fsearch input{min-width:0;flex:1 1 0;width:0!important;max-width:100%}
html #cxTools .fsearch button{flex:0 0 auto;min-width:76px;max-width:110px;padding-inline:12px}
html #fHeroInvite{max-width:100%;min-width:0;box-sizing:border-box}
/* Rappel plus compact, placé au-dessus de la navigation ; peut être masqué sans quitter la partie. */
html #gpill{gap:8px;padding:8px 10px 8px 13px;bottom:calc(var(--v45-nav-offset,88px) + 10px);border-radius:22px;touch-action:pan-x;min-width:0;box-sizing:border-box;max-width:calc(100% - 24px);font-size:12px}
html #gpill .pt{min-width:0;flex:1}html #gpill .pt b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}html #gpill .pt>span{font-size:11px}
html #gpill .pgo{border:0;flex:none;border-radius:18px;min-height:44px;padding:9px 13px;font:500 12px system-ui;background:var(--acc);color:var(--on-acc)}
html #gpill .pill-dismiss{flex:none;width:36px;min-height:44px;display:grid;place-items:center;background:none;border:0;color:var(--fg);font:24px system-ui;padding:0;cursor:pointer}
/* V48 : le rappel flottant ne modifie jamais le remplissage de la page. */
@media(min-width:900px){html #gpill{bottom:22px}}
/* Conserver les accents hérités des jeux V44 : aucun recoloriage des joueurs/plateaux. */
html[data-theme="bougie"] :is(#v-game,#v-play,#v-wait,#v-quiz){--acc2:#D6A47E;--acc2-rgb:214,164,126;--acc2-lt:#EBC9AC;--acc2-dk:#9C6B49;--danger:#F2A69B;--ok:#9BD3A0;--gold:#F2D2B8;--jx-soft:#49352A;--jx-positive:#D1DDB5}
