.o-tier-list { display: grid; gap: 12px; margin-block: 18px; }
.o-tier-list .champ { margin: 0; }
.tl-ajout { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.tl-ajout .champ { flex: 1 1 200px; }
.tl-rangs { display: grid; gap: 4px; }
.tl-rang { display: grid; grid-template-columns: 52px minmax(0, 1fr); min-block-size: 64px; border-radius: 10px; background: var(--bitume); overflow: hidden; }
.tl-rang[data-cible] { outline: 3px solid var(--peche); outline-offset: -3px; }
.tl-nom { display: grid; place-items: center; border: 0; padding: 0; font-family: "Sofia XC", var(--titre); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--encre); background: var(--rang); cursor: pointer; }
.tl-rang[data-rang="S"] { --rang: var(--rose); }
.tl-rang[data-rang="A"] { --rang: var(--orange); }
.tl-rang[data-rang="B"] { --rang: var(--peche); }
.tl-rang[data-rang="C"] { --rang: #a266ea; }
.tl-rang[data-rang="D"] { --rang: var(--ciel-clair); }
.tl-rang[data-rang="reserve"] { grid-template-columns: minmax(0, 1fr); background: var(--encre); margin-block-start: 8px; outline: 2px dashed var(--trait); outline-offset: -2px; }
.tl-liste { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding: 6px; min-block-size: 56px; }
.tl-puce { min-block-size: 44px; max-inline-size: 100%; padding: 6px 10px; border: 2px solid var(--trait); border-radius: 8px; background: var(--asphalte); color: var(--papier); font-weight: 700; font-size: .95rem; line-height: 1.15; text-align: start; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.tl-puce[aria-pressed="true"] { border-color: var(--orange); background: var(--orange); color: var(--encre); }
.tl-puce[data-glisse] { opacity: .35; }
.tl-fantome { position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 80; pointer-events: none; opacity: .95; transform: translate(var(--x), var(--y)) rotate(-2deg); }
[dir="rtl"] .tl-fantome { inset-inline-start: auto; left: 0; }
.tl-annonce { min-block-size: 1.4em; margin: 0; color: var(--peche); font-weight: 700; }
.tl-suppr { inline-size: 26px; block-size: 26px; margin-inline-start: 4px; border: 0; border-radius: 6px; background: var(--gravier); color: var(--papier); cursor: pointer; }
