/* V149 · Hero de Inicio y tres portadas de estadísticas por sección */
#app .v148-home-hero{
  position:relative!important;isolation:isolate!important;box-sizing:border-box!important;
  overflow:hidden!important;width:100%!important;height:328px!important;min-height:328px!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;
  padding:35px clamp(27px,3.7vw,58px) 47px!important;
  border:1px solid #355c6e!important;border-radius:0!important;
  background-color:#0b2331!important;
  background-image:
    linear-gradient(90deg,rgba(6,21,30,.98) 0%,rgba(8,25,35,.86) 28%,rgba(8,25,34,.34) 54%,rgba(8,25,34,.03) 79%),
    linear-gradient(0deg,rgba(6,20,30,.45),transparent 40%),
    url('https://ddragon.leagueoflegends.com/cdn/img/champion/splash/Ahri_0.jpg')!important;
  background-size:cover,cover,cover!important;
  background-position:center,center,67% 35%!important;background-repeat:no-repeat!important;
}
#app .v148-home-hero:after{content:"";position:absolute;inset:0;pointer-events:none;
 box-shadow:inset 0 0 0 1px rgba(129,208,193,.08),inset 0 -3px #f49c7b}
#app .v148-home-hero > *{position:relative;z-index:1}
#app .v148-home-hero h1{
 font:600 clamp(57px,6.7vw,105px)/.84 Teko,sans-serif!important;
 color:#f6fffa!important;letter-spacing:-.01em!important;
 margin:15px 0 19px!important;text-shadow:0 4px 25px #000b!important;max-width:690px}
#app .v148-home-hero > span{color:#f49c7b!important}
#app .v148-home-hero p{max-width:500px!important;font-size:13px!important;color:#c6dadc!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% 34%!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% 35%!important;
}
#app #statsTab[data-v145-view="profiles"] .stats-compact-meta,
#app #statsTab[data-v145-view="history"] .stats-compact-meta,
#app #statsTab[data-v145-view="profiles"] .stats-public-sync,
#app #statsTab[data-v145-view="history"] .stats-public-sync,
#app #statsTab[data-v145-view="profiles"] .shame-actions,
#app #statsTab[data-v145-view="history"] .shame-actions{display:none!important}
#app #statsTab .v149-stats-mode-copy:not([hidden]){
 display:block!important;max-width:490px!important;margin:0!important;
 font:600 13px/1.6 Manrope,system-ui,sans-serif!important;color:#d9e8e9!important
}
/* Modos, ambos debajo del encabezado principal */
#app #drawTab > .v148-sort-modes,
#app #onlineDrawTab > .v148-sort-modes{margin:16px 0 20px!important}
#app .v147-online-page .v147-online-shell{
 border-radius:0!important;box-sizing:border-box!important;
 background-image:linear-gradient(90deg,rgba(6,21,30,.96),rgba(8,25,34,.42),rgba(8,25,34,.04)),
 url('https://ddragon.leagueoflegends.com/cdn/img/champion/splash/Pyke_0.jpg')!important;
 background-size:cover!important;background-position:center,66% 35%!important;
 min-height:328px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;
 align-items:flex-start!important
}
#app .v147-online-page .v147-online-coming{margin:16px 0!important}
/* Todos los paneles TORNEOS con esquinas rectas (incluida la explicación) */
#app #betaTab :is(.beta-entry-card,.worlds-format-explainer,.worlds-format-emphasis,.beta-entry,.beta-hero){
 border-radius:0!important
}
/* Layout para filas de perfiles con avatar + nombre + insignia + estadísticas */
#app #statsTab .player-profile-choice{
 min-height:67px!important;
 grid-template-columns:36px minmax(0,1fr) 48px!important;
 gap:7px!important;align-items:center!important;padding:8px!important;
}
#app #statsTab .player-profile-choice-meta{
 display:flex!important;min-width:0!important;flex-direction:column!important;
 justify-content:center!important;gap:3px!important;
}
#app #statsTab .player-profile-choice-meta strong{
 display:flex!important;align-items:center!important;min-height:31px!important;
 gap:5px!important;margin:0!important;white-space:nowrap!important;
 overflow:visible!important;text-overflow:clip!important;line-height:1.1!important
}
#app #statsTab .player-profile-choice-meta small{
 display:block!important;line-height:1.25!important;margin:0!important;white-space:nowrap!important;
 overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important
}
#app #statsTab .player-profile-choice-rate{justify-self:end!important;align-self:center!important}
#app #statsTab .player-profile-choice .v146-player-pin{
 width:30px!important;height:30px!important;margin:0 0 0 4px!important;flex:0 0 30px!important
}
#app .v146-player-pin{width:clamp(29px,2.1vw,35px)!important;height:clamp(29px,2.1vw,35px)!important}
@media(max-width:800px){
 #app .v148-home-hero{min-height:405px!important;height:405px!important;padding:26px 21px 42px!important}
 #app .v148-home-hero h1{font-size:clamp(55px,10vw,85px)!important}
}
@media(max-width:560px){
 #app .v148-home-hero{min-height:465px!important;height:465px!important;padding:27px 17px 42px!important}
 #app #statsTab .player-profile-choice{grid-template-columns:34px minmax(0,1fr) 38px!important}
 #app #statsTab .player-profile-choice .v146-player-pin{width:27px!important;height:27px!important;flex-basis:27px!important}
}

/* Identidad conectada, sin tocar las políticas de autenticación */
#app .sessionbar #openPlayerAuth.v146-login-launcher{
 display:inline-flex!important;align-items:center!important;gap:7px!important;
 min-width:0!important;max-width:min(290px,100%)!important;white-space:nowrap!important
}
#app #openPlayerAuth .v149-connected-user{
 color:#edfcf7!important;font-weight:900!important;max-width:150px!important;
 overflow:hidden!important;text-overflow:ellipsis!important;display:inline-block!important
}
#app #openPlayerAuth .v149-connected-dot{
 width:7px!important;height:7px!important;flex:0 0 7px!important;
 background:#88e2bd!important;border-radius:50%!important;
 box-shadow:0 0 8px #87e1b977!important
}
#app #openPlayerAuth .v149-connected-dot + span{color:#98edce!important;font-weight:900!important}
/* RIOT ID: idénticas proporciones y estilo de jugadores sugeridos en sorteo */
#v146AuthOverlay .v147-riot-suggestions{max-height:232px!important;gap:4px!important}
#v146AuthOverlay .v147-riot-suggestions > .v149-riot-suggestion{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 gap:10px!important;justify-content:flex-start!important;text-align:left!important;
 border:1px solid #486774!important;border-radius:0!important;
 padding:8px 10px!important;min-height:55px!important;background:#143440!important;
 font:800 11px Manrope,system-ui,sans-serif!important;box-sizing:border-box!important;
}
#v146AuthOverlay .v147-riot-suggestions > .v149-riot-suggestion:hover{
 border-color:#99e1d2!important;background:#25515a!important
}
#v146AuthOverlay .v149-riot-suggestion .v5-discord-avatar{
 width:36px!important;height:36px!important;min-width:36px!important;flex:0 0 36px!important
}
#v146AuthOverlay .v149-riot-suggestion-meta{
 display:flex!important;min-width:0!important;flex:1 1 auto!important;
 flex-direction:column!important;align-items:flex-start!important;gap:4px!important
}
#v146AuthOverlay .v149-riot-suggestion-meta strong{
 color:#f6fffc!important;font:900 12px/1.15 Manrope,system-ui,sans-serif!important
}
#v146AuthOverlay .v149-riot-suggestion-meta small{
 color:#aacdd1!important;font:700 10px/1.2 Manrope,system-ui,sans-serif!important
}
#v146AuthOverlay .v149-riot-pick{
 flex:0 0 auto!important;color:#9adaca!important;font-size:9px!important;font-weight:900!important
}
/* Vitrina destacada = solo insignias, sin leyendas de acceso */
#app #statsTab .v147-featured-host .v146-featured{margin:8px 0 10px!important}
#app #statsTab .v147-featured-host .v146-feature-slot{min-height:142px!important;padding:9px!important}
#app #statsTab .v147-featured-host .v146-feature-image{
 width:100%!important;max-width:150px!important;height:122px!important;object-fit:contain!important
}
#app #statsTab .v147-featured-title small,
#app #statsTab .v147-featured-host .v147-featured-note,
#app #statsTab .v147-featured-host .v148-auth-cta{display:none!important}
/* Igual tamaño de insignia mensual y general dentro de la vitrina */
#app #statsTab .v146-collection .v146-collection-image{width:76px!important;height:76px!important}
#app #statsTab .v146-collection .v149-general-insignia{filter:drop-shadow(0 3px 6px #0008)!important}
@media(max-width:560px){
 #app .sessionbar #openPlayerAuth.v146-login-launcher{max-width:170px!important;gap:4px!important}
 #app #openPlayerAuth .v149-connected-user{max-width:80px!important}
 #app #statsTab .v147-featured-host .v146-feature-slot{min-height:120px!important}
 #app #statsTab .v147-featured-host .v146-feature-image{height:105px!important}
}

/* Portada INICIO al mismo nivel de las demás categorías, sin aire superior */
#app .v148-home-page{margin:0!important}
