.tx .u-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tx{color:var(--jx-ink,#eef2ff);padding:18px 0 64px}
.tx-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tx-search{flex:1 1 280px}
.tx-search input,.tx-tools select{min-height:48px;border-radius:12px;border:1px solid var(--jx-field-line,#3b6fe0);background:var(--jx-field,#0e1428);color:inherit;padding:0 14px;font:inherit;font-size:15px}
.tx-search input{width:100%}
.tx-search input:focus,.tx-tools select:focus,.tx-btn:focus-visible,.tx-chip:focus-visible,.tx-more:focus-visible{outline:2px solid var(--jx-accent,#2563eb);outline-offset:2px}
.tx-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tx-tools select{max-width:100%}
.tx-notes{display:flex;flex-wrap:wrap;gap:8px}
.tx-chip,.tx-quick__link,.tx-filters-open,.tx-sheet-close{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border-radius:999px;border:1px solid var(--jx-line,#243050);background:transparent;color:inherit;text-decoration:none;font:inherit;cursor:pointer}
.tx-chip.is-on,.tx-quick__link.is-on{background:color-mix(in srgb,var(--jx-accent,#2563eb) 18%,transparent);border-color:transparent}
.tx-dot{width:9px;height:9px;border-radius:50%;background:var(--tx-score,#9aa7c7);display:inline-block}
.score--excellent{--tx-score:#22c55e}
.score--tres-bon{--tx-score:#3b82f6}
.score--bon{--tx-score:#38bdf8}
.score--moyen{--tx-score:#f5b942}
.score--decevant{--tx-score:#ef4444}
.tx-quick,.tx-sheet-close{display:none}
.tx-result{margin:12px 0 0;color:var(--jx-muted,#9aa7c7)}
.tx-hero{display:grid;grid-template-columns:168px minmax(0,1fr) auto;gap:22px;align-items:center;margin:18px 0 8px;padding:18px;border-radius:18px;background:var(--jx-card,#141b30);border:1px solid var(--jx-line,#243050);animation:tx-in .45s ease both}
.tx-hero[hidden]{display:none}
.tx-hero__cover{display:block;aspect-ratio:3/4;border-radius:12px;overflow:hidden;background:var(--jx-cover,#1c2742)}
.tx-hero__cover img,.tx-cover img{width:100%;height:100%;object-fit:cover;display:block}
.tx-kicker{margin:0 0 6px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--jx-muted,#9aa7c7)}
.tx-hero h2{margin:0 0 8px;font-size:clamp(26px,3vw,36px);letter-spacing:-.03em;line-height:1.05}
.tx-hero h2 a{color:inherit;text-decoration:none}
.tx-verdict{margin:0 0 10px;max-width:62ch;line-height:1.45}
.tx-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 14px;color:var(--jx-muted,#9aa7c7);font-size:14px}
.tx-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.tx-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:10px;font-weight:750;text-decoration:none}
.tx-btn--fill{background:var(--jx-accent,#2563eb);color:#fff}
.tx-btn--line{border:1px solid var(--jx-line,#243050);color:inherit}
.tx-btn:hover{transform:translate(-2px,-2px);box-shadow:3px 3px 0 color-mix(in srgb,var(--jx-ink,#eef2ff) 70%,#000)}
.tx-ring{margin:0;width:112px;height:112px;border-radius:50%;border:7px solid var(--tx-score,#22c55e);display:grid;place-items:center;align-content:center;text-align:center;line-height:1}
.tx-ring strong{font-size:40px;letter-spacing:-.04em}
.tx-ring small{font-size:13px;color:var(--jx-muted,#9aa7c7)}
.tx-ring em{display:block;margin-top:4px;font-style:normal;font-size:13px;font-weight:750;color:var(--tx-score,#22c55e)}
.tx-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;margin-top:22px}
.tx-list h2,.tx-panel h2{margin:0 0 12px;font-size:20px}
.tx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;padding:16px;border-radius:18px;background:#141b30;border:1px solid #243050;box-shadow:none}
.tx-card{min-width:0}
.tx-card__hit{display:block;position:relative;min-width:0;color:inherit;text-decoration:none;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.tx-cover{position:relative;display:block;aspect-ratio:3/4;border-radius:12px;overflow:hidden;background:var(--jx-cover,#1c2742)}
.tx-cover__empty{display:grid;place-items:center;height:100%;font-size:28px;font-weight:750;color:var(--jx-muted,#9aa7c7)}
.tx-badge{position:absolute;left:8px;bottom:8px;display:flex;align-items:center;gap:6px;z-index:1}
.tx-badge strong{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(8,12,24,.88);border:2px solid var(--tx-score,#9aa7c7);color:#fff;font-size:14px}
.tx-badge em{font-style:normal;font-weight:750;font-size:13px;color:#fff;text-shadow:0 1px 2px #000}
.tx-card__body{display:grid;gap:2px;margin-top:8px;min-width:0}
.tx-card__body strong{font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tx-genre,.tx-when,.tx-muted{color:var(--jx-muted,#9aa7c7);font-size:13px}
.tx-genre{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tx-card{animation:tx-in .4s ease both}
.tx-card:hover .tx-cover{transform:translateY(-3px);transition:transform .2s ease}
.tx-more-wrap{display:flex;justify-content:center;margin:22px 0}
.tx-more{display:inline-flex;align-items:center;min-height:46px;padding:0 18px;border-radius:12px;background:var(--jx-card,#141b30);border:1px solid var(--jx-line,#243050);color:inherit;text-decoration:none;font-weight:700}
.tx-more[hidden]{display:none}
.tx-panel{background:var(--jx-card,#141b30);border:1px solid var(--jx-line,#243050);border-radius:16px;padding:14px 14px 8px;margin-bottom:14px}
.tx-top{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.tx-top a{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:baseline;color:inherit;text-decoration:none;min-height:36px;padding:4px 0}
.tx-top__n,.tx-top__s{color:var(--jx-muted,#9aa7c7);font-size:13px}
.tx-top__s{color:var(--tx-score,#22c55e);font-weight:800;text-align:right}
.tx-top__s em{display:block;font-style:normal;font-weight:600;font-size:11px}
.tx-top__t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tx-scale{list-style:none;margin:0;padding:0 0 8px;display:grid;gap:8px}
.tx-scale li{display:flex;gap:8px;align-items:center;font-size:14px}
.tx-scale span{min-width:58px;color:var(--jx-muted,#9aa7c7);font-variant-numeric:tabular-nums}
.tx-empty{grid-column:1/-1;color:var(--jx-muted,#9aa7c7)}
.tx-empty a{color:var(--jx-accent,#2563eb)}
.pj-test-brief__word.score--excellent,.pj-test-brief__word.score--tres-bon,.pj-test-brief__word.score--bon,.pj-test-brief__word.score--moyen,.pj-test-brief__word.score--decevant,
.pj-sheet-score span.score--excellent,.pj-sheet-score span.score--tres-bon,.pj-sheet-score span.score--bon,.pj-sheet-score span.score--moyen,.pj-sheet-score span.score--decevant{color:var(--tx-score)}
@keyframes tx-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (max-width:1100px){
    .tx-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .tx-layout{grid-template-columns:1fr}
    .tx-rail{display:grid;grid-template-columns:1fr 1fr;gap:14px}
}
@media (max-width:800px){
    .tx-quick{display:flex;gap:8px;overflow:auto;padding:12px 0 2px;scrollbar-width:none}
    .tx-tools{display:none}
    .tx-tools.is-open{display:grid;position:fixed;z-index:40;left:0;right:0;bottom:0;padding:16px 16px 22px;background:var(--jx-card,#141b30);border-top:1px solid var(--jx-line,#243050);box-shadow:0 -16px 40px rgba(0,0,0,.35);max-height:80vh;overflow:auto}
    .tx-tools.is-open .tx-sheet-close{display:inline-flex;justify-self:end}
    .tx-hero{position:relative;grid-template-columns:92px minmax(0,1fr);gap:12px}
    .tx-hero h2{padding-right:78px}
    .tx-ring{position:absolute;top:14px;right:14px;width:auto;height:auto;border:0;display:flex;align-items:baseline;gap:6px}
    .tx-ring strong{font-size:28px}
    .tx-grid{grid-template-columns:1fr;gap:10px}
    .tx-card__hit{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border:0;border-radius:0;background:transparent;box-shadow:none}
    .tx-card + .tx-card .tx-card__hit{border-top:1px solid #243050}
    .tx-cover{display:contents}
    .tx-cover img,.tx-cover__empty{grid-column:1;width:72px;aspect-ratio:3/4;border-radius:10px}
    .tx-badge{position:static;grid-column:3;flex-direction:column;align-items:flex-end;gap:2px}
    .tx-badge em{color:var(--tx-score);text-shadow:none}
    .tx-card__body{margin:0;grid-column:2}
    .tx-card:hover .tx-cover{transform:none}
    .tx-rail{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
    .tx-hero,.tx-card{animation:none}
    .tx-card:hover .tx-cover,.tx-btn:hover{transform:none;transition:none}
}
html[data-theme="light"] body:has(.tx){background:#f3f5fb;color:#0f172a}
html[data-theme="light"] body:has(.tx) .nx-mast{background:#fff;border-bottom:1px solid #e2e8f0;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme="light"] .tx-hero,
html[data-theme="light"] .tx-panel,
html[data-theme="light"] .tx-more,
html[data-theme="light"] body:has(.tx) .ba-foot{
    background:#fff;
    border:1px solid rgba(15,18,22,.28);
    box-shadow:0 12px 32px rgba(0,0,0,.12);
}
html[data-theme="light"] body:has(.tx) .ba-foot{width:min(var(--nx-max),calc(100% - 40px));margin-inline:auto}
html[data-theme="light"] .tx-grid{background:#fff;border:1px solid rgba(15,18,22,.28);box-shadow:0 12px 32px rgba(0,0,0,.12)}
html[data-theme="dark"] .tx-grid{background:#141b30;border-color:#243050;box-shadow:none}
html[data-theme="light"] .tx-card + .tx-card .tx-card__hit{border-top-color:rgba(15,18,22,.14)}
html[data-theme="light"] .tx-card__hit{background:transparent;border:0;box-shadow:none}
html[data-theme="light"] .tx-hero__cover{border:1px solid rgba(15,18,22,.18);box-shadow:0 8px 20px rgba(0,0,0,.08)}
html[data-theme="light"] .tx-cover{border:0;box-shadow:none}
html[data-theme="light"] .tx-chip,
html[data-theme="light"] .tx-quick__link,
html[data-theme="light"] .tx-tools select,
html[data-theme="light"] .tx-search input{background:#fff;border-color:rgba(15,18,22,.22)}
html[data-theme="light"] .tx-chip.is-on,
html[data-theme="light"] .tx-quick__link.is-on{background:color-mix(in srgb,#2563eb 18%,#fff);border-color:transparent;color:#0f172a}
@media (max-width:800px){
    html[data-theme="light"] .tx-card__hit{background:transparent;border:0;box-shadow:none}
    html[data-theme="light"] .tx-cover{border:0;box-shadow:none}
}
