/* Refonte de l'interface, 14 novembre 2026 : canevas Claude Design « PC amélioré (habitudes gardées) » et « Téléphone, tous les écrans ».
   Rien ne change de place sur PC (volet, roue de boosters, missions à droite) ; on corrige ce que les joueurs reprochaient sur Discord :
   tout à un clic, plus serré, états actifs visibles, une seule action principale. Sur téléphone : chaque page trouvable, zones tactiles
   de 44 px, l'action principale sous le pouce. Couleur du site : le vert (--accent) ; le rouge des maquettes était celui du thème de Noël.
   Chargée après tous les modules : les règles restent sous html.fmx pour ne jamais toucher l'interface d'un autre écran. */

/* ---------- 1. Volet PC : « Mes raccourcis » en haut, rangés par le joueur ---------- */
html.fmx-side .fm .fmr-pins{display:flex;flex-direction:column;gap:1px;padding:2px 0 8px;margin:0 0 6px;border-bottom:1px solid var(--line)}
html.fmx .fm .fmr-pins-head{display:flex;align-items:center;justify-content:space-between;min-height:28px;padding:0 4px 0 10px}
html.fmx .fm .fmr-pins-head span{color:var(--dim);font:800 10.5px Inter,sans-serif;letter-spacing:.07em;text-transform:uppercase}
html.fmx .fm .fmr-pins-head button{min-height:28px;padding:0 8px;border:0;border-radius:8px;background:none;color:var(--accent2);font:600 12.5px Inter,sans-serif;cursor:pointer}
html.fmx .fm .fmr-pins-head button:hover{background:#ffffff0d}
html.fmx .fm .fmr-pins>:is(a,button){display:flex;align-items:center;gap:10px;width:100%;min-height:34px;padding:0 10px;border:0;border-radius:10px;background:none;color:#e6e6e0;font:500 13.5px Inter,sans-serif;text-align:left;cursor:pointer;transition:background .15s,color .15s}
html.fmx .fm .fmr-pins>:is(a,button):hover{background:#ffffff0b;color:var(--text)}
html.fmx .fm .fmr-pins i{flex:none;width:9px;height:9px;border-radius:3px;background:var(--k);box-shadow:0 0 8px color-mix(in srgb,var(--k) 55%,transparent)}
html.fmx .fm .fmr-pins span:not(.fmx-badge){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.fmx .fm .fmr-pins .fmx-badge{margin-left:auto}
html.fmx .fm .fmr-pins>.on{background:#2fe3a014;color:var(--accent);font-weight:700}
html.fmx-side.fmx-side-mini #fmxTop:not(:hover):not(:has(:focus-visible)) .fmr-pins{display:none}
html.fmx:not(.fmx-side) .fm .fmr-pins{display:none}

/* ---------- 2. Plus serré sur PC (« tout est beaucoup trop gros », Sonyka) ---------- */
@media(min-width:821px){
 html.fmx-side .fm .fmx-side-head{min-height:40px}
 html.fmx-side .fm .fmx-side-links :is(a,button){min-height:32px}
}

/* ---------- 3. Un état actif se voit (« manque de surlignage des boutons actifs », Examinis, Sirion) ---------- */
html.fmx .fm .fm-switch button.on,
html.fmx :is(.chip,.pill,.filter-chip,.fchip,.rar-chip,.seg-btn,.tab-btn).on,
html.fmx :is(.chip,.pill,.filter-chip,.fchip,.rar-chip,.seg-btn,.tab-btn).active,
html.fmx :is(.chip,.pill,.filter-chip,.fchip,.rar-chip,.seg-btn,.tab-btn)[aria-pressed=true]{box-shadow:0 0 0 2px var(--gold),0 0 14px #f0c94a33}

/* ---------- 4. Accueil : raccourcis avec icône et couleur de leur section ---------- */
html.fmx #fmxShortcuts .fmr-sc{flex-direction:column;gap:4px;min-height:64px;padding:8px 6px;font-size:13px;line-height:1.15;white-space:normal;text-align:center;border-color:color-mix(in srgb,var(--k) 32%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--k) 11%,#181818),#131313)}
html.fmx #fmxShortcuts .fmr-sc:hover{border-color:var(--k);box-shadow:0 8px 22px color-mix(in srgb,var(--k) 22%,transparent)}
html.fmx #fmxShortcuts .fmr-sc svg{flex:none;width:19px;height:19px;color:var(--k);fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
html.fmx #fmxShortcuts .fmr-sc span{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- 5. La vérification ne couvre plus la roue : elle s'ouvre au moment d'ouvrir ---------- */
html.fmx .fmr-verify-open,html.fmx .fmr-verify-ten{display:none}
html.fmx.fmx-verify .fmr-verify-ten{display:inline-flex;align-items:center;justify-content:center}
html.fmx.fmx-verify #page-packs [data-ten]:not(.fmr-verify-ten){display:none}
html.fmx.fmx-verify .fmr-verify-open{display:inline-flex;align-items:center;justify-content:center}
html.fmx.fmx-verify #pocketWheelActions .pocket-classic-open:not(.fmr-verify-open){display:none}
html.fmx.fmx-verify #fmxPacks{filter:none}
html.fmx.fmx-verify:not(.fmr-verify-ask) #nextBoosters.needs-verify{position:absolute;width:320px;height:1px;overflow:hidden;padding:0}
html.fmx.fmx-verify:not(.fmr-verify-ask) #nextBoosters .next-verify{display:none}
html.fmx.fmr-verify-ask #nextBoosters .next-verify{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:16px;background:#000c;backdrop-filter:blur(3px)}
html.fmx.fmr-verify-ask #nextBoosters .next-verify-card{background:#141716;box-shadow:0 30px 80px #000,0 0 0 1px #2fe3a055}
html.fmx .fmr-verify-later{display:block;width:100%;min-height:44px;margin-top:8px;border:0;border-radius:12px;background:none;color:var(--dim,#b2b2ab);font:600 14px Inter,sans-serif;cursor:pointer}
html.fmx .fmr-verify-later:hover{color:#fff;background:#ffffff0a}
/* La consigne « Coche Je ne suis pas un robot » devient inutile : le bouton ouvre la vérification. */
html.fmx.fmx-verify #pocketWheelActions .fmr-verify-hint{display:none}
@media(max-width:820px){
 html.fmx.fmx-verify:not(.fmr-verify-ask) #fmxPacks{display:block}
 html.fmx.fmx-verify:not(.fmr-verify-ask) #nextBoosters.needs-verify .next-wheel-zone{min-height:0}
}

/* ---------- 6. Téléphone : la liste complète du Menu ---------- */
.fmx-wheel .fmx-wheel-list .fmr-pins-row-head{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:440px}
.fmx-wheel .fmr-pins-row-head span{color:var(--dim);font:700 11px Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.fmx-wheel .fmr-pins-row-head button{min-height:40px;padding:0 10px;border:0;border-radius:10px;background:none;color:var(--accent2);font:600 13px Inter,sans-serif}
.fmx-wheel .fmx-wheel-list .fmr-pins-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;max-width:440px;margin-bottom:6px}
.fmx-wheel .fmr-pin{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:82px;padding:10px 4px;border:1px solid color-mix(in srgb,var(--k) 30%,#222);border-radius:16px;background:linear-gradient(180deg,color-mix(in srgb,var(--k) 12%,#171717),#121212);color:var(--text);font:600 12.5px/1.15 Inter,sans-serif;text-align:center}
.fmx-wheel .fmr-pin i{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--k) 22%,#0f0f0f);color:var(--k)}
.fmx-wheel .fmr-pin svg{width:21px;height:21px}
.fmx-wheel .fmx-wheel-list section h2{display:flex;align-items:center;gap:8px}
.fmx-wheel .fmx-wheel-list section h2:before{content:"";width:9px;height:9px;border-radius:3px;background:var(--k,var(--accent))}
.fmx-wheel .fmx-wheel-list button{display:flex;align-items:center;gap:6px;min-height:48px}
.fmx-wheel .fmx-wheel-list button span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.fmx-wheel .fmx-wheel-list button .fmx-badge{margin-left:auto}

/* ---------- 7. Téléphone : zones tactiles d'au moins 44 px (retours : boutons qui ne répondent pas) ---------- */
@media(max-width:820px){
 html.fmx #fmxShortcuts .fmr-sc{flex-direction:column;gap:4px;min-height:66px;padding:8px 4px}
 html.fmx #fmxShortcuts .fmr-sc svg{width:22px;height:22px}
 html.fmx #fmxShortcuts .fmx-shortcuts-edit{min-height:44px}
 html.fmx :is(.chip,.pill,.filter-chip,.fchip,.rar-chip,.seg-btn,.tab-btn){min-height:40px}
 html.fmx .fm .fm-iconbtn{min-width:44px;min-height:44px}
}

/* ---------- 8. Collection : raretés en toutes lettres, état actif rempli ---------- */
html.fmx .coll-chip{min-height:38px;padding:0 14px;border-radius:999px;background:#151515;border:1px solid #ffffff1a;display:inline-flex;align-items:center;gap:7px;font:600 13.5px Inter,sans-serif}
html.fmx :is(.coll-chip[data-r],.mkf-rarity):before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}
html.fmx .coll-chip.active{background:color-mix(in srgb,currentColor 18%,#151515);border-color:currentColor;box-shadow:0 0 0 2px var(--gold,#f0c94a)}
html.fmx #page-collection .coll-chips{gap:8px}
html.fmx #pocketCollectionVersions button.active,html.fmx #pocketCollectionVersions button.on,html.fmx #pocketCollectionVersions button[aria-pressed=true]{box-shadow:0 0 0 2px var(--gold,#f0c94a)}
html.fmx .fmr-filter-done{display:none}

/* ---------- 9. Téléphone : filtres en plein écran ---------- */
@media(max-width:820px){
 html.fmx #page-collection.fmx-filters-open :is(.coll-head,#collCategories,#pocketCollectionSearch,#collectionGrid,.coll-pagination,#collPageSizeHint){display:none}
 html.fmx #page-collection.fmx-filters-open .fmx-filter-toggle{width:100%;justify-content:space-between;min-height:52px;font:600 20px Fredoka,Inter,sans-serif;border:0;background:none;padding:0}
 html.fmx #page-collection.fmx-filters-open .fmx-filter-toggle:after{content:"Fermer";font:600 14px Inter,sans-serif;color:var(--accent2,#7ff5c8)}
 html.fmx #page-collection.fmx-filters-open .coll-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 html.fmx #page-collection.fmx-filters-open .coll-toolbar>*{min-height:48px}
 html.fmx #page-collection.fmx-filters-open .coll-chips{display:flex;flex-wrap:wrap;gap:8px}
 html.fmx #page-collection.fmx-filters-open .coll-chip{min-height:44px}
 html.fmx #page-collection.fmx-filters-open #pocketCollectionVersions{display:flex;flex-wrap:wrap;gap:8px}
 html.fmx #page-collection.fmx-filters-open #pocketCollectionVersions button{min-height:44px}
 html.fmx #page-collection.fmx-filters-open .fmr-filter-done{position:sticky;bottom:calc(100px + env(safe-area-inset-bottom,0px));z-index:5;display:grid;grid-template-columns:auto 1fr;gap:10px;margin-top:16px;padding:10px 0}
 html.fmx .fmr-filter-done button{min-height:52px;padding:0 16px;border:1px solid #ffffff22;border-radius:16px;background:#151515;color:var(--text,#f4f4ef);font:600 15px Inter,sans-serif}
 html.fmx .fmr-filter-done [data-fmr-done]{border:0;background:linear-gradient(180deg,var(--accent2,#7ff5c8),var(--accent,#2fe3a0));color:var(--ink,#04140d);font-size:17px;box-shadow:0 8px 24px var(--glow,#2fe3a055)}
}

/* ---------- 10. Le même état actif partout (onglets et puces des pages d'origine) ---------- */
html.fmx :is(.trades-tab.active,.dtab.active,.tab-it.on,.tmenu-tab.on,.mk-chip.on,.mkf-chip.active,.wishlist-chip.active,.sleeve-chip.on,.ttile.on){box-shadow:0 0 0 2px var(--gold,#f0c94a),0 0 14px #f0c94a33}
html.fmx .trades-tab{min-height:42px}
html.fmx .trades-tab.active{background:#2fe3a01a;color:var(--accent,#2fe3a0)}

/* ---------- 11. Pas de pagination sur une liste vide (« Page 1 / 0 ») ---------- */
html.fmx #mkGrid:has(>.coll-empty)~#mkBrowsePages,
html.fmx #collectionCardsView:has(#collectionGrid>.coll-empty) .coll-pagination{display:none}

/* ---------- 12. Notifications : une ligne claire par notification, la non lue marquée ---------- */
html.fmx .fmx-notifs .notif-panel{position:static;width:auto;max-height:none;box-shadow:none;border:0;background:none}
html.fmx .fmx-notifs .notif-item{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;width:100%;min-height:64px;margin:0 0 8px;padding:10px 12px;border:1px solid var(--line,#ffffff17);border-radius:16px;background:#141414;text-align:left}
html.fmx .fmx-notifs .notif-item.unread{border-color:#2fe3a055;background:linear-gradient(90deg,#2fe3a014,#141414 45%);box-shadow:inset 3px 0 0 var(--accent,#2fe3a0)}
html.fmx .fmx-notifs .notif-all{min-height:40px}

/* ---------- 13. Téléphone : boutons des pages d'origine assez grands pour le pouce ---------- */
@media(max-width:820px){
 html.fmx #main :is(.btn,.btn.small,.trades-tab,.coll-chip,.mkf-toggle,.tag-filter-btn,select){min-height:44px}
 html.fmx #main .btn.small{padding-inline:14px}
 html.fmx .trades-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
 html.fmx .trades-tabs::-webkit-scrollbar{display:none}
 html.fmx .trades-tab{flex:none}
}

/* ---------- 14. Profil sur téléphone : plus serré (« profils trop grands sur téléphone ») ---------- */
@media(max-width:820px){
 html.fmx #page-profil .pf-cover{height:110px;min-height:0}
 html.fmx #page-profil #profileStatsCard .pf-stats.pf-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
 html.fmx #page-profil #profileStatsCard .pf-stat{min-height:0;padding:10px 4px;text-align:center}
 html.fmx #page-profil #profileStatsCard .pf-stat b{font-size:20px;line-height:1.1}
 html.fmx #page-profil #profileStatsCard .pf-stat span{display:block;font-size:10.5px;line-height:1.2}
 html.fmx #page-profil .pf-bar{padding:2px 0}
}

/* ---------- 15. Missions, fidèles aux planches « PC · Missions » et « M · Missions » (15/11) ---------- */
html.fmx .fmr-missions .fmr-claim{min-height:40px;padding:0 14px;border:0;border-radius:12px;background:linear-gradient(180deg,#fff2c7,#f0c94a 55%,#d99a1e);box-shadow:0 4px 0 #a46a0c;color:#3a2300;font:600 14px Fredoka,Inter,sans-serif;white-space:nowrap}
html.fmx .fmr-missions .fmr-claim:disabled{opacity:.45;box-shadow:none}
html.fmx .fmr-missions .fmr-all{min-height:46px;font-size:16px}
html.fmx .fmr-missions .fmr-w,html.fmx #page-missions .pocket-mission-title p{display:none}
html.fmx .fmr-missions .fmr-seg{display:none}
html.fmx .fmr-missions .fmx-mission-columns{gap:18px}
html.fmx .fmr-missions .fmr-mlist{display:flex;flex-direction:column;gap:10px;padding:20px}
html.fmx .fmr-missions .fmr-sec{display:flex;align-items:baseline;gap:10px}
html.fmx .fmr-missions .fmr-sec h2{margin:0;font:600 21px Fredoka,Inter,sans-serif}
html.fmx .fmr-missions .fmr-timer{margin-left:auto;color:var(--dim,#b2b2ab);font:600 14px Fredoka,Inter,sans-serif}
html.fmx .fmr-missions .fmr-reset{display:none}
html.fmx .fmr-missions .fmr-m{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border-radius:16px;background:#ffffff08}
html.fmx .fmr-missions .fmr-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--k);color:#fff}
html.fmx .fmr-missions .fmr-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html.fmx .fmr-missions .fmr-tx{min-width:0}
html.fmx .fmr-missions .fmr-tx b{display:block;font:600 15.5px Fredoka,Inter,sans-serif}
html.fmx .fmr-missions .fmr-meta{display:flex;flex-direction:column-reverse;gap:6px;margin-top:2px}
html.fmx .fmr-missions .fmr-meta small{color:var(--dim,#b2b2ab);font-size:12.5px}
html.fmx .fmr-missions .fmr-meta .fmr-rw{display:none}
html.fmx .fmr-missions .fmr-bar{display:block;height:6px;border-radius:9px;background:#ffffff14;overflow:hidden}
html.fmx .fmr-missions .fmr-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f0c94a,#d99a1e)}
html.fmx .fmr-missions .fmr-rw{font:600 14px Fredoka,Inter,sans-serif;font-style:normal;color:#f0c94a;white-space:nowrap}
html.fmx .fmr-missions .fmr-m.done{background:#1c2a1f}
html.fmx .fmr-missions .fmr-m.done .fmr-rw{color:#7cf28a}
html.fmx .fmr-missions .fmr-m.done .fmr-bar i{background:#7cf28a}
html.fmx .fmr-missions>.fmr-mlist[data-kind=journey] .fmr-m{background:#ffffff05}
@media(min-width:821px){
 html.fmx .fmr-missions>.fmr-mlist[data-kind=journey]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 html.fmx .fmr-missions>.fmr-mlist[data-kind=journey]>.fmr-sec{grid-column:1/-1}
}
@media(max-width:820px){
 html.fmx #page-missions .pocket-mission-title h1{display:none}
 html.fmx #page-missions .pocket-mission-title{margin:0}
 html.fmx .fmr-missions{gap:12px}
 html.fmx .fmr-missions .fmx-mission-actions{position:static;display:flex;flex-direction:column;gap:8px}
 html.fmx .fmr-missions .fmr-all{order:-1;width:100%;min-height:50px}
 html.fmx .fmr-missions .fmr-all.few{display:none}
 html.fmx .fmr-missions .fmr-seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;padding:4px;border:1px solid #ffffff17;border-radius:16px;background:#141414}
 html.fmx .fmr-missions .fmr-seg button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:42px;white-space:nowrap;border:0;border-radius:12px;background:none;color:var(--dim,#b2b2ab);font:600 14px Fredoka,Inter,sans-serif}
 html.fmx .fmr-missions .fmr-seg button[aria-selected=true]{background:#2fe3a01f;color:var(--text,#f4f4ef);box-shadow:inset 0 0 0 1px #2fe3a066}
 html.fmx .fmr-missions .fmr-seg em{min-width:18px;padding:0 5px;border-radius:9px;background:#f0c94a;color:#3a2300;font:700 11px/18px Inter,sans-serif;font-style:normal}
 html.fmx .fmr-missions[data-show=daily] .fmr-mlist:not([data-kind=daily]),
 html.fmx .fmr-missions[data-show=weekly] .fmr-mlist:not([data-kind=weekly]),
 html.fmx .fmr-missions[data-show=journey] .fmr-mlist:not([data-kind=journey]){display:none}
 html.fmx .fmr-missions .fmx-mission-columns{display:block}
 html.fmx .fmr-missions .fmr-mlist{padding:0;border:0;background:none;box-shadow:none}
 html.fmx .fmr-missions .fmr-sec{display:none}
 html.fmx .fmr-missions .fmr-m{grid-template-columns:44px minmax(0,1fr);padding:12px;border:1px solid #ffffff17;border-radius:18px;background:#141414}
 html.fmx .fmr-missions .fmr-m.done{opacity:.6;background:#141414}
 html.fmx .fmr-missions .fmr-tx b{font-size:15px}
 html.fmx .fmr-missions .fmr-meta{flex-direction:row;align-items:center;gap:8px;margin-top:6px}
 html.fmx .fmr-missions .fmr-meta .fmr-bar{flex:1;height:7px}
 html.fmx .fmr-missions .fmr-meta small{font-size:12px;white-space:nowrap}
 html.fmx .fmr-missions .fmr-meta .fmr-rw{display:inline;font-size:13px}
 html.fmx .fmr-missions .fmr-side{display:none}
 html.fmx .fmr-missions .fmr-m .fmr-claim{grid-column:1/-1;width:100%;min-height:46px;border-radius:13px;font-size:15px}
 html.fmx .fmr-missions .fmr-m .fmr-w{display:inline}
 html.fmx .fmr-missions .fmr-reset{display:block;margin:4px 0 0;color:var(--dim,#b2b2ab);font-size:12.5px;text-align:center}
}
/* ---------- 16. Peu de mots : les longues règles se replient (« Lire les règles ») ---------- */
html.fmx .fmr-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html.fmx .fmr-clamp.open{display:block;-webkit-line-clamp:unset}
html.fmx .fmr-more{display:inline-flex;align-items:center;min-height:36px;margin:2px 0 8px;padding:0;border:0;background:none;color:var(--accent2,#7ff5c8);font:600 13.5px Inter,sans-serif;cursor:pointer}

/* ---------- 17. Puces qui défilent sur une ligne sur téléphone (tirages, succès) ---------- */
html.fmx .fmx-world-filters .fm-pill.on,html.fmx .ach-filters .mk-chip.on{box-shadow:0 0 0 2px var(--gold,#f0c94a)}
@media(max-width:820px){
 html.fmx :is(.fmx-world>.fmx-world-filters,#page-succes .ach-filters){flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-14px;padding:2px 14px}
 html.fmx :is(.fmx-world>.fmx-world-filters,#page-succes .ach-filters)::-webkit-scrollbar{display:none}
 html.fmx :is(.fmx-world>.fmx-world-filters,#page-succes .ach-filters)>*{flex:none}
}

/* ---------- 18. Albums sur téléphone : deux par ligne, outils sur une ligne ---------- */
@media(max-width:820px){
 html.fmx .fm-album-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 html.fmx .fm-album-toolbar .fm-album-search{grid-column:1/-1}
 html.fmx .fm-album-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html.fmx .fm-album{display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px}
 html.fmx .fm-album .fm-album-art{width:100%;height:118px}
 html.fmx .fm-album .fm-album-body{width:100%;min-width:0}
 /* Titre au-dessus du badge « Complet » (15 novembre, Discord) : côte à côte, le titre était coupé lettre par lettre. */
 html.fmx .fm-album .fm-album-top{flex-direction:column;align-items:flex-start;gap:4px}
 html.fmx .fm-album h2{font-size:.95rem;overflow-wrap:break-word;hyphens:auto}
 html.fmx .fm-album .fm-album-variants{display:none}
 html.fmx .fm-album .fm-album-actions{display:grid;gap:6px}
 html.fmx .fm-album .fm-album-actions>*{width:100%;min-height:44px}
}

/* ---------- 19. Présentoirs : les quatre places sur deux lignes, pas une par écran ---------- */
@media(max-width:820px){
 html.fmx .nb-slots{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 html.fmx .nb-slots .nb-panel{min-width:0;padding:10px}
 html.fmx .nb-slots .nb-panel h2{font-size:15px}
 html.fmx .nb-slots .nb-stage{width:100%;height:auto;aspect-ratio:5/7}
 html.fmx .nb-slots .nb-actions{display:grid;gap:6px}
 html.fmx .nb-slots .nb-actions .btn{width:100%;min-height:44px;padding:0 6px;font-size:13px}
 html.fmx .nb-slots .nb-slot-name{font-size:12px}
}

/* ---------- 20. Recycler : le total et « Vérifier le recyclage » restent sous le pouce ---------- */
html.fmx #page-recyclage .pr-content>.btn.primary{position:sticky;bottom:16px;z-index:5;width:100%;min-height:54px;font-size:17px;box-shadow:0 10px 30px #000c,0 8px 24px var(--glow,#2fe3a055)}
html.fmx #page-recyclage .pr-selection{position:sticky;bottom:78px;z-index:5;padding:8px 12px;border-radius:12px;background:#111d;backdrop-filter:blur(4px);font-weight:700;color:var(--accent2,#7ff5c8)}
html.fmx #page-recyclage .pr-selection:empty{display:none}
@media(max-width:820px){
 html.fmx #page-recyclage .pr-content>.btn.primary{bottom:calc(106px + env(safe-area-inset-bottom,0px))}
 html.fmx #page-recyclage .pr-selection{bottom:calc(168px + env(safe-area-inset-bottom,0px))}
 html.fmx #page-recyclage .pr-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 html.fmx #page-recyclage .pr-actions .btn{min-height:44px;font-size:13px;padding:0 8px}
 html.fmx #page-recyclage .pr-row{padding:8px 0;gap:10px}
}

/* ---------- 21. Amis sur téléphone : une fiche compacte, les quatre actions sur une ligne ---------- */
@media(max-width:820px){
 html.fmx #page-amis .fr-player .fr-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 html.fmx #page-amis .fr-player .fr-actions .btn{flex:none;width:auto;min-height:44px;padding:0 4px;font-size:12.5px}
 html.fmx .fr-seen-filter button{min-height:40px}
 html.fmx .fr-top{gap:8px}
}

/* ---------- 22. Succès sur téléphone : des fiches plus courtes ---------- */
@media(max-width:820px){
 html.fmx .ach-card{padding:12px;gap:10px}
 html.fmx .ach-card .ach-reward{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--accent2,#7ff5c8)}
 html.fmx .ach-card .ach-reward .eco-payment{display:none}
 html.fmx .ach-card .ach-series{padding:6px 8px}
 html.fmx .ach-card .ach-claim{width:100%;min-height:46px}
}

/* ---------- 23. Aide : les trois entrées côte à côte sur PC, compactes sur téléphone ---------- */
@media(max-width:820px){
 html.fmx .fmx-starts .fmx-start{min-height:60px;padding:12px 14px}
 html.fmx .fmx-ticket{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 html.fmx .fmx-ticket>span{grid-column:1/-1}
}

/* ---------- 24. Mes cartes, fidèle aux planches « PC · Collection » et « M · Collection » (15/11) ---------- */
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="secrete"]{--k:var(--r-secrete,#ff4fd8)}
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="mythique"]{--k:var(--r-mythique,#ff5a5a)}
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="legendaire"]{--k:var(--r-legendaire,#f0c94a)}
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="ultra_rare"]{--k:var(--r-ultra_rare,#ff8a3d)}
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="super_rare"]{--k:var(--r-super_rare,#b07cff)}
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="rare"]{--k:var(--r-rare,#4aa8ff)}
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="peu_commun"]{--k:var(--r-peu_commun,#4fd18b)}
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="commun"]{--k:var(--r-commun,#9aa0a6)}
/* Puces de rareté de la planche : point de couleur, nom en blanc, nombre en gris ; la puce choisie prend la couleur de sa rareté. */
html.fmx #page-collection.fmr-coll #collChips{display:flex;flex-wrap:wrap;gap:8px;margin:0}
html.fmx #page-collection.fmr-coll #collChips .coll-chip{min-height:38px;padding:0 13px;border:1px solid #ffffff22;border-radius:999px;background:none;color:var(--text,#f4f4ef);font:600 14px Fredoka,Inter,sans-serif;box-shadow:none}
html.fmx #page-collection.fmr-coll #collChips .coll-chip:before{background:var(--k);box-shadow:none;width:10px;height:10px}
html.fmx #page-collection.fmr-coll #collChips .coll-chip .fmr-n{padding:0;background:none;color:var(--dim,#b2b2ab);font:600 12px Inter,sans-serif}
html.fmx #page-collection.fmr-coll #collChips .coll-chip.active{border-color:var(--k);background:color-mix(in srgb,var(--k) 16%,transparent);box-shadow:0 0 0 1px var(--k)}
html.fmx #page-collection.fmr-coll #collChips .coll-chip.active .fmr-n{color:var(--text,#f4f4ef);background:none}
/* Onglets « Ma collection / Événements » */
html.fmx #page-collection.fmr-coll #collCategories{display:flex;gap:8px;margin:0}
html.fmx #page-collection.fmr-coll #collCategories button{min-height:42px;padding:0 16px;border:1px solid #ffffff22;border-radius:13px;background:none;color:var(--text,#f4f4ef);font:600 15px Fredoka,Inter,sans-serif;box-shadow:none}
html.fmx #page-collection.fmr-coll #collCategories button:is(.active,.on,[aria-pressed=true],[aria-selected=true]){border-color:var(--accent,#2fe3a0);background:#2fe3a01f;box-shadow:none}
/* Recherche de la planche */
html.fmx #page-collection.fmr-coll #pocketCollectionSearch{margin:0}
html.fmx #page-collection.fmr-coll #collSearch{width:100%;height:46px;min-height:0;padding:0 16px 0 44px;border:1px solid #ffffff1f;border-radius:14px;background:#141414 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b2b2ab' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 15px 50%/18px;color:var(--text,#f4f4ef);font:500 15px Inter,sans-serif}
html.fmx #page-collection.fmr-coll #collSearch:focus{outline:2px solid var(--accent,#2fe3a0);outline-offset:1px}
html.fmx #page-collection.fmr-coll :is(.fmr-seg,.fmr-prog,.fmr-tools,.fmr-act){display:none}
html.fmx #page-collection.fmr-coll .fmr-prog[hidden]{display:none!important}
html.fmx #page-collection.fmr-coll .fmr-tools>#collSearch{flex:1;min-width:0}
@media(min-width:821px){
 html.fmx #page-collection.fmr-coll.active{display:flex;flex-direction:column;gap:16px}
 html.fmx #page-collection.fmr-coll>#collectionCardsView{display:flex;flex-direction:column;gap:16px}
 html.fmx #page-collection.fmr-coll .coll-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);column-gap:24px;align-items:end;margin:0;padding:0}
 html.fmx #page-collection.fmr-coll .coll-head>*{grid-column:1;margin:0}
 html.fmx #page-collection.fmr-coll .coll-head>:is(#pocketCollectionSearch,#collSearch){grid-column:2;grid-row:1 / span 2;align-self:center}
 /* Shiny, Fantomatiques, Célestes hors de la liste « Version » (avant que pocket-ui.js les y range) : à la place de la version */
 html.fmx #page-collection.fmr-coll .fmr-bar :is(#collShinyToggle,#collPhantomToggle,#collCelestialToggle):not(#pocketCollectionVersions *){order:4;min-height:40px;height:40px;padding:0 14px;border-radius:12px;font:600 14px Fredoka,Inter,sans-serif}
 html.fmx #page-collection.fmr-coll .coll-head h1{margin:0}
 html.fmx #page-collection.fmr-coll #pocketCollectionSummary{margin:4px 0 0;color:var(--dim,#b2b2ab);font-size:14px}
 /* Une seule barre : listes déroulantes, interrupteurs, puis « Sélectionner plusieurs » à droite. */
 html.fmx #page-collection.fmr-coll .fmr-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;border:1px solid #ffffff17;border-radius:18px;background:#141414}
 html.fmx #page-collection.fmr-coll .fmr-bar>.coll-toolbar{display:contents}
 html.fmx #page-collection.fmr-coll .fmr-bar :is(.tag-filter-btn,.fmr-sort,.fmr-dd,#collRowsPerPage){display:inline-flex;align-items:center;gap:8px;height:40px;min-height:40px;padding:0 14px;border:1px solid #ffffff22;border-radius:12px;background:#0c0c0c;color:var(--text,#f4f4ef);font:600 14px Fredoka,Inter,sans-serif;cursor:pointer;box-shadow:none}
 html.fmx #page-collection.fmr-coll .fmr-bar :is(.tag-filter-btn,.fmr-sort,.fmr-dd):hover{border-color:#ffffff44}
 /* Ordre de la planche : univers, étiquettes, tri, version, interrupteurs, puis le reste ; « Sélectionner plusieurs » à droite. */
 html.fmx #page-collection.fmr-coll .fmr-bar #collUniversePicker{order:1}
 html.fmx #page-collection.fmr-coll .fmr-bar #collTagFilter{order:2}
 html.fmx #page-collection.fmr-coll .fmr-bar .fmr-sort{order:3}
 html.fmx #page-collection.fmr-coll .fmr-bar .fmr-ver{order:4}
 html.fmx #page-collection.fmr-coll .fmr-bar .coll-chip[data-coll-stack]{order:5}
 html.fmx #page-collection.fmr-coll .fmr-bar [data-pocket=wishlist]{order:6}
 html.fmx #page-collection.fmr-coll .fmr-bar .coll-page-size{order:7}
 html.fmx #page-collection.fmr-coll .fmr-bar #collDevCatalogToggle{order:8}
 html.fmx #page-collection.fmr-coll .fmr-bar>.cb-controls{order:9}
 html.fmx #page-collection.fmr-coll .coll-head>#pocketCollectionSearch{padding:0;border:0;background:none}
 html.fmx #page-collection.fmr-coll .fmr-sort select{max-width:150px;height:38px;min-height:0;padding:0 2px;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
 html.fmx #page-collection.fmr-coll .fmr-sort span{color:var(--dim,#b2b2ab)}
 html.fmx #page-collection.fmr-coll .fmr-dd svg{width:14px;height:14px;opacity:.6}
 html.fmx #page-collection.fmr-coll .fmr-dd b{font-weight:600}
 /* « Regrouper les doublons » en interrupteur, comme sur la planche */
 html.fmx #page-collection.fmr-coll .fmr-bar .coll-chip[data-coll-stack]{position:relative;gap:10px;min-height:40px;padding:0 12px 0 54px;border:0;border-radius:12px;background:none;color:var(--dim,#b2b2ab);font:600 14px Fredoka,Inter,sans-serif;box-shadow:none}
 html.fmx #page-collection.fmr-coll .fmr-bar .coll-chip[data-coll-stack]:before{content:"";position:absolute;left:12px;top:10px;width:34px;height:20px;border-radius:10px;background:#ffffff22;box-shadow:none;transition:background .15s}
 html.fmx #page-collection.fmr-coll .fmr-bar .coll-chip[data-coll-stack]:after{content:"";position:absolute;left:15px;top:13px;width:14px;height:14px;border-radius:50%;background:#fff;transition:left .15s}
 html.fmx #page-collection.fmr-coll .fmr-bar .coll-chip[data-coll-stack]:is(.active,[aria-pressed=true]){color:var(--text,#f4f4ef);background:none;box-shadow:none}
 html.fmx #page-collection.fmr-coll .fmr-bar .coll-chip[data-coll-stack]:is(.active,[aria-pressed=true]):before{background:var(--accent,#2fe3a0)}
 html.fmx #page-collection.fmr-coll .fmr-bar .coll-chip[data-coll-stack]:is(.active,[aria-pressed=true]):after{left:29px}
 html.fmx #page-collection.fmr-coll .fmr-bar :is([data-pocket=wishlist],#collDevCatalogToggle,.cb-actions .btn){min-height:40px;height:40px;padding:0 14px;border-radius:12px;font:600 14px Fredoka,Inter,sans-serif}
 /* Version : liste déroulante qui contient les boutons d'origine (Toutes, Normales, Alt, Shiny…) */
 html.fmx #page-collection.fmr-coll .fmr-ver{position:relative}
 html.fmx #page-collection.fmr-coll .fmr-ver>#pocketCollectionVersions{display:none;position:absolute;left:0;top:46px;z-index:30;flex-direction:column;align-items:stretch;gap:4px;min-width:210px;margin:0;padding:8px;border:1px solid #ffffff22;border-radius:14px;background:#161616;box-shadow:0 18px 40px #000a}
 html.fmx #page-collection.fmr-coll .fmr-ver.open>#pocketCollectionVersions{display:flex}
 html.fmx #page-collection.fmr-coll .fmr-ver>#pocketCollectionVersions button{justify-content:flex-start;width:100%;min-height:38px;padding:0 12px;border:0;border-radius:10px;background:none;color:var(--text,#f4f4ef);font:600 14px Fredoka,Inter,sans-serif;text-align:left;box-shadow:none}
 html.fmx #page-collection.fmr-coll .fmr-ver>#pocketCollectionVersions button:hover{background:#ffffff0f}
 html.fmx #page-collection.fmr-coll .fmr-ver>#pocketCollectionVersions button:is(.active,.on,[aria-pressed=true]){background:#2fe3a01f;color:var(--accent2,#7ff5c8);box-shadow:none}
 /* Lignes par page : une liste comme les autres, sans phrase d'aide */
 html.fmx #page-collection.fmr-coll .fmr-bar>.coll-display-options{display:contents}
 html.fmx #page-collection.fmr-coll .fmr-bar :is(.coll-page-size label,#collPageSizeHint){display:none}
 html.fmx #page-collection.fmr-coll .fmr-bar>.cb-controls{margin:0 0 0 auto;padding:0;border:0;background:none}
 html.fmx #page-collection.fmr-coll .fmr-bar>.cb-controls .cb-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
 html.fmx #page-collection.fmr-coll .coll-pagination{margin:0}
}
@media(max-width:820px){
 html.fmx #page-collection.fmr-coll #pocketCollectionSummary{display:none}
 html.fmx #page-collection.fmr-coll:not(.fmx-filters-open) :is(#collCategories,.fmr-bar){display:none}
 html.fmx #page-collection.fmr-coll:not(.fmx-filters-open) :is(.fmr-seg,.fmr-prog,.fmr-tools,.fmr-act){display:flex}
 html.fmx #page-collection.fmr-coll.fmx-filters-open .fmr-tools{display:flex}
 html.fmx #page-collection.fmr-coll #collectionCardsView{display:flex;flex-direction:column;gap:12px}
 html.fmx #page-collection.fmr-coll .fmr-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border:1px solid #ffffff17;border-radius:16px;background:#141414}
 html.fmx #page-collection.fmr-coll .fmr-seg button{min-height:40px;border:0;border-radius:12px;background:none;color:var(--dim,#b2b2ab);font:600 15px Fredoka,Inter,sans-serif}
 html.fmx #page-collection.fmr-coll .fmr-seg button.on{background:#2fe3a01f;color:var(--text,#f4f4ef);box-shadow:inset 0 0 0 1px #2fe3a066}
 html.fmx #page-collection.fmr-coll .fmr-prog{align-items:center;gap:12px}
 html.fmx #page-collection.fmr-coll .fmr-prog b{font:600 15px Fredoka,Inter,sans-serif;white-space:nowrap}
 html.fmx #page-collection.fmr-coll .fmr-prog small{color:var(--dim,#b2b2ab);font:600 13px Fredoka,Inter,sans-serif}
 html.fmx #page-collection.fmr-coll .fmr-track{flex:1;height:8px;overflow:hidden;border-radius:99px;background:#ffffff14}
 html.fmx #page-collection.fmr-coll .fmr-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent,#2fe3a0),var(--accent2,#7ff5c8))}
 html.fmx #page-collection.fmr-coll .fmr-tools{gap:8px;align-items:center}
 html.fmx #page-collection.fmr-coll .fmr-tools>#pocketCollectionSearch{flex:1;width:auto;min-width:0;margin:0;padding:0;border:0;background:none}
 html.fmx #page-collection.fmr-coll .fmr-tools #collSearch{width:100%}
 html.fmx #page-collection.fmr-coll:not(.fmx-filters-open) #collPaginationTop{display:none}
 html.fmx #page-collection.fmr-coll .fmr-tools #collSearch{height:44px}
 html.fmx #page-collection.fmr-coll:not(.fmx-filters-open) .fmr-tools .fmx-filter-toggle{flex:none;gap:8px;min-height:44px;margin:0;padding:0 14px;border:1px solid #ffffff2a;border-radius:14px;background:#141414;font:600 14px Fredoka,Inter,sans-serif}
 html.fmx #page-collection.fmr-coll .fmx-filter-toggle em{min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--accent,#2fe3a0);color:#04140d;font:700 11px/20px Inter,sans-serif;font-style:normal;text-align:center}
 html.fmx #page-collection.fmr-coll .fmr-act{gap:6px;overflow-x:auto;scrollbar-width:none}
 html.fmx #page-collection.fmr-coll .fmr-act::-webkit-scrollbar{display:none}
 html.fmx #page-collection.fmr-coll .fmr-act:empty{display:none}
 html.fmx #page-collection.fmr-coll .fmr-pill{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 12px;border:1px solid #ffffff22;border-radius:999px;background:#151515;color:var(--text,#f4f4ef);font:600 13px Fredoka,Inter,sans-serif}
 html.fmx #page-collection.fmr-coll .fmr-pill i{width:9px;height:9px;border-radius:50%;background:var(--k,#fff)}
 html.fmx #page-collection.fmr-coll .fmr-pill svg{width:14px;height:14px;opacity:.7}
 html.fmx #page-collection.fmr-coll .fmr-pill.is-sort{border-style:dashed;color:var(--dim,#b2b2ab)}
 /* Feuille « Filtres » : un titre par groupe, comme la planche (Rareté, Version) */
 html.fmx #page-collection.fmr-coll.fmx-filters-open .fmr-bar{display:flex;flex-direction:column;gap:12px}
 html.fmx #page-collection.fmr-coll.fmx-filters-open .fmr-ver>.fmr-dd{display:none}
 html.fmx #page-collection.fmr-coll.fmx-filters-open :is(#collChips,#pocketCollectionVersions):before{content:"Rareté";flex-basis:100%;margin:6px 0 0;color:var(--dim,#b2b2ab);font:600 15px Fredoka,Inter,sans-serif;width:auto;height:auto;border-radius:0;background:none;box-shadow:none}
 html.fmx #page-collection.fmr-coll.fmx-filters-open #pocketCollectionVersions:before{content:"Version"}
 html.fmx #page-collection.fmr-coll.fmx-filters-open #collCategories{display:grid;grid-template-columns:1fr 1fr}
}

/* ---------- 25. Hall : icônes dessinées, notifications vides sans grand trou ---------- */
html.fmx .fmx-mark svg{width:19px;height:19px}
html.fmx .fmx-notifs .notif-empty{min-height:0;padding:24px 8px}
html.fmx .fmx-notifs-host{min-height:0}
@media(min-width:821px){html.fmx .fmx-hub>.fmx-tiles:has(>:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- 26. Mes cartes : le nombre de cartes à côté de chaque rareté (maquette « Collection ») ---------- */
html.fmx #collChips .fmr-n{margin-left:2px;padding:1px 7px;border-radius:999px;background:#ffffff12;color:var(--text,#f4f4ef);font:700 11.5px Inter,sans-serif}
html.fmx #collChips .coll-chip.active .fmr-n{background:#00000055}

/* ---------- 27. Téléphone : les dernières petites cibles (pages, étoile des favoris, profil, séries de succès) ---------- */
@media(max-width:820px){
 html.fmx :is(.coll-pagination,.toutes-pagination,.pagination) button{min-height:44px;padding-inline:14px}
 html.fmx .art .star:after{content:"";position:absolute;inset:-10px -10px -10px -12px}
 html.fmx #page-profil .pf-actions .title-open-btn{min-height:44px}
 html.fmx .ach-series-toggle{display:inline-flex;align-items:center;min-height:40px}
}

/* ---------- 28. Classements : les trois premiers sur un podium (maquette « Classements »), la suite en liste ---------- */
html.fmx #lbList:has(>.lb-row){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end}
html.fmx #lbList>:not(:nth-child(-n+3 of .lb-row)){grid-column:1/-1}
html.fmx #lbList>.lb-row:nth-child(1 of .lb-row){grid-column:2;grid-row:1;--fmr-m:var(--gold,#f0c94a);padding-block:22px 16px}
html.fmx #lbList>.lb-row:nth-child(2 of .lb-row){grid-column:1;grid-row:1;--fmr-m:#c9d1d9}
html.fmx #lbList>.lb-row:nth-child(3 of .lb-row){grid-column:3;grid-row:1;--fmr-m:#d08a4c}
html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row){display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;margin:0;padding:14px 8px;border:1px solid #ffffff17;border-radius:18px;background:linear-gradient(180deg,color-mix(in srgb,var(--fmr-m) 14%,#141414),#141414 70%);text-align:center}
html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row) .av{display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border-radius:50%;font:600 26px Fredoka,Inter,sans-serif;box-shadow:0 0 0 3px var(--fmr-m)}
html.fmx #lbList>.lb-row:nth-child(1 of .lb-row) .av{width:76px;height:76px}
html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row) .av img{width:100%;height:100%;object-fit:cover}
html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row) .lb-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 16px Fredoka,Inter,sans-serif}
html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row) .lb-name .you{display:block;font-size:12px}
html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row) .lb-count{display:flex;flex-direction:column;align-items:center;text-align:center}
html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row) .lb-count small{font-size:11.5px}
html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row) .lb-rank{font-size:22px;color:var(--fmr-m)}
html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row).me{box-shadow:0 0 0 2px var(--accent,#2fe3a0)}
@media(max-width:820px){
 html.fmx #lbList:has(>.lb-row){gap:6px}
 html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row){padding:12px 4px}
 html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row) .av{width:52px;height:52px;font-size:21px}
 html.fmx #lbList>.lb-row:nth-child(1 of .lb-row) .av{width:62px;height:62px}
 html.fmx #lbList>.lb-row:nth-child(-n+3 of .lb-row) .lb-name{font-size:14px}
}
/* Une seule loupe : celle de la planche, dans le champ (pocket-ui.css en dessine une autre autour). */
html.fmx #page-collection.fmr-coll #pocketCollectionSearch{margin:0;padding:0;border-radius:14px;background:none}
html.fmx #page-collection.fmr-coll #pocketCollectionSearch:before,html.fmx #page-collection.fmr-coll #pocketCollectionSearch:after{display:none}
@media(max-width:820px){
 /* Téléphone : les raretés vivent dans la feuille « Filtres », la recherche à gauche et « Filtres » à droite comme sur la planche. */
 html.fmx #page-collection.fmr-coll:not(.fmx-filters-open) #collChips{display:none}
 html.fmx #page-collection.fmr-coll .fmr-tools>.fmx-filter-toggle{order:2}
}
@media(max-width:820px){
 /* La planche remplace la rangée des sous-pages par « Mes cartes / Albums / À trouver » : pas de doublon en haut. */
 html.fmx:has(#page-collection.fmr-coll.active) #fmxRail{display:none}
 /* Feuille « Filtres » ouverte : seuls les filtres restent. */
 html.fmx #page-collection.fmr-coll.fmx-filters-open :is(.fmr-seg,.fmr-prog,.fmr-act){display:none}
 html.fmx #page-collection.fmr-coll.fmx-filters-open .fmr-sort{display:grid;gap:6px;color:var(--dim,#b2b2ab);font:600 15px Fredoka,Inter,sans-serif}
}
/* Puces de l'événement (halloween.js colore le texte en ligne) : même allure que les autres, couleur sur le point. */
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="halloween"]{--k:#ff8a1f;color:var(--text,#f4f4ef)!important}
html.fmx #page-collection.fmr-coll #collChips .coll-chip[data-r="cauchemar"]{--k:#ff1f3d;color:var(--text,#f4f4ef)!important}
html.fmx #page-collection.fmr-coll #collChips .coll-chip:is([data-r="halloween"],[data-r="cauchemar"]):before{content:"";width:10px;height:10px;border-radius:50%;background:var(--k)}

/* ---------- 29. Enchères, fidèle aux planches « PC · Marché » et « M · Marché » (15/11) ---------- */
html.fmx #page-marche.fmr-mk.active{display:flex;flex-direction:column;gap:16px}
html.fmx #page-marche.fmr-mk #mkMain,html.fmx #page-marche.fmr-mk #mkBody,html.fmx #page-marche.fmr-mk #mkFilters{display:flex;flex-direction:column;gap:14px;margin:0}
html.fmx #page-marche.fmr-mk .trades-header{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:0}
html.fmx #page-marche.fmr-mk .trades-header h1{margin:0;font-size:32px}
html.fmx #page-marche.fmr-mk .trades-sub{margin-top:4px;color:var(--dim,#b2b2ab);font-size:14px}
/* « Vendre une carte » en or, comme sur la planche */
html.fmx #page-marche.fmr-mk #mkSellBtn{margin-left:auto;min-height:46px;padding:0 20px;border:0;border-radius:14px;background:linear-gradient(180deg,#ffe08a,var(--gold,#f0c94a));color:#241a00;font:600 16px Fredoka,Inter,sans-serif;box-shadow:0 4px 0 #a07d1c}
html.fmx #page-marche.fmr-mk #mkSellBtn:active{transform:translateY(2px);box-shadow:0 2px 0 #a07d1c}
/* Onglets */
html.fmx #page-marche.fmr-mk #mkTabs{display:flex;gap:6px;flex-wrap:wrap;margin:0;padding:0;border:0;background:none}
html.fmx #page-marche.fmr-mk #mkTabs .trades-tab{min-height:40px;padding:0 15px;border:1px solid #ffffff22;border-radius:12px;background:none;color:var(--text,#f4f4ef);font:600 14.5px Fredoka,Inter,sans-serif;box-shadow:none}
html.fmx #page-marche.fmr-mk #mkTabs .trades-tab.active{border-color:var(--accent,#2fe3a0);background:#2fe3a026;box-shadow:inset 0 -3px 0 var(--accent,#2fe3a0)}
/* Recherche et tri sur une ligne */
html.fmx #page-marche.fmr-mk .mkf-bar{display:flex;flex-wrap:nowrap;gap:10px;align-items:center;margin:0;padding:0;border:0;background:none}
html.fmx #page-marche.fmr-mk #mkSearch{flex:1;min-width:0;height:46px;min-height:0;padding:0 16px 0 44px;border:1px solid #ffffff1f;border-radius:14px;background:#141414 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b2b2ab' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 15px 50%/18px;color:var(--text,#f4f4ef);font:500 15px Inter,sans-serif}
html.fmx #page-marche.fmr-mk :is(#mkSort,#mkCat){height:40px;min-height:0;padding:0 12px;border:1px solid #ffffff22;border-radius:11px;background:#0c0c0c;color:var(--text,#f4f4ef);font:600 13.5px Fredoka,Inter,sans-serif}
/* Boîte « Filtres » : en-tête qui la replie, filtres actifs à côté */
html.fmx #page-marche.fmr-mk .fmr-fbox{border:1px solid #ffffff17;border-radius:18px;background:#141414}
html.fmx #page-marche.fmr-mk .fmr-ftop{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 10px}
html.fmx #page-marche.fmr-mk .fmr-ftop #mkFilterToggle{display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:0 6px;border:0;background:none;color:var(--text,#f4f4ef);font:600 15px Fredoka,Inter,sans-serif;box-shadow:none}
html.fmx #page-marche.fmr-mk #mkFilterToggle .mkf-count{min-width:20px;padding:2px 8px;border-radius:9px;background:var(--accent,#2fe3a0);color:#04140d;font:700 12px Inter,sans-serif;text-align:center}
html.fmx #page-marche.fmr-mk #mkFilterToggle .mkf-count[hidden]{display:none}
html.fmx #page-marche.fmr-mk .fmr-ftop #mkFilterToggle:after{content:"";width:9px;height:9px;margin-left:4px;border-right:2.4px solid currentColor;border-bottom:2.4px solid currentColor;opacity:.7;transform:translateY(-3px) rotate(45deg);transition:transform .15s}
html.fmx #page-marche.fmr-mk .fmr-ftop #mkFilterToggle[aria-expanded=true]:after{transform:translateY(2px) rotate(-135deg)}
html.fmx #page-marche.fmr-mk #mkActiveFilters{display:flex;flex-wrap:wrap;gap:6px;margin:0}
html.fmx #page-marche.fmr-mk #mkActiveFilters[hidden]{display:none}
html.fmx #page-marche.fmr-mk #mkActiveFilters :is(.mkf-pill,.mkf-clear){display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border:0;border-radius:9px;background:#ffffff14;color:var(--text,#f4f4ef);font:600 12.5px Fredoka,Inter,sans-serif}
html.fmx #page-marche.fmr-mk #mkFilterPanel{display:none;margin:0;padding:4px 16px 16px;border:0;background:none}
html.fmx #page-marche.fmr-mk #mkFilterPanel.open{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
html.fmx #page-marche.fmr-mk .mkf-group{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:center;margin:0}
html.fmx #page-marche.fmr-mk .mkf-label{color:var(--dim,#b2b2ab);font:800 11px Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase}
html.fmx #page-marche.fmr-mk .mkf-chips{display:flex;flex-wrap:wrap;gap:8px}
html.fmx #page-marche.fmr-mk .mkf-chip{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;border:1px solid #ffffff22;border-radius:999px;background:none;color:var(--text,#f4f4ef);font:600 13.5px Fredoka,Inter,sans-serif;box-shadow:none}
html.fmx #page-marche.fmr-mk .mkf-chip.mkf-rarity:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--mkf-c,currentColor);box-shadow:none}
html.fmx #page-marche.fmr-mk .mkf-chip .mkf-n{color:var(--dim,#b2b2ab);font:600 11.5px Inter,sans-serif}
html.fmx #page-marche.fmr-mk .mkf-chip:is(.active,[aria-pressed=true]){border-color:#fff;background:#fff;color:#111;box-shadow:0 0 0 2px var(--gold,#f0c94a)}
html.fmx #page-marche.fmr-mk .mkf-chip:is(.active,[aria-pressed=true]) .mkf-n{color:#555}
html.fmx #page-marche.fmr-mk .mkf-chip:disabled{opacity:.4}
html.fmx #page-marche.fmr-mk .mk-info>div:first-child .mk-l{display:none}
html.fmx #page-marche.fmr-mk .mk-info .mk-price{font:600 18px Fredoka,Inter,sans-serif;color:var(--gold2,#ffd76a)}
html.fmx #page-marche.fmr-mk .mk-info .mk-right{display:flex;align-items:baseline;gap:5px;text-align:left}
html.fmx #page-marche.fmr-mk .mk-info .mk-right :is(.mk-l,.mk-time){color:var(--dim,#b2b2ab);font:700 12px Inter,sans-serif;text-transform:none;letter-spacing:0}
html.fmx #page-marche.fmr-mk .fmr-mk-sec,html.fmx #page-marche.fmr-mk>.fmr-seg{display:none}
@media(max-width:820px){
 html.fmx:has(#page-marche.fmr-mk.active) #fmxRail{display:none}
 html.fmx #page-marche.fmr-mk .trades-header{display:contents}
 html.fmx #page-marche.fmr-mk .trades-header>:not(#mkSellBtn){display:none}
 html.fmx #page-marche.fmr-mk>.fmr-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border:1px solid #ffffff17;border-radius:16px;background:#141414}
 html.fmx #page-marche.fmr-mk>.fmr-seg button{min-height:40px;border:0;border-radius:12px;background:none;color:var(--dim,#b2b2ab);font:600 14.5px Fredoka,Inter,sans-serif}
 html.fmx #page-marche.fmr-mk>.fmr-seg button.on{background:#2fe3a01f;color:var(--text,#f4f4ef);box-shadow:inset 0 0 0 1px #2fe3a066}
 html.fmx #page-marche.fmr-mk.fmr-mk-browse #mkTabs{display:none}
 html.fmx #page-marche.fmr-mk #mkTabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
 html.fmx #page-marche.fmr-mk #mkTabs .trades-tab{flex:none}
 html.fmx #page-marche.fmr-mk .mkf-bar #mkFilterToggle{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:44px;margin:0;padding:0 14px;border:1px solid #ffffff2a;border-radius:14px;background:#141414;color:var(--text,#f4f4ef);font:600 14px Fredoka,Inter,sans-serif}
 html.fmx #page-marche.fmr-mk #mkSearch{height:44px}
 html.fmx #page-marche.fmr-mk #mkFilters:not(:has(#mkFilterPanel.open)) #mkSort{display:none}
 html.fmx #page-marche.fmr-mk .fmr-fbox:not(:has(#mkFilterPanel.open)):has(#mkActiveFilters[hidden]){display:none}
 html.fmx #page-marche.fmr-mk .fmr-fbox{border:0;background:none}
 html.fmx #page-marche.fmr-mk .fmr-ftop{padding:0}
 html.fmx #page-marche.fmr-mk #mkFilterPanel{padding:4px 0 8px}
 html.fmx #page-marche.fmr-mk .mkf-group{grid-template-columns:1fr;gap:8px}
 html.fmx #page-marche.fmr-mk .fmr-mk-sec{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
 html.fmx #page-marche.fmr-mk .fmr-mk-sec h2{margin:0;font:600 19px Fredoka,Inter,sans-serif}
 html.fmx #page-marche.fmr-mk .fmr-mk-sec span{color:var(--dim,#b2b2ab);font-size:13px}
 html.fmx #page-marche.fmr-mk .mk-info .mk-price{font-size:16px}
 html.fmx #page-marche.fmr-mk .mk-info .mk-right .mk-l{display:none}
 /* « Vendre une carte » flottant au-dessus du Menu */
 html.fmx #page-marche.fmr-mk #mkSellBtn{position:fixed;right:16px;bottom:calc(100px + env(safe-area-inset-bottom,0px));z-index:40;min-height:52px;border-radius:26px;box-shadow:0 4px 0 #a07d1c,0 12px 30px #000a}
 html.fmx #page-marche.fmr-mk:not(.fmr-mk-browse) #mkSellBtn{display:none}
}

/* ---------- 30. Jouer, fidèle aux planches « PC · Jouer » et « M · Jouer » (15/11) ---------- */
html.fmx #page-fmx-jouer.fmr-jouer .fmr-top h1{margin:0;font:600 32px Fredoka,Inter,sans-serif}
/* Bannière du Raid : étiquette, palier en grand, chiffres, bouton */
html.fmx #page-fmx-jouer.fmr-jouer .fmx-hero-tile[data-fmx-raid]{gap:10px;min-height:300px;padding:30px;border-radius:28px}
html.fmx #page-fmx-jouer.fmr-jouer .fmx-hero-tile[data-fmx-raid] img{object-position:50% 30%}
html.fmx #page-fmx-jouer.fmr-jouer .fmx-hero-tile[data-fmx-raid]:before{background:linear-gradient(90deg,#000e 20%,#0000 75%)}
html.fmx #page-fmx-jouer.fmr-jouer .fmx-hero-tile[data-fmx-raid]>strong{align-self:flex-start;padding:4px 11px;border:1px solid var(--accent,#2fe3a0);border-radius:10px;background:#000a;color:var(--accent2,#7ff5c8);font:600 13px Inter,sans-serif;text-shadow:none}
html.fmx #page-fmx-jouer.fmr-jouer .fmr-raid{position:relative;z-index:3;display:flex;flex-direction:column;gap:10px}
html.fmx #page-fmx-jouer.fmr-jouer .fmr-raid[hidden]{display:none}
html.fmx #page-fmx-jouer.fmr-jouer .fmr-raid>b{font:600 46px/1 Fredoka,Inter,sans-serif;text-shadow:0 2px 12px #000}
html.fmx #page-fmx-jouer.fmr-jouer .fmr-raid-stats{display:flex;gap:26px;color:var(--dim,#b2b2ab);font-size:14px}
html.fmx #page-fmx-jouer.fmr-jouer .fmr-raid-stats b{display:block;color:#fff;font:600 24px Fredoka,Inter,sans-serif}
html.fmx #page-fmx-jouer.fmr-jouer .fmx-hero-tile[data-fmx-raid]>small{margin:0;max-width:520px}
@media(min-width:821px){
 /* Les six modes : image à gauche (150 px), texte sur fond sombre à droite */
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile{display:grid;grid-template-columns:150px minmax(0,1fr);grid-template-rows:auto auto 1fr;align-content:start;column-gap:18px;row-gap:6px;min-height:180px;padding:16px 18px 16px 0;border-radius:22px;background:#141414}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile:before{display:none}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile img{position:absolute;inset:0 auto 0 0;width:150px;height:100%;object-position:50% 20%}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile>:not(img){grid-column:2}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile .tag{margin:0}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile strong{font-size:22px;text-shadow:none}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile small{margin:0;color:var(--dim,#b2b2ab);font-size:14px;text-shadow:none}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile:hover img{transform:none}
}
@media(max-width:820px){
 html.fmx #page-fmx-jouer.fmr-jouer .fmr-top{display:none}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-hero-tile[data-fmx-raid]{min-height:190px;padding:16px;border-radius:24px;gap:4px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-hero-tile[data-fmx-raid]:before{background:linear-gradient(0deg,#000e 10%,#0000 70%)}
 html.fmx #page-fmx-jouer.fmr-jouer .fmr-raid>b{font-size:28px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmr-raid-stats{gap:16px;font-size:12px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmr-raid-stats b{font-size:17px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-hero-tile[data-fmx-raid]>small{display:none}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-hero-tile[data-fmx-raid] .fm-btn{align-self:stretch;justify-content:center;min-height:46px;margin-top:6px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles{grid-template-columns:1fr 1fr;gap:10px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile{min-height:150px;padding:12px;border-radius:20px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile .tag{position:absolute;top:10px;left:10px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile strong{font-size:18px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile small{font-size:12px;line-height:1.3}
}

/* ---------- 31. Profil, fidèle aux planches « PC · Profil » et « M · Profil » (15/11) ---------- */
html.fmx #page-profil.fmr-pf>:is(.fmr-pf-main,.fmr-pf-side){display:flex;flex-direction:column;gap:18px;min-width:0}
html.fmx #page-profil.fmr-pf>:is(.fmr-pf-main,.fmr-pf-side)>*{margin:0}
html.fmx #page-profil.fmr-pf #profileHeaderCard .pf-head{padding:0;border:0;background:none;box-shadow:none;overflow:visible}
html.fmx #page-profil.fmr-pf .pocket-profile-tagline{display:none}
html.fmx #page-profil.fmr-pf #profileHeaderCard #profileAvatarBtn{border:4px solid var(--bg,#0b0b0b)}
html.fmx #page-profil.fmr-pf .profile-username{font:600 38px/1.05 Fredoka,Inter,sans-serif}
html.fmx #page-profil.fmr-pf .pf-meta,html.fmx #page-profil.fmr-pf .pocket-profile-xp small{color:var(--gold2,#ffd76a);font:600 15px Fredoka,Inter,sans-serif}
html.fmx #page-profil.fmr-pf #profileHeaderCard .pocket-profile-primary .btn{min-height:48px;padding:0 20px;font:600 16px Fredoka,Inter,sans-serif}
html.fmx #page-profil.fmr-pf #profileStatsCard .pf-stat{border:0;border-radius:18px;background:#141414}
@media(min-width:821px){
 html.fmx #page-profil.fmr-pf.active{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px 20px;align-items:start}
 html.fmx #page-profil.fmr-pf>*{grid-column:1/-1}
 html.fmx #page-profil.fmr-pf>.fmr-pf-main{grid-column:1}
 html.fmx #page-profil.fmr-pf>.fmr-pf-side{grid-column:2}
 html.fmx #page-profil.fmr-pf>.pocket-profile-title{display:none}
 /* Bannière de 230 px, avatar de 132 px posé dessus, boutons à droite du nom */
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pf-cover{height:230px;min-height:0;border-radius:28px}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pf-head-body{position:relative;z-index:2;display:grid;grid-template-columns:132px minmax(0,1fr) auto;grid-template-areas:"av id primary" "av actions actions";align-items:end;column-gap:20px;row-gap:12px;margin:-90px 0 0;padding:0 28px;border:0;background:none}
 html.fmx #page-profil.fmr-pf #profileHeaderCard #profileAvatarBtn{grid-area:av;align-self:start;width:132px!important;height:132px!important;font-size:40px}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pf-id{grid-area:id;padding-bottom:6px}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pocket-profile-primary{grid-area:primary;display:flex;gap:10px;width:auto;margin:0;padding-bottom:10px}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pf-actions{grid-area:actions;margin:0}
 /* Chiffres en cartes, vitrine sur une ligne */
 html.fmx #page-profil.fmr-pf #profileStatsCard .pf-stats.pf-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:0;border:0;background:none}
 html.fmx #page-profil.fmr-pf #profileStatsCard .pf-stat{padding:16px}
 html.fmx #page-profil.fmr-pf #profileStatsCard .pf-stat b{font:600 30px Fredoka,Inter,sans-serif}
 html.fmx #page-profil.fmr-pf .profile-vitrine-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
 html.fmx #page-profil.fmr-pf .profile-vitrine-grid .vitrine-slot{width:auto;min-width:0;height:auto;aspect-ratio:5/7}
}
@media(max-width:820px){
 /* Bannière de bord à bord, avatar de 92 px posé dessus, deux boutons côte à côte */
 html.fmx #page-profil.fmr-pf>:is(.fmr-pf-main,.fmr-pf-side){display:contents}
 html.fmx #page-profil.fmr-pf>.pocket-profile-title{display:none}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pf-cover{height:150px;margin:0 -14px;border-radius:0}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pf-head-body{position:relative;z-index:2;display:grid;grid-template-columns:92px minmax(0,1fr);grid-template-areas:"av id" "primary primary" "actions actions";align-items:end;column-gap:12px;row-gap:12px;margin:-60px 0 0;padding:0;border:0;background:none}
 html.fmx #page-profil.fmr-pf #profileHeaderCard #profileAvatarBtn{grid-area:av;width:92px!important;height:92px!important;font-size:28px}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pf-id{grid-area:id;padding-bottom:4px}
 html.fmx #page-profil.fmr-pf .profile-username{font-size:26px}
 html.fmx #page-profil.fmr-pf .pf-meta,html.fmx #page-profil.fmr-pf .pocket-profile-xp small{font-size:13px}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pocket-profile-primary{grid-area:primary;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pocket-profile-primary .btn{min-height:46px;padding:0 8px}
 html.fmx #page-profil.fmr-pf #profileHeaderCard .pf-actions{grid-area:actions;margin:0}
}
@media(min-width:821px){html.fmx #page-profil.fmr-pf #profileHeaderCard .pocket-profile-primary{flex-wrap:nowrap}html.fmx #page-profil.fmr-pf #profileHeaderCard .pocket-profile-primary .btn{flex:none;width:auto}}

/* ---------- 32. Combat (Duel éclair), fidèle aux planches « PC · Combat » et « M · Combat » (15/11) ---------- */
html.fmx #page-duel.fmr-duel .battle-header h1{font-size:34px}
html.fmx #page-duel.fmr-duel .duel-trophies{display:inline-flex;align-items:center;gap:10px;padding:0 6px 0 14px;border-radius:999px;background:#f0c94a1f;color:var(--gold2,#ffd76a)}
/* Trois étapes numérotées, faites des phrases du jeu */
html.fmx #page-duel.fmr-duel .fmr-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}
html.fmx #page-duel.fmr-duel .fmr-step{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #ffffff17;border-radius:18px;background:#141414}
html.fmx #page-duel.fmr-duel .fmr-step b{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--accent,#2fe3a0);color:#04140d;font:600 16px Fredoka,Inter,sans-serif}
html.fmx #page-duel.fmr-duel .fmr-step p{margin:0;color:#ddd;font-size:14px;line-height:1.4}
html.fmx #page-duel.fmr-duel .duel-format-note.fmr-note-steps{display:none}
/* Les trois modes : image en haut, étiquette, titre, texte, bouton sur toute la largeur */
html.fmx #page-duel.fmr-duel .duel-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
html.fmx #page-duel.fmr-duel .duel-mode{position:relative;display:flex;flex-direction:column;gap:8px;min-height:330px;padding:0 0 18px;overflow:hidden;border:2px solid #ffffff17;border-radius:24px;background:#141414}
html.fmx #page-duel.fmr-duel .duel-mode:before{content:"";flex:none;align-self:stretch;height:170px;background:#0c0c0c url("feature-assets/hub-luffy.webp") 50% 25%/cover no-repeat}
html.fmx #page-duel.fmr-duel .duel-mode:nth-child(2):before{background-image:url("feature-assets/hub-nami.webp")}
html.fmx #page-duel.fmr-duel .duel-mode:nth-child(3):before{background-image:url("feature-assets/hub-denji.webp")}
html.fmx #page-duel.fmr-duel .duel-mode.ranked{border-color:var(--accent,#2fe3a0);box-shadow:0 0 0 1px var(--accent,#2fe3a0),0 14px 30px #2fe3a026}
html.fmx #page-duel.fmr-duel .duel-mode>*{margin-inline:18px}
html.fmx #page-duel.fmr-duel .duel-mode-ic{display:none}
html.fmx #page-duel.fmr-duel .duel-mode .duel-mode-tag{order:1;align-self:flex-start;margin-top:8px}
html.fmx #page-duel.fmr-duel .duel-mode h3{order:2;margin-block:0;font:600 24px Fredoka,Inter,sans-serif}
html.fmx #page-duel.fmr-duel .duel-mode p{order:3;margin-block:0;color:var(--dim,#b2b2ab);font-size:14px}
html.fmx #page-duel.fmr-duel .duel-mode>:is(.duel-queue,#duelFriendBtn){order:4;margin-top:auto}
html.fmx #page-duel.fmr-duel .duel-mode .duel-queue{display:flex}
html.fmx #page-duel.fmr-duel .duel-mode :is(.duel-queue .btn,#duelFriendBtn){flex:1;width:auto;min-height:46px}
@media(max-width:820px){
 html.fmx #page-duel.fmr-duel .fmr-steps{grid-template-columns:1fr;gap:8px}
 html.fmx #page-duel.fmr-duel .fmr-step{padding:10px 12px}
 html.fmx #page-duel.fmr-duel .duel-modes{grid-template-columns:1fr;gap:12px}
 html.fmx #page-duel.fmr-duel .duel-mode{min-height:0}
 html.fmx #page-duel.fmr-duel .duel-mode:before{height:110px}
 html.fmx #page-duel.fmr-duel .battle-header h1{font-size:26px}
}

/* ---------- 33. Téléphone : le bouton Menu ouvre la page Menu de la planche « M · Menu » (15/11) ---------- */
@media(max-width:820px){
 html.fmx .fmx-wheel.is-list{position:fixed;left:0;right:0;bottom:0;width:auto;max-width:none;height:auto;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:var(--bg,#0b0b0b);box-shadow:none;overflow-y:auto;overscroll-behavior:contain}
 html.fmx .fmx-wheel.is-list .fmx-wheel-body{display:flex;flex-direction:column;align-items:stretch;gap:14px;max-width:none;padding:14px 14px calc(110px + env(safe-area-inset-bottom,0px))}
 html.fmx .fmx-wheel.is-list .fmx-wheel-search{display:flex;align-items:center;gap:10px;width:100%;max-width:none;height:50px;padding:0 14px;border:1px solid #ffffff17;border-radius:16px;background:#141414}
 html.fmx .fmx-wheel.is-list .fmx-wheel-search svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--dim,#b2b2ab);stroke-width:2;stroke-linecap:round}
 html.fmx .fmx-wheel.is-list .fmx-wheel-search input{flex:1;min-width:0;height:100%;border:0;background:none;color:var(--text,#f4f4ef);outline:none}
 html.fmx .fmx-wheel.is-list .fmx-wheel-list{display:flex;flex-direction:column;align-items:stretch;gap:16px;width:100%;max-width:none}
 /* Mes raccourcis : quatre par ligne, une tuile de couleur pleine avec l'icône blanche */
 html.fmx .fmx-wheel.is-list .fmr-pins-row-head{max-width:none}
 html.fmx .fmx-wheel.is-list .fmr-pins-row-head span{color:var(--text,#f4f4ef);font:600 17px Fredoka,Inter,sans-serif;letter-spacing:0;text-transform:none}
 html.fmx .fmx-wheel.is-list .fmr-pins-row{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;margin:0}
 html.fmx .fmx-wheel.is-list .fmr-pin{min-height:0;padding:10px 2px;border:0;border-radius:16px;background:#ffffff0b;color:var(--text,#f4f4ef);font:600 12px Fredoka,Inter,sans-serif;text-align:center}
 html.fmx .fmx-wheel.is-list .fmr-pin i{width:42px;height:42px;border-radius:13px;background:var(--k);color:#fff}
 html.fmx .fmx-wheel.is-list .fmr-pin svg{width:22px;height:22px;stroke:#fff}
 /* Rubriques : carré de couleur, pages sur deux colonnes */
 html.fmx .fmx-wheel.is-list .fmx-wheel-list section{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;border:0;background:none}
 html.fmx .fmx-wheel.is-list .fmx-wheel-list section h2{margin:0;color:var(--text,#f4f4ef);font:600 17px Fredoka,Inter,sans-serif;letter-spacing:0;text-transform:none}
 html.fmx .fmx-wheel.is-list .fmx-wheel-list section h2:before{width:10px;height:10px}
 html.fmx .fmx-wheel.is-list .fmx-wheel-list section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 html.fmx .fmx-wheel.is-list .fmx-wheel-list section>div>button{min-height:46px;padding:0 12px;border:1px solid #ffffff17;border-radius:13px;background:#141414;color:var(--text,#f4f4ef);font:600 14px Inter,sans-serif;text-align:left}
 html.fmx .fmx-wheel.is-list .fmx-wheel-actions{position:static;justify-content:center;margin:0;padding:0;background:none}
 html.fmx .fmx-wheel.is-list .fmx-wheel-actions [data-wheel-close]{min-height:44px;padding:0 22px;border:1px solid #ffffff22;border-radius:14px;background:none;color:var(--dim,#b2b2ab);font:600 14px Inter,sans-serif;box-shadow:none}
}

/* ---------- 34. Téléphone : le bouton Menu de la barre du bas comme sur la planche (tuile carrée levée, trois traits, « Menu ») ---------- */
@media(max-width:820px){
 html.fmx .fm .fm-tabs .fm-tab-wheel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:auto;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:14px;background:none;color:var(--dim,#b2b2ab);font:600 12px Fredoka,Inter,sans-serif;box-shadow:none}
 html.fmx .fm .fm-tabs .fm-tab-wheel svg{width:26px;height:26px;padding:11px;box-sizing:content-box;margin-top:-22px;border-radius:18px;background:linear-gradient(180deg,var(--accent2,#7ff5c8),var(--accent,#2fe3a0) 60%,#17b67c);color:#04140d;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;box-shadow:0 0 0 4px #0a0a0a,0 8px 20px #2fe3a066}
 html.fmx .fm .fm-tabs .fm-tab-wheel[aria-expanded=true]{background:none;color:var(--text,#f4f4ef)}
 html.fmx .fm .fm-tabs .fm-tab-wheel[aria-expanded=true] svg{box-shadow:0 0 0 4px #0a0a0a,0 0 0 6px var(--gold,#f0c94a),0 8px 20px #2fe3a066}
}

/* ---------- 35. Téléphone : accueil de la planche « M · Accueil » (roue en haut, réserve, deux boutons côte à côte, puis les missions) ---------- */
@media(max-width:820px){
 html.fmx #page-packs #fmxPacks{order:1}
 html.fmx #page-packs #fmxHeroCopy{order:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 10px;margin:-6px 0 0;padding:0;text-align:center}
 html.fmx #page-packs #fmxHeroCopy :is(h1,.fm-bar){display:none}
 html.fmx #page-packs #fmxHeroCopy p{margin:0;font-size:13px}
 /* 15/11 (écran rétréci, capture du joueur) : « 1fr 1fr » + nowrap poussait « Ouvrir · 600 pièces » hors de l'écran.
    Les ouvertures prennent la ligne entière, les deux liens se partagent la suivante, le texte peut passer à la ligne. */
 html.fmx #page-packs #pocketWheelActions{order:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;align-self:stretch}
 html.fmx #page-packs #nextBoosters{align-self:stretch}
 html.fmx #page-packs #pocketWheelActions>*{grid-column:1/-1;width:100%;min-width:0;min-height:50px;margin:0;white-space:normal;overflow-wrap:anywhere}
 html.fmx #page-packs #pocketWheelActions>:is([data-ten],.fmr-verify-ten,[data-chances]){grid-column:auto;min-height:44px;font-size:13.5px;line-height:1.2}
 /* Les raccourcis vivent dans la page Menu, comme sur la planche */
 html.fmx #page-packs #fmxShortcuts{display:none}
 html.fmx #page-packs #homeSide{order:5}
}
html.fmx #page-duel.fmr-duel .duel-mode>:is(.duel-queue,#duelFriendBtn){align-self:stretch}
@media(max-width:820px){
 /* La roue d’abord, comme sur la planche : les boosters cadeaux après les boutons, le bandeau JcJ en bas de l’accueil */
 html.fmx #page-packs.active{display:flex;flex-direction:column}
 html.fmx #page-packs>#fmxJcjBand{order:1}
 html.fmx #page-packs #giftBoosterShelf{order:4}
}

/* ---------- 36. Communauté, fidèle aux planches « PC · Communauté » et « M · Communauté » (15/11) ---------- */
html.fmx #page-fmx-communaute.fmr-co .fmr-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
html.fmx #page-fmx-communaute.fmr-co .fmr-top h1{margin:0;font:600 32px Fredoka,Inter,sans-serif}
html.fmx #page-fmx-communaute.fmr-co .fmr-online{display:flex;flex-direction:column;margin:0 0 0 auto;text-align:right}
html.fmx #page-fmx-communaute.fmr-co .fmr-online b{color:#7cf28a;font:600 15px Fredoka,Inter,sans-serif}
html.fmx #page-fmx-communaute.fmr-co .fmr-online small{color:var(--dim,#b2b2ab);font-size:12.5px}
/* Club : carte bleutée, emblème aux initiales */
html.fmx #page-fmx-communaute.fmr-co [data-fmx-club]{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;column-gap:12px;row-gap:6px;border:1px solid #5b9bff44;background:linear-gradient(135deg,#1d2a4a,#141022)}
html.fmx #page-fmx-communaute.fmr-co [data-fmx-club]>:not(.fmr-em){grid-column:2}
html.fmx #page-fmx-communaute.fmr-co [data-fmx-club]>.fmx-club-actions{grid-column:1/-1;display:flex;gap:8px;margin-top:8px}
html.fmx #page-fmx-communaute.fmr-co [data-fmx-club]>.fmx-club-actions .fm-btn{flex:1;min-height:46px}
html.fmx #page-fmx-communaute.fmr-co [data-fmx-club]:not(.fmr-has-club)>*{grid-column:1/-1}
html.fmx #page-fmx-communaute.fmr-co .fmr-em{grid-row:span 2;display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#5b9bff,#2a3f8a);color:#fff;font:600 22px Fredoka,Inter,sans-serif}
html.fmx #page-fmx-communaute.fmr-co [data-fmx-club] h2{margin:0;font:600 21px Fredoka,Inter,sans-serif}
html.fmx #page-fmx-communaute.fmr-co [data-fmx-club] p{margin:0}
/* Amis : en ligne d'abord */
html.fmx #page-fmx-communaute.fmr-co .fmr-friends{display:flex;flex-direction:column;gap:10px}
html.fmx #page-fmx-communaute.fmr-co .fmr-friends h2{display:flex;align-items:baseline;gap:8px;margin:0;font:600 19px Fredoka,Inter,sans-serif}
html.fmx #page-fmx-communaute.fmr-co .fmr-friends h2 small{color:var(--dim,#b2b2ab);font:500 13px Inter,sans-serif}
html.fmx #page-fmx-communaute.fmr-co .fmr-fr-list{display:flex;flex-direction:column;gap:10px}
html.fmx #page-fmx-communaute.fmr-co .fmr-fr{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;font-size:14px}
html.fmx #page-fmx-communaute.fmr-co .fmr-fr b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.fmx #page-fmx-communaute.fmr-co .fmr-fr small{display:block;color:var(--dim,#b2b2ab);font-size:12px}
html.fmx #page-fmx-communaute.fmr-co .fmr-av{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#262626 50% 15%/cover no-repeat;color:var(--text,#f4f4ef);font:600 13px Fredoka,Inter,sans-serif}
html.fmx #page-fmx-communaute.fmr-co .fmr-dot{width:10px;height:10px;border-radius:50%;background:#7cf28a;box-shadow:0 0 0 3px #7cf28a33}
html.fmx #page-fmx-communaute.fmr-co .fmr-fr.off{opacity:.6}
html.fmx #page-fmx-communaute.fmr-co .fmr-fr.off .fmr-dot{background:#6b6570;box-shadow:none}
html.fmx #page-fmx-communaute.fmr-co .fmr-friends>.fm-btn{width:100%;min-height:44px}
@media(min-width:821px){
 html.fmx #page-fmx-communaute.fmr-co .fmx-community-top{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 300px;gap:16px;align-items:start}
 html.fmx #page-fmx-communaute.fmr-co .fmx-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
 html.fmx #page-fmx-communaute.fmr-co .fmx-tiles .fm-tile{min-height:190px}
}
@media(max-width:820px){
 html.fmx #page-fmx-communaute.fmr-co .fmr-top h1{display:none}
 html.fmx #page-fmx-communaute.fmr-co .fmr-online{margin:0;padding:12px 14px;border-radius:16px;background:#141414;text-align:left;flex:1}
 html.fmx #page-fmx-communaute.fmr-co .fmx-community-top{display:flex;flex-direction:column;gap:12px}
 html.fmx #page-fmx-communaute.fmr-co .fmx-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html.fmx #page-fmx-communaute.fmr-co .fmx-tiles .fm-tile{min-height:110px;padding:10px;border-radius:16px}
 html.fmx #page-fmx-communaute.fmr-co .fmx-tiles .fm-tile strong{font-size:14px}
 html.fmx #page-fmx-communaute.fmr-co .fmx-tiles .fm-tile small{display:none}
}
html.fmx #page-fmx-communaute.fmr-co [data-fmx-club]>.fmx-club-actions{flex-wrap:wrap}
html.fmx #page-fmx-communaute.fmr-co [data-fmx-club]>.fmx-club-actions .fm-btn{flex:1 1 140px}
html.fmx #page-fmx-communaute.fmr-co .fmr-online:has(b:empty){display:none}

/* ---------- 37. Tirages mondiaux, fidèles aux planches « PC · Tirages » et « M · Tirages » (15/11) ---------- */
html.fmx .fmr-world .fmr-wtop{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html.fmx .fmr-world .fmr-wtop p{margin:0;color:var(--dim,#b2b2ab);font-size:13px}
html.fmx .fmr-world .fmr-wlinks{display:flex;gap:16px;margin-left:auto}
html.fmx .fmr-world .fmr-link{padding:0;border:0;background:none;color:var(--accent,#2fe3a0);font:600 14px Fredoka,Inter,sans-serif;cursor:pointer}
html.fmx .fmr-world .fmr-chips .fm-pill{display:inline-flex;align-items:center;gap:7px}
html.fmx .fmr-world .fmr-chips .fm-pill i{width:9px;height:9px;border-radius:50%;background:var(--k)}
html.fmx .fmr-world .fmr-pulls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html.fmx .fmr-world .fmr-pull{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 14px 8px 8px;border:1px solid #ffffff17;border-radius:16px;background:#141414;cursor:pointer;animation:fmr-in .35s ease-out both}
html.fmx .fmr-world .fmr-pull:hover{border-color:#ffffff33}
html.fmx .fmr-world .fmr-pull.asc{background:linear-gradient(90deg,#f0c94a26,#141414 70%);box-shadow:inset 0 0 0 1px #f0c94a55}
html.fmx .fmr-world .fmr-pc{display:block;width:54px;aspect-ratio:5/7;overflow:hidden;border-radius:7px}
html.fmx .fmr-world .fmr-pc>*{width:100%!important;height:100%!important;margin:0!important;font-size:4px}
html.fmx .fmr-world .fmr-pc :is(.fmc-info,.fmc-stats,.fmc-gem,.fmc-uni,.evo-ribbon,.fullart-sparkles){display:none!important}
html.fmx .fmr-world .fmr-pt{min-width:0;display:flex;flex-direction:column}
html.fmx .fmr-world .fmr-who{align-self:flex-start;padding:0;border:0;background:none;color:var(--text,#f4f4ef);font:600 15px Fredoka,Inter,sans-serif;cursor:pointer}
html.fmx .fmr-world .fmr-who:hover{text-decoration:underline}
html.fmx .fmr-world .fmr-pt small{overflow:hidden;color:var(--dim,#b2b2ab);font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}
html.fmx .fmr-world .fmr-pt .bp-lbl{font:700 11px Inter,sans-serif;letter-spacing:.05em;text-transform:uppercase}
html.fmx .fmr-world .fmr-pull time{color:var(--dim,#b2b2ab);font-size:12.5px;white-space:nowrap}
@media(prefers-reduced-motion:reduce){html.fmx .fmr-world .fmr-pull{animation:none}}
@media(max-width:820px){
 html.fmx .fmr-world .fmr-wtop p{flex:1}
 html.fmx .fmr-world .fmr-wlinks{width:100%;margin:0}
 html.fmx .fmr-world .fmr-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
 html.fmx .fmr-world .fmr-chips .fm-pill{flex:none}
 html.fmx .fmr-world .fmr-pulls{grid-template-columns:minmax(0,1fr)}
 html.fmx .fmr-world .fmr-pull{grid-template-columns:52px minmax(0,1fr);padding:8px 12px 8px 8px}
 html.fmx .fmr-world .fmr-pc{grid-row:span 2;width:52px;border-radius:9px}
 html.fmx .fmr-world .fmr-pull{row-gap:0}
 html.fmx .fmr-world .fmr-pull time{grid-column:2;font-size:12px}
}

/* ---------- 38. Tournois, fidèles aux planches « PC · Tournois » et « M · Tournois » (15/11) ---------- */
html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:6px;width:100%;height:190px;padding:22px 26px;border:0;border-radius:24px;overflow:hidden;background:linear-gradient(90deg,#000e 30%,#0000 80%),url("feature-assets/hub-luffy.webp") 50% 30%/cover no-repeat;text-align:left;cursor:pointer}
html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero>svg{display:none}
html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero>span:not(.tnd-teaser-go){flex:none;display:flex;flex-direction:column;gap:6px;max-width:60%}
html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero b{color:#fff;font:600 34px/1.1 Fredoka,Inter,sans-serif}
html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero small{color:#ffffffd0;font-size:14px}
html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero .tnd-teaser-go{position:absolute;right:26px;bottom:22px;display:inline-flex;align-items:center;min-height:46px;padding:0 22px;border-radius:14px;background:var(--accent,#2fe3a0);box-shadow:0 4px 0 #17845b;color:#04140d;font:600 16px Fredoka,Inter,sans-serif}
html.fmx #page-tournois.fmr-tn .fmr-tn-cols{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;align-items:start}
html.fmx #page-tournois.fmr-tn .fmr-tn-main{display:flex;flex-direction:column;gap:10px;padding:18px}
html.fmx #page-tournois.fmr-tn .fmr-seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;max-width:420px;padding:4px;border:1px solid #ffffff17;border-radius:16px;background:#141414}
html.fmx #page-tournois.fmr-tn .fmr-seg button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border:0;border-radius:12px;background:none;color:var(--dim,#b2b2ab);font:600 15px Fredoka,Inter,sans-serif;cursor:pointer}
html.fmx #page-tournois.fmr-tn .fmr-seg button[aria-selected=true]{background:#2fe3a01f;color:var(--text,#f4f4ef);box-shadow:inset 0 0 0 1px #2fe3a066}
html.fmx #page-tournois.fmr-tn .fmr-seg em{min-width:18px;padding:0 5px;border-radius:9px;background:#ffffff1f;color:var(--text,#f4f4ef);font:700 11px/18px Inter,sans-serif;font-style:normal}
html.fmx #page-tournois.fmr-tn .fmr-tn-main[data-show="0"] .fmr-tn-sec:not([data-k="0"]),
html.fmx #page-tournois.fmr-tn .fmr-tn-main[data-show="1"] .fmr-tn-sec:not([data-k="1"]),
html.fmx #page-tournois.fmr-tn .fmr-tn-main[data-show="2"] .fmr-tn-sec:not([data-k="2"]),
html.fmx #page-tournois.fmr-tn .fmr-tn-sec>.tn-section-title{display:none}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-list{display:flex;flex-direction:column;gap:10px}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:12px 14px;border:0;border-radius:14px;background:#ffffff08}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card>div:first-child{grid-column:1}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card h3{margin:2px 0 0;font:600 16px Fredoka,Inter,sans-serif}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card :is(.tn-desc,.tn-prizes,.tn-noprize){display:none}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card .tn-facts{grid-column:1;display:flex;flex-wrap:wrap;gap:0 10px;margin:0;color:var(--dim,#b2b2ab);font-size:13px}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card .tn-facts span:is(:nth-child(3),:nth-child(4)){display:none}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card .tn-facts i{display:none}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card .tn-actions{grid-column:2;grid-row:1/span 2;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card .tn-actions>span[style]{display:none}
html.fmx #page-tournois.fmr-tn .fmr-fill{grid-column:1/-1;display:block;height:6px;border-radius:9px;background:#ffffff14;overflow:hidden}
html.fmx #page-tournois.fmr-tn .fmr-fill i{display:block;height:100%;border-radius:inherit;background:var(--accent,#2fe3a0)}
html.fmx #page-tournois.fmr-tn .fmr-rules{padding:18px}
html.fmx #page-tournois.fmr-tn .fmr-rules h2{margin:0 0 10px;font:600 20px Fredoka,Inter,sans-serif}
html.fmx #page-tournois.fmr-tn .fmr-rules .tn-rules{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;counter-reset:fmr-step}
html.fmx #page-tournois.fmr-tn .fmr-rules .tn-rules li{position:relative;color:var(--text,#f4f4ef);padding-left:46px;min-height:34px;font-size:14px;line-height:1.45}
html.fmx #page-tournois.fmr-tn .fmr-rules .tn-rules li:before{counter-increment:fmr-step;content:counter(fmr-step);position:absolute;left:0;top:0;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent,#2fe3a0);color:#04140d;font:600 15px Fredoka,Inter,sans-serif}
html.fmx #page-tournois.fmr-tn .fmr-how,html.fmx #page-tournois.fmr-tn .fmr-tn-cols>.fmr-more{display:none}
@media(max-width:820px){
 html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero{height:160px;padding:14px 16px;border-radius:22px;background:linear-gradient(0deg,#000e 25%,#0000 75%),url("feature-assets/hub-luffy.webp") 50% 30%/cover no-repeat}
 html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero>span:not(.tnd-teaser-go){max-width:62%;padding-bottom:0}
 html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero b{font-size:24px}
 html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero small{font-size:12.5px}
 html.fmx #page-tournois.fmr-tn .tnd-teaser.fmr-hero .tnd-teaser-go{right:16px;bottom:14px;min-height:44px;padding:0 18px;font-size:15px}
 html.fmx #page-tournois.fmr-tn .fmr-tn-cols{display:flex;flex-direction:column;gap:12px}
 html.fmx #page-tournois.fmr-tn .fmr-tn-main{padding:0;border:0;background:none;box-shadow:none}
 html.fmx #page-tournois.fmr-tn .fmr-seg{max-width:none}
 html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card{border-radius:16px;background:#141414}
 html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card .tn-actions{grid-column:1/-1;grid-row:auto;justify-content:stretch}
 html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card .tn-actions .btn{flex:1;min-height:44px}
 html.fmx #page-tournois.fmr-tn .fmr-how{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;order:2}
 html.fmx #page-tournois.fmr-tn .fmr-how div{padding:10px 8px;border-radius:14px;background:#141414;color:var(--dim,#b2b2ab);font-size:12px;text-align:center}
 html.fmx #page-tournois.fmr-tn .fmr-how b{display:block;margin-bottom:2px;color:var(--text,#f4f4ef);font:600 14px Fredoka,Inter,sans-serif}
 html.fmx #page-tournois.fmr-tn .fmr-tn-cols>.fmr-more{display:block;order:3;align-self:center}
 html.fmx #page-tournois.fmr-tn .fmr-rules{order:4}
 html.fmx #page-tournois.fmr-tn .fmr-rules:not(.fmr-open),html.fmx #page-tournois.fmr-tn .battle-sub{display:none}
}

/* ---------- 39. Albums, d'après les planches « PC · Albums » et « M · Albums » (15/11) ----------
   La tête de l'album devient un bandeau (nom, barre, compte), la page de l'album une grille serrée :
   6 cartes par rangée sur PC, 4 sur téléphone ; celles qui manquent restent sombres. */
html.fmx #collectionAlbumsView .fm-album-hero{padding:18px 20px;border:1px solid #ffffff17;border-radius:20px;background:linear-gradient(120deg,#0d2a1f,#141022)}
html.fmx #collectionAlbumsView .fm-album-hero h2{font:600 28px Fredoka,Inter,sans-serif}
html.fmx #collectionAlbumsView .fm-album-hero progress{height:10px}
html.fmx #collectionAlbumsView .fm-album-rewards>p{display:none}
html.fmx #collectionAlbumsView .fm-album-rewards{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html.fmx #collectionAlbumsView .fm-album-rewards>h3{flex-basis:100%;margin:0}
html.fmx #collectionAlbumsView .fm-album-rewards>div{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 12px;border-radius:12px;background:#f0c94a1a;color:#f0c94a;font:600 13.5px Fredoka,Inter,sans-serif}
html.fmx #collectionAlbumsView .fm-album-rewards>div .btn{min-height:32px}
html.fmx #collectionAlbumsView .fm-album-cards{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
html.fmx #collectionAlbumsView .fm-album-slot{min-width:0}
html.fmx #collectionAlbumsView .fm-album-slot .rcard{width:100%!important}
html.fmx #collectionAlbumsView .fm-album-slot.is-missing .rcard{filter:grayscale(1) brightness(.45)}
html.fmx #collectionAlbumsView .fm-album-slot .btn{min-height:34px;padding:4px 6px;font-size:12px;line-height:1.2}
@media(max-width:820px){
 html.fmx #collectionAlbumsView .fm-album-hero{padding:14px;border-radius:18px}
 html.fmx #collectionAlbumsView .fm-album-hero h2{font-size:22px}
 html.fmx #collectionAlbumsView .fm-album-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 8px}
 html.fmx #collectionAlbumsView .fm-album-want{min-height:30px;padding:2px 4px;font-size:0}
 html.fmx #collectionAlbumsView .fm-album-want:after{content:"Chercher";font-size:11.5px}
 html.fmx #collectionAlbumsView .fm-album-want>i{display:none}
}

/* ---------- 40. Toutes les cartes, d'après la planche « PC · Toutes les cartes » (15/11) ----------
   Le total à côté du titre, plus de rangée de codes (S, M, L, UR…) : les pastilles nomment déjà les raretés. */
html.fmx #page-toutes.active{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px}
html.fmx #page-toutes>*{grid-column:1/-1}
html.fmx #page-toutes>.heading{grid-column:1}
html.fmx #page-toutes>.allcards-stats{grid-column:2;justify-content:flex-start}
html.fmx #page-toutes>.muted,html.fmx #page-toutes .allcards-stats-row{display:none}
html.fmx #page-toutes .allcards-stats-total{font-size:14px}
@media(min-width:821px){
 html.fmx #page-toutes #allCardsGrid.collection-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
}

/* ---------- 41. Comptoir des échanges sur téléphone : une offre = une ligne (15/11) ----------
   Avant : la carte prenait toute la largeur, 689 px par offre, 14 500 px pour une page de 20. */
@media(max-width:820px){
 html.fmx #page-trade-board .cb-offer{grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:start;padding:10px}
 html.fmx #page-trade-board .cb-offer>div:first-child{width:96px;min-width:0}
 html.fmx #page-trade-board .cb-offer>div:first-child .rcard{width:96px!important;max-width:96px}
 html.fmx #page-trade-board .cb-offer>div:first-child :is(.fmc-stats,.fullart-sparkles){display:none}
 html.fmx #page-trade-board .cb-offer>div:last-child{display:flex;flex-wrap:wrap;align-content:start;gap:6px;min-width:0}
 html.fmx #page-trade-board .cb-offer>div:last-child>:is(h2,p){flex-basis:100%;margin:0}
 html.fmx #page-trade-board .cb-offer h2{font:600 16px/1.2 Fredoka,Inter,sans-serif}
 html.fmx #page-trade-board .cb-offer p{color:var(--dim,#b2b2ab);font-size:13px}
 html.fmx #page-trade-board .cb-offer .btn{flex:1 1 auto;min-height:40px;padding:0 10px;font-size:13px}
 html.fmx #page-trade-board>.cb-actions:has(select){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html.fmx #page-trade-board>.cb-actions:has(select)>:is(input,.btn){grid-column:1/-1}
 html.fmx #page-trade-board>.cb-actions:has(select)>select{width:100%;min-width:0}
}

/* ---------- 42. Succès, d'après les planches « PC · Succès » et « M · Succès » (15/11) ----------
   Titre, compteur, barre et « Tout réclamer » doré sur une ligne ; cartes compactes, trois par rangée sur PC. */
@media(min-width:821px){
 html.fmx #page-succes.active{display:grid;grid-template-columns:auto auto minmax(160px,340px) minmax(0,1fr) auto auto;align-items:center;column-gap:14px}
 html.fmx #page-succes>*{grid-column:1/-1}
 html.fmx #page-succes>.ach-head,html.fmx #page-succes>.ach-head>div{display:contents}
 html.fmx #page-succes .ach-head h1{grid-column:1;margin:0}
 html.fmx #page-succes .ach-head .ach-sub{grid-column:2;margin:0;color:var(--text,#f4f4ef);font:600 20px Fredoka,Inter,sans-serif}
 html.fmx #page-succes>.ach-progress{grid-column:3;margin:0;padding:0;border:0;background:none;box-shadow:none}
 html.fmx #page-succes>[data-eco-open]{position:static;grid-column:5;grid-row:1}
 html.fmx #page-succes #achClaimAll{grid-column:6;grid-row:1}
 html.fmx #page-succes>.ach-filters{margin:16px 0 14px}
 html.fmx #page-succes .ach-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
}
html.fmx #page-succes .ach-progress-top{display:none}
html.fmx #page-succes .ach-bar{height:10px}
html.fmx #page-succes #achClaimAll,html.fmx #page-succes .ach-claim{border:0;background:linear-gradient(180deg,#fff2c7,#f0c94a 55%,#d99a1e);box-shadow:0 4px 0 #a46a0c;color:#3a2300;font-family:Fredoka,Inter,sans-serif}
html.fmx #page-succes #achClaimAll{min-height:46px;font-size:16px}
html.fmx #page-succes .ach-card{grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:start;padding:14px;border-radius:18px}
html.fmx #page-succes .ach-card.ready{border-color:#f0c94a;box-shadow:inset 0 0 0 1px #f0c94a}
html.fmx #page-succes .ach-card.claimed{opacity:.6}
html.fmx #page-succes .ach-ic{width:52px;height:52px;border-radius:16px}
html.fmx #page-succes .ach-title{font:600 15.5px Fredoka,Inter,sans-serif}
html.fmx #page-succes .ach-desc{color:var(--dim,#b2b2ab);font-size:12.5px}
html.fmx #page-succes .ach-card .ach-series{margin-top:6px;padding:0;border:0;background:none}
html.fmx #page-succes .ach-series-toggle{font-size:12px}
html.fmx #page-succes .ach-reward{margin-top:6px;padding:0;border:0;background:none;color:#f0c94a;font:600 14px Fredoka,Inter,sans-serif}
html.fmx #page-succes .ach-reward .eco-payment{display:none}
html.fmx #page-succes .ach-claim{width:100%;min-height:38px;margin-top:8px;font-size:14px}

/* ---------- 43. Réglages, d'après la planche « PC · Réglages » (15/11) : rubriques en menu à gauche, réglages à droite ---------- */
@media(min-width:821px){
 html.fmx #page-parametres.active:has(>.gp-hub){display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start;gap:18px}
 html.fmx #page-parametres:has(>.gp-hub)>*{grid-column:2}
 html.fmx #page-parametres:has(>.gp-hub)>h1{grid-column:1/-1}
 html.fmx #page-parametres>.gp-hub{grid-column:1;grid-row:2/span 6;display:flex;flex-direction:column;gap:2px;padding:10px;border-radius:18px;background:#141414}
 html.fmx #page-parametres>.gp-hub .gp-entry{min-height:44px;padding:0 12px;border:0;border-radius:10px;background:none;box-shadow:none}
 html.fmx #page-parametres>.gp-hub .gp-entry:hover{background:#ffffff0d}
 html.fmx #page-parametres>.gp-hub .gp-entry h2{color:var(--dim,#b2b2ab);font:600 14.5px Fredoka,Inter,sans-serif}
 html.fmx #page-parametres>.gp-hub .gp-entry:hover h2{color:var(--text,#f4f4ef)}
 html.fmx #page-parametres:has(>.gp-hub)>.set-card{margin:0;padding:20px;border-radius:20px}
}

/* ---------- 44. Recycler mes doublons, d'après la planche « PC · Recycler » (15/11) ----------
   Les doublons en grille de cartes (24 lignes faisaient 5 200 px), la quantité sous chaque carte. */
html.fmx #page-recyclage .pr-content>h2.heading{display:none}
html.fmx #page-recyclage .pr-rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));align-items:start;gap:12px}
html.fmx #page-recyclage .pr-rows>:not(.pr-row){grid-column:1/-1}
html.fmx #page-recyclage .pr-row{display:flex;flex-direction:column;gap:8px;margin:0;padding:8px;border:0;border-radius:16px;background:#ffffff08}
html.fmx #page-recyclage .pr-row .pr-card{width:100%;max-width:none;padding:0;border:0;background:none}
html.fmx #page-recyclage .pr-row .pr-card .rcard{width:100%!important;max-width:none}
html.fmx #page-recyclage .pr-row>div{display:flex;flex-direction:column;gap:6px;min-width:0}
html.fmx #page-recyclage .pr-row h3{display:none}
html.fmx #page-recyclage .pr-row p{margin:0;color:var(--dim,#b2b2ab);font-size:12px;line-height:1.35}
html.fmx #page-recyclage .pr-row label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px}
html.fmx #page-recyclage .pr-row label input{width:64px;min-height:36px}
html.fmx #page-recyclage .pr-row .btn{min-height:34px;padding:4px 8px;font-size:12px;line-height:1.2;white-space:normal}
@media(max-width:820px){
 html.fmx #page-recyclage .pr-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}
html.fmx #page-tournois.fmr-tn .fmr-tn-sec .tn-card .tn-facts .fmr-prize{flex-basis:100%;color:#f0c94a;font:600 13px Fredoka,Inter,sans-serif}

/* ---------- 45. Recette « comme un joueur » sur téléphone (15/11) ----------
   Tournée de toutes les pages à 375 px : aucune ne déborde ; restaient des cibles trop petites et deux pages trop longues. */
/* L'étoile des favoris (12×14 px sur les cartes) : zone de toucher agrandie sans bouger le dessin de la carte. */
html.fmx .rcard .star:before{content:"";position:absolute;inset:-10px}
@media(max-width:820px){
 /* Liens et pseudos trop bas (17 à 26 px) : zone de toucher portée à ~36 px sans changer la mise en page. */
 html.fmx .fmr-world :is(.fmr-link,.fmr-who),html.fmx #page-gallery .cr-user,html.fmx .ec-app .ec-link{padding-block:8px;margin-block:-8px}
 html.fmx #page-gallery .cr-user{min-height:36px}
 /* Succès : fiche courte, récompense et « Réclamer » sur une ligne, la série en lien (7 300 px avant). */
 html.fmx #page-succes .ach-card{grid-template-columns:44px minmax(0,1fr);padding:12px}
 html.fmx #page-succes .ach-ic{width:44px;height:44px;border-radius:13px}
 html.fmx #page-succes .ach-body{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
 html.fmx #page-succes .ach-body>:is(.ach-title,.ach-desc,.ach-series){flex-basis:100%}
 html.fmx #page-succes .ach-card .ach-series>i{display:none}
 html.fmx #page-succes .ach-card .ach-series{margin:0}
 html.fmx #page-succes .ach-series-toggle{min-height:32px;padding:0}
 html.fmx #page-succes .ach-reward{margin:0}
 html.fmx #page-succes .ach-claim{width:auto;min-height:40px;margin:0 0 0 auto;padding:0 18px}
 /* Recycler : trois cartes par rangée, la quantité seule sous la carte (5 200 px avant). */
 html.fmx #page-recyclage .pr-rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html.fmx #page-recyclage .pr-row{padding:6px;gap:6px}
 html.fmx #page-recyclage .pr-row p{font-size:11px;line-height:1.3}
 html.fmx #page-recyclage .pr-row label{font-size:0}
 html.fmx #page-recyclage .pr-row label input{width:100%;min-height:40px;font-size:15px;text-align:center}
 html.fmx #page-recyclage .pr-row .btn{min-height:36px;font-size:0}
 html.fmx #page-recyclage .pr-row .btn:after{content:"Tous";font-size:12.5px}
 /* Choisir une carte (vendre, avatar) : trois cartes par rangée (deux faisaient 4 600 px par page). */
 html.fmx .avatar-picker-modal .picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html.fmx .avatar-picker-modal .picker-grid .rcard{width:100%!important}
 /* Croix de la fiche d'une carte : 32 px, portée à 44. */
 html.fmx #detailOverlay .detail-close{min-width:44px;min-height:44px}
}
/* Podium (recette du 15/11) : un 2e avec des titres dépassait le 1er ; les trois ont la même hauteur et le 1er monte d'un cran. */
html.fmx #lbList:has(>.lb-row){align-items:stretch;padding-top:18px}
html.fmx #lbList>.lb-row:nth-child(1 of .lb-row){margin-top:-18px}
/* Bandeau d'événement (Tournoi de Duel…) : 137 px en haut de chaque page du téléphone, ramené à une ligne (recette du 15/11). */
@media(max-width:820px){
 html.fmx #fmxEvent{display:grid;grid-template-columns:32px minmax(0,1fr) auto 32px;align-items:center;gap:8px;padding:8px 8px 8px 10px}
 html.fmx #fmxEvent .fmx-event-tag{display:none}
 html.fmx #fmxEvent .fmx-event-emblem,html.fmx #fmxEvent .fmx-event-emblem svg{width:32px;height:32px}
 html.fmx #fmxEvent .fmx-event-text{min-width:0}
 html.fmx #fmxEvent .fmx-event-text :is(b,small){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html.fmx #fmxEvent .fmx-event-text b{font-size:13.5px}
 html.fmx #fmxEvent .fmx-event-text small{font-size:11.5px}
 html.fmx #fmxEvent .fmx-event-go{min-height:38px;padding:0 12px;font-size:13px}
 html.fmx #fmxEvent .fmx-event-close{width:32px;height:32px;min-height:32px}
}
/* Panneau des notifications sur téléphone : titre sur une ligne, « Non lues seulement » et « Tout marquer comme lu » dessous (recette du 15/11). */
@media(max-width:820px){
 html.fmx #notifPanel .notif-head{flex-wrap:wrap;row-gap:8px}
 html.fmx #notifPanel .notif-head>span:first-child{flex:1 1 auto}
 html.fmx #notifPanel .notif-tools{display:contents}
 html.fmx #notifPanel .notif-tools .notif-close{order:2}
 html.fmx #notifPanel .notif-tools .notif-all{order:3;flex:1 1 40%;min-height:38px;white-space:nowrap}
}

/* ---------- 46. Écrans moyens (15/11, retour « blocs cassés quand l'écran est réduit ») ---------- */
@media(min-width:821px) and (max-width:1400px){
 /* Jouer : l'image fixe de 150 px à gauche ne laissait que 50 à 100 px au texte (« Comba », « Tourno »). Image au-dessus. */
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles{gap:14px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile{grid-template-columns:minmax(0,1fr);grid-template-rows:120px auto auto 1fr;padding:0 0 14px;min-height:0}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile img{position:relative;inset:auto;grid-column:1;grid-row:1;width:100%;height:120px;object-fit:cover}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile>:not(img){grid-column:1;margin-inline:14px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile .tag{justify-self:start;margin-top:10px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile strong{font-size:19px}
 html.fmx #page-fmx-jouer.fmr-jouer .fmx-tiles .fm-tile small{font-size:13px}
 /* Missions : « Tes premiers pas » sur une colonne, sinon le bouton du titre écrase la mission (32 px de texte à 900 px). */
 html.fmx .fmr-missions>.fmr-mlist[data-kind=journey]{grid-template-columns:minmax(0,1fr)}
}

/* « Trier » (17 novembre, signalé par Sydes) : sur ordinateur, menu comme « Version » au lieu de la liste native,
   blanche et illisible sous Windows ; la liste native, gardée pour le téléphone, est lisible partout. */
html.fmx #page-collection .fmr-sort select{color-scheme:dark}
html.fmx #page-collection .fmr-sort select option{background:#161616;color:#f4f4ef}
@media(min-width:821px){
 html.fmx #page-collection.fmr-coll .fmr-bar .fmr-sort{display:none!important} /* la règle commune des pastilles (avec #collRowsPerPage) est plus forte */
 html.fmx #page-collection.fmr-coll .fmr-bar .fmr-sortdd{order:3;position:relative}
 html.fmx #page-collection.fmr-coll .fmr-sortdd>.fmr-sortmenu{display:none;position:absolute;left:0;top:46px;z-index:30;flex-direction:column;align-items:stretch;gap:4px;min-width:230px;margin:0;padding:8px;border:1px solid #ffffff22;border-radius:14px;background:#161616;box-shadow:0 18px 40px #000a}
 html.fmx #page-collection.fmr-coll .fmr-sortdd.open>.fmr-sortmenu{display:flex}
 html.fmx #page-collection.fmr-coll .fmr-sortmenu button{display:flex;align-items:center;width:100%;min-height:38px;padding:0 12px;border:0;border-radius:10px;background:none;color:var(--text,#f4f4ef);font:600 14px Fredoka,Inter,sans-serif;text-align:left;cursor:pointer;white-space:nowrap}
 html.fmx #page-collection.fmr-coll .fmr-sortmenu button:hover,html.fmx #page-collection.fmr-coll .fmr-sortmenu button:focus-visible{background:#ffffff0f;outline:none}
 html.fmx #page-collection.fmr-coll .fmr-sortmenu button[aria-selected=true]{background:#2fe3a01f;color:var(--accent2,#7ff5c8)}
}
@media(max-width:820px){html.fmx #page-collection .fmr-sortdd{display:none}}
