/* GTA VI Tracker — classements communautaires (thème noir / violet / rose) */
.lb-hero{position:relative;overflow:hidden;padding:46px 0 26px;background:radial-gradient(90% 120% at 85% 0%,#5b1aa855 0%,transparent 60%),radial-gradient(70% 90% at 0% 100%,#ff2d9533 0%,transparent 60%)}
.lb-hero.sm{padding:30px 0 18px}
.lb-kicker{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#ff7ac2}
.lb-kicker svg{width:16px;height:16px}
.lb-hero h1{margin:6px 0 8px;font-size:clamp(32px,5vw,56px);line-height:1;letter-spacing:-.02em;background:linear-gradient(90deg,#fff 0%,#ffb3d9 45%,#c4a1ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.lb-intro{max-width:760px;color:#cdb9e6;margin:0}
.lb-gstats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:20px}
.lb-gstats div{padding:12px 14px;border-radius:16px;background:linear-gradient(160deg,#1d0f30cc,#120a1fcc);border:1px solid #ffffff14}
.lb-gstats b{display:block;font-size:24px;font-weight:900;line-height:1.1}.lb-gstats span{font-size:12px;color:#cdb9e6;font-weight:700}
.lb-mebar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding:10px 14px;border-radius:16px;background:#ffffff08;border:1px solid #ffffff14;color:#e9d5ff;font-size:14px}
.lb-mebar form{margin:0}.lb-mepos{display:inline-flex;align-items:center;gap:6px}.lb-mepos svg{width:16px;height:16px}.lb-mepos b{font-size:18px;color:#ff7ac2}
.lb-mepos.ok{color:#9ff5dd}.lb-note{margin:8px 0 0;font-size:13px;color:#ffe08a;display:flex;gap:6px;align-items:center}.lb-note svg{width:14px;height:14px}
.lb-tabs{display:flex;gap:6px;margin:18px 0 14px;padding:6px;border-radius:16px;overflow-x:auto;scrollbar-width:none;background:#0f0819ee;border:1px solid #ffffff14;position:sticky;top:68px;z-index:5;backdrop-filter:blur(10px)}
.lb-tabs::-webkit-scrollbar{display:none}
.lb-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;color:#cdb9e6;font-weight:800;font-size:14px;white-space:nowrap;text-decoration:none}
.lb-tab svg{width:16px;height:16px}.lb-tab:hover{color:#fff;background:#ffffff0d}
.lb-tab b{font-size:11px;padding:1px 7px;border-radius:999px;background:#ffffff14}.lb-tab em{font-style:normal;font-size:10.5px;padding:1px 7px;border-radius:999px;background:#ffc53d26;color:#ffe08a}
.lb-tab.on{color:#fff;background:linear-gradient(135deg,#ff2d95,#8f2bff);box-shadow:0 6px 18px #ff2d9544}.lb-tab.on b{background:#0b061455}
.lb-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.lb-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:22px}.lb-head h2 svg{width:20px;height:20px}.lb-head p{margin:4px 0 0;color:#cdb9e6;max-width:720px}
.lb-src{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:800;background:#ffc53d1f;border:1px solid #ffc53d55;color:#ffe08a}
.lb-src.ok{background:#20e3b21f;border-color:#20e3b266;color:#9ff5dd}.lb-src svg{width:14px;height:14px}
.lb-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:16px}
.lb-search{flex:1 1 220px;display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:12px;background:#ffffff0a;border:1px solid #ffffff1f}
.lb-search svg{width:16px;height:16px;color:#cdb9e6}.lb-search input{flex:1;min-width:0;height:42px;border:0;background:none;color:#fff;font:inherit}
.lb-search:focus-within{border-color:#ff2d95}
.lb-seg{display:flex;padding:4px;border-radius:12px;background:#ffffff0a;border:1px solid #ffffff1f}
.lb-seg a{padding:7px 12px;border-radius:9px;color:#cdb9e6;font-weight:800;font-size:13px;text-decoration:none;white-space:nowrap}.lb-seg a.on{background:#ff2d9533;color:#fff}
.lb-sel{display:flex;flex-direction:column;gap:3px;font-size:11.5px;color:#a996c0;font-weight:800}
.lb-sel select{height:42px;border-radius:12px;background:#140a22;border:1px solid #ffffff1f;color:#fff;padding:0 10px;font:inherit}
.lb-reset{font-size:13px;color:#ff7ac2;font-weight:800;align-self:center}
.lb-podium{list-style:none;margin:0 0 16px;padding:0;display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:end;gap:12px}
.lb-pod a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 12px 16px;border-radius:22px;text-align:center;color:#fff;text-decoration:none;position:relative;
  background:linear-gradient(170deg,#1f0f35,#110920);border:1px solid #ffffff1a;box-shadow:0 14px 36px #0009;transition:transform .2s}
.lb-pod a:hover{transform:translateY(-3px)}
.lb-pod.p1{order:2}.lb-pod.p2{order:1}.lb-pod.p3{order:3}
.lb-pod.p1 a{padding-top:26px;border-color:#ffc53d88;box-shadow:0 0 0 1px #ffc53d44,0 18px 44px #ffc53d22,0 14px 36px #0009;background:linear-gradient(170deg,#3a2210,#1a0d22 55%)}
.lb-pod.p2 a{border-color:#c0c7d166}.lb-pod.p3 a{border-color:#cd7f3266}
.lb-medal{position:absolute;top:-14px;left:50%;transform:translateX(-50%);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:900;color:#1a0b00;
  background:linear-gradient(135deg,#ffe08a,#ffb01f);box-shadow:0 4px 14px #0009}
.lb-pod.p2 .lb-medal{background:linear-gradient(135deg,#f1f4f8,#a9b2bf)}.lb-pod.p3 .lb-medal{background:linear-gradient(135deg,#f0b27a,#b8692c)}
.lb-pod .avatar{width:72px;height:72px;border-radius:50%;box-shadow:0 0 0 3px #ffffff22}.lb-pod.p1 .avatar{width:86px;height:86px;box-shadow:0 0 0 3px #ffc53d,0 0 24px #ffc53d66}
.lb-pname{font-size:15px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lb-pval{font-size:22px;font-weight:900;color:#ffb3d9}.lb-pval small{font-size:12px;color:#cdb9e6}.lb-pchips{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}
.lb-pod.me a{outline:2px solid #ff2d95}
.lb-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.lb-row{display:grid;grid-template-columns:52px minmax(0,1.4fr) auto minmax(0,.8fr) minmax(0,1.6fr) 36px;align-items:center;gap:12px;padding:10px 14px;border-radius:16px;
  background:linear-gradient(165deg,#1a0d2b,#100819);border:1px solid #ffffff12}
.lb-row:hover{border-color:#ff2d9555}.lb-row.me{border-color:#ff2d95;box-shadow:0 0 0 1px #ff2d95,0 8px 22px #ff2d9522}
.lb-rank{font-size:20px;font-weight:900;color:#cdb9e6;text-align:center}.lb-rank i{font-style:normal;font-size:13px;color:#ffe08a;margin-right:2px}
.lb-rank.r1{color:#ffc53d}.lb-rank.r2{color:#d4dae3}.lb-rank.r3{color:#e09a5a}
.lb-who{display:flex;align-items:center;gap:10px;min-width:0;color:#fff;text-decoration:none}.lb-who .avatar{width:40px;height:40px;flex:none;border-radius:50%}
.lb-who span{display:flex;flex-direction:column;min-width:0}.lb-who b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lb-who em{font-style:normal;font-size:12px;color:#a996c0}
.lb-who:hover b{color:#ff7ac2}
.lb-chips{display:flex;gap:4px;flex-wrap:wrap}
.lb-chip{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#ffffff14;color:#e9d5ff}
.lb-chip svg{width:11px;height:11px}.lb-chip.xbox{background:#107c10;color:#fff}.lb-chip.psn{background:#0070d1;color:#fff}
.lb-val{display:flex;flex-direction:column;align-items:flex-end;text-align:right}.lb-val b{font-size:20px;font-weight:900;color:#fff}.lb-val b small{font-size:12px;color:#cdb9e6}
.lb-val>small{font-size:11px;color:#a996c0}
.lb-sec{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px;color:#d8c8ee}.lb-sec .dim{color:#a996c0}
.lb-bdg{display:inline-flex;align-items:center;gap:4px;color:#ffe08a;font-weight:700}.lb-bdg svg{width:12px;height:12px}
.lb-cmp{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:#cdb9e6;border:1px solid #ffffff1a}.lb-cmp:hover{color:#fff;background:#ff2d9533}.lb-cmp svg{width:16px;height:16px}
.lb-pages{display:flex;justify-content:center;align-items:center;gap:16px;margin:16px 0;font-weight:800}.lb-pages a{color:#ff7ac2}
.lb-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:34px 16px;border-radius:20px;border:1px dashed #ffffff26;background:#ffffff05;color:#cdb9e6}
.lb-empty>svg{width:34px;height:34px;color:#ff7ac2}.lb-empty b{color:#fff;font-size:17px}.lb-empty p{margin:0;max-width:520px}.lb-empty form{margin:0}
.lb-prep{display:flex;gap:16px;padding:20px;border-radius:20px;background:linear-gradient(165deg,#1a0d2b,#100819);border:1px solid #ffc53d44}
.lb-prep-ic svg{width:36px;height:36px;color:#ffc53d}.lb-prep h3{margin:0 0 6px}.lb-prep p{margin:0 0 8px;color:#d8c8ee}.lb-prep ul{margin:0 0 8px;padding-left:18px;color:#d8c8ee}
.lb-rules{display:flex;gap:6px;align-items:flex-start;margin:18px 0 8px;font-size:12.5px;color:#a996c0}.lb-rules svg{width:14px;height:14px;flex:none;margin-top:2px}
.lb-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}
.lb-card{padding:16px;border-radius:18px;background:linear-gradient(165deg,#1a0d2b,#100819);border:1px solid #ffffff14}
.lb-card h3{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:15px}.lb-card h3 svg{width:16px;height:16px}
.lb-card-v{margin:0;font-size:30px;font-weight:900}.lb-card-v small{font-size:14px;color:#cdb9e6;margin-left:4px}.lb-card-v.dim{color:#7d6a96}
.lb-mine{margin:10px 0 0;display:flex;flex-direction:column;gap:4px;font-size:12.5px}.lb-mine div{display:flex;justify-content:space-between;gap:8px}.lb-mine dt{color:#a996c0}.lb-mine dd{margin:0;font-weight:800;text-align:right}
.lb-panel{margin:16px 0;padding:18px;border-radius:20px;background:linear-gradient(165deg,#1a0d2b,#100819);border:1px solid #ffffff14}
.lb-panel h2{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:18px}.lb-panel h2 svg{width:18px;height:18px}
.lb-hist{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-wrap:wrap;gap:6px}.lb-hist li{display:flex;flex-direction:column;padding:6px 10px;border-radius:10px;background:#ffffff08;font-size:12px}.lb-hist b{font-size:15px}
.lb-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}.lb-badge{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:14px;background:linear-gradient(135deg,#ffc53d1a,#ff2d951a);border:1px solid #ffc53d44;font-size:12.5px}
.lb-badge b{display:flex;align-items:center;gap:6px;font-size:14px}.lb-badge b svg{width:14px;height:14px;color:#ffc53d}.lb-badge time{color:#a996c0}
.lb-howto{margin:0;padding-left:18px;color:#d8c8ee;font-size:13.5px}
.lb-vs{display:flex;align-items:center;justify-content:center;gap:26px;margin-top:10px}.lb-vs>div,.lb-vs a{display:flex;flex-direction:column;align-items:center;gap:4px;color:#fff;text-decoration:none}
.lb-vs em{font-style:normal;font-size:28px;font-weight:900;color:#ff2d95}.lb-vs span{font-size:12px;color:#a996c0}.lb-vs .avatar{width:72px;height:72px;border-radius:50%}
.lb-cmp-t td.win{color:#9ff5dd;font-weight:900}.lb-cmp-t tr.grp th{background:#ffffff08;text-align:left}.lb-cmp-t tr.grp svg{width:14px;height:14px}
@media (max-width:1100px){.lb-gstats{grid-template-columns:repeat(3,minmax(0,1fr))}.lb-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lb-row{grid-template-columns:44px minmax(0,1fr) auto 36px;grid-template-areas:"r w v c" "r s s s"}
  .lb-rank{grid-area:r}.lb-who{grid-area:w}.lb-val{grid-area:v}.lb-cmp,.lb-row>span:last-child{grid-area:c}.lb-sec{grid-area:s}.lb-chips{display:none}}
@media (max-width:640px){.lb-hero{padding:28px 0 18px}.lb-gstats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lb-gstats b{font-size:20px}
  .lb-tabs{top:62px;margin-left:-4px;margin-right:-4px}.lb-tab span{display:none}.lb-tab.on span{display:inline}
  .lb-podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.lb-pod a{padding:16px 6px 10px;border-radius:16px}.lb-pod .avatar{width:48px;height:48px}.lb-pod.p1 .avatar{width:56px;height:56px}
  .lb-pval{font-size:16px}.lb-pname{font-size:12.5px}.lb-pchips{display:none}.lb-medal{width:26px;height:26px;top:-11px;font-size:13px}
  .lb-row{grid-template-columns:34px minmax(0,1fr) auto;grid-template-areas:"r w v" "r s s";padding:10px;gap:6px 10px}.lb-cmp,.lb-row>span:last-child{display:none}
  .lb-rank{font-size:16px}.lb-who .avatar{width:34px;height:34px}.lb-val b{font-size:16px}.lb-sec{font-size:11.5px;gap:2px 8px}
  .lb-tools{gap:8px}.lb-sel{flex:1 1 45%}.lb-sel select{width:100%}.lb-seg{width:100%}.lb-seg a{flex:1;text-align:center}
  .lb-cards{grid-template-columns:1fr}.lb-prep{flex-direction:column}.lb-vs{gap:14px}}
/* podium à 1 ou 2 joueurs : centré, sans colonne vide */
.lb-podium:has(.lb-pod:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,260px));justify-content:center}
.lb-podium:has(.lb-pod:only-child){grid-template-columns:minmax(0,300px);justify-content:center}
@media (max-width:640px){.lb-intro{font-size:14px}
  .lb-gstats{display:flex;overflow-x:auto;scrollbar-width:none;gap:8px;margin-right:-16px;padding-right:16px}.lb-gstats::-webkit-scrollbar{display:none}
  .lb-gstats div{flex:0 0 auto;min-width:118px;padding:9px 12px}.lb-gstats b{font-size:18px}.lb-gstats span{font-size:11px}
  .lb-mebar{font-size:13px;padding:8px 12px}}
