/* Henok Rift Lab next: deliberately scoped to League of Legends. */
.hn-lol .hn-rift-tabs{position:sticky;top:0;z-index:12;backdrop-filter:blur(14px);background:color-mix(in srgb,var(--surface,#fff) 94%,transparent);flex-wrap:wrap}
.hn-lol .hn-rift-tabs button{transition:background-color .2s,color .2s,transform .2s}
.hn-lol .hn-rift-tabs button:focus-visible,.hn-lol .hn-champion:focus-visible{outline:3px solid #4a91ff;outline-offset:3px}
.hn-lol .hn-champion{transform:none;opacity:1;transition:transform .35s ease,opacity .35s ease,box-shadow .24s ease}
.hn-lol .hn-champion.hn-next-visible{transform:translateY(0);opacity:1}
@media(hover:hover){.hn-lol .hn-champion.hn-next-visible:hover{transform:translateY(-7px);box-shadow:0 15px 30px #0b285c24}.hn-lol .hn-next-item:hover{transform:translateY(-2px)}}
.hn-next-guide-title,.hn-live-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.hn-build-guide{padding:16px;border-radius:16px;border:1px solid #c9d8eb;background:linear-gradient(155deg,#f5f9ff,#fff);margin:12px 0;color:#213752}
.hn-build-guide h3{font-size:1rem;margin:14px 0 8px}.hn-build-guide p{margin:10px 0;font-size:.88rem}.hn-next-guide-title span{font-size:.78rem;color:#63758d}
.hn-next-item-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hn-next-item{display:flex;gap:9px;align-items:center;min-width:0;background:#fff;border:1px solid #e4ebf5;border-radius:10px;padding:7px;transition:transform .2s ease}
.hn-next-item img{width:45px;height:45px;border-radius:7px;object-fit:cover;flex:none}.hn-next-item span{min-width:0;display:grid;gap:3px}.hn-next-item strong{font-size:.82rem}.hn-next-item small{font-size:.7rem;line-height:1.3;color:#65728a}.hn-next-item.is-small img{width:38px;height:38px}
.hn-live-search{display:grid;grid-template-columns:minmax(180px,2fr) minmax(160px,1fr) auto;gap:14px;align-items:end;margin-bottom:14px}.hn-live-search label{display:grid;gap:7px}
.hn-live-search input,.hn-live-search select{width:100%;min-width:0}.hn-live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.hn-live-team{min-width:0}.hn-live-team h3{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:0 0 12px}.hn-live-team h3 small{font-size:.75rem;font-weight:400;color:#718097}
.hn-live-person{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e7edf5;padding:10px 0;min-width:0}.hn-live-person.is-self{background:#edf5ff;border-radius:12px;padding:11px}.hn-live-person:last-child{border-bottom:none}.hn-live-person img{flex:none;width:54px;height:54px;object-fit:cover;border-radius:12px}.hn-live-person>div{min-width:0;display:grid;gap:3px}.hn-live-person strong{overflow-wrap:anywhere;font-size:.9rem}.hn-live-person small{font-size:.77rem;color:#53657d}
.hn-live-guides{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:12px}.hn-live-guides article{padding:14px}.hn-live-guide-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.hn-live-guide-head img{width:48px;height:48px;border-radius:9px}.hn-live-guide-head>div{display:grid}.hn-live-guide-head small,.hn-live-advice{font-size:.74rem;color:#53657d}.hn-next-recommend-items{display:flex;flex-wrap:wrap;gap:5px}.hn-next-recommend-items img{border-radius:7px}.hn-live-advice{line-height:1.4;margin:8px 0 0}
.hn-unranked-browser{margin-top:22px;padding:14px;border:1px solid #dae4f1;border-radius:16px}.hn-unranked-browser>p{font-size:.82rem;color:#677893}.hn-unranked-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:8px}.hn-unranked-card{display:flex;align-items:center;gap:9px;border:1px solid #e4eaf4;background:#fbfcfe;border-radius:10px;padding:9px}.hn-unranked-card img{width:45px;height:45px;border-radius:8px}.hn-unranked-card>div{display:grid;gap:3px;min-width:0;flex:1}.hn-unranked-card strong{font-size:.84rem}.hn-unranked-card small,.hn-unranked-card>span{font-size:.72rem;color:#63758d}
@media(max-width:850px){.hn-live-grid{grid-template-columns:1fr}.hn-live-search{grid-template-columns:1fr 1fr}.hn-live-search button{grid-column:1/-1}.hn-lol .hn-rift-tabs{top:0}}
@media(max-width:600px){.hn-live-search{grid-template-columns:1fr}.hn-next-item-list{grid-template-columns:1fr}.hn-live-search button{grid-column:auto}.hn-live-guides{grid-template-columns:1fr}.hn-unranked-grid{grid-template-columns:1fr}.hn-lol .hn-rift-tabs{position:relative}}
@media(prefers-reduced-motion:reduce){.hn-lol .hn-champion,.hn-lol .hn-rift-tabs button,.hn-next-item{transition:none!important;transform:none!important;opacity:1!important}}

.hn-next-modal-guide{margin:16px 0;padding:14px;border:1px solid #d7e4f5;border-radius:14px;background:#f8fbff;color:#263954}.hn-next-modal-guide h3{font-size:1rem;margin:0 0 8px}.hn-next-modal-guide .hint{font-size:.75rem}.hn-next-modal-items{display:flex;flex-wrap:wrap;gap:8px}.hn-next-modal-items img{border-radius:8px}

/* OP.GG tier list – data labels never imply unsupported patch/rank filters. */
.hn-opgg-message{padding:22px;border:1px solid #d5deec;border-radius:16px;background:#f8faff;margin-top:14px}
.hn-opgg-message h3{margin:0 0 8px}.hn-opgg-message p{line-height:1.5;margin:0}
.hn-opgg-champion{display:flex;align-items:center;gap:10px;min-width:130px}.hn-opgg-champion img{width:40px;height:40px;border-radius:9px;object-fit:cover}
.hn-opgg-tier{display:inline-flex;min-width:63px;justify-content:center;padding:5px 9px;font-size:.77rem;font-weight:800;border-radius:8px;background:#e8edf5;color:#334563}
.hn-opgg-tier-1{background:#fce9c6;color:#7c4c00}.hn-opgg-tier-2{background:#dceefe;color:#174b82}.hn-opgg-tier-3{background:#dff3e8;color:#165c38}.hn-opgg-tier-4{background:#edf1f6;color:#3b4a60}.hn-opgg-tier-5{background:#f9e4e5;color:#8e343c}
.hn-opgg-items{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 18px}.hn-opgg-items>div{display:grid;justify-items:center;gap:5px;max-width:95px;text-align:center}.hn-opgg-items small{font-size:.73rem;overflow-wrap:anywhere}
.hn-opgg-table td{vertical-align:middle}.hn-opgg-table th{white-space:nowrap}.hn-opgg-table td{white-space:nowrap}
[data-lol-section="players"],[data-lol-section="tiers"]{scroll-margin-top:85px}

/* Claridad: rangos independientes por posición, no una numeración global. */
.hn-opgg-role-row th{background:#e7eefb!important;color:#234268;text-align:left;padding:12px 14px!important;border-top:2px solid #ccd8ec!important}
.hn-opgg-role-row th .hn-lane-badge{font-size:.95rem;font-weight:800}
.hn-opgg-role-row th>span:last-child{font-weight:400;font-size:.76rem;margin-left:12px}
.hn-lane-badge{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-weight:600}
.hn-lane-icon{width:24px;height:24px;flex:none;color:#3162a1}
.hn-opgg-role-rank{font-variant-numeric:tabular-nums;font-weight:800;color:#173d70}
.hn-rank-help{margin:8px 0 12px;color:#40546d;font-size:.87rem;line-height:1.45}
.hn-loading-analysis{padding:15px 0;font-weight:600;color:#3f5878}
@media(max-width:640px){.hn-lane-badge{gap:4px}.hn-lane-icon{width:19px;height:19px}.hn-opgg-role-row th>span:last-child{display:inline-block;margin-left:6px;font-size:.68rem}}
