/* V150 · Ajustes visuales finales para categorías, medallas y cuentas */

/* Ahri: anclar más cerca del borde superior de la ilustración para mostrar
 * la cabeza completa, desplazando visualmente al personaje hacia abajo. */
#app .v148-home-hero{
 background-position:center,center,66% 13%!important;
}

/* Perfiles e historial usan exactamente el encuadre, altura y cuadrante
 * competitivo de la cabecera de Sorteo, Torneos y Estadísticas. */
#app #statsTab[data-v145-view="profiles"] .shame-shell>header.rift-hero-v46,
#app #statsTab[data-v145-view="history"] .shame-shell>header.rift-hero-v46{
 position:relative!important;isolation:isolate!important;overflow:hidden!important;
 width:100%!important;height:328px!important;min-height:328px!important;max-height:328px!important;
 margin:0!important;box-sizing:border-box!important;
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:space-between!important;gap:20px!important;
 padding:35px clamp(27px,3.7vw,58px) 47px!important;
 border:1px solid #355c6e!important;border-radius:0!important;
 background-color:#0b2331!important;
 background-repeat:no-repeat!important;
 background-size:cover,cover,cover!important;
 background-position:center,center,var(--rift-splash-position)!important;
 box-shadow:none!important;
}
#app #statsTab[data-v145-view="profiles"] .shame-shell>header.rift-hero-v46{
 --rift-splash:url('https://ddragon.leagueoflegends.com/cdn/img/champion/splash/Jinx_0.jpg')!important;
 --rift-splash-position:67% 22%!important;
}
#app #statsTab[data-v145-view="history"] .shame-shell>header.rift-hero-v46{
 --rift-splash:url('https://ddragon.leagueoflegends.com/cdn/img/champion/splash/Yasuo_0.jpg')!important;
 --rift-splash-position:67% 24%!important;
}
#app #statsTab[data-v145-view="profiles"] .shame-shell>header.rift-hero-v46 h1,
#app #statsTab[data-v145-view="history"] .shame-shell>header.rift-hero-v46 h1{
 font:600 clamp(57px,6.7vw,105px)/.84 Teko,sans-serif!important;
 color:#f6fffa!important;margin:14px 0 18px!important;letter-spacing:-.01em!important;
 text-shadow:0 4px 25px rgba(0,0,0,.72)!important;
}

/* Logros comunes más discretos: igual tamaño de casillero, emblema menor. */
#app #statsTab .v146-collection .v149-general-insignia,
#app #statsTab .v146-collection .v148-general-image{
 width:64px!important;height:64px!important;max-width:64px!important;
 object-fit:contain!important;filter:drop-shadow(0 2px 3px #0006)!important;
}
#app #statsTab .v146-collection-badge.v148-general-badge{
 justify-content:center!important;
}
#app #statsTab .v146-collection .v146-collection-image:not(.v149-general-insignia):not(.v148-general-image){
 width:76px!important;height:76px!important;
}

/* Modal solo por nombre de usuario y contraseña, sin selector de proveedor */
#v146AuthOverlay #v150UsernameHelp{
 display:block!important;color:#aacac9!important;font:650 10px/1.5 Manrope,system-ui,sans-serif!important;
 margin:0 0 9px!important;
}
#v146AuthOverlay #v146AuthIdentifier{
 width:100%!important;box-sizing:border-box!important;
 border-radius:0!important;min-height:43px!important;
}
#v146AuthOverlay .v146-auth-or,
#v146AuthOverlay #v146AuthDiscord,
#v146AuthOverlay #v146AuthIdentifierType{display:none!important}

/* Ajustar portadas en resoluciones reducidas igual que Torneos */
@media(max-width:1180px){
 #app #statsTab[data-v145-view="profiles"] .shame-shell>header.rift-hero-v46,
 #app #statsTab[data-v145-view="history"] .shame-shell>header.rift-hero-v46{
  height:370px!important;min-height:370px!important;max-height:370px!important;
 }
}
@media(max-width:800px){
 #app #statsTab[data-v145-view="profiles"] .shame-shell>header.rift-hero-v46,
 #app #statsTab[data-v145-view="history"] .shame-shell>header.rift-hero-v46{
  height:405px!important;min-height:405px!important;max-height:405px!important;
  padding:26px 21px 42px!important;
 }
}
@media(max-width:560px){
 #app #statsTab[data-v145-view="profiles"] .shame-shell>header.rift-hero-v46,
 #app #statsTab[data-v145-view="history"] .shame-shell>header.rift-hero-v46{
  height:465px!important;min-height:465px!important;max-height:465px!important;
  padding:27px 17px 42px!important;
 }
 #app #statsTab .v146-collection .v149-general-insignia{
  width:59px!important;height:59px!important;max-width:59px!important;
 }
}

/* V151 — misma fotografía, escala y tratamiento de Pyke para Tradicional y Online. */
#app #drawTab>header.rift-hero-v46,
#app #onlineDrawTab>.v147-online-shell{
 background-color:#0b2331!important;
 background-image:linear-gradient(90deg,#071925 0%,rgba(8,25,35,.96) 31%,rgba(8,25,34,.80) 56%,rgba(8,25,34,.12) 100%),linear-gradient(0deg,rgba(6,20,30,.84),transparent 43%),url('https://ddragon.leagueoflegends.com/cdn/img/champion/splash/Pyke_0.jpg')!important;
 background-size:cover,cover,cover!important;
 background-position:center,center,center 37%!important;
 background-repeat:no-repeat!important;
 border-radius:0!important;
}
#app #onlineDrawTab>.v147-online-shell{
 min-height:328px!important;box-sizing:border-box!important;
 justify-content:center!important;align-items:flex-start!important;text-align:left!important;
 padding:54px clamp(22px,3.3vw,54px) 53px!important;
}
/* Perfiles/Historial: sin título secundario. Reutilizar filtros/contador existentes
   dentro de la portada principal para no duplicar información ni controles. */
#app #statsTab[data-v145-view="profiles"] #statsProfilesSection>.player-profiles-heading,
#app #statsTab[data-v145-view="history"] #statsHistorySection>.match-history-heading{
 display:none!important;
}
#app #statsTab .v151-stats-hero-controls[hidden]{display:none!important}
#app #statsTab .v151-stats-hero-controls{
 position:relative!important;z-index:5!important;display:flex!important;align-items:center!important;
 justify-content:center!important;flex:0 0 auto!important;margin-left:auto!important;max-width:100%!important;
}
#app #statsTab[data-v145-view="profiles"] .v151-stats-hero-controls .player-profiles-period-filter{
 display:flex!important;align-items:center!important;gap:0!important;min-width:270px!important;
 border:1px solid #527b84!important;background:rgba(11,29,41,.88)!important;
}
#app #statsTab[data-v145-view="profiles"] .v151-stats-hero-controls button[data-profile-period]{
 flex:1 1 50%!important;min-height:42px!important;white-space:nowrap!important;
}
#app #statsTab[data-v145-view="history"] .v151-stats-hero-controls #matchHistoryCount{
 display:block!important;padding:12px 16px!important;border:1px solid #527b84!important;
 background:rgba(10,30,42,.85)!important;font-weight:900!important;
 white-space:nowrap!important;margin:0!important;position:static!important;
}
#app #statsTab[data-v145-view="profiles"] #statsProfilesSection,
#app #statsTab[data-v145-view="history"] #statsHistorySection{padding-top:18px!important}
/* Emblemas generales nuevamente menores; medallas mensuales sin cambios. */
#app #statsTab .v146-collection .v149-general-insignia,
#app #statsTab .v146-collection .v148-general-image{
 width:54px!important;height:54px!important;max-width:54px!important;
}
@media(max-width:950px){
 #app #statsTab[data-v145-view="profiles"] .shame-shell>header.rift-hero-v46,
 #app #statsTab[data-v145-view="history"] .shame-shell>header.rift-hero-v46{
  flex-wrap:wrap!important;align-content:center!important
 }
 #app #statsTab .v151-stats-hero-controls{margin-left:0!important}
}
@media(max-width:560px){
 #app #statsTab[data-v145-view="profiles"] .v151-stats-hero-controls .player-profiles-period-filter{min-width:235px!important}
 #app #statsTab .v146-collection .v149-general-insignia,
 #app #statsTab .v146-collection .v148-general-image{
  width:51px!important;height:51px!important;max-width:51px!important;
 }
}

/* V151 · Solicitudes beta y vinculaciones en un solo panel. */
#app #betaPendingPlayersPanel .beta-pending-admin-auth #betaPendingLoad{
 min-height:43px!important;padding:10px 20px!important;white-space:nowrap!important;
}
#app #betaPendingPlayersPanel .v151-link-claim{border-left:3px solid #9be1d2!important}
#app #betaPendingPlayersPanel .v151-link-claim .v151-pending-riot{
 font-weight:900!important;color:#ffe0a4!important;letter-spacing:.02em!important;
}
#app #betaPendingPlayersPanel .v151-link-claim .beta-pending-actions select{
 box-sizing:border-box!important;min-height:42px!important;max-width:100%!important;
 border:1px solid #617d85!important;background:#0c2736!important;
 padding:9px!important;color:#e6fbf2!important;font-weight:800!important;
}
