/* ==========================================================================
   Lollabo — le labo tryhard (/lollabo…) · DA « Client LoL »
   Bleu nuit, cadres or fins, titres Cinzel or, menthe pour l'action et le positif.
   Préfixe .lb-  · aussi utilisé par l'Actu pour les boutons (.lb-btn).
   ========================================================================== */

.lb { --lb-r: 4px; --lb-frame: var(--gold-2, #785a28); --lb-gold: var(--gold, #c8aa6e); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lb * { min-width: 0; }
.lb img { max-width: 100%; }

/* ---------- En-tête ---------- */
.lb-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--lb-frame); }
.lb-logo img { width: 118px; height: auto; display: block; }
.lb-h1 {
    font: 700 clamp(20px, 3vw, 28px)/1 var(--f-client); text-transform: uppercase; letter-spacing: .06em; color: var(--lb-gold);
    padding-left: 14px; border-left: 1px solid var(--lb-frame);
}
.lb-search {
    margin-left: auto; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; width: min(260px, 100%);
    background: var(--bg); border: 1px solid var(--lb-frame); border-radius: var(--lb-r); color: var(--muted); transition: border-color .15s;
}
.lb-search:focus-within { border-color: var(--lb-gold); color: var(--lb-gold); }
.lb-search input { flex: 1; width: 100%; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 13.5px; }
.lb-search input::-webkit-search-cancel-button { display: none; }
.lb-search kbd { font: 600 10px/1 var(--f-mono); color: var(--faint); border: 1px solid var(--line-2); border-radius: 3px; padding: 3px 5px; }
.lb-help-btn, .lp-help-btn.lb-help-btn {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--lb-frame); background: var(--bg); color: var(--lb-gold);
    font: 700 15px/1 var(--f-client); cursor: pointer; transition: border-color .15s, transform .15s;
}
.lb-help-btn:hover { border-color: var(--lb-gold); transform: translateY(-1px); }

/* ---------- Boutons façon client ---------- */
.lb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
    font: 700 13px/1 var(--f-client); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-3, #f0e6d2);
    background: linear-gradient(180deg, #1e2328, #10151b); border: 1px solid var(--lb-frame); border-radius: 2px; cursor: pointer;
    transition: border-color .15s, color .15s, transform .12s, background .15s; white-space: nowrap;
}
.lb-btn:hover { border-color: var(--lb-gold); color: #fff; }
.lb-btn:active { transform: translateY(1px); }
.lb-btn-ghost { background: transparent; }
.lb-btn[disabled] { opacity: .45; cursor: not-allowed; }
.lb-btn-play {
    height: 46px; padding: 0 22px; color: var(--mint-ink, #04241c); font-size: 14px;
    background: linear-gradient(180deg, #6ff5d3, var(--mint) 55%, #2fc9a3);
    border: 1px solid var(--lb-gold); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--lb-frame);
}
.lb-btn-play:hover { color: #000; border-color: var(--gold-3, #f0e6d2); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--lb-gold); }
.lb-btn-play.is-on { background: var(--bg); color: var(--mint); border-color: var(--mint); }

/* ---------- Segments, postes, membres ---------- */
.lb-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lb-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--lb-frame); border-radius: var(--lb-r); overflow: hidden; background: var(--bg); }
.lb-seg a, .lb-seg button {
    padding: 8px 12px; font: 600 12.5px/1 var(--f-sans); color: var(--text-2); background: transparent; border: 0; cursor: pointer;
    border-right: 1px solid var(--line); transition: background .15s, color .15s;
}
.lb-seg > :last-child { border-right: 0; }
.lb-seg a:hover, .lb-seg button:hover { color: var(--text); background: var(--panel); }
.lb-seg .is-active { background: var(--panel-2); color: var(--lb-gold); box-shadow: inset 0 -2px 0 var(--lb-gold); }
.lb-roles { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.lb-role {
    display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: var(--lb-r);
    background: var(--bg); color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s, transform .12s;
}
.lb-role img { width: 22px; height: 22px; opacity: .75; filter: brightness(1.7) grayscale(.3); transition: opacity .15s, filter .15s; }
.lb-role:hover { border-color: var(--lb-frame); }
.lb-role:hover img { opacity: .85; }
.lb-role.is-active { border-color: var(--lb-gold); background: var(--panel-2); color: var(--lb-gold); }
.lb-role.is-active img { opacity: 1; filter: brightness(2.2) sepia(.6); }
.lb-role:active { transform: scale(.94); }
.lb-roles-sm .lb-role { width: 30px; height: 30px; }
.lb-roles-sm .lb-role img { width: 18px; height: 18px; }

.lb-members { display: flex; gap: 6px; flex-wrap: wrap; }
.lb-member {
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line-2); border-radius: 20px;
    font-weight: 600; font-size: 13px; color: var(--text-2); transition: border-color .15s, color .15s;
}
.lb-member:hover { border-color: var(--lb-frame); color: var(--text); }
.lb-member.is-active { border-color: var(--lb-gold); color: var(--lb-gold); background: var(--panel); }

/* ---------- Héros « Mes champions » ---------- */
.lb-hero {
    position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    min-height: 180px; padding: 20px; border: 1px solid var(--lb-frame); border-radius: var(--lb-r);
}
.lb-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center 25% / cover no-repeat; }
.lb-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1,10,19,.95) 0%, rgba(1,10,19,.7) 45%, rgba(1,10,19,.25)), linear-gradient(0deg, rgba(1,10,19,.9), transparent 60%); }
.lb-who { display: flex; align-items: center; gap: 14px; }
.lb-who .avatar-lg { width: 72px; height: 72px; border: 2px solid var(--lb-gold); border-radius: 50%; }
.lb-who-name { display: block; font: 700 26px/1.05 var(--f-client); letter-spacing: .04em; text-transform: uppercase; color: var(--gold-3, #f0e6d2); }
.lb-who-sub { color: var(--text-2); font-size: 12px; }
.lb-kpis { display: flex; gap: 6px; margin: 0; flex-wrap: wrap; }
.lb-kpis > div { min-width: 78px; padding: 8px 12px; background: rgba(1,10,19,.75); border: 1px solid var(--lb-frame); border-radius: var(--lb-r); text-align: center; }
.lb-kpis dt { font: 600 10px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 6px; }
.lb-kpis dd { margin: 0; font-size: 20px; font-weight: 800; display: flex; justify-content: center; }
.lb-kpis .lpg { width: 28px; height: 28px; font-size: 15px; }

/* Défi du soir (bandeau) */
.lb-defi {
    display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid var(--mint); border-radius: var(--lb-r);
    background: linear-gradient(90deg, rgba(79,240,200,.10), transparent 70%); transition: transform .15s;
}
.lb-defi:hover { transform: translateY(-1px); }
.lb-defi img { border-radius: 2px; border: 1px solid var(--lb-frame); }
.lb-defi small { display: block; font: 600 10px/1 var(--f-body); text-transform: none; letter-spacing: 0; color: var(--mint); }
.lb-defi b { font-size: 15px; }
.lb-defi-t { margin-left: auto; display: inline-flex; gap: 5px; align-items: center; color: var(--text-2); font-size: 12px; }

/* ---------- Tableau (tri par colonne) ---------- */
.lb-tablewrap { border: 1px solid var(--lb-frame); border-radius: var(--lb-r); background: var(--panel); overflow: hidden; }
.lb-table { width: 100%; border-collapse: collapse; font-size: 13.5px; table-layout: auto; }
.lb-table th {
    position: sticky; top: 0; padding: 10px 8px; text-align: right; white-space: nowrap; cursor: pointer; user-select: none;
    font: 600 10.5px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--muted);
    background: var(--bg); border-bottom: 1px solid var(--lb-frame); transition: color .15s;
}
.lb-table th:hover { color: var(--text); }
.lb-table th.is-sorted { color: var(--lb-gold); }
.lb-table th.is-sorted::after { content: " ▾"; }
.lb-table th.is-sorted.is-asc::after { content: " ▴"; }
.lb-table td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lb-table tr:last-child td { border-bottom: 0; }
.lb-table tbody tr { transition: background .12s; }
.lb-table tbody tr:hover { background: var(--panel-2); }
.lb-table .t-champ { text-align: left; width: 34%; }
.lb-table .t-champ a { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.lb-table .t-champ img { width: 36px; height: 36px; border: 1px solid var(--lb-frame); border-radius: 2px; flex: none; }
.lb-table .t-champ span { display: flex; flex-direction: column; overflow: hidden; text-overflow: ellipsis; }
.lb-table .t-champ small { font-size: 10.5px; color: var(--faint); font-weight: 500; text-transform: none; letter-spacing: 0; }
.lb-table .lpg { margin-left: auto; }
.lb-table td:last-child { display: table-cell; }
.lb-wr { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 42px; }
.lb-wr i { display: block; width: 42px; height: 3px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.lb-wr i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--loss); }
.lb-wr.is-up { color: var(--text); }
.lb-wr.is-up i::after { background: var(--mint); }
.lb-wr.is-down { color: var(--text-2); }

/* ---------- Boîtes ---------- */
.lb-box { padding: 16px; background: var(--panel); border: 1px solid var(--lb-frame); border-radius: var(--lb-r); min-width: 0; }
.lb-box > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.lb-box h2 { display: flex; align-items: center; gap: 8px; font: 700 15px/1.1 var(--f-client); letter-spacing: .06em; text-transform: uppercase; color: var(--lb-gold); }
.lb-src { font-size: 11px; color: var(--muted); }
.lb-none { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lb-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lb-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 16px; border: 1px dashed var(--lb-frame); border-radius: var(--lb-r); text-align: center; }
.lb-empty b { font: 700 16px/1.2 var(--f-client); letter-spacing: .05em; text-transform: uppercase; color: var(--lb-gold); }
.lb-count { padding: 3px 8px; border: 1px solid var(--lb-frame); border-radius: 10px; color: var(--lb-gold); font-size: 11px; }

/* Tuiles « suite » */
.lb-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lb-next a {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
    min-height: 110px; padding: 14px; border: 1px solid var(--lb-frame); border-radius: var(--lb-r); transition: border-color .2s, transform .2s;
}
.lb-next a::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center 20% / cover; transition: transform .4s var(--ease); }
.lb-next a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1,10,19,.95) 10%, rgba(1,10,19,.2)); }
.lb-next a:hover { border-color: var(--lb-gold); transform: translateY(-2px); }
.lb-next a:hover::before { transform: scale(1.06); }
.lb-next b { font: 700 18px/1 var(--f-client); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-3, #f0e6d2); }
.lb-next span { font-size: 12.5px; color: var(--text-2); }

/* ---------- Page champion ---------- */
.lb-splash {
    position: relative; isolation: isolate; overflow: hidden; min-height: clamp(300px, 46vw, 470px); display: flex; align-items: flex-end;
    border: 1px solid var(--lb-frame); border-radius: var(--lb-r);
}
.lb-splash::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center 20% / cover no-repeat; transition: opacity .25s; }
.lb-splash.is-fading::before { opacity: .2; }
.lb-splash::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1,10,19,.97) 6%, rgba(1,10,19,.35) 50%, transparent), linear-gradient(90deg, rgba(1,10,19,.8), transparent 60%); }
.lb-splash-in { padding: 22px; display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.lb-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lb-tags img { width: 22px; height: 22px; }
.lb-tags i, .lb-card-tags i { font: normal 600 12px/1 var(--f-body); color: var(--lb-gold); border: 1px solid var(--lb-frame); padding: 4px 7px; border-radius: 2px; background: rgba(1,10,19,.6); }
.lb-champ-name { font: 800 clamp(34px, 6vw, 60px)/.95 var(--f-client); letter-spacing: .05em; text-transform: uppercase; color: var(--gold-3, #f0e6d2); }
.lb-champ-title { color: var(--lb-gold); font-size: 15px; text-transform: capitalize; }
.lb-skin-name { color: var(--text-2); font-size: 12.5px; min-height: 1.4em; }
.lb-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.lb-heart {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--lb-frame);
    background: rgba(1,10,19,.75); color: var(--faint); cursor: pointer; transition: color .15s, border-color .15s, transform .15s;
}
.lb-heart .ico { width: 22px; height: 22px; fill: transparent; }
.lb-heart:hover { border-color: var(--lb-gold); color: var(--text); }
.lb-heart.is-on { color: var(--mint); border-color: var(--mint); }
.lb-heart.is-on .ico { fill: currentColor; }
.lb-heart.is-pop { animation: lb-pop .35s var(--ease); }
@keyframes lb-pop { 40% { transform: scale(1.25); } }

.lb-skins { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--lb-frame) transparent; }
.lb-skin {
    flex: none; width: 77px; aspect-ratio: 308 / 560; padding: 0; border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden;
    background: var(--panel); cursor: pointer; scroll-snap-align: start; transition: border-color .15s, transform .15s; opacity: .7;
}
.lb-skin img { width: 100%; height: 100%; object-fit: cover; }
.lb-skin:hover { opacity: 1; transform: translateY(-2px); border-color: var(--lb-frame); }
.lb-skin.is-active { opacity: 1; border-color: var(--lb-gold); box-shadow: 0 0 0 1px var(--lb-gold); }

.lb-spells { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.lb-spells li { display: flex; gap: 10px; align-items: flex-start; }
.lb-spell-ico { position: relative; flex: none; }
.lb-spell-ico img { width: 48px; height: 48px; border: 1px solid var(--lb-frame); border-radius: 2px; }
.lb-spell-ico i { position: absolute; right: -4px; bottom: -4px; min-width: 18px; height: 18px; padding: 0 3px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--lb-gold); color: var(--lb-gold); font: normal 700 10px/1 var(--f-mono); }
.lb-spells b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.lb-spells b small { color: var(--faint); font-weight: 500; font-size: 10.5px; }
.lb-spells p { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }

.lb-stats2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lb-stat { padding: 12px; border: 1px solid var(--line-2); border-radius: var(--lb-r); background: var(--bg); }
.lb-stat h3 { font: 700 12px/1 var(--f-client); letter-spacing: 0; text-transform: none; color: var(--lb-gold); margin-bottom: 10px; }
.lb-stat dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 6px; margin: 0; }
.lb-stat dt { font: 600 9.5px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 3px; }
.lb-stat dd { margin: 0; font-weight: 700; font-size: 14px; }
.lb-stat-none { color: var(--faint); font-size: 13px; }
.lb-mlist { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lb-mlist li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto auto auto; gap: 10px; align-items: center; padding: 4px 6px; border-radius: 3px; font-size: 13px; }
.lb-mlist li:nth-child(odd) { background: var(--bg); }

.lb-build { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lb-build li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lb-build img { width: 44px; height: 44px; border: 1px solid var(--lb-frame); border-radius: 2px; transition: transform .15s, border-color .15s; }
.lb-build li:hover img { transform: translateY(-2px); border-color: var(--lb-gold); }
.lb-build span { font-size: 11px; color: var(--text-2); }
.lb-build .is-boots { margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line-2); }
.lb-runes { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.lb-rune-tree { display: flex; align-items: center; gap: 6px; }
.lb-rune-tree img { border-radius: 50%; background: var(--bg); }
.lb-rune-tree .lb-keystone { border: 1px solid var(--lb-gold); padding: 2px; }
.lb-rune-tree.is-sub { opacity: .9; padding-left: 12px; border-left: 1px solid var(--line-2); }
.lb-rune-style { opacity: .8; }

.lb-mu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lb-mu a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 4px 6px; border-radius: 3px; transition: background .12s; }
.lb-mu a:hover { background: var(--panel-2); }
.lb-mu img { width: 40px; height: 40px; border: 1px solid var(--lb-frame); border-radius: 2px; }
.lb-mu b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-similar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.lb-similar a { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: 11.5px; color: var(--text-2); transition: color .15s; }
.lb-similar a:hover { color: var(--text); }
.lb-similar img { width: 52px; height: 52px; border: 1px solid var(--lb-frame); border-radius: 2px; transition: transform .15s, border-color .15s; }
.lb-similar a:hover img { transform: translateY(-2px); border-color: var(--lb-gold); }
.lb-similar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.lb-similar small { color: var(--mint); font-size: 10.5px; }
.lb-tips { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.lb-tips li { padding-left: 12px; border-left: 2px solid var(--lb-gold); font-size: 13.5px; color: var(--text-2); line-height: 1.45; }

/* ---------- ROLL ---------- */
.lb-tabs { display: flex; border-bottom: 1px solid var(--line); gap: 2px; }
.lb-tabs button {
    position: relative; padding: 12px 16px; background: transparent; border: 0; cursor: pointer; color: var(--muted);
    font: 700 13px/1 var(--f-client); letter-spacing: .08em; text-transform: uppercase; transition: color .15s;
}
.lb-tabs button:hover { color: var(--text); }
.lb-tabs button.is-active { color: var(--lb-gold); }
.lb-tabs button.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--lb-gold); }
.lb-rollbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.lb-rollpage[data-kind="role"] [data-roll-roles], .lb-rollpage[data-kind="comp"] [data-roll-roles] { visibility: hidden; }

.lb-wheel { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 22px 0 6px; }
.lb-wheel-win {
    position: relative; width: 100%; height: 124px; overflow: hidden; border: 1px solid var(--lb-frame); border-radius: var(--lb-r);
    background: radial-gradient(ellipse at center, #0f1c33, var(--bg) 70%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.lb-strip { position: absolute; top: 14px; left: 0; display: flex; gap: 8px; will-change: transform; }
.lb-cell { flex: none; width: 96px; height: 96px; padding: 3px; border: 1px solid var(--line-2); background: var(--panel); border-radius: 2px; }
.lb-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-cell.is-role { display: grid; place-items: center; }
.lb-cell.is-role img { width: 56px; height: 56px; }
.lb-cell.is-win { border-color: var(--lb-gold); box-shadow: 0 0 0 1px var(--lb-gold), inset 0 0 0 1px var(--lb-gold); animation: lb-win .6s var(--ease) 2; }
@keyframes lb-win { 50% { transform: scale(1.08); } }
.lb-marker { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--lb-gold); pointer-events: none; }
.lb-marker::before, .lb-marker::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border: 8px solid transparent; }
.lb-marker::before { top: 0; border-top-color: var(--lb-gold); }
.lb-marker::after { bottom: 0; border-bottom-color: var(--lb-gold); }

.lb-roll-btn {
    position: relative; width: 180px; height: 58px; cursor: pointer; border-radius: 2px;
    font: 800 20px/1 var(--f-client); letter-spacing: .14em; text-transform: uppercase; color: var(--mint-ink, #04241c);
    background: linear-gradient(180deg, #7ff7d9, var(--mint) 50%, #26b893); border: 1px solid var(--lb-gold);
    box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--lb-frame); transition: transform .12s, box-shadow .15s, filter .15s;
}
.lb-roll-btn:hover { box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--lb-gold); filter: brightness(1.06); }
.lb-roll-btn:active { transform: translateY(2px) scale(.98); }
.lb-roll-btn[disabled] { filter: grayscale(.8) brightness(.7); cursor: wait; }
.lb-roll-msg { min-height: 1.4em; font-size: 13px; color: var(--text-2); text-align: center; }
.lb-roll-msg.is-fun { color: var(--lb-gold); }

.lb-reveal {
    position: relative; isolation: isolate; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end;
    border: 1px solid var(--lb-gold); border-radius: var(--lb-r); animation: lb-reveal .5s var(--ease);
}
.lb-reveal[hidden], .lb-comp[hidden] { display: none; }
.lb-reveal-art { position: absolute; inset: 0; z-index: -2; background: var(--art) center 20% / cover no-repeat; animation: lb-zoom 6s ease-out both; }
.lb-reveal::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1,10,19,.96) 10%, rgba(1,10,19,.2) 70%); }
.lb-reveal-in { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.lb-reveal-k { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--mint); }
.lb-reveal-k img { width: 18px; height: 18px; }
.lb-reveal-name { font: 800 clamp(34px, 7vw, 64px)/.95 var(--f-client); letter-spacing: .05em; text-transform: uppercase; color: var(--gold-3, #f0e6d2); }
.lb-reveal-title { color: var(--lb-gold); text-transform: capitalize; }
@keyframes lb-reveal { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes lb-zoom { from { transform: scale(1.15); } }

.lb-comp { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lb-pick {
    position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 308 / 560; border: 1px solid var(--lb-frame); border-radius: var(--lb-r);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; gap: 4px; background: var(--panel);
    opacity: 0; transform: translateY(16px) rotateY(70deg); transition: opacity .35s var(--ease), transform .45s var(--ease), border-color .15s;
}
.lb-pick.is-in { opacity: 1; transform: none; }
.lb-pick:hover { border-color: var(--lb-gold); }
.lb-pick::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center top / cover no-repeat; }
.lb-pick::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1,10,19,.95) 18%, transparent 60%); }
.lb-pick-top { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; align-items: center; }
.lb-pick-top img.pos { width: 24px; height: 24px; background: rgba(1,10,19,.75); border: 1px solid var(--lb-frame); border-radius: 50%; padding: 2px; }
.lb-pick b { font: 700 15px/1.05 var(--f-client); letter-spacing: .04em; text-transform: uppercase; color: var(--gold-3, #f0e6d2); }
.lb-pick small { color: var(--text-2); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.lb-comp-bar { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

.lb-defi-now { display: flex; gap: 14px; align-items: center; }
.lb-defi-now img { width: 92px; height: auto; border: 1px solid var(--lb-gold); border-radius: 2px; }
.lb-defi-now > div { display: flex; flex-direction: column; gap: 6px; }
.lb-defi-name { font: 700 22px/1 var(--f-client); letter-spacing: .05em; text-transform: uppercase; color: var(--gold-3, #f0e6d2); }
.lb-defi-now .mono { display: inline-flex; gap: 5px; align-items: center; font-size: 12.5px; color: var(--text-2); }
.lb-dots { display: inline-flex; gap: 5px; }
.lb-dots i { width: 12px; height: 12px; transform: rotate(45deg); border: 1px solid var(--lb-frame); background: var(--bg); }
.lb-dots i.on { background: var(--mint); border-color: var(--mint); }
.lb-reward { color: var(--mint) !important; }
.lb-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lb-hist li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 4px; border-radius: 3px; font-size: 13px; }
.lb-hist li:nth-child(odd) { background: var(--bg); }
.lb-hist img { width: 36px; height: 36px; border: 1px solid var(--lb-frame); border-radius: 2px; }
.lb-hist-s { font-size: 11.5px; color: var(--muted); }
.lb-hist .is-done .lb-hist-s { color: var(--mint); }
.lb-hist .is-open .lb-hist-s { color: var(--lb-gold); }

.lb-dialog {
    width: min(440px, calc(100vw - 32px)); padding: 22px; color: var(--text); background: var(--panel); border: 1px solid var(--lb-gold); border-radius: var(--lb-r);
}
.lb-dialog::backdrop { background: rgba(1,10,19,.8); }
.lb-dialog[open] { animation: lb-reveal .2s var(--ease); }
.lb-dialog h2 { font: 700 18px/1 var(--f-client); letter-spacing: .06em; text-transform: uppercase; color: var(--lb-gold); margin-bottom: 12px; }
.lb-dialog ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.lb-dialog b { color: var(--text); }
.lb-dialog-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-2); border-radius: 50%; color: var(--muted); cursor: pointer; }
.lb-dialog-x:hover { color: var(--text); border-color: var(--lb-frame); }

/* ---------- Découvre (tinder) ---------- */
.lb-disc-top { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
.lb-swipe { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-deck { position: relative; width: 100%; max-width: min(320px, calc((100vh - 360px) * .592)); min-width: 220px; aspect-ratio: 308 / 520; }
.lb-disc-side { display: flex; flex-direction: column; gap: 16px; }
.lb-card {
    position: absolute; inset: 0; overflow: hidden; isolation: isolate; border: 1px solid var(--lb-gold); border-radius: 6px; background: var(--panel);
    display: flex; flex-direction: column; justify-content: flex-end; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
    transition: transform .3s var(--ease), opacity .3s; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--lb-frame);
}
.lb-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center top / cover no-repeat; }
.lb-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1,10,19,.97) 14%, transparent 55%); }
.lb-card:nth-last-child(2) { transform: translateY(8px) scale(.96); }
.lb-card:nth-last-child(3) { transform: translateY(16px) scale(.92); }
.lb-card:nth-last-child(n+4) { transform: translateY(16px) scale(.92); opacity: 0; }
.lb-card.is-drag { transition: none; cursor: grabbing; }
.lb-card.is-gone { pointer-events: none; }
.lb-card-txt { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.lb-card-txt b { font: 800 26px/1 var(--f-client); letter-spacing: .05em; text-transform: uppercase; color: var(--gold-3, #f0e6d2); }
.lb-card-txt small { color: var(--lb-gold); text-transform: capitalize; font-size: 13px; }
.lb-card-tags { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.lb-card-match { position: absolute; top: 12px; left: 12px; padding: 5px 9px; font: 700 12px/1 var(--f-body); color: var(--mint-ink, #04241c); background: var(--mint); border-radius: 2px; }
.lb-card-stamp {
    position: absolute; top: 46px; padding: 6px 12px; font: 800 22px/1 var(--f-client); letter-spacing: .1em; text-transform: uppercase;
    border: 2px solid currentColor; border-radius: 4px; opacity: 0; transition: opacity .1s; background: rgba(1,10,19,.6);
}
.lb-card-stamp.is-like { left: 14px; color: var(--mint); transform: rotate(-12deg); }
.lb-card-stamp.is-nope { right: 14px; color: var(--loss); transform: rotate(12deg); }
.lb-deck-empty { position: absolute; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 1px dashed var(--lb-frame); border-radius: 6px; text-align: center; padding: 20px; }
.lb-deck-empty b { font: 700 16px/1 var(--f-client); letter-spacing: .06em; text-transform: uppercase; color: var(--lb-gold); }
.lb-swipe-btns { display: flex; gap: 18px; align-items: center; }
.lb-sw {
    display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--lb-frame); background: var(--panel);
    cursor: pointer; color: var(--text-2); transition: transform .12s, border-color .15s, color .15s;
}
.lb-sw .ico { width: 26px; height: 26px; }
.lb-sw:hover { transform: translateY(-2px); }
.lb-sw:active { transform: scale(.92); }
.lb-sw-nope:hover { color: var(--loss); border-color: var(--loss); }
.lb-sw-like:hover { color: var(--mint); border-color: var(--mint); }
.lb-sw-like .ico { fill: currentColor; }
.lb-sw-info { width: 44px; height: 44px; }
.lb-sw-info .ico { width: 20px; height: 20px; }
.lb-wishlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; }
.lb-wishlist img { width: 48px; height: 48px; border: 1px solid var(--lb-frame); border-radius: 2px; transition: transform .15s, border-color .15s; }
.lb-wishlist a:hover img { transform: translateY(-2px); border-color: var(--mint); }
.lb-wishlist li.is-new { animation: lb-pop .4s var(--ease); }
.lb-because { display: inline-flex; gap: 4px; align-items: center; font-size: 11.5px; color: var(--muted); }
.lb-because img { border: 1px solid var(--lb-frame); border-radius: 2px; }
.lb-recs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lb-recs a {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
    aspect-ratio: 3 / 4; padding: 10px; border: 1px solid var(--lb-frame); border-radius: var(--lb-r); transition: border-color .15s, transform .2s;
}
.lb-recs a::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center 15% / cover no-repeat; transition: transform .4s var(--ease); }
.lb-recs a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1,10,19,.96) 16%, transparent 60%); }
.lb-recs a:hover { border-color: var(--lb-gold); transform: translateY(-2px); }
.lb-recs a:hover::before { transform: scale(1.05); }
.lb-recs b { font: 700 15px/1.05 var(--f-client); letter-spacing: .04em; text-transform: uppercase; color: var(--gold-3, #f0e6d2); }
.lb-rec-pct { position: absolute; top: 8px; right: 8px; padding: 4px 7px; font-size: 11px; font-weight: 700; color: var(--mint); background: rgba(1,10,19,.8); border: 1px solid var(--mint); border-radius: 2px; }
.lb-rec-why { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.lb-rec-why img { border: 1px solid var(--lb-frame); border-radius: 2px; }
.lb-rec-why small { font-size: 11px; color: var(--text-2); }

/* ---------- Tier list du groupe ---------- */
.lb-kings { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lb-king {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end;
    min-height: 170px; padding: 12px; border: 1px solid var(--lb-frame); border-radius: var(--lb-r);
}
.lb-king::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center 20% / cover no-repeat; }
.lb-king::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1,10,19,.96) 30%, rgba(1,10,19,.35)); }
.lb-king-pos { position: absolute; top: 10px; left: 10px; }
.lb-king-k { font: 600 13px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--lb-gold); }
.lb-king-who { display: flex; align-items: center; gap: 8px; }
.lb-king-who b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-king-s { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-2); }
.lb-king-s .lpg { width: 18px; height: 18px; font-size: 10px; }
.lb-king-next { position: absolute; top: 10px; right: 10px; display: flex; }
.lb-king-next .avatar { margin-left: -6px; border: 1px solid var(--bg); }

.lb-tiers { display: flex; flex-direction: column; gap: 6px; }
.lb-tier { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: var(--lb-r); overflow: hidden; background: var(--bg); }
.lb-tier-l { display: grid; place-items: center; font: 800 24px/1 var(--f-client); color: var(--lb-gold); background: var(--panel-2); border-right: 1px solid var(--lb-frame); }
.lb-tier.t-s .lb-tier-l { color: var(--mint-ink, #04241c); background: var(--mint); }
.lb-tier.t-a .lb-tier-l { color: var(--mint); }
.lb-tier.t-d .lb-tier-l { color: var(--loss); }
.lb-tier ul { list-style: none; margin: 0; padding: 8px; display: flex; flex-wrap: wrap; gap: 8px; min-height: 64px; align-items: center; }
.lb-tier li a { position: relative; display: block; transition: transform .15s; }
.lb-tier li a:hover { transform: translateY(-2px); }
.lb-tier li img { width: 48px; height: 48px; border: 1px solid var(--lb-frame); border-radius: 2px; }
.lb-tier li.is-king img { border-color: var(--lb-gold); }
.lb-tier-av { position: absolute; right: -5px; bottom: -5px; }
.lb-tier-av .avatar { width: 20px; height: 20px; border: 1px solid var(--bg); font-size: 9px; }
.lb-crown { position: absolute; top: -7px; left: -6px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--lb-gold); color: var(--bg); }
.lb-tier-none { color: var(--faint); }
.lb-thrones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.lb-thrones a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 6px; border: 1px solid var(--line); border-radius: 3px; transition: border-color .15s; }
.lb-thrones a:hover { border-color: var(--lb-frame); }
.lb-thrones img { grid-row: span 2; width: 40px; height: 40px; border: 1px solid var(--lb-gold); border-radius: 2px; }
.lb-thrones b { font-size: 13.5px; }
.lb-thrones .mono { grid-row: span 2; font-size: 11.5px; color: var(--text-2); }
.lb-throne-who { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--lb-gold); }

.lb-duos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lb-duos li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 6px; border-radius: 3px; font-size: 13px; }
.lb-duos li:nth-child(odd) { background: var(--bg); }
.lb-duos li.is-best { border: 1px solid var(--lb-frame); }
.lb-duo-av { display: flex; }
.lb-duo-av .avatar + .avatar { margin-left: -8px; border: 1px solid var(--bg); }
.lb-duos b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-duo-fav { display: flex; gap: 2px; }
.lb-duo-fav img { border: 1px solid var(--lb-frame); border-radius: 2px; }
.lb-duos-sm { margin-top: 10px; }
.lb-duos-sm li { grid-template-columns: minmax(0, 1fr) auto auto; }
.lb-bot {
    position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px;
    padding: 16px 10px; border: 1px solid var(--lb-gold); border-radius: var(--lb-r);
}
.lb-bot::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center 20% / cover no-repeat; }
.lb-bot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(1,10,19,.78); }
.lb-bot-side { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.lb-bot-side b { font-size: 14px; }
.lb-bot-ch { border: 1px solid var(--lb-frame); border-radius: 2px; }
.lb-bot-mid { display: flex; flex-direction: column; align-items: center; }
.lb-bot-mid b { font-size: 28px; color: var(--mint); }
.lb-bot-mid span { font-size: 11px; color: var(--text-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .lb-kings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lb-comp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .lb-grid2, .lb-disc-top { grid-template-columns: minmax(0, 1fr); }
    .lb-disc-top .lb-swipe { order: 0; }
    .lb-recs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lb-table .t-opt2 { display: none; }
}
@media (max-width: 640px) {
    .lb { gap: 12px; }
    .lb-head { gap: 10px; }
    .lb-logo img { width: 96px; }
    .lb-h1 { font-size: 18px; padding-left: 10px; }
    .lb-search { order: 5; margin-left: 0; width: 100%; flex: 1 1 100%; }
    .lb-search kbd { display: none; }
    .lb-help-btn { margin-left: auto; }
    .lb-hero { min-height: 0; padding: 14px; }
    .lb-who .avatar-lg { width: 56px; height: 56px; }
    .lb-who-name { font-size: 20px; }
    .lb-kpis { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lb-kpis > div { min-width: 0; padding: 6px 4px; }
    .lb-kpis dd { font-size: 16px; }
    .lb-table { font-size: 12.5px; }
    .lb-table .t-opt { display: none; }
    .lb-table th, .lb-table td { padding: 6px 5px; }
    .lb-table .t-champ { width: auto; }
    .lb-table .t-champ img { width: 30px; height: 30px; }
    .lb-table .t-champ small { display: none; }
    .lb-next { grid-template-columns: minmax(0, 1fr); }
    .lb-next a { min-height: 76px; }
    .lb-seg a, .lb-seg button { padding: 8px 9px; font-size: 12px; }
    .lb-role { width: 34px; height: 34px; }
    .lb-box { padding: 12px; }
    .lb-splash-in { padding: 14px; }
    .lb-stats2 { grid-template-columns: minmax(0, 1fr); }
    .lb-mlist li { grid-template-columns: 30px minmax(0, 1fr) auto auto auto; }
    .lb-mlist li > .mono:nth-of-type(3) { display: none; }
    .lb-kings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lb-king { min-height: 140px; }
    .lb-comp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lb-recs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lb-cell { width: 80px; height: 80px; }
    .lb-wheel-win { height: 108px; }
    .lb-tabs button { padding: 12px 10px; font-size: 12px; letter-spacing: .05em; }
    .lb-rollbar { justify-content: center; }
    .lb-duos li { grid-template-columns: auto minmax(0, 1fr) auto auto; }
    .lb-duos .lb-duo-fav { display: none; }
    .lb-tier { grid-template-columns: 40px minmax(0, 1fr); }
    .lb-tier li img { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .lb-reveal-art, .lb-cell.is-win, .lb-reveal { animation: none; }
}

/* ==========================================================================
   DA v7 « Blitz × Meeko » — couche finale (prime sur les règles ci-dessus)
   Noir chaud, accent flamme pour l'action, teal --cat-lab pour l'identité Lollabo,
   Bricolage Grotesque pour titres/chiffres, rayons 12-16 px, winrates --mint / --loss.
   ========================================================================== */
.lb { --lb-r: 14px; --lb-frame: var(--line-2); --lb-gold: var(--text); --lb-cat: var(--cat-lab, #14b8a6); }
.lb-h1, .lb-who-name, .lb-box h2, .lb-next b, .lb-champ-name, .lb-stat h3, .lb-tabs button, .lb-reveal-name, .lb-defi-name,
.lb-pick b, .lb-dialog h2, .lb-empty b, .lb-card-txt b, .lb-recs b, .lb-deck-empty b, .lb-tier-l, .lb-roll-btn, .lb-btn {
    font-family: var(--f-display); text-transform: none; letter-spacing: -.02em;
}
.lb-h1 { font-weight: 800; color: var(--text); border-left-color: var(--line-2); }
.lb-head { border-bottom-color: var(--line); }
.lb-box, .lb-tablewrap, .lb-hero, .lb-splash, .lb-next a, .lb-king, .lb-reveal, .lb-recs a, .lb-bot, .lb-pick { border-radius: 16px; border-color: var(--line); }
.lb-box h2 { font-size: 16px; font-weight: 700; color: var(--text); }
.lb-champ-name, .lb-reveal-name { font-weight: 800; color: #fff; letter-spacing: -.035em; }
.lb-champ-title, .lb-reveal-title, .lb-card-txt small { color: var(--text-2); }
.lb-tags i, .lb-card-tags i { color: var(--text-2); border-color: var(--line-2); border-radius: 6px; font-style: normal; }
.lb-btn { border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--text); background: var(--panel-2); border-color: var(--line-2); }
.lb-btn:hover { border-color: var(--text-2); }
.lb-btn-play, .lb-roll-btn { background: var(--accent); color: var(--accent-ink); border: 0; box-shadow: none; border-radius: 10px; }
.lb-btn-play:hover, .lb-roll-btn:hover { background: var(--accent-2); color: var(--accent-ink); box-shadow: 0 10px 28px rgba(255, 91, 58, .28); filter: none; }
.lb-btn-play.is-on { background: transparent; color: var(--lb-cat); border: 1px solid var(--lb-cat); }
.lb-roll-btn { width: 200px; font-size: 22px; font-weight: 800; }
.lb-seg { border-radius: 10px; border-color: var(--line-2); }
.lb-seg .is-active { color: var(--text); background: var(--panel-3); box-shadow: inset 0 -2px 0 var(--accent); }
.lb-role { border-radius: 10px; }
.lb-role.is-active, .lb-member.is-active, .lb-skin.is-active { border-color: var(--lb-cat); color: var(--lb-cat); box-shadow: none; }
.lb-role.is-active img { filter: brightness(1.8); }
.lb-tabs button.is-active { color: var(--text); }
.lb-tabs button.is-active::after, .lb-marker, .lb-marker::before, .lb-marker::after { background: var(--accent); border-top-color: var(--accent); border-bottom-color: var(--accent); }
.lb-marker::before { background: none; border-top-color: var(--accent); }
.lb-marker::after { background: none; border-bottom-color: var(--accent); }
.lb-cell, .lb-wheel-win { border-radius: 12px; }
.lb-cell.is-win { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.lb-table th { font-family: var(--f-body); color: var(--muted); border-bottom-color: var(--line); background: var(--panel); }
.lb-table th.is-sorted { color: var(--accent); }
.lb-table td { border-bottom-color: var(--line); }
.lb-table .t-champ img, .lb-mu img, .lb-similar img, .lb-build img, .lb-hist img, .lb-tier li img, .lb-wishlist img, .lb-spell-ico img { border-radius: 10px; border-color: var(--line-2); }
.lb-wr.is-up { color: var(--mint); }
.lb-wr.is-down { color: var(--loss); }
.lb-defi { border-color: var(--lb-cat); border-radius: 14px; background: linear-gradient(90deg, rgba(20, 184, 166, .12), transparent 70%); }
.lb-defi small, .lb-reveal-k, .lb-similar small, .lb-reward { color: var(--lb-cat) !important; }
.lb-dots i.on { background: var(--lb-cat); border-color: var(--lb-cat); }
.lb-tier.t-s .lb-tier-l { background: var(--accent); color: var(--accent-ink); }
.lb-tier.t-a .lb-tier-l { color: var(--mint); }
.lb-tier-l { background: var(--panel-2); border-right-color: var(--line); }
.lb-crown { background: var(--gold); }
.lb-card { border-radius: 16px; border-color: var(--line-2); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.lb-card-match, .lb-rec-pct { background: var(--lb-cat); color: #04201c; border: 0; border-radius: 6px; }
.lb-heart.is-on, .lb-sw-like:hover { color: var(--accent); border-color: var(--accent); }
.lb-dialog { border-radius: 16px; border-color: var(--line-2); }
.lb-hero::after, .lb-splash::after { background: linear-gradient(90deg, rgba(14,13,15,.95), rgba(14,13,15,.55) 50%, rgba(14,13,15,.15)), linear-gradient(0deg, rgba(14,13,15,.95), transparent 60%); }
.lb-search { border-radius: 10px; border-color: var(--line-2); background: var(--panel); }
.lb-search:focus-within { border-color: var(--accent); color: var(--text); }
.lb-subnav { display: flex; gap: 6px; }
.lb-subnav a { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-2); font: 600 13px/1 var(--f-display); color: var(--text-2); transition: border-color .15s, color .15s; }
.lb-subnav a:hover { color: var(--text); border-color: var(--text-2); }
.lb-subnav a.is-active { color: var(--lb-cat); border-color: var(--lb-cat); }

/* ---------- Stats globales / matchup / draft (.ls-) ---------- */
.ls { --ls-r: 14px; }
.ls h3 { font: 700 16px/1.2 var(--f-display); letter-spacing: -.02em; margin: 0 0 10px; }
.ls h4 { font: 600 11px/1 var(--f-mono); text-transform: none; letter-spacing: 0; color: var(--muted); margin: 14px 0 6px; }
.ls-filters, .ls-draft-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.ls-roles { display: flex; flex-wrap: wrap; gap: 4px; border: 0; padding: 0; margin: 0; }
.ls-roles legend { font: 600 11px/1 var(--f-body); text-transform: none; color: var(--muted); margin-bottom: 6px; }
.ls-roles label { position: relative; cursor: pointer; }
.ls-roles input { position: absolute; opacity: 0; }
.ls-roles span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; color: var(--text-2); transition: border-color .15s, color .15s; }
.ls-roles span img { filter: brightness(1.6); }
.ls-roles input:checked + span { border-color: var(--lb-cat); color: var(--text); background: rgba(20, 184, 166, .1); }
.ls-roles input:focus-visible + span { outline: 2px solid var(--accent); }
.ls-field { display: flex; flex-direction: column; gap: 5px; }
.ls-field > span { font: 600 11px/1 var(--f-body); text-transform: none; letter-spacing: 0; color: var(--muted); }
.ls-field select, .ls-field input, .ls-search input, .ls-paste textarea { height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); min-width: 0; }
.ls-paste textarea { height: auto; padding: 8px 12px; width: 100%; resize: vertical; }
.ls-field input:focus, .ls-search input:focus, .ls-field select:focus { outline: none; border-color: var(--accent); }
.ls-check { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-2); height: 38px; }
.ls-sample { font-size: 13px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.ls-warn { color: var(--gold); font-size: 12px; }
.ls-matchup-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 14px; border: 1px solid var(--line); border-radius: var(--ls-r); background: var(--panel); }
.ls-vs { font: 800 18px/38px var(--f-display); color: var(--accent); }
.ls-empty, .ls-none { color: var(--muted); font-size: 13px; }
.ls-empty { padding: 28px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--ls-r); }
.ls-tablewrap { border: 1px solid var(--line); border-radius: var(--ls-r); overflow: hidden; background: var(--panel); }
.ls-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ls-table th { padding: 10px 8px; text-align: right; font: 600 11px/1 var(--f-body); text-transform: none; letter-spacing: 0; color: var(--muted); border-bottom: 1px solid var(--line); cursor: pointer; white-space: nowrap; }
.ls-table th.is-sorted { color: var(--accent); }
.ls-table td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ls-table tbody tr:hover { background: var(--panel-2); }
.ls-table .t-champ { text-align: left; }
.ls-table .t-champ a { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ls-table .t-champ img:first-child { border-radius: 10px; }
.ls-pos { filter: brightness(1.6); opacity: .8; }
.ls-icons { display: inline-flex; gap: 3px; }
.ls-icons img { border-radius: 6px; }
.ls-tier { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 7px; font: 800 13px/1 var(--f-display); background: var(--panel-3); color: var(--text-2); }
.ls-tier-s { background: var(--accent); color: var(--accent-ink); }
.ls-tier-a { color: var(--mint); }
.ls-tier-d { color: var(--loss); }
.ls-foot { color: var(--muted); }
.ls-foot a { color: var(--accent); }

.ls-champ { display: flex; flex-direction: column; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.ls-champ-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; }
.ls-champ-head h2 { font: 800 20px/1 var(--f-display); letter-spacing: -.02em; }
.ls-role-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.ls-role-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; color: var(--text-2); }
.ls-role-tabs a img { filter: brightness(1.6); }
.ls-role-tabs a.is-active { border-color: var(--lb-cat); color: var(--text); }
.ls-role-tabs small { color: var(--muted); }
.ls-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; }
.ls-kpis > div { padding: 10px; border-radius: 12px; background: var(--panel-2); text-align: center; }
.ls-kpis dt { font: 600 10.5px/1 var(--f-body); text-transform: none; color: var(--muted); margin-bottom: 6px; }
.ls-kpis dd { margin: 0; font: 800 20px/1 var(--f-display); }
.ls-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ls-block { padding: 14px; border: 1px solid var(--line); border-radius: var(--ls-r); background: var(--panel); min-width: 0; }
.ls-champ .ls-block { background: var(--bg-2); }
.ls-items { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ls-items img { border-radius: 8px; border: 1px solid var(--line-2); }
.ls-items.is-path img:not(:last-of-type)::after { content: ""; }
.ls-items.is-path img + img { margin-left: 10px; position: relative; }
.ls-item { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.ls-meta { font-size: 11.5px; color: var(--muted); margin-left: 4px; }
.ls-rune-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ls-rune-row img { border-radius: 50%; background: var(--panel-3); }
.ls-rune-row .is-key { box-shadow: 0 0 0 2px var(--accent); }
.ls-shards { color: var(--text-2); }
.ls-spells { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ls-spells img { border-radius: 8px; }
.ls-mu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ls-mu a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 4px 6px; border-radius: 8px; font-size: 13px; }
.ls-mu a:hover { background: var(--panel-2); }
.ls-mu img { border-radius: 8px; }
.ls-mu small { color: var(--muted); }
.ls-block:has(h4:first-of-type) .ls-mu b { color: var(--text); }

.ls-vs-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border-radius: 16px; border: 1px solid var(--line);
    background: radial-gradient(ellipse at 50% 120%, rgba(255, 91, 58, .18), transparent 60%), var(--panel); }
.ls-vs-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ls-vs-side img { width: 120px; height: auto; border-radius: 14px; border: 1px solid var(--line-2); }
.ls-vs-side b { font: 800 20px/1 var(--f-display); letter-spacing: -.02em; }
.ls-vs-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--text-2); font-size: 12px; }
.ls-vs-wr { font: 800 34px/1 var(--f-display); color: var(--text); }
.ls-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ls-tip { padding: 8px 10px 8px 12px; border-radius: 10px; background: var(--panel-2); border-left: 3px solid var(--line-2); font-size: 13px; line-height: 1.4; }
.ls-tip-good { border-left-color: var(--mint); }
.ls-tip-bad { border-left-color: var(--loss); }
.ls-tip-info { border-left-color: var(--lb-cat); }

/* Draft */
.ls-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.ls-team { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.ls-team-ally { box-shadow: inset 3px 0 0 var(--lb-cat); }
.ls-team-enemy { box-shadow: inset -3px 0 0 var(--loss); }
.ls-slot { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 5px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; transition: border-color .15s; }
.ls-slot:hover { border-color: var(--line-2); }
.ls-slot.is-active { border-color: var(--accent); }
.ls-slot-me { border-color: var(--lb-cat); }
.ls-slot-img { width: 40px; height: 40px; border-radius: 10px; background: var(--panel-3); overflow: hidden; }
.ls-slot-img img { width: 100%; height: 100%; }
.ls-slot-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-slot:not(.is-filled) .ls-slot-name { color: var(--muted); font-weight: 400; }
.ls-slot-role { height: 28px; padding: 0 4px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); font-size: 11.5px; max-width: 86px; }
.ls-slot-x { width: 26px; height: 26px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; }
.ls-slot:not(.is-filled) .ls-slot-x { visibility: hidden; }
.ls-picker { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.ls-search input { width: 100%; height: 42px; font-size: 15px; }
.ls-target { color: var(--muted); }
.ls-target b { color: var(--accent); }
.ls-grid-champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; max-height: 330px; overflow-y: auto; padding-right: 2px; }
.ls-gchamp { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 3px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--text-2); cursor: pointer; font-size: 10.5px; min-width: 0; }
.ls-gchamp img { width: 44px; height: 44px; border-radius: 10px; }
.ls-gchamp span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-gchamp:hover { border-color: var(--accent); color: var(--text); }
.ls-paste summary { cursor: pointer; font-size: 13px; color: var(--text-2); }
.ls-paste-btns { display: flex; gap: 6px; margin-top: 6px; }
.ls-bans { padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.ls-bans-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.ls-bans .ls-slot { grid-template-columns: 1fr; justify-items: center; padding: 4px; }
.ls-bans .ls-slot-name { display: none; }
.ls-bans .ls-slot-x { position: absolute; opacity: 0; }
.ls-bans .ls-slot-img { filter: grayscale(1); width: 34px; height: 34px; }
.ls-advice { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; transition: opacity .2s; }
.ls-draft.is-loading .ls-advice { opacity: .6; }
.ls-advice > div { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.ls-picks { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ls-picks li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px; border-radius: 12px; background: var(--bg-2); transition: background .1s; }
.ls-picks li.is-rolling { background: rgba(255, 91, 58, .18); }
.ls-picks li > img { border-radius: 10px; }
.ls-pick-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.ls-why { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
.ls-why i { font-style: normal; font-size: 11px; padding: 2px 6px; border-radius: 6px; background: var(--panel-3); }
.ls-why-good { color: var(--mint); }
.ls-why-bad { color: var(--loss); }
.ls-advice ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ls-alert { padding: 8px 10px; border-radius: 10px; background: var(--bg-2); font-size: 12.5px; border-left: 3px solid var(--line-2); }
.ls-alert b { display: block; font-size: 13px; }
.ls-alert-bad { border-left-color: var(--loss); }
.ls-alert-warn { border-left-color: var(--gold); }
.ls-alert-good { border-left-color: var(--mint); }
.ls-alert-info { border-left-color: var(--lb-cat); }
.ls-advice-build p { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.ls-k { width: 92px; flex: none; font: 600 11px/1 var(--f-body); text-transform: none; color: var(--muted); }
.ls-squad-drafts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ls-squad-drafts a { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 10px; font-size: 13px; }
.ls-squad-drafts a:hover { background: var(--panel-2); }
.ls-squad-drafts time { margin-left: auto; color: var(--muted); }
.ls-token code { word-break: break-all; }
.ls-block code { font-size: 12px; background: var(--panel-2); padding: 1px 5px; border-radius: 5px; word-break: break-word; }
.ls-draft-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ls-draft-summary > div { padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.ls-draft-summary dt { font: 600 11px/1 var(--f-body); text-transform: none; color: var(--muted); margin-bottom: 8px; }
.ls-draft-summary dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.ls-draft-summary img { border-radius: 8px; }

@media (max-width: 1100px) {
    .ls-grid, .ls-advice { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ls-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ls-picker { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) {
    .lb-subnav { order: 4; }
    .ls-grid, .ls-advice, .ls-board { grid-template-columns: minmax(0, 1fr); }
    .ls-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ls-bans-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .ls-table .t-opt, .ls-table .t-opt2 { display: none; }
    .ls-table th, .ls-table td { padding: 6px 5px; }
    .ls-vs-side img { width: 84px; }
    .ls-vs-wr { font-size: 26px; }
    .ls-roles span { padding: 0 9px; }
    .ls-grid-champs { max-height: 240px; }
    .ls-matchup-form .ls-field { flex: 1 1 120px; }
}
@media (max-width: 900px) { .ls-table .t-opt2 { display: none; } }
.ls-picks li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ls-picks li > img { flex: none; }
.ls-pick-main { flex: 1 1 140px; }
.ls-picks .btn { height: 28px; padding: 0 10px; font-size: 12px; }
.ls-advice { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr); }
@media (max-width: 1100px) { .ls-advice { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ls-advice-picks { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ls-advice { grid-template-columns: minmax(0, 1fr); } }
.ls-table .c-win-wr { color: var(--mint); }
.ls-table .c-loss-wr { color: var(--loss); }

/* ---------- Clarté : en-tête, fil d'Ariane, bulles « ? », échantillon, accueil ---------- */
.lb-head { flex-direction: column; align-items: stretch; gap: 10px; flex-wrap: nowrap; }
.lb-head-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lb-head-top .lb-subnav { flex-wrap: wrap; }
.lb-head-top .lb-search { margin-left: auto; }
.lb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.lb-crumbs a { color: var(--text-2); }
.lb-crumbs a:hover { color: var(--lb-cat); }
.lb-crumbs [aria-current] { color: var(--text); }
.lb-head-title { display: flex; align-items: center; gap: 10px; }
.lb-head-title .lb-h1 { padding-left: 0; border-left: 0; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.035em; }
.lb-lead { margin: 0; max-width: 70ch; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
.lb-term { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 3px; border-radius: 50%; border: 1px solid var(--line-2);
    font: 700 10px/1 var(--f-body); color: var(--muted); cursor: help; vertical-align: middle; text-transform: none; letter-spacing: 0; outline: none; }
.lb-term:hover, .lb-term:focus { color: var(--lb-cat); border-color: var(--lb-cat); }
.lb-term::after { content: attr(data-term); position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px);
    width: max-content; max-width: 230px; padding: 8px 10px; border-radius: 10px; background: var(--panel-3); border: 1px solid var(--line-2); color: var(--text);
    font: 500 12px/1.4 var(--f-body); text-align: left; white-space: normal; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.lb-term:hover::after, .lb-term:focus::after { opacity: 1; transform: translateX(-50%); }
th .lb-term::after { left: auto; right: -8px; transform: none; }
.lb-sample { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--text-2); }
.lb-sample b { color: var(--text); }
.lb-sample-warn { color: var(--gold); font-size: 12px; }
.lb-na { color: var(--faint, var(--muted)); cursor: help; }
.ls-notice { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(245, 185, 65, .08); border-left: 3px solid var(--gold); color: var(--text-2); font-size: 13px; }
.ls-base { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.ls-base > div { padding: 8px; border-radius: 10px; background: var(--panel-2); }
.ls-base dt { font: 600 10px/1 var(--f-mono); text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ls-base dd { margin: 0; font-size: 14px; font-weight: 700; }
.ls-base small { color: var(--muted); font-weight: 400; font-size: 10.5px; }

.lb-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lb-door {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
    min-height: 220px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.lb-door::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center 20% / cover no-repeat; transition: transform .5s ease; }
.lb-door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,13,15,.96) 18%, rgba(14,13,15,.55) 60%, rgba(14,13,15,.2)); }
.lb-door:hover { transform: translateY(-3px); border-color: var(--lb-cat); }
.lb-door:hover::before { transform: scale(1.05); }
.lb-door-n { position: absolute; top: 16px; left: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(14,13,15,.7); border: 1px solid var(--line-2); font-weight: 700; }
.lb-door b { font: 800 clamp(22px, 2.6vw, 30px)/1 var(--f-display); letter-spacing: -.035em; color: #fff; }
.lb-door-txt { color: var(--text-2); font-size: 14px; line-height: 1.4; max-width: 42ch; }
.lb-door-fact { align-self: flex-start; margin-top: 4px; padding: 5px 10px; border-radius: 999px; background: rgba(20, 184, 166, .16); color: var(--lb-cat); font: 600 12px/1 var(--f-body); }
.lb-bonus {
    position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 14px;
    padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.lb-bonus::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--art) center 30% / cover no-repeat; }
.lb-bonus::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,13,15,.95) 30%, rgba(14,13,15,.6)), radial-gradient(ellipse at 0 50%, rgba(255, 91, 58, .3), transparent 60%); }
.lb-bonus:hover { border-color: var(--accent); transform: translateY(-2px); }
.lb-bonus-k { padding: 4px 8px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font: 700 11px/1 var(--f-display); }
.lb-bonus b { font: 800 26px/1 var(--f-display); letter-spacing: -.03em; }
.lb-bonus > span:last-child { color: var(--text-2); font-size: 13.5px; }
.lb-more { font-size: 13px; color: var(--accent); }
.lb-home-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.lb-home-list a { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; background: var(--bg-2); transition: background .15s; }
.lb-home-list a:hover { background: var(--panel-2); }
.lb-home-list img { border-radius: 10px; }
.lb-home-list span:not(.mono) { display: flex; flex-direction: column; min-width: 0; }
.lb-home-list b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-home-list small { color: var(--muted); font-size: 11px; }
.lb-home-list .mono { margin-left: auto; font-size: 12px; }
.lb-home-more { margin: 0; font-size: 13px; color: var(--muted); }
.lb-home-more a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .lb-home-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .lb-doors { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .lb-door { min-height: 150px; padding: 16px; }
    .lb-door-n { top: 12px; left: auto; right: 12px; }
    .lb-bonus { grid-template-columns: auto minmax(0, 1fr); }
    .lb-bonus > span:last-child { grid-column: 1 / -1; }
    .lb-head-top .lb-subnav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .lb-head-top .lb-subnav a { flex: none; }
    .lb-head-top .lb-search { margin-left: 0; }
    .lb-home-list { grid-template-columns: minmax(0, 1fr); }
    .ls-base { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lb-term::after { max-width: 200px; }
}
