/* ==========================================================================
   🎨 Teckium · nouveau design en essai (17/11/2026, demande de Julien, idées reprises de duffus.fr)
   Chargé après style.css par inc/ux2.php (tk_ux2_head) : seulement pour l'admin avec ?ux=2, en local et sur les versions de test.
   Idée : un fond plus calme, des cartes plus rondes et plus lisibles, des en-têtes centrés courts avec un mot en couleur,
   des libellés de champ en petites capitales, des listes en cartes illustrées (classes .ux2-*), un bouton « haut de page ».
   ========================================================================== */

html.ux2 {
    --ux-bg: #0e0e13;
    --ux-carte: rgba(255, 255, 255, 0.035);
    --ux-carte-2: rgba(255, 255, 255, 0.06);
    --ux-trait: rgba(255, 255, 255, 0.07);
    --ux-acc: #8b93f5;
    --ux-acc-2: #c4b5fd;
    --ux-rayon: 22px;
}

/* ---------- Fond : plus calme (pas de quadrillage ni de taches qui bougent) ---------- */
html.ux2 body { background: radial-gradient(1200px 600px at 50% -10%, rgba(94, 106, 210, 0.16), transparent 60%), var(--ux-bg); }
html.ux2 .bg-layers .grid-overlay, html.ux2 .bg-layers .blob { display: none; }

/* ---------- Cartes ---------- */
html.ux2 .glass-card {
    border-radius: var(--ux-rayon);
    background: var(--ux-carte);
    box-shadow: 0 0 0 1px var(--ux-trait), 0 10px 40px -20px rgba(0, 0, 0, 0.7);
}
html.ux2 .glass-card::after { display: none; }
html.ux2 a.glass-card:hover, html.ux2 .tool-card:hover { background: var(--ux-carte-2); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(139, 147, 245, 0.35), 0 18px 40px -20px rgba(94, 106, 210, 0.45); }

/* ---------- En-tête des outils : centré, court, un mot en couleur ---------- */
html.ux2 .or-tete { text-align: center; display: flex; flex-direction: column; align-items: center; margin: 4px auto 18px; max-width: 760px; }
html.ux2 .or-tete h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); letter-spacing: -0.035em; line-height: 1.08; }
html.ux2 .or-lead { margin-left: auto; margin-right: auto; font-size: 1rem; max-width: 58ch; }
html.ux2 .or-tete::after { content: ""; width: 2px; height: 26px; margin-top: 18px; border-radius: 2px; background: linear-gradient(var(--ux-acc), transparent); }
html.ux2 .ux2-acc { background: linear-gradient(90deg, var(--ux-acc), var(--ux-acc-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.ux2 .or-tete > *:not(h1):not(.or-lead) { justify-content: center; }

/* ---------- Champs : libellés en petites capitales, champs plus doux ---------- */
html.ux2 .or .field > label, html.ux2 .or .field > .field-label, html.ux2 .or .or-option-titre {
    font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #a9adb8;
}
html.ux2 .or .field > label .or-option { text-transform: none; letter-spacing: 0; font-weight: 500; }
html.ux2 .input-modern { border-radius: 12px; background: rgba(0, 0, 0, 0.35); }
html.ux2 .input-modern:focus { box-shadow: 0 0 0 1px rgba(139, 147, 245, 0.6), 0 0 0 4px rgba(94, 106, 210, 0.18); }
html.ux2 input[type="search"].input-modern { padding-left: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b93f5' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px 50%; background-size: 16px; }

/* ---------- Titres de bloc ---------- */
html.ux2 .or-titre-ligne h2, html.ux2 .or-tableau-bloc > h2 { font-size: 1.15rem; letter-spacing: -0.02em; }

/* ---------- Tableaux : ligne survolée, coins arrondis ---------- */
html.ux2 .or-tableau tbody tr { transition: background 0.15s ease; }
html.ux2 .or-tableau tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
html.ux2 .or-tableau tbody tr:hover td:first-child { border-radius: 12px 0 0 12px; }
html.ux2 .or-tableau tbody tr:hover td:last-child { border-radius: 0 12px 12px 0; }

/* ---------- Pastilles : un peu plus franches ---------- */
html.ux2 .pill.is-active { background: rgba(94, 106, 210, 0.28); border-color: rgba(139, 147, 245, 0.75); }

/* ---------- 3. Compteur dans les recherches (« 60 / 18 484 ») posé par ux2.js ---------- */
.ux2-cherche { position: relative; display: block; }
.ux2-compteur { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none;
    font-size: 11.5px; font-weight: 600; color: #8a8f98; font-variant-numeric: tabular-nums; background: rgba(0, 0, 0, 0.35); padding: 2px 8px; border-radius: 999px; }
.ux2-cherche > input { padding-right: 96px !important; }

/* ---------- 2. Cartes illustrées (listes de donjons, outils…) ---------- */
.ux2-grille { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.ux2-carte { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 16px 12px 12px;
    border-radius: 18px; background: rgba(255, 255, 255, 0.035); box-shadow: 0 0 0 1px var(--border); color: var(--fg); text-decoration: none;
    text-align: center; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.ux2-carte:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 1px rgba(139, 147, 245, 0.4), 0 16px 34px -18px rgba(94, 106, 210, 0.55); }
.ux2-carte:focus-visible { outline: 2px solid #8b93f5; outline-offset: 2px; }
.ux2-carte .ux2-ill { position: relative; display: grid; place-items: center; width: 100%; height: 108px; }
.ux2-carte .ux2-ill::before { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 147, 245, 0.22), transparent 68%); }
.ux2-carte .ux2-ill img { position: relative; max-width: 100px; max-height: 100px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.55)); transition: transform 0.2s ease; }
.ux2-carte:hover .ux2-ill img { transform: scale(1.07); }
.ux2-carte .ux2-ill .ux2-sans { position: relative; font-size: 40px; color: rgba(199, 204, 245, 0.45); }
.ux2-carte .ux2-nom { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.ux2-carte .ux2-sous { font-size: 12.5px; color: var(--fg-muted); line-height: 1.3; }
.ux2-carte .ux2-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: auto; padding-top: 8px; }
.ux2-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.4);
    font-size: 11.5px; font-weight: 700; color: #d6d8e0; font-variant-numeric: tabular-nums; }
.ux2-etoiles { font-size: 11px; letter-spacing: 1px; color: #fbbf24; white-space: nowrap; }
.ux2-etoiles span { color: rgba(255, 255, 255, 0.18); }
.ux2-carte[hidden], .ux2-tuile[hidden] { display: none; }
.ux2-vide { padding: 32px; text-align: center; color: var(--fg-muted); }
@media (max-width: 520px) {
    .ux2-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ux2-carte { padding: 12px 8px 10px; }
    .ux2-carte .ux2-ill { height: 84px; }
    .ux2-carte .ux2-ill img { max-width: 76px; max-height: 76px; }
}

/* ---------- 2. Cartes d'outils illustrées (inc/outils_jeux.php, accueil, /dofus-3/, /retro/, « outils liés ») ---------- */
html.ux2 .oj-grille { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
html.ux2 .ux2-oj { align-items: flex-start; gap: 6px; padding: 0 16px 16px; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, 0.03); }
html.ux2 .ux2-oj-ill { position: relative; display: grid; place-items: center; height: 112px; margin: 0 -16px 6px; width: calc(100% + 32px);
    background: radial-gradient(130px 90px at 50% 60%, color-mix(in srgb, var(--c) 26%, transparent), transparent 75%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent); }
html.ux2 .ux2-oj-ill img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55)); transition: transform 0.2s ease; }
html.ux2 .ux2-oj-ill i { font-size: 38px; color: var(--c); filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--c) 45%, transparent)); }
html.ux2 .ux2-oj:hover .ux2-oj-ill img { transform: scale(1.08) rotate(-2deg); }
html.ux2 .ux2-oj .oj-nom { font-size: 15.5px; font-weight: 700; }
html.ux2 .ux2-oj .oj-phrase { font-size: 13px; color: #9a9ea8; line-height: 1.45; }
@media (max-width: 600px) { html.ux2 .oj-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } html.ux2 .ux2-oj-ill { height: 88px; } html.ux2 .ux2-oj-ill img { width: 64px; height: 64px; } }

/* ---------- 1. Tuiles à icônes (choix de métier, de classe…) ---------- */
.ux2-tuiles { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.ux2-tuile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 14px;
    border: 1px solid var(--border-hover); background: rgba(255, 255, 255, 0.03); color: var(--fg-muted); font: inherit; font-size: 12.5px; font-weight: 600;
    cursor: pointer; text-align: center; text-decoration: none; transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease; }
.ux2-tuile img { width: 52px; height: 52px; object-fit: contain; filter: saturate(0.8); transition: filter 0.15s ease, transform 0.15s ease; }
.ux2-tuile:hover { color: var(--fg); border-color: rgba(139, 147, 245, 0.55); transform: translateY(-2px); }
.ux2-tuile:hover img { filter: none; transform: scale(1.06); }
.ux2-tuile.is-active { color: var(--fg); border-color: #8b93f5; background: rgba(94, 106, 210, 0.18); box-shadow: 0 0 0 1px #8b93f5 inset, 0 6px 20px -8px rgba(94, 106, 210, 0.7); }
.ux2-tuile.is-active img { filter: none; }
.ux2-tuile:focus-visible { outline: 2px solid #8b93f5; outline-offset: 2px; }
.ux2-tuile small { padding: 0 7px; border-radius: 999px; background: rgba(94, 106, 210, 0.2); color: #c7ccf5; font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ux2-tuile span { line-height: 1.15; }

.ux2-bande-metiers { padding: 14px; }
@media (min-width: 900px) { .ux2-bande-metiers .ux2-tuiles { grid-template-columns: repeat(11, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ux2-bande-metiers .ux2-tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .ux2-tuile { font-size: 11px; } .ux2-tuile img { width: 40px; height: 40px; } }

/* Classes : têtes plus grandes dans un halo, comme les tuiles */
html.ux2 .cl-grille { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
html.ux2 .cl-grille a { border-radius: 18px; background: rgba(255, 255, 255, 0.035); transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease; }
html.ux2 .cl-grille a:hover { transform: translateY(-3px); }
html.ux2 .cl-grille .cl-tete { width: 88px !important; height: 88px !important; background: radial-gradient(circle, rgba(139, 147, 245, 0.25), transparent 70%); }

/* ---------- 5. Lien vers l'outil de taux de drop (encyclopédie Dofus 3, ux2.js) ---------- */
.ux2-pp-lien { display: inline-flex; align-items: center; gap: 8px; align-self: center; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
    color: #c7ccf5; background: rgba(94, 106, 210, .16); box-shadow: inset 0 0 0 1px rgba(139, 147, 245, .4); text-decoration: none; }
.ux2-pp-lien:hover { background: rgba(94, 106, 210, .28); }

/* ---------- Bouton « haut de page » (ux2.js) ---------- */
.ux2-haut { position: fixed; right: 18px; bottom: 90px; z-index: 40; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-hover);
    background: rgba(20, 20, 26, 0.9); color: var(--fg); cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none;
    transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; }
.ux2-haut.on { opacity: 1; pointer-events: auto; transform: none; }
.ux2-haut:hover { border-color: #8b93f5; }

@media (prefers-reduced-motion: reduce) {
    .ux2-carte, .ux2-tuile, .ux2-carte .ux2-ill img, .ux2-tuile img, html.ux2 .glass-card { transition: none; }
    .ux2-carte:hover, .ux2-tuile:hover { transform: none; }
}

/* Grands chiffres des résultats : jamais coupés en deux lignes (« 398 00 / 0 ») */
html.ux2 .or-grand { white-space: nowrap; font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* ---------- En-tête des outils : boutons (Overlay en jeu, Stuffs des joueurs…) côte à côte, pas empilés ---------- */
html.ux2 .or-tete { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
html.ux2 .or-tete > h1, html.ux2 .or-tete > .or-lead { flex: 0 0 100%; max-width: 100%; }
html.ux2 .or-tete > h1 { justify-content: center; flex-wrap: wrap; column-gap: .25em; }
html.ux2 .or-tete > .or-lead { padding: 0 max(0px, calc((100% - 60ch) / 2)); margin-top: 6px !important; }
html.ux2 .or-tete > .tk-ov, html.ux2 .or-tete > a, html.ux2 .or-tete > button { margin-top: 8px !important; }
html.ux2 .or-tete::after { flex-basis: 100%; width: auto; background: linear-gradient(var(--ux-acc), transparent) center / 2px 100% no-repeat; }

/* ---------- Quêtes des Dofus : chaque Dofus en carte, l'œuf en grand au-dessus ---------- */
html.ux2 .qd-carte:not(.qd-tous) { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 18px 14px 14px; border-radius: 20px; }
html.ux2 .qd-carte:not(.qd-tous) img { width: 84px; height: 84px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); transition: transform .2s ease; }
html.ux2 .qd-carte:not(.qd-tous):hover img { transform: scale(1.08) rotate(-3deg); }
html.ux2 .qd-carte:not(.qd-tous) b { font-size: 15.5px; margin-top: 4px; }

/* ---------- PNJ et zaaps : la liste de zaaps en petites cartes ---------- */
html.ux2 .pj-cols { columns: auto !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; list-style: none; padding: 0; }
html.ux2 .pj-cols > li { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: 0 0 0 1px var(--border); line-height: 1.35; cursor: pointer; transition: background .15s ease, box-shadow .15s ease; }
html.ux2 .pj-cols > li:hover { background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(139, 147, 245, .45); }
html.ux2 .pj-cols > li b { display: block; }

/* ---------- Encyclopédies : « Les plus consultées » en cartes ---------- */
html.ux2 .en-pop { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 10px !important; }
html.ux2 .en-pop li > a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px 12px; border-radius: 18px; background: rgba(255, 255, 255, .035); box-shadow: 0 0 0 1px var(--border); text-align: center; font-weight: 600; font-size: 14px; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
html.ux2 .en-pop li > a:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(139, 147, 245, .4); }
html.ux2 .en-pop li > a img { width: 56px !important; height: 56px !important; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }

/* ---------- Donjons (18/11/2026) : une ligne par donjon, sur deux colonnes (plus de cartes carrées « façon duffus ») ---------- */
.dj2-liste { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .dj2-liste { grid-template-columns: 1fr 1fr; } }
.dj2-ligne { --dif: #8b93f5; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 16px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px var(--border); color: var(--fg); text-decoration: none;
    border-left: 3px solid var(--dif); transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
.dj2-ligne[hidden] { display: none; }
.dj2-ligne[data-dif="1"] { --dif: #4ade80; } .dj2-ligne[data-dif="2"] { --dif: #a3e635; } .dj2-ligne[data-dif="3"] { --dif: #fbbf24; }
.dj2-ligne[data-dif="4"] { --dif: #fb923c; } .dj2-ligne[data-dif="5"] { --dif: #f87171; }
.dj2-ligne:hover { background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px rgba(139, 147, 245, .35); transform: translateX(3px); }
.dj2-ligne:focus-visible { outline: 2px solid #8b93f5; outline-offset: 2px; }
.dj2-portrait { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; overflow: hidden;
    background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--dif) 28%, transparent), rgba(0, 0, 0, .35) 72%); }
.dj2-portrait img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.dj2-portrait i { font-size: 24px; color: rgba(199, 204, 245, .5); }
.dj2-texte { min-width: 0; display: grid; gap: 2px; }
.dj2-texte b { font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dj2-texte small { font-size: 12.5px; color: var(--fg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dj2-texte small i { font-size: 10px; color: #fbbf24; }
.dj2-droite { display: grid; justify-items: end; gap: 6px; }
.dj2-niv { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.dj2-niv small { font-size: 10px; font-weight: 600; color: var(--fg-muted); margin-right: 3px; text-transform: uppercase; letter-spacing: .06em; }
.dj2-dif { display: inline-flex; gap: 3px; }
.dj2-dif i { width: 7px; height: 12px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.dj2-dif i.on { background: var(--dif); }
@media (max-width: 520px) { .dj2-ligne { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; } .dj2-portrait { width: 52px; height: 52px; } .dj2-portrait img { width: 46px; height: 46px; } .dj2-texte b { white-space: normal; } }

/* ---------- Choix du jeu (repéré par ux2.js dans chaque outil) : un seul sélecteur commun, centré, avec la couleur du jeu ---------- */
html.ux2 .ux2-jeux { display: flex !important; flex-wrap: wrap; justify-content: center; width: fit-content; max-width: 100%; margin-left: auto !important; margin-right: auto !important;
    gap: 4px !important; padding: 4px !important; border-radius: 999px; background: rgba(0, 0, 0, .35) !important; box-shadow: inset 0 0 0 1px var(--border) !important; }
html.ux2 .ux2-jeu { --j: #8b93f5; display: inline-flex !important; align-items: center; gap: 8px; height: auto !important; padding: 7px 16px !important; border-radius: 999px !important;
    border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--fg-muted) !important; font-size: 13.5px !important; font-weight: 600 !important; }
html.ux2 .ux2-jeu::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--j); opacity: .5; transition: opacity .15s ease, box-shadow .15s ease; }
html.ux2 .ux2-jeu-d3 { --j: #6fb35a; } html.ux2 .ux2-jeu-retro { --j: #e0a33a; } html.ux2 .ux2-jeu-wakfu { --j: #38bdf8; }
html.ux2 .ux2-jeu:hover { color: var(--fg) !important; }
html.ux2 .ux2-jeu.on, html.ux2 .ux2-jeu.is-active, html.ux2 .ux2-jeu.actif, html.ux2 .ux2-jeu[aria-current], html.ux2 .ux2-jeu[aria-pressed="true"], html.ux2 .ux2-jeu[aria-selected="true"] {
    color: #fff !important; background: color-mix(in srgb, var(--j) 22%, transparent) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--j) 60%, transparent) !important; }
html.ux2 .ux2-jeu.on::before, html.ux2 .ux2-jeu.is-active::before, html.ux2 .ux2-jeu.actif::before, html.ux2 .ux2-jeu[aria-current]::before, html.ux2 .ux2-jeu[aria-pressed="true"]::before, html.ux2 .ux2-jeu[aria-selected="true"]::before {
    opacity: 1; box-shadow: 0 0 8px var(--j); }

/* ---------- Parcours « Les outils qui vont ensemble » (/dofus-3/, /retro/) : des étapes reliées par un trait ---------- */
html.ux2 .oj-pc { border-radius: 20px; background: rgba(255, 255, 255, .03); padding: 18px; }
html.ux2 .oj-pc h3 { font-size: 15.5px; }
html.ux2 .oj-pc ol { position: relative; gap: 10px; padding-left: 4px; }
html.ux2 .oj-pc ol::before { content: ""; position: absolute; left: 18px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: linear-gradient(var(--jc, #8b93f5), transparent); opacity: .5; }
html.ux2 .oj-pc li { position: relative; width: 100%; }
html.ux2 .oj-pc a { width: 100%; padding: 8px 12px 8px 6px; border-radius: 12px; background: rgba(0, 0, 0, .25); border-color: var(--border); font-weight: 600; transition: transform .15s ease, background .15s ease; }
html.ux2 .oj-pc a:hover { transform: translateX(3px); background: color-mix(in srgb, var(--c) 14%, transparent); }
html.ux2 .oj-pc .n { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 800;
    color: #0e0e13; background: var(--c); box-shadow: 0 0 0 4px #15151b; }
.ux2-tuile img.or-ico { width: 52px !important; height: 52px !important; margin: 0; }
html.ux2 #metiers.ux2-tuiles { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
