/* ==== 261011-d4t · escala tipográfica (generado; ver .planning/quick/261011-d4t-tipografia/normalize.mjs) ==== */
body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select{font:inherit}
.onboarding-brand{gap:12px;padding:0 20px}
.onboarding-brand .mark,.league-monogram{font-weight:800;font-size:11px;letter-spacing:.04em}
.onboarding-brand>span{font-weight:800;font-size:12px;letter-spacing:.08em}
.onboarding-brand small{margin-left:auto;font-size:11px;letter-spacing:.08em}
.back{font-size:22px;padding:4px}
.onboarding-main{padding:44px 16px 80px;margin:0 auto}
.step-count{font:700 11px/1 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;letter-spacing:.08em;margin-bottom:16px}
.onboarding-main h1,.page-title h1,.home-hero h1,.league-hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.045em;margin:0}
.onboarding-main h1{font-size:clamp(46px,12vw,78px);line-height:.93}
.lead{font-size:15px;line-height:1.55;margin:20px 0 32px}
.competition-grid{gap:8px}
.competition-card{padding:16px;gap:12px}
.comp-badge{font-weight:800;font-size:12px}
.competition-card strong{font-size:18px}
.competition-card span{font-size:11px;margin-top:4px}
.competition-card .arrow{font-size:18px}
.source-status{gap:8px;font-size:11px;margin-top:16px}
.segmented{padding:4px;margin-bottom:16px}
.segmented button{padding:12px;font-weight:800;font-size:11px}
.setup-form{gap:12px}
.setup-form label{gap:8px;font-size:11px;font-weight:800;letter-spacing:.04em}
.setup-form input,.setup-form select{padding:0 12px;letter-spacing:0;font-size:15px}
.form-row{gap:8px}
.form-note{margin:0;font-size:11px;line-height:1.5}
.primary-action,.secondary-action,.danger-action{padding:0 16px;font-weight:800}
.primary-action{margin-top:8px}
.secondary-action{margin-top:8px}
.danger-action{margin-top:8px}
.app-shell{padding-bottom:84px}
.topbar{padding:0 12px}
.league-switch{gap:8px;padding:0}
.league-switch b{font-size:11px}
.league-switch small{font-size:8px;margin-top:3px}
.league-switch i{font-style:normal}
.wallet small{font-size:7px;letter-spacing:.08em}
.wallet strong{font-size:13px;margin-top:2px}
.app-main{margin:0 auto}
.screen{padding:24px 12px 32px}
.eyebrow-row{font-size:11px;letter-spacing:.08em;font-weight:800;margin-bottom:8px}
.data-pill{padding:4px 8px;letter-spacing:.08em}
.home-hero{padding:24px 20px}
.hero-kicker{font-size:11px;font-weight:800;letter-spacing:.08em}
.home-hero h1{font-size:52px;line-height:.92;margin-top:16px}
.home-hero p{font-size:12px;line-height:1.5}
.progress-track{margin-top:20px}
.hero-metrics{gap:1px;margin-top:16px}
.hero-metrics>div{padding:12px}
.hero-metrics strong{font-size:18px}
.hero-metrics span{font-size:8px}
.hero-action{margin-top:16px;padding:12px 16px;font-weight:800;font-size:11px}
.hero-action span{margin-left:16px}
.section-head{margin:28px 0 12px}
.section-head small,.page-title small,.league-hero small{font-size:8px;font-weight:800;letter-spacing:.08em}
.section-head h2{margin:4px 0 0;font-family:Georgia,serif;font-weight:400;font-size:26px}
.section-head button{font-size:11px}
.section-head>span{font-size:11px}
.mini-lineup{gap:7px}
.mini-slot{padding:8px 8px;gap:8px}
.mini-slot strong{font-size:11px}
.mini-slot>div>span{font-size:8px;margin-top:2px}
.mini-slot i{font-style:normal}
.schedule-head{margin-top:32px}
.match-row{gap:12px}
.match-date{font-size:11px}
.match-date small{font-size:8px;margin-top:4px}
.match-teams{gap:8px;font-size:11px}
.match-teams span{font-size:8px}
.page-title{padding:12px 0 20px}
.page-title h1{font-size:48px;line-height:1;margin-top:6px}
.page-title p{font-size:11px;line-height:1.5}
.field-slot{padding:8px}
.field-role{gap:4px;font-size:7px}
.field-slot strong{font-size:11px;margin-top:4px}
.field-slot small{font-size:7px;margin-top:3px}
.slot-plus{font-size:18px}
.squad-summary div{padding:12px}
.squad-summary span{font-size:7px;letter-spacing:.08em}
.squad-summary strong{font-size:13px;margin-top:4px}
.club-list{gap:8px}
.club-player{padding:8px;gap:8px}
.player-photo,.photo-fallback{font-weight:800}
.club-copy .role-line{gap:4px;font-size:7px}
.club-copy strong{font-family:Georgia,serif;font-size:18px;font-weight:400;margin:3px 0}
.club-copy small{font-size:8px}
.club-more{font-weight:800}
.market-toolbar{gap:8px}
.search{gap:8px;padding:0 12px}
.search span{font-size:18px}
.search input{font-size:11px}
.budget-box small{font-size:7px}
.budget-box strong{font-size:12px;margin-top:2px}
.role-filters{gap:4px;padding:8px 0 4px}
.role-filters button{gap:4px;padding:0 8px;font-size:8px}
.market-count{font-size:8px;margin:8px 0}
.market-grid{gap:8px}
.market-photo,.photo-fallback.market-photo{font-size:28px}
.market-role{padding:4px 6px;gap:4px;font-size:7px}
.team-chip{padding:4px 6px;font-size:7px;font-weight:800}
.market-body{gap:8px;padding:8px}
.market-body small{font-size:7px}
.market-body h3{font-family:Georgia,serif;font-weight:400;font-size:18px;margin:2px 0 0;line-height:1}
.market-price strong{font-size:11px}
.market-price span{font-size:7px}
.buy-button{font-weight:800;font-size:11px;padding:0 8px}
.league-hero{padding:24px 16px}
.league-hero h1{font-size:44px;line-height:.95;margin:8px 0 20px}
.invite-code{padding-top:12px;gap:8px}
.invite-code span{font-size:7px}
.invite-code strong{font-family:ui-monospace,Menlo,monospace;font-size:12px}
.invite-code button{font-size:11px}
.league-stats div{padding:12px}
.league-stats strong{font-size:18px}
.league-stats span{font-size:7px}
.standing{padding:0 12px}
.standing .rank{font-family:Georgia,serif;font-size:22px}
.standing strong{font-size:11px}
.standing small{font-size:8px;margin-top:3px}
.standing>b{font-size:11px}
.rules-list>div{gap:16px;padding:12px 2px;font-size:11px}
.dev-note{margin-top:20px;padding:12px 12px}
.dev-note strong{font-size:11px}
.dev-note p{font-size:11px;line-height:1.5;margin:4px 0 0}
.empty-panel{padding:20px}
.empty-panel.big{padding:42px 20px}
.empty-panel>span{font-size:22px;margin-bottom:8px}
.empty-panel strong{font-size:11px}
.empty-panel p{font-size:11px;line-height:1.5;margin:6px auto 12px}
.empty-panel button{padding:8px 12px;font-weight:800;font-size:11px}
.bottom-nav{padding-bottom:env(safe-area-inset-bottom)}
.bottom-nav button{gap:4px;font-size:8px}
.nav-ico{font-size:20px}
.sheet{padding:12px 14px calc(14px + env(safe-area-inset-bottom))}
.sheet-handle{margin:0 auto 20px}
.sheet>small{font-size:8px;letter-spacing:.08em}
.sheet>h2{font-family:Georgia,serif;font-weight:400;font-size:30px;margin:4px 0 16px}
.sheet-info>div{padding:12px 0;font-size:11px}
.sheet-close{padding:16px 0 4px;font-size:11px}
.picker-title{gap:8px;margin-bottom:12px}
.picker-title small{font-size:7px}
.picker-title h2{font-family:Georgia,serif;font-weight:400;margin:2px 0 0;font-size:28px}
.picker-list{gap:6px}
.picker-list button{gap:8px;padding:8px}
.picker-list strong{font-size:11px}
.picker-list small{font-size:8px;margin-top:3px}
.player-sheet-head{gap:12px;margin-bottom:16px}
.player-sheet-head>div>span{gap:4px;font-size:8px}
.player-sheet-head h2{font-family:Georgia,serif;font-weight:400;font-size:30px;margin:3px 0}
.player-sheet-head strong{font-size:11px}
.toast{padding:12px 12px;font-size:11px;font-weight:800}
@media (min-width:760px) {
.onboarding-brand{padding:0 32px}
.onboarding-main{padding:68px 32px}
.topbar{padding:0 28px}
.screen{padding:32px 28px 60px}
.home-hero{padding:40px}
.home-hero h1{font-size:72px}
.rift-map{margin:0 auto}
.market-grid{gap:8px}
.bottom-nav{padding-bottom:0}
.sheet{margin-bottom:0}
.league-hero{padding:32px}
.league-hero h1{font-size:62px}
}
.player-profile-hit{padding:0}
.market-body em{margin-top:6px;font-size:7px;font-style:normal;letter-spacing:0}
.player-profile-sheet{padding-left:16px;padding-right:16px}
.profile-loading{padding:2px 0 28px}
.profile-loading .profile-hero-photo{margin:0 auto 12px}
.profile-loading small{font-size:8px;letter-spacing:.08em}
.profile-loading h2{font-family:Georgia,serif;font-weight:400;font-size:38px;margin:4px 0 8px}
.profile-loading p{font-size:11px;margin:0}
.profile-hero{gap:16px;padding-bottom:16px}
.profile-hero-photo,.photo-fallback.profile-hero-photo{font-size:28px}
.profile-hero-copy{padding-bottom:2px}
.profile-hero-tags{gap:6px}
.profile-hero-copy .profile-tag{gap:6px;font-size:8px;letter-spacing:.08em}
.profile-hero-copy h2{font-family:Georgia,serif;font-weight:400;font-size:39px;line-height:.88;letter-spacing:-.04em;margin:8px 0 8px}
.profile-hero-copy>strong{font-size:11px;font-weight:700;margin-bottom:4px}
.profile-hero-copy>small{font-size:8px;line-height:1.4}
.profile-bio{font-size:11px;line-height:1.58;margin:12px 0;padding:0 2px}
.profile-source{gap:12px;padding:12px 0}
.profile-source b{font-size:8px;letter-spacing:.08em}
.profile-source span{font-size:8px}
.profile-stats{margin-top:12px}
.profile-stats>div{padding:12px 8px}
.profile-stats small{font-size:7px;letter-spacing:.08em}
.profile-stats strong{font-family:Georgia,serif;font-weight:400;font-size:22px;margin-top:4px}
.profile-champs{gap:12px;padding:16px 0}
.profile-champs small{font-size:7px;letter-spacing:.08em}
.profile-champs strong{font-size:11px;margin-top:4px}
.champion-icons{gap:4px}
.no-data{font-size:8px}
.profile-no-stats{padding:16px 0}
.profile-no-stats strong{font-size:11px}
.profile-no-stats p{font-size:11px;line-height:1.55;margin:6px 0 0}
.profile-market-value{padding:16px 0 8px}
.profile-market-value span{font-size:8px;letter-spacing:.08em}
.profile-market-value strong{font-family:Georgia,serif;font-size:26px;font-weight:400}
@media (min-width:760px) {
.profile-hero-copy h2{font-size:52px}
.profile-stats strong{font-size:28px}
}
.roster-warning{gap:8px;padding:8px 12px;margin:0 0 12px;font-size:11px}
.roster-warning button{padding:8px 8px;font-weight:800;font-size:8px}
.rule-preview{gap:16px;padding:12px 0;font-size:11px}
.lineup-rulebar span{padding:10px 8px;font-size:8px}
.lineup-rulebar b{font-size:7px;letter-spacing:.08em;margin-bottom:3px}
.market-daily{gap:12px;padding:12px 12px;margin-bottom:8px}
.market-daily small{font-size:7px;letter-spacing:.08em}
.market-daily strong{font-size:11px;margin-top:3px}
.market-daily>span{font-size:8px}
.price-move{margin-top:4px;font-size:7px;font-weight:800}
.profile-clause{gap:3px 8px;padding:12px 0 16px}
.profile-clause>span{font-size:8px;letter-spacing:.08em}
.profile-clause>strong{font-family:Georgia,serif;font-size:26px;font-weight:400}
.profile-clause>button{padding:8px 12px;font-size:8px;font-weight:800}
.clause-big{padding:16px 0}
.clause-big span{font-size:7px;letter-spacing:.08em}
.clause-big strong{font-family:Georgia,serif;font-size:40px;font-weight:400;margin-top:4px}
.clause-big small{font-size:8px;margin-top:4px}
.clause-copy{font-size:11px;line-height:1.55;margin:12px 0}
.clause-actions{gap:6px}
.clause-actions button{padding:12px 6px;font-size:11px;font-weight:800}
.league-options{gap:6px;margin:0 0 12px}
.league-option{gap:8px;padding:8px}
.league-option strong{font-size:11px}
.league-option small{font-size:7px;margin-top:4px}
.league-option i{font-style:normal}
.global-badge{padding:8px 8px;font-size:8px}
.global-explainer{padding:16px 0}
.global-explainer strong{font-size:11px}
.global-explainer p{font-size:11px;line-height:1.55;margin:4px 0 0}
.standing{gap:8px}
.standing>button{font-size:8px;font-weight:800;padding:8px 0}
.rival-roster{gap:6px}
.rival-roster article{gap:8px;padding:8px}
.rival-roster article strong{font-size:11px}
.rival-roster article small{font-size:7px;margin-top:3px}
.rival-price{gap:4px}
.rival-price b{font-size:8px}
.rival-price button{padding:6px 8px;font-size:7px;font-weight:800}
@media (max-width:430px) {
.lineup-rulebar span{font-size:7px}
.standing>button{padding-top:0}
}
.onboarding-main{padding-top:28px}
.editorial-intro{margin-bottom:42px}
.editorial-copy{padding:28px 32px 28px 0}
.rift-wordmark{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:clamp(76px,13vw,150px);letter-spacing:-.085em;line-height:.72}
.rift-subword{font-size:13px;letter-spacing:.62em;margin:24px 0 0 12px;font-weight:800}
.editorial-copy p{font:700 11px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;letter-spacing:.08em;margin:32px 0 0}
.editorial-art{margin:0}
.editorial-art figcaption{padding:8px 8px;font:700 8px/1.3 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;letter-spacing:.08em}
.choice-heading small{font-size:8px;letter-spacing:.08em;font-weight:800}
.competition-grid{gap:0}
.topbar-account{gap:8px}
.avatar-button{padding:0}
.avatar-fallback{font-weight:800}
.mini-slot i{font-weight:800}
.team-title h1 em{font-style:italic;font-weight:400}
.field-slot{padding:0}
.field-slot-main{padding:8px}
.captain-toggle{font-size:8px;font-weight:800}
.captain-toggle.active{padding:0 8px}
.standing .avatar-fallback{font-size:8px}
.settings-profile{gap:12px;margin:4px 0 16px}
.settings-profile h2{margin:0;font-family:Georgia,serif;font-weight:400;font-size:30px}
.settings-profile button{font-size:8px;padding:4px 0}
.avatar-picker-card{gap:12px;margin:0 0 20px;padding:12px}
.avatar-picker-card small{font-size:7px;letter-spacing:.08em}
.avatar-picker-card strong{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:3px 0}
.avatar-picker-card span{font-size:8px}
.avatar-picker-card i{font-style:normal}
.avatar-copy{font-size:11px;line-height:1.55;margin:-8px 0 12px}
.avatar-loading{padding:36px 0;font-size:11px}
.avatar-search{gap:8px;padding:0 12px;margin-bottom:8px}
.avatar-grid{gap:8px;padding-right:3px}
.avatar-grid button{padding:0 0 6px;gap:4px;font-size:7px}
.avatar-grid span{padding:0 3px}
.captain-action{margin:8px 0 0;font-weight:800;font-size:11px;letter-spacing:.08em}
@media (max-width:760px) {
.editorial-copy{padding:28px 0 20px}
.rift-wordmark{font-size:82px}
.choice-heading{margin-top:32px}
.home-hero{padding-bottom:170px}
}
.app-shell{padding-bottom:92px}
.screen{padding:16px 16px 40px}
.v5-topbar{padding:0 16px}
.rift-mini-brand{padding:0 20px 0 0}
.rift-mini-brand span{font:400 29px/.75 Georgia,serif;letter-spacing:-.055em}
.rift-mini-brand small{font-size:6px;letter-spacing:.48em;margin:8px 0 0 3px}
.v5-topbar .league-switch{margin-right:auto}
.v5-home{padding-top:0}
.v5-home-copy{padding:72px 48px 44px 12px}
.v5-overline,.v5-team-copy>small,.v5-market-hero>div>small,.v5-section-title small{font-size:8px;letter-spacing:.32em;font-weight:800}
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(70px,8vw,126px);line-height:.75;letter-spacing:-.065em;margin:20px 0 28px;font-weight:400}
.v5-home-copy h1 em,.v5-team-copy h1 em,.v5-market-hero h1 em{font-style:italic;font-weight:400}
.v5-home-copy p{font-size:12px;line-height:1.7;margin:0}
.v5-home-actions{gap:8px;margin-top:24px}
.v5-primary,.v5-ghost{padding:0 16px;font-size:11px;font-weight:800;letter-spacing:.04em}
.v5-rule-line{gap:24px;margin-top:44px;padding-top:12px;font-size:6px;letter-spacing:.08em}
.v5-art-caption{font-family:Georgia,serif;font-size:13px;line-height:1.35;letter-spacing:.08em}
.v5-dashboard-grid{gap:0;margin-top:20px}
.v5-manager-panel{padding:28px;gap:24px}
.v5-manager-identity{gap:12px}
.v5-manager-identity small,.v5-score span,.v5-mini-stats small{font-size:7px;letter-spacing:.08em}
.v5-manager-identity strong{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:2px 0}
.v5-manager-identity span{font-size:11px}
.v5-score strong{font-family:Georgia,serif;font-size:52px;font-weight:400;line-height:.9;margin:6px 0}
.v5-score i{font-style:normal;font-size:7px}
.v5-mini-stats{padding-top:16px;gap:8px}
.v5-mini-stats b{font-size:12px;margin-top:4px}
.v5-lineup-preview{padding:20px 22px}
.v5-card-head{margin-bottom:8px}
.v5-card-head>span{font-family:Georgia,serif;letter-spacing:.08em;font-size:12px}
.v5-card-head button{font-size:7px;letter-spacing:.08em}
.v5-mini-slot i{font-size:8px;font-weight:800}
.v5-scenic-strip{margin-top:20px}
.v5-scenic-strip>div{padding:28px 24px}
.v5-scenic-strip small{font-size:7px;letter-spacing:.08em}
.v5-scenic-strip strong{font-family:Georgia,serif;font-weight:400;font-size:28px;line-height:1.05;margin:16px 0 8px}
.v5-scenic-strip p{font-size:11px;line-height:1.55;margin:0}
.v5-section-title{margin:42px 0 12px}
.v5-section-title h2{font-family:Georgia,serif;font-weight:400;font-size:34px;margin:4px 0 0;letter-spacing:-.035em}
.v5-section-title button{font-size:7px;letter-spacing:.08em}
.v5-section-title>span{font-size:11px}
.v5-home .match-row{padding:0 16px}
.v5-home .match-teams b{font-family:Georgia,serif;font-size:18px;font-weight:400}
.v5-home .match-date{letter-spacing:.04em}
.v5-team-screen{padding-top:0}
.v5-team-copy{padding:48px 44px 40px 12px}
.v5-team-copy h1{font-size:clamp(64px,7vw,108px);margin:16px 0 24px}
.v5-team-copy p{font-size:11px;line-height:1.65}
.v5-team-meta{gap:20px;padding-top:16px;margin-top:20px;font-size:7px;letter-spacing:.08em}
.v5-team-art span{font-size:8px;letter-spacing:.08em;line-height:1.6}
.v5-rift-stage{margin:28px auto 0}
.v5-rift-head{padding:0 16px}
.v5-rift-head small,.v5-rift-head span{font-size:7px;letter-spacing:.08em}
.v5-rift-head strong{font-family:Georgia,serif;font-size:22px;font-weight:400;margin-top:3px}
.v5-rift-head b{font-size:11px;margin-top:4px}
.v5-map-portrait{padding:4px}
.v5-rift-map .field-slot strong{font-family:Georgia,serif;padding:5px 12px}
.v5-rift-map .field-slot small{padding:0 9px 6px}
.v5-rift-map .field-role{padding:5px 8px}
.v5-map-footer div{padding:15px 18px}
.v5-map-footer small{font-size:7px;letter-spacing:.08em}
.v5-map-footer strong{font-family:Georgia,serif;font-size:24px;font-weight:400;margin-top:4px}
.v5-market-screen{padding-top:0}
.v5-market-hero>div:first-child{padding:54px 42px 38px 12px}
.v5-market-hero h1{font-size:clamp(62px,7vw,100px);margin:16px 0 24px}
.v5-market-hero p{font-size:11px;line-height:1.6}
.v5-market-hero-art span{font-size:8px;line-height:1.65;letter-spacing:.08em}
.v5-market-control{gap:8px;margin-top:24px}
.v5-market-meta{gap:12px;padding:12px 0 8px}
.v5-market-meta>div:first-child{gap:8px}
.v5-market-meta small{font-size:7px;letter-spacing:.08em}
.v5-market-meta strong{font-size:11px}
.v5-market-meta>div:first-child span{font-size:8px}
.v5-market-meta .role-filters{padding:0}
.v5-player-name small{font-size:7px;letter-spacing:.08em}
.v5-player-name h3{font-family:Georgia,serif;font-size:31px;font-weight:400;line-height:.9;margin:4px 0 0}
.v5-market-player .market-body{padding:12px 12px}
.v5-value-block small{font-size:6px;letter-spacing:.08em}
.v5-value-block strong{font-family:Georgia,serif;font-weight:400;font-size:22px;margin-top:4px}
.v5-market-player .market-price em{font-style:normal;font-size:7px;margin-top:8px}
.v5-market-player .buy-button{font-size:8px;letter-spacing:.08em}
.v5-nav button{letter-spacing:.08em}
@media (max-width:980px) {
.v5-home-copy,.v5-team-copy,.v5-market-hero>div:first-child{padding:46px 20px 32px 16px}
}
@media (max-width:700px) {
.screen{padding-left:12px;padding-right:12px}
.v5-topbar{padding:0 8px}
.rift-mini-brand{padding-right:8px}
.rift-mini-brand span{font-size:22px}
.rift-mini-brand small{font-size:5px}
.v5-home-art{margin:0 -12px}
.v5-home-copy{padding:32px 4px 32px 16px}
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:72px;line-height:.78}
.v5-home-copy p{font-size:11px}
.v5-rule-line{gap:12px}
.v5-dashboard-grid{margin:12px -12px 0}
.v5-score strong{font-size:46px}
.v5-scenic-strip{margin-left:-12px;margin-right:-12px}
.v5-section-title h2{font-size:29px}
.v5-team-editorial{margin:0 -12px}
.v5-team-copy{padding:32px 24px}
.v5-rift-stage{margin:12px -12px 0}
.v5-rift-map .field-slot strong{padding:4px 8px}
.v5-rift-map .field-role{font-size:6px;padding:4px 6px}
.v5-map-footer strong{font-size:18px}
.v5-map-footer div{padding:12px 8px}
.v5-market-hero{margin:0 -12px}
.v5-market-hero>div:first-child{padding:32px 24px}
.v5-player-name h3{font-size:26px}
.v5-market-player .market-body{padding:8px}
.v5-value-block strong{font-size:18px}
.market-count{gap:4px}
}
@media (max-width:390px) {
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:62px}
}
.v5-topbar{padding:0 20px}
.rift-mini-brand{padding-right:16px}
.rift-mini-brand span{font-size:26px;line-height:.82}
.rift-mini-brand small{font-size:7px;letter-spacing:.38em;margin-top:6px}
.v5-topbar .league-switch b{font-size:12px}
.v5-topbar .league-switch small{font-size:11px;margin-top:4px}
.wallet small{font-size:8px}
.wallet strong{font-size:15px}
.v5-overline,.v5-team-copy>small,.v5-market-hero>div>small,.v5-section-title small{font-size:11px;letter-spacing:.08em}
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:clamp(62px,6.5vw,92px);line-height:.82;letter-spacing:-.055em;margin:20px 0 24px}
.v5-home-copy p,.v5-team-copy p,.v5-market-hero p{font-size:13px;line-height:1.65}
.v5-home-copy{padding:58px 44px 42px 20px}
.v5-home-actions{margin-top:24px}
.v5-primary,.v5-ghost{font-size:11px;padding:0 16px}
.v5-rule-line{margin-top:32px;padding-top:12px;gap:20px;font-size:8px;letter-spacing:.08em}
.v5-art-caption{font-size:12px;letter-spacing:.08em}
.v5-dashboard-grid{margin-top:20px}
.v5-manager-panel{padding:24px;gap:20px}
.v5-manager-identity small,.v5-score span,.v5-mini-stats small{font-size:8px;letter-spacing:.08em}
.v5-manager-identity strong{font-size:26px}
.v5-manager-identity span{font-size:11px}
.v5-score strong{font-size:43px;margin:4px 0}
.v5-score i{font-size:11px}
.v5-mini-stats{padding-top:16px}
.v5-mini-stats b{font-size:13px;margin-top:4px}
.v5-lineup-preview{padding:18px 20px}
.v5-card-head>span{font-size:13px}
.v5-card-head button{font-size:11px}
.v5-scenic-strip>div{padding:24px 24px}
.v5-scenic-strip small{font-size:8px;letter-spacing:.08em}
.v5-scenic-strip strong{font-size:26px;margin:12px 0 8px}
.v5-scenic-strip p{font-size:11px;line-height:1.55}
.v5-section-title{margin:32px 0 12px}
.v5-section-title h2{font-size:31px}
.v5-section-title button{font-size:11px}
.v5-section-title>span{font-size:11px}
.v5-home .match-date{font-size:11px}
.v5-home .match-date small{font-size:11px}
.v5-home .match-teams{font-size:12px}
.v5-home .match-teams b{font-size:18px}
.v5-home .match-teams span{font-size:11px}
.v5-team-copy{padding:42px 42px 32px 20px}
.v5-team-copy h1{font-size:clamp(58px,6vw,84px);margin:16px 0 20px}
.v5-team-meta{gap:16px;padding-top:12px;margin-top:16px;font-size:8px;letter-spacing:.08em}
.v5-team-art span{font-size:11px;letter-spacing:.08em}
.v5-rift-stage{margin-top:24px}
.v5-rift-head{padding:0 20px}
.v5-rift-head small,.v5-rift-head span{font-size:8px;letter-spacing:.08em}
.v5-rift-head strong{font-size:18px}
.v5-rift-head b{font-size:11px}
.v5-rift-map .slot-plus{font-size:19px}
.v5-map-footer div{padding:14px 18px}
.v5-map-footer small{font-size:8px;letter-spacing:.08em}
.v5-map-footer strong{font-size:21px}
.club-player{padding:8px}
.club-copy .role-line{font-size:8px}
.club-copy strong{font-size:18px}
.club-copy small{font-size:11px}
.v5-market-hero>div:first-child{padding:44px 40px 32px 20px}
.v5-market-hero h1{font-size:clamp(56px,5.8vw,82px);margin:16px 0 20px}
.v5-market-hero-art span{font-size:11px;letter-spacing:.08em}
.v5-market-control{margin-top:20px}
.search input{font-size:12px}
.budget-box small{font-size:8px}
.budget-box strong{font-size:15px}
.v5-market-meta{padding:12px 0 8px}
.v5-market-meta small{font-size:8px}
.v5-market-meta strong{font-size:11px}
.v5-market-meta>div:first-child span{font-size:11px}
.v5-player-name small{font-size:8px;letter-spacing:.08em}
.v5-player-name h3{font-size:28px;line-height:.95}
.v5-market-player .market-body{padding:12px 16px}
.v5-value-block small{font-size:8px;letter-spacing:.08em}
.v5-value-block strong{font-size:22px}
.v5-market-player .market-price em{font-size:8px;margin-top:6px}
.v5-market-player .buy-button{font-size:11px;letter-spacing:.08em}
.invite-code span{font-size:8px}
.invite-code strong{font-size:13px}
.invite-code button{font-size:11px}
.league-stats div{padding:12px}
.league-stats strong{font-size:18px}
.league-stats span{font-size:8px}
.standing{padding:0 12px}
.standing .rank{font-size:18px}
.standing strong{font-size:12px}
.standing small{font-size:11px}
.standing>b{font-size:11px}
.standing>button{font-size:11px}
.rules-list>div{padding:12px 4px;font-size:11px}
.sheet{padding:14px 16px calc(18px + env(safe-area-inset-bottom))}
.sheet>small{font-size:11px}
.sheet>h2{font-size:29px}
.sheet-info>div{font-size:11px}
.sheet-close{font-size:11px}
.picker-title small{font-size:8px}
.picker-title h2{font-size:26px}
.picker-list strong{font-size:12px}
.picker-list small{font-size:11px}
.player-sheet-head>div>span{font-size:11px}
.player-sheet-head h2{font-size:29px}
.player-sheet-head strong{font-size:12px}
.profile-hero{gap:16px}
.profile-hero-copy .profile-tag{font-size:11px}
.profile-hero-copy h2{font-size:36px}
.profile-hero-copy>strong{font-size:11px}
.profile-hero-copy>small{font-size:11px}
.profile-bio{font-size:11px}
.profile-source b,.profile-source span{font-size:11px}
.profile-stats small{font-size:8px}
.profile-stats strong{font-size:22px}
.profile-champs small{font-size:8px}
.profile-champs strong{font-size:11px}
.no-data{font-size:11px}
.profile-no-stats strong{font-size:11px}
.profile-no-stats p{font-size:11px}
.profile-market-value span{font-size:11px}
.profile-market-value strong{font-size:26px}
.profile-clause>span{font-size:11px}
.profile-clause>strong{font-size:26px}
.profile-clause>button{font-size:11px}
.bottom-nav button{font-size:11px;gap:3px}
.nav-ico{font-size:19px}
.onboarding-main h1{font-size:clamp(44px,7vw,64px)}
.lead{font-size:15px}
.step-count{font-size:11px}
.competition-card strong{font-size:18px}
.competition-card span{font-size:11px}
.source-status{font-size:11px}
.setup-form label{font-size:11px}
.form-note{font-size:11px}
@media (max-width:980px) {
.v5-home-copy,.v5-team-copy,.v5-market-hero>div:first-child{padding:38px 24px 32px 20px}
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:68px}
}
@media (max-width:700px) {
.screen{padding-left:12px;padding-right:12px}
.v5-topbar{padding:0 12px}
.rift-mini-brand span{font-size:22px}
.rift-mini-brand small{font-size:6px}
.v5-topbar .league-switch b{font-size:11px}
.v5-topbar .league-switch small{font-size:8px}
.v5-home-art{margin:0 -12px}
.v5-home-copy{padding:28px 8px 28px 16px}
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:54px;line-height:.84;margin:16px 0 20px}
.v5-home-copy p,.v5-team-copy p,.v5-market-hero p{font-size:13px;line-height:1.55}
.v5-rule-line{font-size:7px;gap:12px;margin-top:24px}
.v5-primary,.v5-ghost{font-size:11px}
.v5-dashboard-grid{margin:12px -12px 0}
.v5-manager-panel{padding:20px}
.v5-manager-identity strong{font-size:26px}
.v5-score strong{font-size:38px}
.v5-mini-stats small{font-size:8px}
.v5-lineup-preview{padding:17px 18px}
.v5-scenic-strip{margin-left:-12px;margin-right:-12px}
.v5-scenic-strip strong{font-size:26px}
.v5-section-title h2{font-size:26px}
.v5-team-editorial{margin:0 -12px}
.v5-team-copy{padding:28px 24px}
.v5-team-meta{font-size:8px;gap:12px}
.v5-rift-stage{margin:12px -12px 0}
.v5-rift-head{padding:0 12px}
.v5-map-footer div{padding:11px 9px}
.v5-map-footer small{font-size:7px}
.v5-map-footer strong{font-size:17px}
.v5-market-hero{margin:0 -12px}
.v5-market-hero>div:first-child{padding:28px 24px}
.v5-market-meta{gap:8px}
.v5-player-name h3{font-size:22px}
.v5-player-name small{font-size:7px}
.v5-market-player .market-body{padding:8px 12px}
.v5-value-block small{font-size:7px}
.v5-value-block strong{font-size:18px}
.v5-market-player .market-price em{font-size:7px}
.v5-market-player .buy-button{font-size:8px}
.standing strong{font-size:11px}
.standing small{font-size:8px}
.bottom-nav button{font-size:8px}
}
@media (max-width:390px) {
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:49px}
}
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:clamp(54px,5.4vw,78px);line-height:.88;letter-spacing:-.045em;margin:16px 0 20px}
.onboarding-main h1{font-size:clamp(40px,6vw,58px)}
.v5-rule-line{font-size:11px;gap:16px}
.v5-art-caption{font-size:11px}
.v5-home-copy{padding:48px 38px 38px 20px}
.v5-primary,.v5-ghost{font-size:11px}
.v5-manager-panel{padding:20px;gap:16px}
.v5-manager-identity strong{font-size:26px}
.v5-manager-identity span{font-size:11px}
.v5-score strong{font-size:37px}
.v5-score i{font-size:11px}
.v5-mini-stats b{font-size:12px}
.v5-lineup-preview{padding:16px 18px}
.v5-card-head>span{font-size:12px}
.v5-section-title{margin:28px 0 12px}
.v5-section-title h2{font-size:28px}
.v5-section-title>span{font-size:11px}
.v5-scenic-strip strong{font-size:22px}
.v5-scenic-strip p{font-size:11px}
.v5-home .match-date{font-size:11px}
.v5-home .match-date small{font-size:11px}
.v5-home .match-teams{font-size:11px}
.v5-home .match-teams b{font-size:15px}
.v5-home .match-teams span{font-size:11px}
.v5-team-copy{padding:36px 36px 28px 20px}
.v5-team-meta{font-size:11px;gap:16px}
.v5-rift-stage{margin-top:20px}
.v5-rift-head{padding:0 16px}
.v5-rift-head strong{font-size:18px}
.v5-rift-head b{font-size:11px}
.v5-map-footer strong{font-size:19px}
.v5-map-footer div{padding:13px 16px}
.club-copy strong{font-size:18px}
.club-copy small,.club-copy .role-line{font-size:11px}
.v5-market-hero>div:first-child{padding:36px 32px 28px 20px}
.v5-market-hero-art span{font-size:11px}
.v5-market-control{margin-top:16px}
.search input{font-size:12px}
.budget-box strong{font-size:13px}
.v5-market-meta{padding:12px 0 8px}
.v5-market-meta strong{font-size:11px}
.v5-market-meta>div:first-child span{font-size:11px}
.v5-player-name h3{font-size:26px}
.v5-market-player .market-body{padding:12px 12px}
.v5-value-block strong{font-size:18px}
.v5-market-player .market-price em{font-size:11px}
.v5-market-player .buy-button{font-size:11px}
.league-stats strong{font-size:18px}
.standing .rank{font-size:18px}
.standing strong{font-size:12px}
.standing small{font-size:11px}
.standing>b{font-size:11px}
.rules-list>div{font-size:11px}
.sheet>h2,.player-sheet-head h2{font-size:26px}
.picker-title h2{font-size:26px}
.profile-hero-copy h2{font-size:32px}
.profile-stats strong{font-size:22px}
.profile-market-value strong,.profile-clause>strong{font-size:22px}
.bottom-nav button{font-size:11px}
.nav-ico{font-size:18px}
@media (max-width:980px) {
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:58px}
}
@media (max-width:700px) {
.rift-mini-brand span{font-size:22px}
.rift-mini-brand small{font-size:7px}
.v5-topbar .league-switch b{font-size:11px}
.v5-topbar .league-switch small{font-size:11px}
.v5-home-copy{padding:24px 8px 28px 16px}
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:46px;line-height:.9;margin:12px 0 16px}
.v5-rule-line{font-size:8px;gap:12px}
.v5-manager-panel{padding:16px}
.v5-manager-identity strong{font-size:22px}
.v5-score strong{font-size:34px}
.v5-lineup-preview{padding:15px 16px}
.v5-section-title h2{font-size:26px}
.v5-team-copy{padding:24px 20px}
.v5-map-footer strong{font-size:16px}
.v5-market-hero>div:first-child{padding:24px 20px}
.v5-player-name h3{font-size:22px}
.v5-value-block strong{font-size:18px}
.bottom-nav button{font-size:8px}
}
@media (max-width:390px) {
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:43px}
}
.editorial-onboarding .onboarding-main{padding-top:24px}
.editorial-intro{margin-bottom:24px}
.onboarding-route-switch{margin:0 0 32px}
.onboarding-route-switch button{padding:16px 20px;column-gap:12px}
.onboarding-route-switch button>span{font-family:Georgia,serif;font-size:26px}
.onboarding-route-switch button strong{font-family:Georgia,serif;font-size:22px;font-weight:400;line-height:1.05}
.onboarding-route-switch button small{font-size:11px;line-height:1.4;margin-top:6px}
.join-entry-panel{gap:48px;padding-top:8px}
.join-entry-panel .setup-form{margin-top:12px}
.join-code-form{padding:20px}
.join-code-hint{gap:8px;padding:12px 0}
.join-code-hint>span{font-size:18px}
.join-code-hint strong{font-size:11px}
.join-code-hint small{font-size:11px;margin-top:4px}
.setup-form{gap:12px}
.setup-form input,.setup-form select{font-size:13px}
.primary-action,.secondary-action,.danger-action{font-size:11px}
.v5-topbar{padding:0 16px}
.rift-mini-brand span{font-size:26px}
.rift-mini-brand small{font-size:7px}
.v5-topbar .league-switch b{font-size:11px}
.v5-topbar .league-switch small{font-size:11px}
.wallet strong{font-size:13px}
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:clamp(48px,4.8vw,68px);line-height:.9;margin:16px 0 20px}
.v5-home-copy p,.v5-team-copy p,.v5-market-hero p{line-height:1.58}
.v5-home-copy{padding:42px 32px 32px 16px}
.v5-rule-line{font-size:11px;gap:16px;margin-top:24px}
.v5-primary,.v5-ghost{font-size:11px}
.v5-manager-panel{padding:20px}
.v5-manager-identity strong{font-size:22px}
.v5-score strong{font-size:34px}
.v5-mini-stats b{font-size:12px}
.v5-lineup-preview{padding:15px 17px}
.v5-section-title{margin:28px 0 12px}
.v5-section-title h2{font-size:26px}
.v5-scenic-strip strong{font-size:22px}
.v5-scenic-strip p{font-size:11px}
.v5-team-copy{padding:32px 32px 28px 16px}
.v5-team-meta{font-size:11px}
.v5-rift-stage{margin-top:16px}
.v5-rift-head strong{font-size:15px}
.v5-map-footer strong{font-size:18px}
.v5-market-hero>div:first-child{padding:32px 28px 28px 16px}
.v5-market-control{margin-top:16px}
.v5-player-name h3{font-size:26px}
.v5-market-player .market-body{padding:12px 12px}
.v5-value-block strong{font-size:18px}
.v5-market-player .buy-button{font-size:11px}
.league-stats strong{font-size:15px}
.standing strong{font-size:12px}
.standing small{font-size:11px}
.rules-list>div{font-size:11px}
.sheet>h2,.player-sheet-head h2{font-size:26px}
.profile-hero-copy h2{font-size:30px}
.profile-stats strong{font-size:18px}
.bottom-nav button{font-size:11px}
.nav-ico{font-size:17px}
@media (max-width:980px) {
.join-entry-panel{gap:16px}
}
@media (max-width:700px) {
.editorial-onboarding .onboarding-main{padding:12px 12px 80px}
.editorial-intro{margin:0 -12px 20px}
.onboarding-route-switch{margin-bottom:24px}
.onboarding-route-switch button{padding:12px 16px}
.onboarding-route-switch button strong{font-size:18px}
.onboarding-route-switch button small{font-size:11px}
.join-code-form{padding:16px}
.onboarding-main.narrow{padding:28px 16px 86px}
.rift-mini-brand span{font-size:22px}
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:42px;line-height:.92}
.v5-home-copy{padding:24px 16px 28px}
.v5-manager-panel{padding:16px}
.v5-score strong{font-size:31px}
.v5-section-title h2{font-size:26px}
.v5-team-copy{padding:24px 20px}
.v5-market-hero>div:first-child{padding:24px 20px}
.v5-player-name h3{font-size:22px}
.v5-value-block strong{font-size:15px}
}
@media (max-width:390px) {
.v5-home-copy h1,.v5-team-copy h1,.v5-market-hero h1{font-size:39px}
}
.initial-draw-note{gap:20px;padding:12px 16px}
.initial-draw-note strong{font-size:11px;letter-spacing:.04em}
.initial-draw-note span{font-size:11px;line-height:1.45}
.auction-clock{margin-top:16px}
.auction-clock>div{padding:12px 16px;gap:3px}
.auction-clock small{font-size:8px;letter-spacing:.08em}
.auction-clock strong{font-family:Georgia,serif;font-size:22px;font-weight:400}
.auction-clock span{font-size:11px}
.bid-chip{padding:6px 8px;font-size:8px;font-weight:800;letter-spacing:.08em}
.auction-sheet h2{margin-bottom:12px}
.auction-player-line{gap:12px;padding:12px;margin:8px 0 12px}
.auction-player-line strong{font-size:15px}
.auction-player-line small{margin-top:3px;font-size:11px}
.auction-summary{margin:12px 0}
.auction-summary>div{padding:12px}
.auction-summary span{font-size:8px;letter-spacing:.08em}
.auction-summary strong{font-size:15px;margin-top:4px}
.auction-input{gap:8px;font-size:11px;letter-spacing:.08em;margin:16px 0}
.auction-input input{padding:0 12px;font-family:Georgia,serif;font-size:22px}
.auction-copy{font-size:11px;line-height:1.55}
@media (max-width:700px) {
.initial-draw-note{gap:6px}
}
.rift-drop-note{padding:8px 12px;font-size:11px;letter-spacing:.08em}
.club-inline-stats{gap:4px;margin-top:8px}
.club-inline-stats span{gap:6px;padding:4px 8px;font-size:11px;line-height:1}
.club-inline-stats span b{font-size:8px;letter-spacing:.08em}
.profile-stats-block{margin-top:16px}
.profile-block-head{gap:8px;padding:12px 12px 0 12px}
.profile-block-head small{font-size:8px;letter-spacing:.08em}
.profile-block-head strong{font-size:13px}
.profile-block-head em{font-style:normal;font-size:11px}
.profile-stats-block .profile-stats{margin-top:8px}
.profile-stats.history-grid strong{font-size:22px}
@media (max-width: 540px) {
.rift-drop-note{font-size:11px}
.club-inline-stats span{font-size:8px;padding:4px 6px}
}
.inline-stats-retry{font:inherit;padding:0}
.v57-market-player .market-list-hit{gap:16px;padding:16px 16px}
.v57-market-player .market-photo,.v57-market-player .photo-fallback.market-photo{font-size:22px}
.v57-market-player .market-list-kicker{gap:8px;margin-bottom:8px}
.v57-market-player .market-role.compact,.v57-market-player .team-chip.compact{gap:4px;padding:6px 8px;letter-spacing:.08em}
.v57-market-player .market-list-main h3{margin:0;font-family:Georgia,serif;font-weight:400;font-size:28px;line-height:.95}
.v57-market-player .market-list-main small{margin-top:4px;font-size:11px;letter-spacing:0}
.v57-market-player .market-list-aside{gap:8px;padding-left:8px}
.v57-market-player .v5-value-block small{letter-spacing:.08em}
.v57-market-player .v5-value-block strong{font-family:Georgia,serif;font-size:22px;line-height:1;margin-top:4px}
.v57-market-player .market-price{gap:4px}
.v57-market-player .market-price .price-move{font-size:11px;font-weight:700}
.v57-market-player .market-price em{font-style:normal}
.market-stat-pills{gap:6px;margin-top:12px}
.market-stat-pills span{gap:6px;padding:4px 8px;font-size:11px}
.market-stat-pills span b{font-size:8px;letter-spacing:.08em}
.v57-market-player .list-auction-button{padding:0 16px;letter-spacing:.08em;gap:8px}
.v5-market-screen .v5-market-meta{gap:12px}
.v5-market-screen .v5-market-control{gap:8px}
.v5-market-screen .market-count{margin:12px 2px 8px;font-size:11px;gap:8px}
@media (max-width:700px) {
.v57-market-player .market-list-hit{gap:12px;padding:12px}
.v57-market-player .market-list-aside{padding-left:0;gap:6px}
.v57-market-player .market-list-main h3{font-size:22px}
.market-stat-pills{margin-top:8px}
.market-stat-pills span{font-size:11px;padding:4px 8px}
}
@media (max-width:430px) {
.v57-market-player .market-list-hit{padding:12px}
.v57-market-player .market-list-main h3{font-size:22px}
.v57-market-player .market-role.compact,.v57-market-player .team-chip.compact{padding:4px 8px}
.v57-market-player .v5-value-block strong{font-size:18px}
}
.v5-market-screen .v5-market-grid{margin:0 auto}
.v58-market-player .market-list-kicker{gap:6px;margin-bottom:4px}
.v58-market-player .market-list-identity h3{margin:0;font-family:Georgia,serif;font-size:22px;font-weight:400;line-height:1.05}
.v58-market-player .market-list-identity>small{font-size:11px;margin-top:3px}
.market-profile-link,.market-own-bid{margin-top:8px;font-size:11px;letter-spacing:.04em}
.market-own-bid{font-weight:700}
.market-performance{padding:0 20px}
.market-performance-grid{gap:8px}
.market-performance-grid small{font-size:8px;letter-spacing:.08em;margin-bottom:4px}
.market-performance-grid strong{font-size:15px;font-weight:700}
.market-performance-grid .kad strong{font-size:15px}
.v58-market-player .list-auction-button span{font-weight:800}
.v58-market-player .list-auction-button b{font-family:Georgia,serif;font-size:13px;font-weight:400;letter-spacing:0}
.v5-market-screen .auction-clock{margin-left:auto;margin-right:auto}
.v5-market-screen .v5-market-control,.v5-market-screen .v5-market-meta,.v5-market-screen .market-count,.v5-market-screen .roster-warning{margin-left:auto;margin-right:auto}
.v5-market-screen .budget-box{padding:0 16px}
.v5-market-screen .budget-box small{letter-spacing:.08em}
.v5-market-screen .role-filters{gap:3px}
@media (max-width:1100px) {
.market-performance{padding:0 12px}
.market-performance-grid .kad strong{font-size:12px}
}
.market-sales{margin:16px auto 16px}
.market-sales-head{padding:16px 16px}
.market-sales-head small{font-size:8px;letter-spacing:.08em}
.market-sales-head h2{margin:4px 0 0;font-family:Georgia,serif;font-weight:400;font-size:26px}
.market-sales-head>span{font-family:Georgia,serif;font-size:22px}
.market-sales-list article{gap:12px;padding:12px 16px}
.sale-copy strong{font-size:13px}
.sale-copy small{margin-top:4px;font-size:11px}
.sale-offer span{font-size:8px;letter-spacing:.08em}
.sale-offer strong{margin-top:3px;font-family:Georgia,serif;font-size:18px}
.sale-offer small{font-size:11px}
.market-sales-list article>button{font-size:11px;font-weight:800}
.sale-player-line{gap:12px;padding:12px;margin:8px 0 12px}
.sale-player-line strong{font-size:13px}
.sale-player-line small{margin-top:4px;font-size:11px}
.sale-choice-grid{gap:8px;margin:16px 0}
.sale-choice-grid button{padding:16px}
.sale-choice-grid span{font-size:8px;letter-spacing:.08em}
.sale-choice-grid strong{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:12px 0 8px}
.sale-choice-grid small{font-size:11px;line-height:1.45}
.sale-live-card{padding:16px;margin:12px 0}
.sale-live-card span{font-size:8px;letter-spacing:.08em}
.sale-live-card strong{font-family:Georgia,serif;font-size:26px;font-weight:400;margin:6px 0}
.sale-live-card small{font-size:11px}
.sale-action{margin-top:8px}
.clause-window-note{gap:12px;padding:12px 12px;margin:8px 0 12px;font-size:11px}
.clause-window-note strong{font-size:11px}
.league-screen-v59 .league-hero{margin-bottom:12px}
.league-v59-summary{margin-bottom:24px}
.league-v59-summary>div{padding:16px 16px;gap:4px}
.league-v59-summary span{font-size:8px;letter-spacing:.08em}
.league-v59-summary strong{font-family:Georgia,serif;font-size:26px;font-weight:400}
.league-v59-summary strong small{font-family:Inter,sans-serif;font-size:11px}
.league-v59-summary>div>small{font-size:11px}
.ranking-shell{margin-bottom:28px}
.ranking-head{padding:16px 20px}
.ranking-head small{font-size:8px;letter-spacing:.08em}
.ranking-head h2{margin:4px 0 0;font-family:Georgia,serif;font-size:31px;font-weight:400}
.ranking-head>span{font-size:11px}
.ranking-row{gap:12px;padding:0 16px}
.ranking-position span{font-family:Georgia,serif;font-size:26px}
.ranking-position small{font-size:7px;letter-spacing:.08em}
.ranking-avatar.avatar-fallback{font-size:11px}
.ranking-identity>div{gap:8px}
.ranking-identity strong{font-size:15px}
.ranking-identity b{font-size:7px;letter-spacing:.08em;padding:4px 6px}
.ranking-identity small{margin-top:4px;font-size:11px}
.ranking-points strong{font-family:Georgia,serif;font-size:26px;font-weight:400}
.ranking-points span{font-size:8px;letter-spacing:.08em}
.ranking-row>button{font-size:11px;font-weight:800}
.ranking-row>button span{margin-left:4px}
@media (max-width:800px) {
.ranking-row{padding:0 12px;gap:8px}
.ranking-row>button{padding:0 0 8px}
.ranking-points strong{font-size:22px}
.ranking-position span{font-size:22px}
}
@media (max-width:560px) {
.market-sales-head{padding:12px}
.market-sales-head h2{font-size:22px}
.ranking-head{gap:8px}
.ranking-head h2{font-size:26px}
.ranking-identity strong{font-size:12px}
.ranking-identity small{font-size:11px}
.ranking-points strong{font-size:18px}
}
.clause-grace-badge{margin-top:6px;padding:4px 8px;font-weight:800;letter-spacing:.04em}
.own-grace-note{margin-top:8px;padding:6px 8px;font-size:11px;font-style:normal;font-weight:800}
.v510-team-screen{margin:0 auto}
.v510-team-hero-copy>small{font-size:11px;letter-spacing:.08em;font-weight:800}
.v510-team-hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:54px;line-height:.92;letter-spacing:-.045em;margin:12px 0 12px}
.v510-team-hero-copy h1 em{font-weight:400}
.v510-team-hero-copy p{margin:0;font-size:12px;line-height:1.55}
.v510-team-hero-metrics>div{padding:12px 12px}
.v510-team-hero-metrics span{font-size:8px;letter-spacing:.08em}
.v510-team-hero-metrics strong{margin-top:4px;font-family:Georgia,serif;font-size:15px;font-weight:400}
.v510-team-board{margin-top:16px}
.v510-board-head{padding:0 20px}
.v510-board-head>div:first-child{gap:3px}
.v510-board-head small{font-size:11px;letter-spacing:.08em}
.v510-board-head strong{font-family:Georgia,serif;font-size:22px;font-weight:400}
.v510-board-status{gap:8px}
.v510-board-status span{padding:8px 8px;font-size:11px}
.v510-map-label{gap:3px;padding:8px 10px}
.v510-map-label span{font-family:Georgia,serif;font-size:11px;letter-spacing:.08em}
.v510-map-label b{font-size:8px;letter-spacing:.04em;font-weight:700}
.v510-rift-map .v5-map-portrait{padding:3px}
.v510-rift-map .field-role{letter-spacing:.08em}
.v510-map-name{margin-top:6px;padding:5px 10px 6px}
.v510-rift-map .field-slot .v510-map-name strong{font-family:Georgia,serif}
.v510-rift-map .field-slot .v510-map-name small{line-height:1.1}
.v510-rift-map .captain-toggle{font-weight:800}
.v510-board-footer>div{padding:16px 16px}
.v510-board-footer span{font-size:8px;letter-spacing:.08em}
.v510-board-footer strong{margin-top:4px;font-family:Georgia,serif;font-size:18px;font-weight:400}
.v510-section-head{margin:28px 2px 12px}
.v510-section-head small{font-size:11px;letter-spacing:.08em;font-weight:800}
.v510-section-head h2{margin:4px 0 0;font-family:Georgia,serif;font-size:26px;font-weight:400;letter-spacing:-.025em}
.v510-section-head>span{font-size:11px}
.v510-section-head.bench-head{margin-top:32px}
.v510-starters-strip{gap:8px;padding-bottom:2px}
.v510-starter-card{padding:12px;gap:8px}
.v510-starter-card.empty i{font-style:normal;font-size:18px}
.v510-starter-card.empty strong{font-size:12px}
.v510-starter-card.empty small{font-size:11px;margin-top:2px}
.v510-starter-copy>small{gap:4px;font-size:8px;letter-spacing:.04em}
.v510-starter-copy>strong{font-family:Georgia,serif;font-size:18px;font-weight:400;margin-top:2px}
.v510-starter-card>i{font-style:normal;font-size:11px}
.v510-cap-chip{padding:4px 8px;font-weight:800}
.v510-starter-stats{gap:4px;margin-top:6px}
.v510-starter-stats span{gap:4px;padding:3px 4px;font-size:8px}
.v510-starter-stats b{font-size:7px;letter-spacing:.04em}
.v510-starter-stats em{font-size:8px;font-style:normal}
.v510-club-player .club-more{padding:8px 8px;font-size:11px}
.v510-club-player .club-inline-stats{margin-top:6px}
.v510-empty-bench{padding:20px}
.v510-empty-bench strong{font-family:Georgia,serif;font-size:18px;font-weight:400}
.v510-empty-bench span{font-size:11px;margin-top:4px}
@media (max-width:900px) {
.v510-team-hero-copy h1{font-size:46px}
.v510-team-hero-metrics>div{padding:8px}
}
@media (max-width:700px) {
.v510-team-hero-copy>small{font-size:8px}
.v510-team-hero-copy h1{font-size:39px;margin:8px 0 8px}
.v510-team-hero-copy p{font-size:11px;line-height:1.45}
.v510-team-hero-metrics>div,.v510-team-hero-metrics>div:last-child{padding:8px 8px}
.v510-team-hero-metrics span{font-size:6px}
.v510-team-hero-metrics strong{font-size:12px}
.v510-team-board{margin-left:-4px;margin-right:-4px}
.v510-board-head{padding:0 12px}
.v510-board-head small{font-size:7px}
.v510-board-head strong{font-size:15px}
.v510-board-status{gap:4px}
.v510-board-status span{font-size:7px;padding:4px 8px}
.v510-map-label{padding:5px 7px}
.v510-map-label span{font-size:8px}
.v510-rift-map .v5-map-portrait{padding:2px}
.v510-map-name{margin-top:4px;padding:4px 6px 5px}
.v510-board-footer>div{padding:8px}
.v510-board-footer span{font-size:6px}
.v510-board-footer strong{font-size:13px}
.v510-section-head{margin-top:24px}
.v510-section-head h2{font-size:22px}
.v510-section-head>span{font-size:8px}
.v510-starters-strip{margin-right:-12px;padding-right:12px}
.v510-club-player .club-more{font-size:8px;padding:6px 8px}
}
@media (max-width:390px) {
.v510-team-hero-copy h1{font-size:36px}
.v510-board-footer strong{font-size:12px}
}
.settings-danger-zone{margin-top:16px;padding:16px}
.settings-danger-zone>small{font-size:8px;letter-spacing:.08em;margin-bottom:6px}
.settings-danger-zone>strong{font-family:Georgia,serif;font-size:22px;font-weight:400}
.settings-danger-zone>p{font-size:11px;line-height:1.5;margin:8px 0 0}
.delete-league-sheet h2{margin-bottom:12px}
.delete-league-warning{padding:12px;margin-bottom:16px}
.delete-league-warning strong{font-size:12px}
.delete-league-warning p{font-size:11px;line-height:1.55;margin:6px 0 0}
.delete-confirm-label{gap:8px;font-size:11px;letter-spacing:.08em}
.delete-confirm-label input{padding:0 12px;font-size:15px;letter-spacing:.08em}
.player-profile-shell{gap:12px}
.profile-hero-card{padding:16px}
.player-profile-sheet-v514 .profile-hero{gap:16px;margin-bottom:12px}
.player-profile-sheet-v514 .profile-hero-copy .profile-tag{gap:6px;padding:8px 8px;font-size:11px;letter-spacing:.08em}
.player-profile-sheet-v514 .profile-hero-copy h2{font-size:42px;line-height:.92;margin:8px 0 6px}
.player-profile-sheet-v514 .profile-hero-copy>strong{font-size:13px}
.player-profile-sheet-v514 .profile-hero-copy>small{font-size:11px;margin-top:4px}
.profile-top-rail{gap:8px;margin-bottom:12px}
.profile-value-card{padding:12px 12px 12px}
.profile-value-card small{font-size:11px;letter-spacing:.08em}
.profile-value-card strong{font-family:Georgia,serif;font-size:32px;line-height:.96;margin-top:8px}
.profile-value-card em{font-style:normal;font-size:11px;margin-top:auto;padding-top:8px}
.profile-overview-strip{gap:8px;margin-bottom:12px}
.profile-quick-stat{padding:12px 8px}
.profile-quick-stat small{font-size:8px;letter-spacing:.08em}
.profile-quick-stat strong{margin-top:6px;font-family:Georgia,serif;font-size:22px;line-height:1}
.player-profile-sheet-v514 .profile-bio{margin:0 0 12px;font-size:12px;line-height:1.58}
.player-profile-sheet-v514 .profile-source.band{gap:12px;padding-top:4px;font-size:11px}
.player-profile-sheet-v514 .profile-source.band b{font-size:11px;letter-spacing:.08em}
.player-profile-sheet-v514 .profile-stats-block{margin-top:0}
.player-profile-sheet-v514 .profile-block-head{padding:12px 16px 0}
.player-profile-sheet-v514 .profile-block-head.compact{padding-bottom:12px}
.player-profile-sheet-v514 .profile-block-head small{font-size:8px}
.player-profile-sheet-v514 .profile-block-head strong{font-family:Georgia,serif;font-size:22px;font-weight:400;margin-top:2px}
.player-profile-sheet-v514 .profile-block-head em{font-size:11px;padding-top:4px}
.player-profile-sheet-v514 .profile-stats{margin-top:12px;gap:8px;padding:0 16px 16px}
.player-profile-sheet-v514 .profile-stats>div{padding:12px}
.player-profile-sheet-v514 .profile-stats small{font-size:8px}
.player-profile-sheet-v514 .profile-stats strong{font-size:26px;line-height:1.02;margin-top:8px}
.player-profile-sheet-v514 .v514-champs{gap:12px;padding:0 16px 16px}
.player-profile-sheet-v514 .profile-champs>div small{font-size:8px;letter-spacing:.08em}
.player-profile-sheet-v514 .profile-champs>div strong{margin-top:4px;font-size:15px}
.player-profile-sheet-v514 .profile-no-stats.v514-empty{padding:0 16px 16px}
.player-profile-sheet-v514 .profile-no-stats.v514-empty strong{font-size:13px}
.player-profile-sheet-v514 .profile-no-stats.v514-empty p{font-size:11px;line-height:1.55;margin:6px 0 0}
.profile-actions-card{padding-bottom:16px}
.profile-actions-grid{gap:8px;padding:0 16px 0}
.profile-actions-grid .primary-action,.profile-actions-grid .secondary-action,.profile-actions-grid .danger-action,.profile-actions-grid .captain-action{margin:0}
.player-profile-sheet-v514 .profile-actions-grid .primary-action,.player-profile-sheet-v514 .profile-actions-grid .secondary-action,.player-profile-sheet-v514 .profile-actions-grid .danger-action,.player-profile-sheet-v514 .profile-actions-grid .captain-action{font-size:11px;letter-spacing:0}
.profile-close{padding:12px 0 4px}
@media (min-width:760px) {
.player-profile-shell{gap:16px}
.profile-hero-card{padding:16px}
.player-profile-sheet-v514 .profile-hero-copy h2{font-size:54px}
.player-profile-sheet-v514 .profile-stats strong{font-size:28px}
}
@media (max-width:640px) {
.player-profile-sheet-v514 .profile-hero-copy h2{font-size:34px}
.player-profile-sheet-v514 .profile-stats{padding:0 12px 12px}
.player-profile-sheet-v514 .v514-champs{padding:0 12px 12px}
}
.market-mode-tabs{gap:0;margin:16px 0 12px}
.market-mode-tabs button{padding:16px 16px;gap:4px}
.market-mode-tabs button span{font-size:11px;letter-spacing:.08em;font-weight:800}
.market-mode-tabs button small{font-size:11px}
.sell-market-list{gap:8px}
.sell-market-row{gap:16px;padding:12px 16px}
.sell-market-info>span{gap:4px;font-size:11px}
.sell-market-info strong{font-family:Georgia,serif;font-size:22px;font-weight:400;margin-top:4px}
.sell-market-info small{font-size:11px;margin-top:4px}
.sell-market-status{padding-left:16px}
.sell-market-status small{font-size:8px;letter-spacing:.08em}
.sell-market-status strong{font-family:Georgia,serif;font-size:18px;margin-top:4px}
.sell-market-status span{font-size:11px;margin-top:4px}
.sell-market-row>button{font-size:11px;font-weight:800}
.league-section-tabs{margin:16px 0 12px}
.league-section-tabs button{font-size:11px;font-weight:800;letter-spacing:.08em}
.ranking-extra{gap:8px}
.ranking-extra span{gap:2px;font-size:8px;letter-spacing:.04em}
.ranking-extra b{font-family:Georgia,serif;font-size:15px;font-weight:400;letter-spacing:0}
.rounds-empty{padding:32px}
.rounds-empty small{font-size:11px;letter-spacing:.08em}
.rounds-empty h2{font-family:Georgia,serif;font-size:34px;font-weight:400;margin:8px 0}
.rounds-empty p{font-size:12px;line-height:1.6}
.rounds-layout{gap:12px}
.rounds-timeline{gap:8px}
.rounds-timeline button{padding:12px 12px}
.rounds-timeline small,.rounds-timeline span{font-size:11px}
.rounds-timeline strong{margin:4px 0;font-size:12px}
.round-detail{padding:20px}
.round-detail-head small{font-size:11px;letter-spacing:.08em}
.round-detail-head h2{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:4px 0}
.round-detail-head span{font-size:11px}
.round-standings{margin-top:16px}
.menu-intro{font-size:11px;line-height:1.55;margin:0 0 12px}
.profile-menu-head{gap:12px;padding:4px 0 16px}
.profile-menu-head small{font-size:8px;letter-spacing:.08em}
.profile-menu-head h2{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:4px 0 2px}
.profile-menu-head span{font-size:11px}
.profile-menu-actions{gap:8px}
.profile-menu-actions>button{gap:8px;padding:12px 12px}
.profile-menu-actions>button>span{font-size:18px}
.profile-menu-actions strong{font-size:12px}
.profile-menu-actions small{font-size:11px;margin-top:3px}
.profile-menu-actions i{font-style:normal}
.profile-public-head{margin:20px 0 8px}
.profile-public-head small{font-size:8px;letter-spacing:.08em}
.profile-public-head strong{font-family:Georgia,serif;font-size:22px;font-weight:400;margin-top:3px}
.profile-public-head span{font-size:11px;margin-top:3px}
.public-league-grid{gap:8px}
.public-league-card{gap:8px;padding:8px}
.public-league-card>span{font-size:11px;font-weight:800}
.public-league-card strong{font-size:11px}
.public-league-card small{font-size:8px;margin-top:3px}
.public-league-card i{font-style:normal}
.public-league-me{gap:12px;padding:12px}
.public-league-me small{font-size:8px;letter-spacing:.08em}
.public-league-me strong{font-size:13px;margin-top:3px}
.public-league-me span{font-size:11px;margin-top:3px}
.team-drag-ghost{gap:8px;padding:8px 12px}
.team-drag-ghost small{font-size:7px}
.team-drag-ghost strong{font-size:12px}
@media (max-width:900px) {
.ranking-extra{padding-bottom:8px}
}
@media (max-width:640px) {
.market-mode-tabs{margin-top:12px}
.sell-market-row{padding:12px}
.sell-market-status{padding:8px 0 0}
.ranking-extra{gap:12px}
.ranking-extra b{font-size:15px}
.league-section-tabs{margin-top:12px}
}
.home-lineup-photo,.photo-fallback.home-lineup-photo{font-size:12px}
.v516-global-home{margin-top:28px}
.v516-global-grid{gap:8px}
.instant-sale-confirm .instant-sale-warning{padding:16px;margin:12px 0 16px}
.instant-sale-confirm .instant-sale-warning strong{font-size:13px}
.instant-sale-confirm .instant-sale-warning p{font-size:11px;line-height:1.55;margin:8px 0 0}
.sale-offers-stack{gap:8px;margin:12px 0}
.sale-offers-summary{padding:12px 12px}
.sale-offers-summary span{font-size:8px;letter-spacing:.08em}
.sale-offers-summary strong{font-family:Georgia,serif;font-size:26px;margin-top:4px}
.sale-offers-summary small{margin-top:4px;font-size:11px}
.sale-offer-row{gap:8px;padding:12px 12px}
.sale-offer-row>div span{font-size:11px;font-weight:800}
.sale-offer-row>div small{font-size:8px;margin-top:3px}
.sale-offer-row>strong{font-family:Georgia,serif;font-size:18px}
.sale-offer-row>button{padding:0 12px;font-size:11px;font-weight:800}
.profile-champion-winrates{margin-top:12px}
.champion-winrate-list>div{gap:8px;padding:8px 12px}
.champion-winrate-list strong{font-size:12px}
.champion-winrate-list small{font-size:11px;margin-top:3px}
.champion-winrate-list b{font-family:Georgia,serif;font-size:22px}
.market-mode-tabs{margin-top:12px}
.home-lineup-photo,.photo-fallback.home-lineup-photo{font-size:12px}
.login-sheet .join-code-hint,.alias-sheet .lead{margin-bottom:16px}
.otp-input{font-variant-numeric:tabular-nums}
.sync-banner{padding:12px 16px;gap:12px}
.sync-banner p{margin:0;font-size:11px;line-height:1.4}
.sync-banner-actions{gap:6px}
.sync-banner-actions button{font-size:11px;font-weight:800;padding:6px 4px}
.profile-menu-account{padding:8px 0;margin-bottom:8px}
.profile-menu-account strong{font-size:12px}
.profile-menu-account small{font-size:11px;margin-top:2px}
.market-window{margin:12px auto 0;padding:12px 16px;gap:12px}
.market-window-icon{font-size:18px}
.market-window-copy{gap:2px}
.market-window-copy small{font-size:11px;font-weight:800;letter-spacing:.08em}
.market-window-copy strong{font-family:Georgia,serif;font-size:18px;font-weight:400;line-height:1.1}
.market-window-copy span{font-size:11px}
.player-eliminated{margin:0 4px;padding:2px 6px;font-size:8px;font-weight:800;letter-spacing:.08em}
.install-banner p strong{margin-bottom:2px;font-size:12px}
.install-help-sheet .install-steps{margin:12px 0;padding-left:20px;font-size:12px;line-height:1.7}
.install-help-sheet>p{font-size:11px;margin-top:8px}
.push-sheet .push-status{margin:0 0 12px;font-size:11px;line-height:1.5}
.push-sheet button{margin-bottom:8px;padding:12px 12px;font-size:11px;font-weight:800}
.push-sheet button:last-of-type{margin-bottom:0}
@media (display-mode:standalone) {
.topbar{padding-top:env(safe-area-inset-top)}
}
.legal-foot{padding:16px 12px 8px;font-size:11px;line-height:1.6}
.legal-foot p{margin:0}
.onboarding-main .legal-foot{margin-top:28px}
.legal-note{font-size:11px}
.check-row{line-height:1.45}
.check-row input[type=checkbox]{margin:0;padding:0}
.scoring-notice{margin:0 0 12px;padding:12px 12px;font-size:12px;line-height:1.45}
.scoring-from{font-style:normal;font-weight:700}
.wallet strong,.v5-mini-stats b,.auction-summary strong,.sale-offer-row>strong,.v5-value-block strong,.auction-clock strong,.budget-box strong,.market-price strong,.t51-footer strong,.sell-market-row strong{font-variant-numeric:tabular-nums}
.setup-form fieldset{margin:0;padding:0;gap:12px}
.league-mode-picker{gap:8px}
.league-mode-card{gap:6px;padding:12px;font:inherit}
.league-mode-card span{font-size:11px;font-weight:800;letter-spacing:.08em}
.league-mode-card strong{font-family:Georgia,serif;font-weight:400;font-size:18px;line-height:1.05}
.league-mode-card small{font-size:11px;line-height:1.4}
.classic-rule-card{padding:16px}
.classic-rule-card>small{font-size:11px;font-weight:800;letter-spacing:.08em}
.classic-rule-card h3{font-family:Georgia,serif;font-weight:400;font-size:22px;margin:6px 0}
.classic-rule-card p{font-size:12px;line-height:1.5;margin:0 0 12px}
.classic-rule-grid{gap:1px}
.classic-rule-grid span{padding:8px;font-size:12px}
.classic-rule-grid b{font-size:8px;letter-spacing:.08em;margin-bottom:3px}
.clause-deps:not([hidden]){gap:12px}
.fixed-field{padding:0 2px;font-size:12px;font-weight:700;letter-spacing:0}
.league-setup-intro{gap:16px;padding-bottom:16px;margin-bottom:16px}
.league-setup-event-badge{font-size:11px;font-weight:800;letter-spacing:.08em}
.league-setup-form-shell{padding:16px}
@media (max-width:760px) {
.league-setup-intro{gap:12px;padding-bottom:16px;margin-bottom:12px}
.league-setup-event-badge{font-size:8px}
.league-setup-form-shell{padding:12px}
}
.v538-market-meta .role-filters button{letter-spacing:.04em}
.market-sort-bar{gap:8px;margin:6px 0 12px}
.market-sort-bar>small{font-size:8px;letter-spacing:.08em;margin-right:3px}
.market-sort-bar button{padding:8px 12px;font-size:8px;font-weight:800;letter-spacing:.04em;gap:6px}
.market-sort-bar button span{font-size:11px}
@media (max-width:640px) {
.market-sort-bar{gap:4px}
.market-sort-bar>small{margin-bottom:2px}
.market-sort-bar button{padding:8px 8px}
}
.rules-sub{margin:12px 0 6px;font-size:11px;letter-spacing:.08em}
.league-screen-v59 .rules-sub{margin-top:20px;padding-top:16px}
.league-scoring-legend{gap:8px;margin-top:8px}
.legend-chip{gap:6px;font:inherit;font-size:13px;padding:8px 12px}
.legend-chip i{font-style:normal;font-size:15px;line-height:1}
.legend-chip b{font-weight:700}
.legend-chip em{font-style:normal;font-weight:700;font-variant-numeric:tabular-nums}
.legend-chip::after{font-size:11.5px;font-weight:400;line-height:1.45;letter-spacing:0;padding:9px 11px}
.account-entry{gap:12px;margin:0 0 20px;padding:16px 16px}
.account-entry>span{gap:3px}
.account-entry small{font-size:11px;font-weight:800;letter-spacing:.08em}
.account-entry strong{font-size:15px;font-weight:700;line-height:1.25}
.account-entry>b{padding:12px 16px;font-size:13px;font-weight:800;letter-spacing:.04em}
@media (min-width:760px) {
.account-entry{padding:16px 24px;margin-bottom:28px}
.account-entry strong{font-size:18px}
}
.round-standings .empty-panel strong{font-size:13px}
.pa-chips{gap:6px;padding:0 16px 12px}
.pa-chip{gap:4px;padding:6px 8px;font-size:11px;font-weight:800;letter-spacing:.04em}
.pa-list{gap:8px;padding:0 16px}
.pa-row{gap:12px;margin:0;padding:12px 12px;font:inherit}
.pa-copy{gap:2px}
.pa-copy strong{font-size:15px;font-weight:800;line-height:1.2}
.pa-copy small{font-size:12px;line-height:1.35}
.pa-value{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.pa-go{font-style:normal;font-size:26px;line-height:1}
#root .legal-note a{padding:8px 4px}
@media (max-width:480px) {
#root .league-mode-card small,#root .field-hint{line-height:1.4}
#root .v5-card-head button{padding:0 4px}
#root .invite-code button{padding:0 8px}
#root .market-performance-grid small{letter-spacing:.04em}
#root .league-myteam-head p,#root .rounds-empty p,#root .hidden-round-note,#root .league-myteam-head small{line-height:1.45}
#root .league-lineup-locked p,#root .empty-panel p{line-height:1.45}
#root .v58-market-player .market-list-identity small{line-height:1.2}
}
#root .rift-r-brand{padding:0}
#root .onboarding-brand .mark.mark-r{padding:0}
#root .rift-lockup{margin:6px 0 16px;line-height:0}
#root .upcoming-promo{margin-top:28px}
#root .up-next{gap:12px;padding:16px}
#root .up-next>span{font-weight:800;font-size:15px;letter-spacing:.04em}
#root .up-next small{font-size:11px;font-weight:800;letter-spacing:.08em}
#root .up-next strong{font-family:Georgia,serif;font-size:22px;font-weight:400;line-height:1.15;margin:4px 0}
#root .up-next p{margin:0;font-size:15px;line-height:1.4}
#root .up-rest{gap:8px;margin-top:8px}
#root .up-rest span{gap:8px;padding:6px 12px;font-size:13px}
#root .up-rest b{font-size:12px;letter-spacing:.04em}
.is-busy::after{margin-left:6px;letter-spacing:2px}
/* ==== fin 261011-d4t · escala tipográfica ==== */
/* 261011-tip T00 · Inter servida desde aquí (antes no se cargaba: se veía la del sistema, San Francisco en iPhone). Solo 400 y 700:
   cualquier otro peso pedido (500, 800, 900) cae en el más cercano. Origen y licencia (SIL OFL 1.1) en fonts/LICENSE.txt. */
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(./fonts/inter-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(./fonts/inter-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(./fonts/inter-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(./fonts/inter-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* (de main, 6a493c2/3bcc284) fuera del bloque generado 261011-d4t (y tras las @font-face de Inter) para que el generador siga cuadrando; ninguna regla entre su sitio
   original y aquí toca .topbar ni .onboarding-brand, así que la cascada no cambia. */
/* Siempre, no solo en standalone: la app de iOS (WKWebView) no cuenta como standalone y la cabecera quedaba bajo la barra de estado. Fuera de iOS el valor es 0. */
.topbar{padding-top:env(safe-area-inset-top);height:calc(72px + env(safe-area-inset-top))}
.onboarding-brand{padding-top:env(safe-area-inset-top);height:calc(76px + env(safe-area-inset-top))}
/* 05.1-11: TEAM editorial V5.44 (mapa -> banquillo -> radar) y hoja ENTRAR.
   Diferido: lo enlaza ensureTeamCss(); no esta en sw.js ni en index.html. Movil primero (390 px).
   Solo clases t51-* y radar-*; sin reglas forzadas ni capas heredadas. */

.t51-skeleton { padding: 16px 12px; color: var(--ink); }
.t51-skeleton h1 { margin: 0 0 6px; font-size: 40px; line-height: 1; }
.t51-skeleton p { margin: 0; color: #6b6a68; font-size: 12px; }

.t51-team-screen { max-width: 760px; margin: 0 auto; padding: 8px 0 24px; color: var(--ink); overflow-x: clip; }
.t51-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 12px; border: 1px solid rgba(22, 23, 28, .14); background: rgba(22, 23, 28, .14); border-radius: 14px; overflow: hidden; }
.t51-metrics > div { background: var(--paper2); padding: 8px 8px; min-width: 0; }
.t51-metrics span { display: block; font-size: 8px; letter-spacing: .08em; color: #6b6a68; }
.t51-metrics strong { display: block; margin-top: 3px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t51-metrics small { display: block; margin-top: 2px; font-size: 8px; line-height: 1.3; color: #8a857c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.t51-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }

/* Mapa */
.t51-map { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; border: 1px solid rgba(22, 23, 28, .16); background: #111216 url('./team-rift-lineup-map.webp') center / cover no-repeat; box-shadow: 0 18px 44px rgba(24, 27, 36, .14); }
.t51-map-meta { position: absolute; z-index: 2; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; pointer-events: none; }
.t51-map-identity { background: rgba(17, 18, 22, .78); color: #fff; padding: 7px 10px; border-radius: 12px; min-width: 0; max-width: 62%; }
.t51-map-identity small { display: block; font-size: 8px; letter-spacing: .08em; color: #c9c3ff; }
.t51-map-identity strong { display: block; font-family: Georgia, serif; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t51-map-counts { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.t51-map-counts span { background: rgba(17, 18, 22, .78); color: #d8d3cb; font-size: 9px; padding: 4px 8px; border-radius: 999px; }
.t51-map-counts .ready { color: #fff; background: rgba(36, 58, 134, .92); }

.t51-slot { position: absolute; right: auto; bottom: auto; width: 112px; transform: translate(-50%, -50%); z-index: 3; }
/* 261007-cfq: pos-N sigue ROLE_ORDER: 1 TOP, 2 JGL, 3 MID, 4 BOT, 5 SUP. Composición (Albert, 7-oct): TOP y JGL arriba a la izquierda, MID en medio y la pareja de
   abajo (BOT, SUPPORT) como espejo de la de arriba: ver 261007-u9s más abajo. Cada porcentaje es el centro del hueco entero (rol + retrato + nombre) sobre el mapa cuadrado;
   el arnés mide los píxeles de cada pieza. Los nombres de BOT y SUP van centrados bajo su retrato (sin desplazarlos). */
.t51-slot.pos-1 { left: 16%; top: 23.6%; }
.t51-slot.pos-2 { left: 26%; top: 46.5%; } /* 24-oct-2026 (Albert): el JGL, metido en su jungla, sobre el bufo azul (~25 %, 47 % del mapa) */
.t51-slot.pos-3 { left: 49.5%; top: 52%; }
/* 261007-u9s (Albert, 7-oct, «En la esquina»): BOT en la esquina de abajo a la derecha, ESPEJO de TOP respecto al centro del mapa: el centro de su retrato a menos de
   5 puntos de (100 - x de TOP, 100 - y de TOP). `top` es el centro del hueco entero (rol + retrato + nombre) y queda un poco por debajo del centro del retrato, igual en
   TOP que en BOT: por eso el `top` de BOT es 100 - top de TOP + 2 veces esa diferencia (~1,6 puntos aquí). MID sigue en el centro.
   261008-m4p (Albert, 8-oct): SUPPORT ya no es el espejo de JGL; va PEGADO a BOT en diagonal hacia el centro, como pareja de carril: a una distancia fija en px del
   hueco de BOT (calc sobre sus porcentajes), ≤ 1,8 retratos de BOT y a 20-60° sobre la horizontal. Aquí (TEAM de 701-980 px, retrato de 68) 1,33 retratos y 31°.
   Una regla por tramo de ancho, porque el retrato cambia en 480, 700 y 980. El arnés (M9, M10) mide los píxeles. */
.t51-slot.pos-4 { left: 84%; top: 78%; }
.t51-slot.pos-5 { left: calc(84% - 78px); top: calc(78% - 46px); }
/* 24-oct-2026 (Albert: «Support por Bot… el BOT un poquito más encima del dragón, todo lo cerca del support posible»): la casilla 5
   es ahora la del BOT (SLOT_POS de client/ui-shared.js); sube un poco sobre el foso del dragón y se arrima a la del SUP (casilla 4).
   Con `translate` (no `transform`) para no pisar el centrado de cada punto de corte. */
.t51-slot.pos-5 { translate: 8px -14px; }
@media (max-width: 520px) { .t51-slot.pos-5 { translate: 5px -9px; } }
/* En las grietas de jornada (más pequeñas y con la pastilla de puntos) el BOT se queda en su casilla: subido, su posición pisaba el
   nombre del SUP (medido con scripts/visual-check a 1280 px). */
.t51-round-map .t51-slot.pos-5 { translate: none; }
/* 261007-u9s: SUPPORT queda arriba a la izquierda de BOT, así que la C de BOT va al lado de siempre (a la derecha del retrato, hacia la esquina). */
.t51-slot-main { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; font: inherit; }
.t51-role { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: #16181d; font-size: 11px; color: #fff; }
.t51-role .role-icon { width: 12px; height: 12px; }
/* 261007-cfq: en los mapas de jornada la insignia lleva el glifo lavanda de la posición (SVG en línea; a ≤ 480 px es lo único que queda). */
.t51-role .role-glyph { width: 12px; height: 12px; color: #c9c3ff; flex: none; }
/* 261012-cir: un solo círculo. La foto llena el retrato y el anillo crema es su propio borde: concéntricos por construcción. El tamaño
   solo se escribe aquí (en cada tramo, en .t51-portrait); antes la foto llevaba su propio tamaño y a 390 px se salía 2 px del hueco. */
.t51-portrait { display: grid; place-items: center; width: 68px; height: 68px; margin-top: 4px; border-radius: 50%; box-shadow: 0 9px 26px rgba(12, 15, 20, .3); }
/* Las fotos de lolesports son recortes apaisados con fondo transparente: cover ajusta el alto, la cara queda centrada y el disco de detrás es el de las iniciales. */
.player-photo { object-position: 50% 0; }
.t51-portrait .player-photo, .t51-portrait .photo-fallback { width: 100%; height: 100%; border: 3px solid #f5f0e5; border-radius: 50%; object-fit: cover; }
.t51-plus { display: grid; place-items: center; width: 62px; height: 62px; margin-top: 4px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .6); background: rgba(16, 17, 21, .7); font-size: 26px; }
/* Quick 261003 (feedback Albert): el nombre iba suelto encima del arte del mapa (fondo recargado,
   se leía mal); ahora va en una cajita con fondo, igual que los badges de rol, y siempre centrado
   sea cual sea el lado del slot (antes se alineaba al lado según pos-4/pos-5). */
.t51-name { display: flex; flex-direction: column; align-items: center; margin-top: 4px; max-width: 112px; padding: 3px 8px 4px; border-radius: 10px; background: rgba(17, 18, 22, .78); }
.t51-name strong { font-family: Georgia, serif; font-size: 12px; line-height: 1.1; max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: #fff; }
.t51-name small { font-size: 8px; color: #d8d3cb; max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.t51-out { font-size: 8px; color: #ffb3b6; }
.t51-cap { position: absolute; right: -6px; top: 14px; min-width: 28px; height: 26px; padding: 0 7px; border-radius: 13px; border: 2px solid #111; background: #f0e8b1; color: #111; font-weight: 800; font-size: 10px; cursor: pointer; }
.t51-cap.active { background: var(--lavender); color: #fff; }
.t51-slot.captain .t51-portrait { box-shadow: 0 0 0 3px rgba(141, 130, 232, .5), 0 9px 26px rgba(12, 15, 20, .3); }

/* Tarjetas laterales: banquillo y radar */
.t51-card { border: 1px solid rgba(22, 23, 28, .14); border-radius: 18px; background: var(--paper2); padding: 12px; min-width: 0; }
.t51-side-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 8px; }
.t51-side-head small { flex-basis: 100%; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; } /* 261010-dtx: el antetítulo aprobado */
.t51-side-head h3 { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 400; } /* 261011-tip T07: sin la negrita del h3 */
.t51-side-head span { margin-left: auto; font-size: 12px; color: #6b6a68; }

.t51-bench-warn { margin: 0 0 8px; padding: 8px 8px; border-radius: 10px; background: #fde8e9; color: #a3262d; font-size: 11px; font-weight: 700; line-height: 1.4; }
.t51-bench .t51-side-head span.warn { padding: 2px 8px; border-radius: 999px; background: #fde8e9; color: #a3262d; font-weight: 800; }
.t51-bench-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.t51-bench-card { flex: 0 0 min(280px, 84%); display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px; border-radius: 14px; border: 1px solid rgba(22, 23, 28, .14); background: #fff; scroll-snap-align: start; }
.t51-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.t51-roleline { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #5b53c9; } /* 261010-dtx: «JUNGLA · GEN», como en el MERCADO */
.t51-roleline .role-icon { width: 12px; height: 12px; }
.t51-copy strong { font-family: Georgia, serif; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t51-copy small { font-size: 11px; color: #6b6a68; }
.t51-bench-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.t51-enter { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper2); font-weight: 800; font-size: 11px; letter-spacing: .04em; cursor: pointer; }
/* Quick 261003 (feedback Albert): el banquillo pasa a usar la misma tarjeta visual que los
   titulares del mapa (fieldSlot: badge de rol, retrato circular, chip de nombre), solo que
   colocada en la sección de banquillo en vez de sobre el campo (prototipo app-v5-91.js,
   benchPlayerCard 2184-2185, con las clases t51-* de este puerto). */
.t51-bench-card.t51-bench-slot { flex: 0 0 150px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px 12px; }
.t51-bench-card.t51-bench-slot .t51-portrait { margin-top: 2px; }
.t51-bench-card.t51-bench-slot .t51-enter { margin-top: 2px; }
/* 261011-ti2 (T08 A): fuera del mapa el suplente no lleva la letra ni la etiqueta oscura del mapa. Foto de 72 px, nombre en serif 15 en
   tinta y el equipo en gris debajo; rol 11 y botón 13/700. La misma tarjeta en EQUIPO y en LIGA · MI EQUIPO. */
.t51-bench-card.t51-bench-slot .t51-role { gap: 4px; padding: 4px 8px; font-size: 11px; }
.t51-bench-card.t51-bench-slot .t51-role .role-icon, .t51-bench-card.t51-bench-slot .t51-role .role-glyph { width: 12px; height: 12px; }
.t51-bench-card.t51-bench-slot .t51-portrait { width: 72px; height: 72px; }
.t51-bench-card.t51-bench-slot .t51-name { max-width: none; margin-top: 0; padding: 0; background: none; transform: none; }
.t51-bench-card.t51-bench-slot .t51-name strong { max-width: 130px; font-size: 15px; font-weight: 400; color: #17181b; }
.t51-bench-card.t51-bench-slot .t51-name small { max-width: 130px; font-size: 11px; color: #66615a; }
.t51-bench-card.t51-bench-slot .t51-enter { min-height: 44px; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.t51-bench-card.t51-bench-slot .t51-played { align-self: center; }
.t51-bench-card.t51-bench-slot .t51-bench-why { text-align: center; }
.t51-live-counter { font-weight: 800; letter-spacing: .04em; }
.t51-live-bench { margin-top: 12px; }
.t51-played { display: inline-block; margin-top: 2px; padding: 2px 6px; border-radius: 999px; background: rgba(255, 179, 182, .16); color: #ffb3b6; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.t51-enter:disabled { opacity: .45; cursor: not-allowed; padding: 0 8px; font-size: 11px; }
.t51-empty { display: flex; flex-direction: column; gap: 3px; padding: 16px; border: 1px dashed rgba(22, 23, 28, .25); border-radius: 14px; font-size: 11px; color: #6b6a68; }
.t51-empty strong { color: var(--ink); font-size: 13px; }

.t51-radar-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.t51-radar-wrap svg { width: 100%; max-width: 300px; height: auto; }
.t51-radar-legend { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.t51-stat-line { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; border-bottom: 1px solid rgba(22, 23, 28, .1); padding-bottom: 4px; }
.t51-stat-line span { color: #6b6a68; }
.t51-nodata { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 12px; background: #efeae0; font-size: 11px; color: #6b6a68; }
.t51-nodata strong { color: var(--ink); font-size: 13px; }
.radar-ring { fill: none; stroke: rgba(22, 23, 28, .16); }
.radar-axis { stroke: rgba(22, 23, 28, .16); }
.radar-label { fill: #4a4946; font-size: 11px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; }
.radar-shape { fill: rgba(141, 130, 232, .38); stroke: var(--lavender); stroke-width: 2; }
.radar-core { fill: var(--lavender); }

.t51-footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid rgba(22, 23, 28, .14); border-radius: 14px; overflow: hidden; background: rgba(22, 23, 28, .14); }
.t51-footer > div { background: var(--paper2); padding: 8px 8px; min-width: 0; }
.t51-footer span { display: block; font-size: 11px; letter-spacing: .08em; color: #6b6a68; }
.t51-footer strong { display: block; margin-top: 3px; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hoja ENTRAR */
.t51-sub-sheet { width: 100%; max-width: 620px; max-height: 88vh; overflow: auto; padding: 12px 16px calc(18px + env(safe-area-inset-bottom)); background: var(--charcoal); color: #f6f2ea; border: 1px solid #33363d; border-bottom: 0; }
.t51-handle { width: 46px; height: 4px; margin: 0 auto 12px; background: #4a4d55; }
.t51-sub-sheet > small { font-size: 11px; letter-spacing: .08em; color: #c9c3ff; }
.t51-sub-sheet h2 { margin: 6px 0; font-family: Georgia, serif; font-size: 22px; color: #f6f2ea; }
.t51-sub-copy { margin: 0 0 12px; font-size: 12px; color: #a9a49d; }
.t51-sub-swap { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); gap: 6px; align-items: center; }
.t51-sub-player { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 6px 8px; border: 1px solid #33363d; border-radius: 14px; text-align: center; min-width: 0; }
.t51-sub-player.empty { border-style: dashed; }
.t51-sub-state { position: absolute; top: 6px; left: 8px; font-size: 8px; letter-spacing: .08em; color: #c9c3ff; }
.t51-sub-player .picker-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.t51-sub-player > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 100%; }
.t51-sub-player small { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: #a9a49d; }
.t51-sub-player small .role-icon { width: 12px; height: 12px; }
.t51-sub-player strong { font-family: Georgia, serif; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t51-sub-player span { font-size: 11px; color: #a9a49d; }
.t51-empty-player { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px dashed #666; font-size: 22px; }
.t51-sub-arrow { display: flex; flex-direction: column; align-items: center; font-size: 18px; color: #c9c3ff; }
.t51-sub-arrow small { display: none; }
.t51-confirm-sub { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 12px; border: 0; border-radius: 12px; background: var(--lavender); color: #fff; font-weight: 800; letter-spacing: .04em; cursor: pointer; }
.t51-confirm-sub:disabled { opacity: .45; cursor: not-allowed; }
.t51-cancel { width: 100%; border: 0; background: none; color: #a9a49d; padding: 12px 0 4px; font-size: 11px; cursor: pointer; }

/* >= 981 px: mismo orden; mapa mas grande y radar a todo el ancho del mapa */
@media (min-width: 981px), (orientation: landscape) and (min-width: 700px) {
  .t51-team-screen { padding-top: 16px; }
  .t51-metrics { max-width: 760px; margin-left: auto; margin-right: auto; }
  .t51-board { grid-template-columns: minmax(0, 760px); justify-content: center; gap: 12px; }
  .t51-slot { width: 150px; }
  .t51-portrait { width: 98px; height: 98px; }
  .t51-name strong { font-size: 15px; max-width: 150px; }
  .t51-name small { font-size: 11px; max-width: 150px; }
  .t51-role { font-size: 11px; }
  .t51-map-identity strong { font-size: 18px; }
  .t51-bench-card { flex-basis: 300px; }
  .t51-radar-wrap { flex-direction: row; justify-content: center; gap: 28px; }
  .t51-radar-wrap svg { max-width: 360px; }
  .t51-radar-legend { max-width: 280px; grid-template-columns: 1fr; }
  .t51-sub-sheet { border-bottom: 1px solid #33363d; border-radius: 16px; margin-bottom: 24px; }
  .t51-slot.pos-5 { left: calc(84% - 110px); top: calc(78% - 64px); } /* 261008-m4p: TEAM grande (retrato de 98): 1,30 retratos, 30° */
}

/* 05.1-06: bloques del perfil de jugador (radar, campeones) */
.t51-prof { display: grid; gap: 8px; margin-top: 8px; }
.t51-prof-card { background: #15171c; border: 1px solid #2a2d34; border-radius: 12px; padding: 12px; }
.t51-prof-head { display: grid; gap: 2px; margin-bottom: 8px; }
.t51-prof-head small { color: #a9a49d; font-size: 11px; letter-spacing: .08em; }
.t51-prof-head strong { font-size: 15px; }
.t51-prof-head em { color: #a9a49d; font-size: 11px; font-style: normal; }
.t51-prof-empty { display: grid; gap: 4px; color: #a9a49d; font-size: 12px; }
.t51-prof-radar { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.t51-prof-svg { width: 100%; max-width: 260px; height: auto; }
.t51-prof-legend { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 100%; text-align: center; }
.t51-prof-legend small { display: block; color: #a9a49d; font-size: 11px; }
.t51-prof-legend strong { font-size: 13px; }
.t51-champ-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.t51-champ-main { display: grid; justify-items: center; gap: 2px; text-align: center; min-width: 0; }
.t51-champ-main strong { font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t51-champ-main small { color: #a9a49d; font-size: 11px; }
.t51-champ-main b { font-size: 15px; }
.t51-champ-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #20232a; overflow: hidden; color: #a9a49d; }
.t51-champ-icon img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 981px) {
  .t51-prof-radar { flex-direction: row; justify-content: center; gap: 24px; }
  .t51-prof-legend { grid-template-columns: repeat(2, 1fr); max-width: 240px; }
}

/* 05.1-07: mapa de jornada bloqueada (solo lectura) */
.t51-round-map { max-width: 460px; margin: 8px auto; }
.t51-round-map .t51-slot-main { cursor: default; }
.t51-round-score { margin-top: 3px; padding: 2px 8px; border-radius: 999px; background: rgba(17, 18, 22, .82); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.t51-slot.captain .t51-round-score { background: var(--lavender); }
/* 05.1-10: la foto de jornada lleva marcador y chip debajo del nombre: retratos mas pequenos */
.t51-round-map .t51-portrait { width: 48px; height: 48px; margin-top: 3px; }
.t51-round-map .t51-plus { width: 42px; height: 42px; }
.t51-slot .t51-played { background: rgba(17, 18, 22, .86); color: #ffb3b6; }
.t51-bench-card .t51-played { align-self: flex-start; background: #fde8e9; color: #a3262d; }
.t51-live-bench .t51-bench-card { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 981px) {
  .t51-round-map { max-width: 620px; }
  .t51-round-map .t51-slot { width: 116px; }
  .t51-round-map .t51-portrait { width: 64px; height: 64px; }
  .t51-round-map.t51-map .t51-slot.pos-5 { left: calc(84% - 86px); top: calc(81.3% - 70px); }
  .sheet .t51-round-map.t51-map .t51-slot.pos-5 { left: calc(84% - 86px); top: calc(78.7% - 58px); }
}
/* 05.1-10: radar del perfil sobre fondo oscuro */
.t51-prof-card .radar-ring, .t51-prof-card .radar-axis { stroke: rgba(246, 242, 234, .2); }
.t51-prof-card .radar-label { fill: #d8d3cb; }

/* Quick 261002-vxx (V5.91 de Albert, prototipo styles-v5-90.css 1381-1422 y 3460-3512): huecos del
   mapa en movil. Van al final para ganar a las reglas de escritorio y a las de la foto de jornada. */
@media (max-width: 700px) {
  .t51-slot { width: 74px; }
  .t51-portrait { width: 48px; height: 48px; }
  .t51-plus { width: 44px; height: 44px; font-size: 22px; }
  .t51-role { gap: 4px; padding: 4px 6px; font-size: 6px; }
  .t51-role .role-icon { width: 11px; height: 11px; }
  .t51-name { max-width: 80px; }
  .t51-name strong { max-width: 66px; font-size: 11px; }
  .t51-name small { max-width: 66px; font-size: 6px; }
  .t51-cap { right: -2px; top: 12px; min-width: 24px; width: 24px; height: 20px; padding: 0 4px; font-size: 6px; }
  .t51-cap.active { width: 32px; }
  .t51-slot.pos-1 .t51-name { transform: translateX(-11px); }
  .t51-slot.pos-2 .t51-name { transform: translateX(-10px) translateY(1px); }
  .market-performance-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* 261007-cfq: mapas de jornada CUADRADOS (hoja de desglose y MI EQUIPO a partir de 761 px). Misma composición que TEAM, pero cada hueco es más alto (rol + retrato +
   nombre + píldora de puntos, ~127 px). 261007-u9s: BOT espejo de TOP respecto al centro (su `top` lleva 2-3 puntos más que el centro del retrato); 261008-m4p: SUPPORT pegado a BOT.
   Sustituye al 68 % / 81,5 % de ≤ 760 px de la V5.91, que dejaba a BOT en la selva. */
.t51-round-map .t51-slot.pos-1 { left: 16%; top: 23.6%; }
.t51-round-map .t51-slot.pos-2 { left: 27%; top: 49%; } /* JGL sobre el bufo azul */
.t51-round-map .t51-slot.pos-3 { left: 50%; top: 53%; }
/* 261007-u9s: BOT (84 %, 81,3 %; 78,7 % en la hoja de desglose, con TOP a 27,5 %) es el espejo de TOP. 261008-m4p: SUPPORT pegado a BOT en diagonal, a px fijos de su hueco.
   De 761 a 980 px el retrato mide 48 y el nombre (88 px) y la píldora del capitán (73 px) son casi dos retratos: tope de 2,1 retratos (MI EQUIPO 2,03 y 43°; hoja 1,83 y 35°).
   Desde 981 px van en el @media del mapa de jornada (retrato de 64: 1,73 y 39°; hoja 1,62 y 34°). */
.t51-round-map .t51-slot.pos-4 { left: 84%; top: 81.3%; }
.t51-round-map .t51-slot.pos-5 { left: calc(84% - 72px); top: calc(81.3% - 66px); }
.sheet .t51-round-map .t51-slot.pos-1 { left: 16%; top: 27.5%; }
.sheet .t51-round-map .t51-slot.pos-4 { left: 84%; top: 78.7%; }
.sheet .t51-round-map .t51-slot.pos-5 { left: calc(84% - 72px); top: calc(78.7% - 50px); }
/* 261007-sxw: el + de un hueco vacío no lleva píldora de puntos ni chip y queda más bajo que el retrato de un titular; SUPPORT vacío sube unos píxeles para seguir por encima de BOT. */
.t51-round-map .t51-slot.pos-5.is-empty { margin-top: -8px; }
.t51-round-map .t51-slot.pos-1 .t51-name, .t51-round-map .t51-slot.pos-2 .t51-name { transform: none; } /* los empujones a la izquierda de ≤ 700 px son de TEAM */
/* 261007-cfq: TEAM en el móvil (360 y 390). Hueco de 76 px y retratos de 44 px. Va acotado al mapa de TEAM (.t51-team-screen) para que sus porcentajes no se cuelen en los mapas
   de jornada, que tienen los suyos más abajo. TOP baja a 27 % y JGL y MID acompañan la diagonal; 261007-u9s: BOT (84 %, 75,3 %) es su espejo respecto al centro y,
   261008-m4p, SUPPORT va pegado a BOT (1,74 retratos de 44 px y 33°; de 521 a 700 px, regla aparte con el retrato de 48). */
@media (max-width: 520px) {
  .t51-team-screen .t51-map .t51-slot.pos-1 { left: 16%; top: 27%; }
  .t51-team-screen .t51-map .t51-slot.pos-2 { left: 26%; top: 58%; } /* JGL sobre el bufo azul; más bajo que en escritorio para no pisar el nombre de TOP (medido con scripts/visual-check) */ /* JGL sobre el bufo azul */
  .t51-team-screen .t51-map .t51-slot.pos-3 { left: 47%; top: 50%; }
  .t51-team-screen .t51-map .t51-slot.pos-4 { left: 84%; top: 75.3%; }
  .t51-team-screen .t51-map .t51-slot.pos-5 { left: calc(84% - 64px); top: calc(75.3% - 42px); }
  .t51-team-screen .t51-map .t51-map-identity { max-width: 36%; }
  .t51-team-screen .t51-map .t51-map-identity strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.15; } /* el nombre del equipo en dos líneas: la caja es estrecha para dejar sitio a SUPPORT */
  .t51-team-screen .t51-map .t51-slot.pos-4 .t51-cap { left: auto; right: -6px; }
  .t51-team-screen .t51-map .t51-slot.pos-4 .t51-cap.active { left: auto; right: -14px; }
}
@media (min-width: 521px) and (max-width: 700px) { .t51-team-screen .t51-map .t51-slot.pos-5 { left: calc(84% - 60px); top: calc(78% - 44px); } }
@media (max-width: 480px) {
  .t51-slot { width: 64px; }
  .t51-portrait { width: 44px; height: 44px; }
  .t51-plus { width: 40px; height: 40px; font-size: 22px; }
  .t51-role { padding: 3px 4px; font-size: 5px; }
  .t51-role .role-icon { width: 10px; height: 10px; }
  .t51-name { max-width: 72px; }
  .t51-name strong { max-width: 58px; font-size: 8px; }
  .t51-name small { max-width: 58px; font-size: 5px; }
  .t51-cap { min-width: 22px; width: 22px; height: 18px; top: 10px; }
  .t51-cap.active { width: 28px; }
}

/* Quick 261002-vxx (V5.91 de Albert, prototipo styles-v5-90.css 2550-2612, 3877-3903 y 3949-3953):
   MI EQUIPO de LEAGUE. Clases league-* nuevas (no existen en la base V5.18), sin reglas forzadas. */
.league-myteam-view { display: grid; gap: 12px; }
.league-round-switcher { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 2px; scrollbar-width: none; }
.league-round-switcher::-webkit-scrollbar { display: none; }
.league-round-switcher button { flex: 0 0 auto; min-width: 132px; border: 1px solid rgba(22, 23, 28, .14); background: var(--paper2); color: var(--ink); border-radius: 14px; padding: 8px 12px; text-align: left; font: inherit; cursor: pointer; }
.league-round-switcher button small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #6b6a68; text-transform: uppercase; }
.league-round-switcher button strong { display: block; margin-top: 4px; font-size: 11px; }
.league-round-switcher button.active { background: var(--ink); color: var(--paper2); }
.league-round-switcher button.active small { color: #c9c3ff; }

.league-myteam-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; padding: 16px 20px; background: var(--paper2); border: 1px solid rgba(22, 23, 28, .14); border-radius: 18px; }
.league-myteam-head small { font-size: 11px; letter-spacing: .08em; color: var(--cobalt); font-weight: 700; }
.league-myteam-head h2 { margin: 4px 0 4px; font-family: Georgia, serif; font-size: 26px; font-weight: 400; letter-spacing: -.02em; }
.league-myteam-head p { margin: 0; max-width: 650px; font-size: 11px; line-height: 1.5; color: #6b6a68; }
.league-round-total { text-align: right; min-width: 118px; }
.league-round-total small { color: #6b6a68; }
.league-round-total strong { display: block; margin-top: 4px; font-family: Georgia, serif; font-size: 26px; font-weight: 400; color: var(--ink); }
.league-round-total span { display: block; margin-top: 2px; font-size: 12px; letter-spacing: 0; color: #6b6a68; }

/* Escritorio: columna del mapa + 300 px de banquillo; <=900: una columna (prototipo 2609-2612). */
.league-lineup-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: stretch; }
.league-rift-card, .league-bench-card { background: var(--paper2); border: 1px solid rgba(22, 23, 28, .14); border-radius: 20px; overflow: hidden; }
.league-rift-card { padding: 12px; }
.league-rift-card .t51-round-map { max-width: none; margin: 0; }
/* 261007-suh: bajo el mapa de la jornada (hoja de manager de JORNADAS y RANKING, MI EQUIPO bloqueada), una línea por titular que sumó puntos con el
   baremo v3: nombre, marca del capitán y solo las partes distintas de cero («Mitigación +6,0 · Dragón +15,0 · Barón +2,0»). La línea envuelve en
   pantallas estrechas en vez de recortar. Claro en la tarjeta de MI EQUIPO, oscuro en la hoja. */
.t51-objectives { margin: 0; padding: 8px 12px 12px; color: var(--ink); min-width: 0; }
.t51-objectives > .rules-sub { margin: 0 0 4px; padding: 0; border: 0; font-size: 11px; }
.t51-objective-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 8px 0; border-top: 1px solid rgba(22, 23, 28, .12); font-size: 12px; line-height: 1.35; min-width: 0; }
.t51-objective-row b { font-weight: 800; overflow-wrap: anywhere; }
.t51-objective-cap { padding: 1px 8px; border-radius: 999px; background: var(--lavender); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.t51-objective-parts { color: #5f5a52; font-size: 12px; font-variant-numeric: tabular-nums; }
.sheet .t51-objectives { color: #f6f2ea; padding: 4px 0 8px; }
.sheet .t51-objective-row { border-top-color: #33363d; }
.sheet .t51-objective-parts { color: #b9b5ad; }
/* El aside de MI EQUIPO en vivo reutiliza .t51-live-bench (banquillo), que fuera de LEAGUE lleva
   margin-top:12px (iba debajo del mapa, no al lado); aquí lo anula para que quede a la misma
   altura que .league-rift-card (grid align-items:stretch, medido en el arnés a 1280). */
.league-bench-card { padding: 16px; }
.league-bench-card.t51-live-bench { margin-top: 0; }
/* 261011-ti2 (Albert: «los suplentes dentro de LIGAS mismo que suplentes en EQUIPO»): la misma tira horizontal de tarjetas que EQUIPO. */
.league-bench-card .t51-bench-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
@media (max-width: 900px) {
  .league-lineup-layout { grid-template-columns: 1fr; }
  .league-bench-card { padding: 12px; }
}

@media (max-width: 760px) {
  .league-myteam-view { gap: 12px; }
  .league-round-switcher { margin: 0 -8px; padding: 0 8px 4px; scroll-snap-type: x proximity; }
  .league-round-switcher button { min-width: 118px; padding: 8px 8px; border-radius: 12px; scroll-snap-align: start; }
  .league-myteam-head { grid-template-columns: 1fr; gap: 12px; padding: 12px; border-radius: 14px; align-items: start; }
  .league-myteam-head h2 { font-size: 22px; line-height: 1; }
  .league-myteam-head p { font-size: 11px; line-height: 1.5; }
  /* Cabecera a una columna con la tarjeta PUNTOS en fila (prototipo 3883-3886). */
  .league-round-total { width: 100%; min-width: 0; text-align: left; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px; padding: 8px 0 0; border-top: 1px solid rgba(22, 23, 28, .1); }
  .league-round-total small { grid-column: 1; align-self: center; }
  .league-round-total strong { grid-column: 2; margin: 0; font-size: 22px; line-height: 1; }
  .league-round-total span { grid-column: 3; margin: 0; align-self: center; text-align: right; }
  .league-lineup-layout { grid-template-columns: 1fr; gap: 12px; }
  .league-rift-card { margin: 0; padding: 0; border-radius: 14px; overflow: hidden; }
  .league-rift-card .t51-round-map { aspect-ratio: auto; height: 548px; border-radius: 0; margin: 0; }
  .sheet .t51-round-map { aspect-ratio: auto; height: 548px; }
  .league-rift-card .t51-round-map .t51-slot, .sheet .t51-round-map .t51-slot { width: 92px; }
  .league-rift-card .t51-round-map .t51-portrait, .sheet .t51-round-map .t51-portrait { width: 58px; height: 58px; }
  .league-rift-card .t51-round-map .t51-name, .sheet .t51-round-map .t51-name { max-width: 90px; }
  .league-rift-card .t51-round-map .t51-name strong, .league-rift-card .t51-round-map .t51-name small, .sheet .t51-round-map .t51-name strong, .sheet .t51-round-map .t51-name small { max-width: 90px; }
  /* El mapa de LEAGUE es un rectángulo alto (548/530 px), no el cuadrado de TEAM: las posiciones
     verticales en % no valen (prototipo V5.52, styles-v5-90.css 2882-2890/2897-2905, aún vigente
     porque nada más tarde las vuelve a tocar). Medido en el arnés: sin este reparto, pos-4/pos-5
     se cruzan a 390 px (gap vertical de solo el 2,5 % de 548 px). */
  /* 261007-cfq: la hoja de desglose usa este mismo mapa alto (el cuadrado de 326-460 px no da para 5 huecos de ~127 px sin que se pisen). Con la caja del nombre del equipo en la esquina
     inferior izquierda, TOP puede subir. 261007-u9s: BOT en la esquina de abajo a la derecha (espejo de TOP), en 80-82 % de H y no en el 87-89 % de su espejo: con la píldora de puntos
     y el chip no cabe más abajo en 530 px. 261008-m4p (Albert, 8-oct): SUPPORT ya no es el espejo de JGL; va pegado a BOT en diagonal hacia el centro, a una distancia fija en px del hueco
     de BOT (1,66 retratos, 31°; 1,57 en la hoja, más estrecha), igual con cualquier ancho del tramo. Más cerca, su píldora de capitán toca el nombre de BOT; en la hoja, su rol, la píldora de MID. */
  .league-rift-card .t51-round-map.t51-map .t51-slot.pos-1, .sheet .t51-round-map.t51-map .t51-slot.pos-1 { left: 16%; top: 15.5%; }
  .league-rift-card .t51-round-map.t51-map .t51-slot.pos-2, .sheet .t51-round-map.t51-map .t51-slot.pos-2 { left: 21%; top: 49%; } /* JGL sobre el bufo azul */
  .league-rift-card .t51-round-map.t51-map .t51-slot.pos-3, .sheet .t51-round-map.t51-map .t51-slot.pos-3 { left: 46%; top: 54.5%; }
  .league-rift-card .t51-round-map.t51-map .t51-slot.pos-4, .sheet .t51-round-map.t51-map .t51-slot.pos-4 { left: 86%; top: 85.3%; }
  .league-rift-card .t51-round-map.t51-map .t51-slot.pos-5 { left: calc(86% - 82px); top: calc(85.3% - 50px); }
  .sheet .t51-round-map.t51-map .t51-slot.pos-5 { left: calc(86% - 80px); top: calc(85.3% - 44px); }
  /* El + de un hueco vacío no lleva puntos ni chip: su caja es más baja y el + quedaría ~25 px más abajo que el retrato de un titular; sube lo mismo. */
  .league-rift-card .t51-round-map.t51-map .t51-slot.pos-5.is-empty, .sheet .t51-round-map.t51-map .t51-slot.pos-5.is-empty { margin-top: -25px; }
  .league-rift-card .t51-round-map.t51-map .t51-slot.pos-4 .t51-cap, .sheet .t51-round-map.t51-map .t51-slot.pos-4 .t51-cap { left: auto; right: -6px; }
  .league-rift-card .t51-round-map.t51-map .t51-slot.pos-4 .t51-cap.active, .sheet .t51-round-map.t51-map .t51-slot.pos-4 .t51-cap.active { left: auto; right: -14px; }
  .league-rift-card .t51-round-map .t51-map-identity, .sheet .t51-round-map .t51-map-identity { max-width: calc(100% - 196px); }
  .league-rift-card .t51-round-map .t51-map-identity strong, .sheet .t51-round-map .t51-map-identity strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.15; }
  .league-rift-card .t51-round-map .t51-map-meta { bottom: 10px; }
  .league-rift-card .t51-round-map .t51-map-meta .t51-map-identity { align-self: flex-end; }
  .league-bench-card { padding: 12px; border-radius: 14px; }
  .league-bench-card .t51-side-head { align-items: flex-start; }
  .league-bench-card .t51-side-head h3 { font-size: 22px; }
}
@media (max-width: 420px) {
  .league-round-switcher { margin-left: -8px; margin-right: -8px; padding-left: 8px; padding-right: 8px; }
  .league-rift-card .t51-round-map, .sheet .t51-round-map { height: 530px; }
  .league-rift-card .t51-round-map .t51-slot, .sheet .t51-round-map .t51-slot { width: 86px; }
  .league-rift-card .t51-round-map .t51-name, .league-rift-card .t51-round-map .t51-name strong, .league-rift-card .t51-round-map .t51-name small, .sheet .t51-round-map .t51-name, .sheet .t51-round-map .t51-name strong, .sheet .t51-round-map .t51-name small { max-width: 84px; }
}
/* 261005 (Albert): EN JUEGO (partido empezado, sin mapas puntuados) en lila; JUGADO sigue en coral. */
.t51-played.is-live, .t51-slot .t51-played.is-live { background: rgba(141, 130, 232, .9); color: #fff; }
.t51-bench-card .t51-played.is-live { background: #ece9ff; color: #4b3fb8; }
/* 261005 (Albert): plantilla en directo y clausulazos desde GENERAL. */
.ranking-row[data-squad] { cursor: pointer; }
.ranking-row[data-squad]:hover { box-shadow: inset 3px 0 0 var(--lavender, #8d82e8); }
.clause-sheet { max-height: 88vh; overflow-y: auto; }
.clause-state { margin: 4px 0 8px; font-size: 13px; font-weight: 700; }
.clause-state.open { color: #b9b0ff; }
.clause-state.closed { color: #ffb3b6; }
.clause-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; font-size: 12px; opacity: .85; }
.clause-list { display: grid; gap: 8px; }
.clause-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "who price" "act act"; gap: 8px 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.clause-who { grid-area: who; display: flex; gap: 8px; align-items: center; min-width: 0; }
.clause-who > div { display: grid; gap: 2px; min-width: 0; }
.clause-who span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.clause-who strong { font-size: 15px; }
.clause-prot { font-style: normal; font-size: 11px; font-weight: 800; color: #ffb3b6; }
.clause-price { grid-area: price; text-align: right; display: grid; gap: 1px; }
.clause-price small { font-size: 11px; letter-spacing: .08em; opacity: .7; }
.clause-price strong { font-size: 18px; }
.clause-price span { font-size: 11px; opacity: .75; }
.clause-act { width: 100%; min-height: 44px; padding: 12px; border: 0; border-radius: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer; }
.clause-act.go { background: var(--lavender, #8d82e8); color: #fff; }
.clause-act:disabled { opacity: .55; cursor: default; }
.clause-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 8px 0 12px; }
.clause-steps button { padding: 12px; border: 0; border-radius: 12px; background: var(--lavender, #8d82e8); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.clause-steps button:disabled { opacity: .4; }
.sheet .primary-action.clause-yes { background: var(--lavender, #8d82e8); color: #fff; }
/* 261005 (Albert): candado de jugador protegido tras un clausulazo y bloque con cuenta atrás en su perfil. */
.lock-badge { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; background: #8d82e8; color: #fff; vertical-align: middle; flex: none; }
.lock-badge .lock-ico { width: 10px; height: 10px; }
.protect-card { display: flex; gap: 12px; align-items: center; margin: 12px 0; padding: 16px 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(141, 130, 232, .28), rgba(141, 130, 232, .12)); border: 1px solid rgba(141, 130, 232, .55); }
.protect-card > .lock-ico { flex: none; width: 30px; height: 30px; padding: 8px; border-radius: 50%; background: #8d82e8; color: #fff; }
.protect-card div { display: grid; gap: 3px; }
.protect-card small { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #b9b0ff; }
.protect-card strong { font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.protect-card span { font-size: 12px; opacity: .85; line-height: 1.4; }
.clause-prot { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.clause-prot .lock-ico { width: 11px; height: 11px; }
.clause-prot b { font-variant-numeric: tabular-nums; }
/* 261005 · Repaso móvil: el mapa de TEAM y de jornada bajaba a 5–8 px (rol, equipo, nombre) y la "C"
   de capitán era de 22×18 px. Nombres, rol y equipo legibles y capitán con zona táctil de 44 px. */
@media (max-width: 480px) {
  .t51-map .t51-slot { width: 76px; }
  .t51-map .t51-role { padding: 3px 6px; font-size: 9px; }
  .t51-map .t51-role .role-icon { width: 11px; height: 11px; }
  .t51-map .t51-name { max-width: 84px; }
  .t51-map .t51-name strong { max-width: 80px; font-size: 11px; }
  .t51-map .t51-name small { max-width: 80px; font-size: 9px; }
  .t51-map .t51-plus { width: 44px; height: 44px; font-size: 22px; } /* 261007-cfq: el + de un hueco vacío mide como un retrato (≥ 44 px) */
  /* El mapa va muy justo a este ancho: la etiqueta de rol se queda en su icono (el rol ya lo dicen la
     posición y el icono; el nombre del hueco vacío lo repite) y la "C" vuelve arriba a la derecha del
     retrato, donde ya no pisa nada. */
  .t51-map .t51-role { padding: 4px; border-radius: 999px; }
  .t51-map .t51-role b { display: none; }
  .t51-map .t51-role .role-icon, .t51-map .t51-role .role-glyph { width: 13px; height: 13px; }
  .t51-map .t51-slot .t51-cap { top: 14px; right: -6px; left: auto; min-width: 26px; width: 26px; height: 22px; padding: 0; font-size: 11px; }
  .t51-map .t51-slot .t51-cap.active { width: 40px; right: -14px; }
  /* 261007-cfq: BOT y SUPPORT están juntos: la C de cada uno va al lado contrario del compañero (a la izquierda del retrato). */
  .t51-map .t51-cap::before { content: ""; position: absolute; inset: -10px -8px; }
  .t51-map .t51-round-score { font-size: 11px; }
  .t51-metrics small, .t51-map-counts span { font-size: 11px; }
  .t51-empty span, .t51-nodata span { font-size: 12px; }
  .clause-who span, .clause-price span { font-size: 11px; }
  .clause-price small { font-size: 11px; }
}
/* 261005 · A 360 px o menos el primer hueco (TOP) pisa el nombre del equipo: el nombre baja a la
   esquina inferior izquierda del mapa, que siempre está libre.
   261007-cfq: lo mismo en todo el móvil (≤ 480 px), no solo ≤ 360 (a 390 el rol de TOP seguía pisándola), para TEAM y los mapas
   de jornada; el mapa alto de MI EQUIPO la baja hasta 760 px (más arriba) y la hoja de desglose siempre. */
@media (max-width: 480px) {
  .t51-map .t51-map-meta { bottom: 10px; }
  .t51-map .t51-map-meta .t51-map-identity { align-self: flex-end; }
}
.sheet .t51-round-map .t51-map-meta { bottom: 10px; }
.sheet .t51-round-map .t51-map-meta .t51-map-identity { align-self: flex-end; }
/* 261006-hwt · Ofertas entre managers (OF-8): pestaña OFERTAS con su insignia, tarjetas Recibidas / Enviadas con cuenta
   atrás, historial de 72 h y hoja de oferta. Las tarjetas reutilizan el aire de las filas de clausulazo. */
#root .market-mode-tabs.with-offers { grid-template-columns: repeat(3, 1fr); }
.market-mode-tabs.with-offers button { min-width: 0; padding: 12px 12px; }
.market-mode-tabs.with-offers button span { display: flex; align-items: center; gap: 6px; }
.offer-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--lavender, #8d82e8); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0; line-height: 1; }
.market-mode-tabs.with-offers button.active .offer-badge { background: #fff; color: #5b4fc7; }
.offers-panel { display: grid; gap: 8px; }
.offer-head { margin: 8px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; } /* 261010-dtx: antetítulo lavanda */
.offer-list { display: grid; gap: 8px; }
.offer-sheet .offer-field { display: grid; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin: 6px 0 8px; }
.offer-input { width: 100%; box-sizing: border-box; min-height: 56px; padding: 0 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: inherit; font: inherit; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.offer-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.offer-chip { min-height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: inherit; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.offer-warn { margin: 0 0 8px; padding: 8px 8px; border-radius: 10px; background: #fde8e9; color: #a3262d; font-size: 12px; font-weight: 700; line-height: 1.4; }
.offer-warn[hidden] { display: none; }
.offer-note { margin: 0 0 12px; font-size: 12px; line-height: 1.5; opacity: .85; }
.pa-chip.offer { background: rgba(141, 130, 232, .22); color: #d9d4ff; }
/* Tres pestañas y tres botones sin recortes a 390 px. */
@media (max-width: 480px) {
  .market-mode-tabs.with-offers button { padding: 12px 8px; }
  .market-mode-tabs.with-offers button span { font-size: 11px; letter-spacing: .08em; }
  .market-mode-tabs.with-offers button small { font-size: 11px; line-height: 1.25; } /* 261010-d2i (n.º 10): al suelo de 11 px */
}
/* 261006-t8z · Subastas diarias a ciegas (SU-8): cabecera con cuenta atrás y dinero disponible, filas compactas del
   lote, resultado del último cierre y hoja de pujar (reutiliza las clases offer-* de la hoja de ofertas). Nada fuerza la cascada. */
.auction-panel { display: grid; gap: 8px; margin: 0 0 12px; }
/* 261007-8t9 (plan 03): resumen de dinero de MARKET en A tu medida, fijo justo sobre la barra de abajo (z 30; la barra de dinero, 29).
   Geometría de la barra: escritorio centrada de 500 px a 14 px del borde y 64 px de alto; <=700 px a 10 px de los lados y 10 del borde. */
.money-bar { position: fixed; z-index: 29; left: 50%; transform: translateX(-50%); width: 500px; bottom: 82px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 16px; background: #17181b; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .24); }
.money-bar > div { min-width: 0; }
.money-bar small { display: block; font-size: 11px; line-height: 1.2; letter-spacing: .08em; opacity: .7; white-space: nowrap; }
.money-bar b { display: block; margin-top: 4px; font-size: 15px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.money-bar > div:first-child b { color: #b9b2ff; }
@media (max-width: 700px) { .money-bar { left: 10px; right: 10px; width: auto; transform: none; bottom: 78px; } }
@media (min-width: 701px) and (max-width: 759px) { .money-bar { bottom: 68px; } } /* la barra de abajo va pegada al borde en ese tramo */
/* 261007-okd: la barra abrevia los importes («123,4MɌ») para caber en UNA línea; el entero va en el título. La pantalla deja sitio para ella. */
.v5-market-screen.has-money-bar { padding-bottom: 76px; } /* 261011-mai: la barra mide 10 px más */
/* Con 360 px y diez cifras (9999,9MɌ ×3) hace falta apretar un poco para que las cinco celdas sigan en una línea. */
@media (max-width: 400px) { .money-bar { padding: 12px 8px; gap: 3px; } .money-bar b { font-size: 13px; } }
.auction-wait { margin: 0; padding: 12px; border: 1px dashed rgba(23, 23, 25, .2); border-radius: 14px; font-size: 13px; color: #6f6962; }
/* 261006-waq: una sola lista. El estado va en la fila (franja y etiqueta «a la venta», gris sin dinero), nunca en el botón. */
.sale-tag { justify-self: start; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.sale-rival .sale-tag { background: #fbeccf; color: #8a5a0d; }
.sale-own .sale-tag { background: #dcf2e5; color: #1f6a35; }
.auction-broke { font-style: normal; font-size: 11px; font-weight: 800; color: #a3262d; }
.clause-acts { grid-area: act; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.clause-act.offer { background: transparent; border: 1px solid rgba(255, 255, 255, .28); }
.auction-results ul { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.auction-results li { padding: 8px 12px; border-radius: 12px; background: rgba(23, 23, 25, .05); font-size: 13px; font-weight: 700; color: #4b4741; }
.auction-results li.won { background: #e3f4e8; color: #1f6a35; }
.auction-results li.bad { background: #fde8e9; color: #a3262d; }
/* 261007-jal: dos hechos lado a lado mientras caben; con diez cifras («9.999.900.000 MɌ») el segundo baja a su línea. */
.auction-facts { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 12px 0 16px; } /* 261011-mai: aire antes del campo */
.auction-facts span { flex: 1 1 auto; display: grid; gap: 4px; font-size: 11px; line-height: 1.3; opacity: .85; }
.auction-facts b { font-size: 18px; font-variant-numeric: tabular-nums; }
.auction-input { font-size: 28px; }
.auction-withdraw { color: #ffb3b8; }
/* Lavado 261006-waq: los nombres con cifras («Hiro02») se leen mal con números antiguos en el título de la hoja. */
.sheet h2 { font-variant-numeric: lining-nums; }
/* 261007-8t9 · una sola lista: VENTA, SUBASTA y OFERTAS dibujan a cada jugador con la misma fila (playerListRow).
   El icono de posición es un SVG en línea que hereda el lavanda del texto del rol (.sell-market-info>span): sin petición de red. */
.role-glyph { display: block; width: 14px; height: 14px; flex: none; }
.sell-market-row button { min-height: 44px; }
.sell-market-row > button:disabled { background: rgba(23, 23, 25, .08); color: #6f6962; border-color: transparent; cursor: default; }
.sell-market-row.sale-rival { border-left: 4px solid #e0a23a; }
.sell-market-row.sale-own { border-left: 4px solid #3f9d6a; }
.sell-market-row.broke { background: #f4f3f1; box-shadow: none; }
.sell-market-row.broke .sell-market-avatar, .sell-market-row.broke .sell-market-info, .sell-market-row.broke .sell-market-status strong { opacity: .55; }
.sell-market-info[data-profile] { cursor: pointer; }
/* 261007-8t9 (plan 03): cabecera compacta de MARKET en A tu medida: sin foto ni caja de ronda, el título y una línea. */
.market-head { padding: 12px 0 8px; }
.market-head h1 { font-family: Georgia, serif; font-size: 30px; line-height: 1; font-weight: 400; margin: 0; letter-spacing: -.01em; }
.market-head h1 em { font-style: italic; color: #6e67d9; }
.market-head p { font-size: 13px; line-height: 1.35; color: #66615a; margin: 6px 0 0; }
@media (max-width: 390px) { .market-head h1 { font-size: 26px; } }
/* 261007-8t9 (plan 03): las estadísticas de la vieja tarjeta de compra, como chips bajo el nombre. A <=480 px styles-v5-18.css
   fuerza 12 px a los span de la fila y aquí no se permite pisarlo (05.1-D10): los chips salen a 12 px en móvil. */
.sell-market-stats { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.sell-market-stats span { display: inline-block; font-size: 11px; line-height: 1.3; padding: 2px 8px; border-radius: 999px; background: rgba(110, 103, 217, .08); color: #4b4741; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sell-market-stats b { color: #17181b; font-weight: 800; }
.sell-market-stats .up { color: #1f6a35; background: #e3f4e8; }
.sell-market-stats .down { color: #a3262d; background: #fde8e9; }
/* 261023-mwk (Albert, 23-oct): en móvil, las filas del mercado (Fantasy y Classic) solo dan WR y KDA; K/D/A y partidas siguen en escritorio y en la ficha.
   EQUIPO no cambia. */
@media (max-width: 640px) {
  .sell-market-stats .st-extra { display: none; }
  .t51-team-screen .sell-market-stats .st-extra { display: inline-block; }
}
/* OFERTAS: bajo el estado, una fila de pastillas iguales (Aceptar oscuro, Contraofertar en contorno, Rechazar en rojo); Retirar,
   una sola, en contorno. Misma pastilla que la de VENTA (999 px, 44 px). */
.sell-market-acts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; grid-column: 3 / -1; }
.sell-market-acts button { border: 1px solid rgba(23, 23, 25, .18); border-radius: 999px; background: #fff; color: #17181b; min-height: 44px; min-width: 0; padding: 8px 4px; font-size: 12px; font-weight: 800; cursor: pointer; }
.sell-market-row > button.ghost { background: #fff; color: #17181b; border-color: rgba(23, 23, 25, .18); }
.sell-market-acts .go { background: #17181b; border-color: rgba(23, 23, 25, .12); color: #fff; }
.sell-market-acts .no { color: #a3262d; border-color: rgba(163, 38, 45, .35); }
@media (max-width: 900px) { .sell-market-acts { grid-column: 2 / -1; } }
@media (max-width: 640px) { .sell-market-acts { grid-column: 1 / -1; } }
/* Lavado 261007-8t9: en móvil la fila no deja hueco bajo la foto; el importe y el botón comparten línea. */
@media (max-width: 640px) {
  .sell-market-list .sell-market-row { grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 12px; }
  .sell-market-list .sell-market-row > .sell-market-info { grid-column: 2 / -1; }
  .sell-market-list .sell-market-row > .sell-market-status { grid-column: 1 / 3; }
  .sell-market-list .sell-market-row > button { grid-column: 3; align-self: end; width: auto; min-width: 128px; padding: 0 16px; }
  .sell-market-list .sell-market-row > .sell-market-acts { grid-column: 1 / -1; }
}

/* 261007-cfq: TEAM usa la fila del mercado; la pastilla solo informa. Misma forma que «Pujar» (la da .sell-market-row > button de
   styles-v5-18.css); aquí solo el color, con un selector más específico. */
.sell-market-row > button.roster-pill { cursor: pointer; }
/* 261010-d3r (n.º 23): «Titular» con contorno lavanda en frase normal; el botón lleno queda para la acción principal de la vista. */
.sell-market-row > button.roster-pill.starter { background: #fff; border-color: rgba(110, 103, 217, .55); color: #4a43b8; }
.sell-market-row > button.roster-pill.bench { background: #fff; border-color: rgba(23, 23, 25, .18); color: #6f6962; }

/* 261007-cfq: iconos de ESTADÍSTICAS en la ficha. La línea del valor es icono + número; el icono, en lavanda clara (#b9b2ff:
   #6e67d9 es demasiado oscuro sobre la hoja oscura). Mismo peso de selector que styles-v5-18.css: gana por orden de carga. */
.player-profile-sheet-v514 .profile-stats strong { display: flex; align-items: center; gap: 6px; min-width: 0; }
.player-profile-sheet-v514 .profile-stats strong > span { min-width: 0; }
.player-profile-sheet-v514 .profile-stats .role-glyph,
.player-profile-sheet-v514 .profile-stats .stat-glyph { display: block; width: 16px; height: 16px; flex: none; color: #b9b2ff; }

/* 261007-cgd · RANKING: la clasificación de la competición. Cada manager es la fila del mercado (sell-market-row) con el puesto delante:
   puesto · foto de 58 px · nombre y chips · PUNTOS, siempre en una sola línea. Los selectores llevan dos clases (manager-list-row +
   sell-market-row) para ganar a las reglas de arranque de la fila, también a las de ≤ 900 y ≤ 640 px que la parten en dos líneas.
   (.ranking-head del arranque es la cabecera de GENERAL; la de esta pantalla se llama ranking-intro.) */
.ranking-intro small { display: block; font-size: 11px; letter-spacing: .08em; font-weight: 800; color: #6e67d9; margin-bottom: 6px; }
.ranking-intro h1 { overflow-wrap: anywhere; }
/* 261007-okd: TU PUESTO. Antes era una tarjeta lavanda pálida con un rótulo gris pequeño a 18 px de la lista y se leía como una fila más. Ahora es un
   panel lavanda sólido (#6e67d9) con su encabezado en blanco dentro y mi fila como tarjeta blanca; 28 px más abajo, la lista abre con su propio
   encabezado y una línea. La fila de la propia lista (is-me, con su franja lavanda) no cambia. */
.ranking-me { margin: 4px 0 28px; padding: 8px 8px 12px; border-radius: 22px; background: #6e67d9; }
.ranking-me > h2 { margin: 0 4px 8px; font: 800 11px/1.2 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .08em; color: #fff; }
.ranking-me .manager-list-row.is-me { border-left: 0; background: #fff; box-shadow: 0 6px 16px rgba(23, 22, 60, .22); }
.ranking-list-head { margin: 0 2px 8px; padding-top: 12px; border-top: 1px solid rgba(23, 23, 25, .14); font: 800 11px/1.2 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .08em; color: #6f6962; }
.ranking-list { gap: 8px; }
.manager-list-row.sell-market-row { grid-template-columns: minmax(26px, auto) 58px minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px; cursor: pointer; }
.ranking-list .manager-list-row.sell-market-row { grid-template-columns: 26px 58px minmax(0, 1fr) auto; }
.manager-list-row.is-me { border-left: 4px solid #6e67d9; background: #f7f6ff; }
.manager-list-row:focus-visible { outline: 3px solid #6e67d9; outline-offset: 2px; }
.manager-list-pos { font-family: Georgia, serif; font-size: 15px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; color: #17181b; }
.manager-list-row .sell-market-avatar { flex: none; overflow: hidden; }
.manager-list-row .sell-market-avatar .picker-photo { display: grid; place-items: center; width: 58px; height: 58px; object-fit: cover; font-size: 15px; }
.manager-list-row .sell-market-info { min-width: 0; }
.manager-list-row .sell-market-info > span { overflow-wrap: anywhere; }
.manager-list-row .sell-market-info strong { font-size: 18px; line-height: 1.15; overflow-wrap: anywhere; }
.manager-list-me { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: #6e67d9; color: #fff; font: 800 11px/1.2 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .08em; }
.manager-list-row > .sell-market-status { grid-column: auto; min-width: 0; padding: 0 0 0 12px; border-top: 0; border-left: 1px solid rgba(23, 23, 25, .09); white-space: nowrap; }
.manager-list-row > .sell-market-status strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.nav-ico .nav-rank { display: block; width: 19px; height: 19px; }
@media (max-width: 480px) {
  .manager-list-row.sell-market-row { gap: 8px; padding: 8px; }
  .manager-list-row .sell-market-info strong { font-size: 15px; }
  .manager-list-row > .sell-market-status { padding-left: 8px; }
  .manager-list-row > .sell-market-status strong { font-size: 15px; }
  .manager-list-pos { font-size: 15px; }
}
/* En móvil la columna del nombre es estrecha (a 320 px, ~100 px): los chips no caben ahí. .sell-market-info se disuelve en la cuadrícula
   de la fila: el nombre se queda junto a la foto y los chips pasan a todo el ancho de la fila, debajo. */
@media (max-width: 560px) {
  .manager-list-row .sell-market-info { display: contents; }
  .manager-list-row .sell-market-info > span { grid-column: 3; grid-row: 1; align-self: end; }
  .manager-list-row .sell-market-info > strong { grid-column: 3; grid-row: 2; align-self: start; margin-top: 2px; }
  .manager-list-row .sell-market-info > .sell-market-stats { grid-column: 1 / -1; grid-row: 3; margin-top: 2px; }
  .manager-list-row > .manager-list-pos, .manager-list-row > .sell-market-avatar, .manager-list-row > .sell-market-status { grid-row: 1 / 3; align-self: center; }
  .manager-list-row > .manager-list-pos { grid-column: 1; }
  .manager-list-row > .sell-market-avatar { grid-column: 2; }
  .manager-list-row > .sell-market-status { grid-column: 4; }
}

/* 261007-cgd · hoja de un manager de RANKING: cabecera con su foto, carrusel de jornadas y el mapa de solo lectura (el de LEAGUES).
   El carrusel usa las clases del selector de MI EQUIPO (league-round-switcher): .rounds-timeline pasa a ser una cuadrícula vertical a
   partir de 900 px y fuerza márgenes negativos en móvil; el selector es siempre una sola fila con scroll lateral. */
.ranking-sheet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ranking-sheet-head .sell-market-avatar { flex: none; overflow: hidden; width: 58px; height: 58px; }
.ranking-sheet-head .sell-market-avatar .picker-photo { display: grid; place-items: center; width: 58px; height: 58px; object-fit: cover; font-size: 13px; font-weight: 700; }
.ranking-sheet-head > div:last-child { min-width: 0; }
.ranking-sheet-head small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } /* 261011-tip T18: el antetítulo de todas las hojas */
.ranking-sheet-head h2 { margin: 2px 0 0; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: 26px; font-weight: 400; } /* 261011-tip T18: título de hoja en serif, como las demás */
.ranking-sheet-head .sheet-info { margin: 4px 0 0; font-size: 13px; padding-top: 0; border-top: 0; overflow-wrap: anywhere; }
.ranking-sheet .league-round-switcher { margin: 0 0 12px; padding-bottom: 6px; scroll-snap-type: x proximity; }
.ranking-sheet .league-round-switcher button { min-width: 118px; scroll-snap-align: start; }
.ranking-sheet .league-round-switcher button small { font-size: 11px; }
.ranking-sheet .league-round-switcher button strong { font-size: 12px; white-space: nowrap; }
.ranking-sheet .league-round-switcher button span { display: block; margin-top: 2px; font-size: 12px; color: #6b6a68; }
/* la hoja es oscura: la jornada activa en lavanda (el negro del selector claro de MI EQUIPO se perdería en el fondo) */
.ranking-sheet .league-round-switcher button.active { background: #6e67d9; border-color: #6e67d9; color: #fff; }
.ranking-sheet .league-round-switcher button.active small, .ranking-sheet .league-round-switcher button.active span { color: #fff; }

/* 261007-cgf (plan 02): poner a la venta. Las hojas de la venta reutilizan las clases del prototipo (.sale-live-card, .sale-offers-stack,
   .sale-offer-row, styles-v5-18.css); aquí solo el tamaño táctil (44 px, el botón del prototipo mide 36) y la forma. Selectores más
   específicos que los del prototipo, sin recurrir a nada más fuerte. */
.sale-sheet .sale-range { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: #d9d5cc; }
.sale-sheet .sale-offer-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 12px; }
.sale-sheet .sale-offer-row > div { min-width: 0; }
.sale-sheet .sale-offer-row > div span { display: block; font-size: 13px; overflow-wrap: anywhere; }
.sale-sheet .sale-offer-row > div small { font-size: 11px; overflow-wrap: anywhere; }
.sale-sheet .sale-offer-row > strong { font-size: 22px; white-space: nowrap; }
.sale-sheet .sale-offer-row > button { grid-column: auto; min-height: 44px; min-width: 96px; height: auto; border-radius: 999px; padding: 0 16px; font-size: 13px; cursor: pointer; }
.sale-sheet .sale-offer-row.market { border-left: 3px solid #8d82e8; }
.sale-sheet .sheet-close, .sale-sheet .primary-action, .sale-accept-sheet .sheet-close, .sale-accept-sheet .danger-action { min-height: 44px; }
.sale-sheet .sheet-close.sale-cancel { color: #ff9da3; }
.sale-sheet .sale-live-card small, .sale-sheet .sale-offers-summary small, .sale-sheet .sale-player-line small { font-size: 12px; }
@media (max-width: 380px) { .sale-sheet .sale-offer-row { grid-template-columns: minmax(0, 1fr) auto; } .sale-sheet .sale-offer-row > button { grid-column: 1 / -1; } }

/* 261007-jal: una fila de acciones de la ficha con un importe largo («105.500.000 MɌ») deja la columna del texto en 50 px a 360 px.
   market-ui marca esas filas con pa-long (importe de más de nueve caracteres: los de la Classic, «10,5MɌ», no llegan): el importe baja
   bajo el texto y la flecha se queda a la derecha. */
@media (max-width: 480px) {
  .pa-row.pa-long { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .pa-row.pa-long .pa-ico { grid-row: 1 / 3; }
  .pa-row.pa-long .pa-value { grid-column: 2; grid-row: 2; }
  .pa-row.pa-long .pa-go { grid-column: 3; grid-row: 1 / 3; }
}

/* 261007-jal: un importe de diez cifras en una fila de móvil («9.999.900.000 MɌ», 16 caracteres; playerListRow marca esas filas con
   long-amount) no cabe en el 18 px de Georgia de la celda del importe: baja a 15 px solo en esas filas. */
@media (max-width: 640px) { .sell-market-row.long-amount > .sell-market-status strong { font-size: 15px; } }

/* 261008-ofm (Albert, 8-oct, punto 11): en OFERTAS el valor exacto va al mismo nivel que el importe. playerListRow pone los dos pares
   en .sell-market-pairs; cada small y strong hereda la letra de la cifra (.sell-market-status small/strong de styles-v5-18.css y la
   regla long-amount de arriba), así que importe y valor salen iguales. Lado a lado si caben (móvil), uno bajo el otro si no (la columna
   de 220 px a 1280). Son div y no span: styles-v5-18.css fuerza 12 px a los span de la celda en ≤ 480 px. */
.sell-market-pairs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.sell-market-pairs > div { min-width: 0; }

/* 261009-oc3 (Albert, 9-oct: «demasiada info apelotonada… quita la línea de "+15,0 % sobre su valor" y "Caduca en 19:..."… ponerlo en
   una cajita cada uno, así se diferenciarán más»). Sustituye al recibo de 261008-of2: la celda de una fila de OFERTAS lleva solo dos
   cajitas lado a lado, la del importe («TE OFRECEN» / «TE PIDEN» / «OFRECES» / «PIDES») con tinte lavanda y la del valor actual neutra;
   en cada una, la etiqueta pequeña arriba y la cifra debajo, un pelín más pequeña que antes (16 px). Sin valor, una sola cajita.
   La celda ocupa todo el ancho de la tarjeta en móvil y la columna derecha entera en escritorio, que crece para que las dos quepan;
   las acciones van debajo, a todo el ancho. */
.offer-row .sell-market-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.offer-row .sell-market-pairs > div { min-width: 0; padding: 8px 12px 8px; border: 1px solid rgba(23, 23, 25, .08); border-radius: 12px; background: #f7f5f1; }
.offer-row .sell-market-pairs > div:first-child { background: #eeecfa; border-color: rgba(110, 103, 217, .2); }
.offer-row .sell-market-pairs small { display: block; margin: 0; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; color: #6f6962; }
.offer-row .sell-market-pairs > div:first-child small { color: #5a53c4; }
.offer-row .sell-market-pairs strong { display: block; margin: 4px 0 0; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.offer-row.long-amount .sell-market-pairs strong { font-size: 15px; }
.offer-row .sell-market-acts { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); }
@media (min-width: 901px) {
  .offer-row.sell-market-row { grid-template-columns: 72px minmax(0, 1fr) 248px 132px; }
  .offer-row.sell-market-row > .sell-market-status, .offer-row.sell-market-row > button { grid-column: 3 / -1; }
  .offer-row.sell-market-row > button { justify-self: end; min-width: 140px; padding: 0 24px; border-radius: 999px; font-size: 12px; }
}
@media (max-width: 900px) {
  .offer-row.sell-market-row > .sell-market-status, .offer-row.sell-market-row > button { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
  .sell-market-list .offer-row.sell-market-row > .sell-market-status { grid-column: 1 / -1; padding-top: 12px; }
  .sell-market-list .offer-row.sell-market-row > button { grid-column: 1 / -1; width: 100%; }
}
/* En móvil cada cajita mide ~150 px: «260.000.000 MɌ» (los ceros de Georgia son anchos) no cabe a 16 px con aire a los lados. */
@media (max-width: 480px) {
  .offer-row .sell-market-pairs > div { padding: 8px 8px 8px; }
  .offer-row .sell-market-pairs strong { font-size: 15px; }
  .offer-row.long-amount .sell-market-pairs strong { font-size: 13px; }
}
@media (max-width: 380px) { .offer-row .sell-market-pairs strong { font-size: 15px; } }

/* 261007-wed · HOME · próximas jornadas, rehechas en 261008-j7d como una fila del RANKING (manager-list-row / sell-market-row): carcasa
   blanca común (.pj-card, también la de «Las próximas competiciones»), baldosa de 56 px a la izquierda, antetítulo lavanda y título en
   Georgia, estado a la derecha tras una línea fina y, a todo el ancho, la fila de abrir. Cada jornada es un <details> nativo: todo el
   resumen es el objetivo táctil (44 px o más). Sin borde lavanda al abrir y sin separadores discontinuos. */
/* 261008-j7d: la explicación del Suizo, una nota lavanda entre el título y las tarjetas (sin botón de cerrar: es corta y siempre visible).
   Lavanda opaca: el rgba(110, 103, 217, .07) del plan, sobre el beige de HOME, se leía gris. */
/* 261008-hj2: el antetítulo va en la misma línea que el texto (los dos inline): una línea menos y menos relleno. */
/* 261009-ja3 (Albert, 9-oct: «más espacios y separación, un poco, sin pasarse… la tipografía de "4 d 04:10:51" no funciona»): algo más
   de aire en cada bloque (14 px entre tarjetas, 16 arriba del resumen, pie de 44, 14 en JUEGAN/DESCANSAN y 11 en cada partido) y la
   cuenta atrás del estado en la sans de la app con cifras tabulares de caja alta (Georgia solo tiene números de estilo antiguo). */
/* 261011-hom: el Suizo, debajo de las jornadas y en voz baja: un enlace plegado, sin la barra lavanda a todo el ancho. */
.pj-swiss { margin: 4px 0 0; font-size: 13px; line-height: 1.45; }
.pj-swiss summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; color: #4a43b8; }
.pj-swiss summary::-webkit-details-marker { display: none; }
.pj-swiss summary::after { content: "+"; font-size: 15px; font-weight: 400; }
.pj-swiss[open] summary::after { content: "−"; }
.pj-swiss summary:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; border-radius: 8px; }
.pj-swiss p { max-width: 560px; margin: 0; padding: 0 4px 8px; font-size: 13px; line-height: 1.45; color: #4b4741; }
.pj-rounds { display: grid; gap: 16px; }
.pj-note { margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(23, 23, 25, .04); font-size: 13px; line-height: 1.45; color: #66615a; }
.pj-card { background: #fff; border: 1px solid rgba(23, 23, 25, .12); border-radius: 18px; box-shadow: 0 8px 22px rgba(23, 23, 25, .06); color: #17181b; }
.pj-tile { display: grid; align-content: center; justify-items: center; width: 56px; min-height: 56px; border-radius: 14px; background: #f4f3f1; color: #17181b; line-height: 1.1; text-align: center; }
.pj-date small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.pj-date b { font-family: Georgia, serif; font-size: 22px; font-weight: 400; font-variant-numeric: lining-nums; }
.pj-round.is-live .pj-date, .pj-round.is-live .pj-date small { background: rgba(110, 103, 217, .12); color: #3f3a9e; }
.pj-round.is-live .pj-date small { background: none; }
/* 261008-hj2 (Albert, 8-oct: «menos abultado con una info similar»): el resumen es una fila (baldosa · antetítulo y título · estado) y un
   pie fino (.pj-foot, 38 px) con los titulares a la izquierda y la fila de abrir a la derecha. Sin fila de pastillas. A 360 px, si los
   titulares y «Ver los N partidos» no caben juntos, la fila de abrir baja a su línea. */
.pj-round > summary { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "tile main status" "foot foot foot"; align-items: center; column-gap: 12px; padding: 16px 16px 0; min-height: 44px; cursor: pointer; list-style: none; border-radius: 18px; }
.pj-round > summary::-webkit-details-marker { display: none; }
.pj-round > summary:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
.pj-date { grid-area: tile; align-self: center; }
.pj-main { grid-area: main; display: grid; gap: 4px; min-width: 0; align-self: center; }
.pj-over { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; overflow-wrap: anywhere; }
.pj-title { font-family: Georgia, serif; font-size: 18px; line-height: 1.15; letter-spacing: -.01em; }
.pj-status { grid-area: status; display: grid; justify-items: end; align-content: center; gap: 3px; align-self: stretch; width: 120px; box-sizing: border-box; padding-left: 12px; border-left: 1px solid rgba(23, 23, 25, .09); text-align: right; }
.pj-status small { font-size: 11px; font-weight: 700; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.pj-status b { font-family: inherit; font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.pj-status.is-live small:first-child { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #5750c9; }
.pj-dot { width: 7px; height: 7px; border-radius: 50%; background: #6e67d9; flex: none; }
.pj-foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; min-height: 44px; margin: 16px -16px 0; padding: 0 16px; border-top: 1px solid rgba(23, 23, 25, .08); }
.pj-mine-sum { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; line-height: 1.3; color: #3f3a9e; }
.pj-mine-sum::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pj-mine-sum.warn { color: #17181b; } /* 261011-ti2 (T02 C): tinta, y el aviso es solo el punto rojo */
.pj-mine-sum.warn::before { background: #d14343; }
.pj-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; font-size: 13px; font-weight: 700; color: #5750c9; white-space: nowrap; }
.pj-round[open] .pj-more-shut, .pj-round:not([open]) .pj-more-open { display: none; }
.pj-chev { flex: none; transition: transform .15s ease; }
.pj-round[open] .pj-chev { transform: rotate(180deg); }
.pj-body { padding: 0 16px 8px; border-top: 1px solid rgba(23, 23, 25, .08); }
.pj-empty { margin: 0; padding: 12px 0 8px; font-size: 13px; color: #66615a; }
/* Quién juega: una línea por grupo, la etiqueta pequeña y las fichas de código. */
.pj-groups { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid rgba(23, 23, 25, .08); }
.pj-group { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; align-items: start; }
.pj-group > small { padding-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.pj-chips { display: flex; flex-wrap: wrap; gap: 4px 4px; min-width: 0; }
.pj-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 7px; background: #f4f3f1; font-size: 12px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.pj-chip.is-tbd { background: #fff; box-shadow: none; border: 1px dashed rgba(23, 23, 25, .3); padding: 2px 6px; color: #66615a; font-weight: 700; }
.pj-chip.has-mine { background: rgba(110, 103, 217, .12); color: #3f3a9e; }
/* 261011-ti2: «Tus titulares» — el que juega en tinta, el que no en blanco con contorno gris */
.pj-chip.is-on { background: #17181b; color: #fff; }
.pj-chip.is-off { background: #fff; color: #66615a; box-shadow: inset 0 0 0 1px rgba(23, 23, 25, .22); }
.pj-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pj-chip .role-glyph { width: 14px; height: 14px; }
/* Los partidos: filas de una tabla limpia, con línea fina continua entre ellas. */
.pj-list { display: grid; }
.pj-match { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 0; border-top: 1px solid rgba(23, 23, 25, .07); }
.pj-match:first-child { border-top: 0; }
.pj-when { display: grid; gap: 1px; align-self: start; }
.pj-time { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pj-day { font-size: 11px; color: #66615a; white-space: nowrap; }
.pj-tag { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #66615a; }
.pj-tag.is-live { color: #5750c9; }
.pj-teams { display: grid; grid-template-columns: minmax(52px, max-content) 40px minmax(52px, max-content); align-items: center; min-width: 0; }
.pj-team { padding: 4px 8px; border-radius: 8px; background: #f4f3f1; font-size: 13px; font-weight: 800; text-align: center; overflow-wrap: anywhere; }
.pj-team.win { background: #17181b; color: #fff; }
.pj-team.tbd { background: #fff; border: 1px dashed rgba(23, 23, 25, .3); padding: 3px 6px; font-size: 12px; font-weight: 700; color: #66615a; }
.pj-score, .pj-vs { text-align: center; }
.pj-score { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pj-vs { font-size: 12px; color: #8b857d; }
.pj-bo { font-size: 11px; font-weight: 700; color: #66615a; }
.pj-mine { grid-column: 2 / -1; font-size: 12px; font-weight: 700; line-height: 1.45; color: #3f3a9e; overflow-wrap: anywhere; }
.pj-whos { min-width: 0; font-weight: 700; }
.pj-who { white-space: nowrap; }
.pj-who .role-glyph { display: inline-block; width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; color: #6e67d9; }
.pj-who.is-bench { color: #66615a; font-weight: 400; }
/* 261008-j7d · «Las próximas competiciones» con el mismo diseño: la carcasa .pj-card y la baldosa con la sigla. Solo texto (D-14).
   La próxima que abrimos, a todo el ancho con el detalle de TU PUESTO (franja de 4 px y fondo #f7f6ff); las demás, compactas en rejilla.
   Las reglas #root .up-next y .up-rest de styles-v5-18.css se quedan sin uso (ese fichero no se toca). */
.pj-comps { display: grid; gap: 8px; }
.pj-comp { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px; }
.pj-comp .pj-title { font-weight: 400; }
.pj-comp .pj-main { grid-area: auto; align-self: center; }
.pj-comp .pj-tile { font-size: 13px; font-weight: 700; letter-spacing: .04em; overflow-wrap: anywhere; }
.pj-comp.is-next { border-left: 4px solid #6e67d9; background: #f7f6ff; padding: 12px 16px 12px 12px; }
.pj-comp.is-next .pj-tile { background: #6e67d9; color: #fff; }
.pj-comp.is-next .pj-title { font-size: 22px; overflow-wrap: anywhere; }
.pj-comp p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: #4b4741; }
.pj-comps-rest { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pj-comps-rest .pj-comp { gap: 8px; padding: 8px; }
.pj-comps-rest .pj-title { font-size: 15px; line-height: 1.2; min-width: 0; hyphens: auto; hyphenate-limit-chars: 6 3 4; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .pj-round > summary { column-gap: 12px; padding: 16px 16px 0; }
  .pj-foot { margin: 12px -16px 0; padding: 0 16px; }
  .pj-body { padding: 0 12px 6px; }
  .pj-status { padding-left: 8px; }
  .pj-status b { font-size: 15px; }
  .pj-group { grid-template-columns: 100px minmax(0, 1fr); } /* 261011-ti2: «TUS TITULARES» en una línea */
  /* dos por fila: «Norteamérica» cabe entera a 390 px y la última, si va sola, ocupa la fila */
  .pj-comps-rest .pj-comp { gap: 8px; padding: 8px; }
  .pj-comps-rest .pj-title { font-size: 15px; }
  .pj-comps-rest .pj-comp:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* 261008-hj2: por debajo de 390 px los titulares y «Ver los N partidos» no caben en una línea: los titulares van en la suya, con aire
   encima, y la fila de abrir debajo, a la derecha. */
@media (max-width: 380px) {
  .pj-foot .pj-mine-sum { flex: 1 0 100%; padding-top: 12px; }
  .pj-foot .pj-more { min-height: 38px; }
}
@media (min-width: 981px) {
  .pj-groups { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 24px; }
  .pj-round[open] .pj-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .pj-round[open] .pj-list > .pj-match:nth-child(2) { border-top: 0; }
}

/* 261008-ltx (punto 5): las ayudas de la leyenda «Así puntúa cada mapa» no se salen de la pantalla. En v5-18 cada ayuda mide
   190 px y va centrada en su ficha, así que en el móvil las de los bordes se salían (a 360 px, 8 de 16). Selectores con
   .league-scoring-legend delante: pesan más que los de v5-18 y vienen después, sin tocar aquel fichero.
   Hasta 980 px la ayuda ocupa el ancho de la leyenda (la ficha deja de ser la referencia: position static) y en vertical usa su
   posición estática (el borde de arriba del contenido de la ficha, 8 px bajo su borde) subida su propia altura más 13 px; al
   abrirse, 4 px más: queda a 9 px por encima de la ficha. El piquito, también en su posición estática, apunta al icono.
   Desde 981 px la ayuda se alinea a la izquierda de su ficha y la leyenda reserva 124 px a la derecha: ninguna ficha empieza a
   menos de 190 px (el ancho de la ayuda) del borde. */
@media (max-width: 980px) {
  .league-scoring-legend { position: relative; }
  .league-scoring-legend .legend-chip { position: static; }
  .league-scoring-legend .legend-chip::after { left: 0; right: 0; width: auto; max-width: none; top: auto; bottom: auto; align-self: flex-start; transform: translateY(calc(-100% - 13px)); }
  .league-scoring-legend .legend-chip:hover::after, .league-scoring-legend .legend-chip:focus-visible::after { transform: translateY(calc(-100% - 17px)); }
  .league-scoring-legend .legend-chip::before, .league-scoring-legend .legend-chip:hover::before, .league-scoring-legend .legend-chip:focus-visible::before { left: auto; top: auto; bottom: auto; align-self: flex-start; transform: translate(3px, -17px); }
}
@media (min-width: 981px) {
  .league-scoring-legend { padding-right: 124px; }
  .league-scoring-legend .legend-chip::after { left: 0; transform: translateY(4px); }
  .league-scoring-legend .legend-chip:hover::after, .league-scoring-legend .legend-chip:focus-visible::after { transform: translateY(0); }
  .league-scoring-legend .legend-chip::before, .league-scoring-legend .legend-chip:hover::before, .league-scoring-legend .legend-chip:focus-visible::before { left: 16px; transform: none; }
}

/* 261008-ctl · Configura tu liga: un solo diseño para World Classic y Fantasy, en el idioma de HOME (.pj-card, antetítulo lavanda),
   MARKET (cabecera compacta), RANKING (lo elegido como TU PUESTO) y OFERTAS (pastilla de tinta). El marcado usa clases cl- nuevas
   para que las reglas forzadas de styles-v5-18.css (league-setup-*, .setup-form) dejen de casar sin tocar ese fichero.
   Lo elegido es lavanda; la única acción en tinta es «Crear liga». */
.cl-screen .onboarding-brand .back { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; }
.cl-screen .onboarding-brand small { font-size: 11px; letter-spacing: .08em; }
.onboarding-main.cl-main { max-width: 820px; margin: 0 auto; padding: 24px 20px 80px; }
.cl-head { display: grid; gap: 8px; margin: 0 0 20px; }
.cl-kicker { font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; }
.cl-main .cl-head h1 { margin: 0; font-family: Georgia, serif; font-size: 30px; line-height: 1; font-weight: 400; letter-spacing: -.01em; color: #17181b; }
.cl-form { display: grid; gap: 16px; }
.cl-form > label, .cl-form .cl-field { display: grid; gap: 6px; align-content: start; min-width: 0; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.cl-form > label small { font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.cl-form input, .cl-form select { width: 100%; min-height: 48px; margin: 0; padding: 0 12px; border: 1px solid rgba(23, 23, 25, .16); border-radius: 12px; background-color: #fff; color: #17181b; font: inherit; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; box-shadow: none; }
.cl-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2366615a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; text-overflow: ellipsis; cursor: pointer; }
.cl-form input::placeholder { color: #8b857d; font-weight: 400; }
.cl-form input:focus, .cl-form select:focus { outline: none; border-color: #6e67d9; box-shadow: 0 0 0 3px rgba(110, 103, 217, .18); }
.cl-sec { margin: 0 0 -8px; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.cl-modes { display: grid; gap: 8px; }
.cl-mode { position: relative; display: grid; gap: 6px; align-content: start; width: 100%; margin: 0; padding: 16px 50px 16px 16px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(23, 23, 25, .06); color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.cl-mode > span:first-child { font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; }
.cl-mode > strong { font-family: Georgia, serif; font-size: 18px; line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.cl-mode::after { content: ""; position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; box-sizing: border-box; border: 2px solid rgba(23, 23, 25, .24); border-radius: 50%; background: #fff; }
.cl-mode:hover { border-color: rgba(110, 103, 217, .45); }
.cl-mode:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
.cl-mode.active { border-color: rgba(110, 103, 217, .35); border-left: 4px solid #6e67d9; padding-left: 12px; background: #f7f6ff; }
.cl-mode.active::after { border-color: #6e67d9; background: #6e67d9; box-shadow: inset 0 0 0 4px #fff; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cl-chips span { padding: 4px 8px; border-radius: 999px; background: #f4f3f1; font-size: 12px; font-weight: 700; line-height: 1.3; color: #4b4741; }
.cl-mode.active .cl-chips span { background: #fff; }
fieldset.cl-rules { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cl-card { display: grid; gap: 12px; padding: 16px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(23, 23, 25, .06); color: #17181b; }
.cl-card h3 { margin: 0; font-family: Georgia, serif; font-size: 18px; line-height: 1.15; font-weight: 400; letter-spacing: -.01em; }
.cl-row { display: flex; flex-wrap: wrap; gap: 12px 8px; }
.cl-row > .cl-field { flex: 1 1 150px; }
.cl-note { margin: 0; padding: 8px 12px; border-radius: 14px; background: #eeecfa; font-size: 13px; line-height: 1.45; color: #4b4741; }
.cl-note strong { display: inline; margin-right: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; }
.cl-note.custom { background: #fbeccf; color: #8a5a0d; }
.cl-note.custom strong { color: #8a5a0d; }
.cl-line { margin: -6px 0 0; font-size: 13px; line-height: 1.45; color: #4b4741; }
.cl-hint { margin: -6px 0 0; font-size: 12px; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-transform: none; color: #66615a; }
.cl-hint strong { margin-right: 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #4b4741; }
/* Pesa más que [data-managers-note].warn de v5-18 (fondo rojizo). Su border-radius forzado de 10 px se acepta. */
.cl-form .cl-hint.warn { margin-top: -4px; padding: 8px 8px; border: 0; background: #fbeccf; color: #8a5a0d; }
.cl-form .cl-hint.warn strong { color: #8a5a0d; }
.cl-field .cl-hint { margin: 2px 0 0; }
.cl-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-seg label { position: relative; flex: 0 0 auto; display: flex; cursor: pointer; }
.cl-form .cl-seg input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; }
.cl-seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(23, 23, 25, .16); border-radius: 999px; background: #fff; color: #17181b; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.cl-seg label:hover span { border-color: rgba(110, 103, 217, .5); }
.cl-seg input:checked + span { border-color: #6e67d9; background: rgba(110, 103, 217, .12); color: #3f3a9e; }
.cl-seg input:focus-visible + span { outline: 2px solid #6e67d9; outline-offset: 2px; }
.cl-seg input:disabled + span { cursor: not-allowed; }
.cl-row > .cl-field.cl-w { flex-basis: 300px; }
.cl-deps { display: grid; gap: 12px; }
.cl-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 4px 0 0; padding: 0 28px; border: 0; border-radius: 999px; background: #17181b; color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.cl-submit:hover { background: #2a2b30; }
.cl-submit:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
.cl-submit:disabled { opacity: .5; cursor: progress; }
@media (min-width: 641px) {
  .cl-modes { grid-template-columns: 1fr 1fr; }
  .cl-submit { justify-self: end; width: auto; min-width: 240px; }
}
@media (max-width: 640px) {
  .onboarding-main.cl-main { padding: 16px 12px 72px; }
}
@media (max-width: 390px) {
  .cl-main .cl-head h1 { font-size: 26px; }
  .cl-card { padding: 12px; }
  .cl-mode { padding: 12px 46px 12px 12px; }
  .cl-mode.active { padding-left: 12px; }
  .cl-mode::after { top: 14px; right: 14px; }
}
/* Paso 1: las competiciones con las tarjetas de «Las próximas competiciones» de HOME (.pj-comp); la abierta es un botón con la
   baldosa en tinta y la flecha en lavanda. */
.cl-comp { grid-template-columns: 56px minmax(0, 1fr) auto; width: 100%; margin: 0; font: inherit; text-align: left; cursor: pointer; }
.cl-comp .pj-tile { background: #17181b; color: #fff; }
.cl-comp .pj-title { font-size: 22px; }
.cl-comp .cl-sub { font-size: 13px; line-height: 1.4; color: #66615a; }
.cl-comp > i { padding: 0 6px 0 4px; font-size: 22px; font-style: normal; color: #6e67d9; }
.cl-comp:hover { border-color: #6e67d9; }
.cl-comp:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
.create-entry-panel .cl-sec { display: block; margin: 8px 0 0; }
/* Al final de la sección: un display de autor gana al [hidden] del navegador. */
.cl-screen [hidden] { display: none; }
/* 261008-mpf · El menú de perfil y sus hojas (avatar, reglas, avisos, entrar, cerrar sesión, borrar cuenta, borrar los datos):
   hoja oscura con antetítulo lavanda, título en Georgia y nada por debajo de 11 px ni de 44 px. El marcado lleva clases pm- nuevas
   para ganar a las reglas de styles-v5-18.css por especificidad, sin tocar ese fichero. Esta hoja no se carga en el arranque:
   cada apertura espera a onboardingCss() o a pmUiApi(). El antetítulo es un p.pm-kicker y no un small: «.sheet > small» está forzado a
   9 px en v5-18. */
.sheet.pm-sheet > .pm-kicker { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #b9b2ff; }
.sheet.pm-sheet > h2 { margin: 6px 0 16px; font-family: Georgia, serif; font-size: 26px; line-height: 1.1; font-weight: 400; letter-spacing: -.01em; color: #f6f2ea; }
.pm-sheet .pm-text, .pm-sheet .push-status, .pm-sheet .menu-intro { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: #d9d4cc; }
.pm-sheet .lead { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: #d9d4cc; }
.pm-sheet .form-note { font-size: 13px; line-height: 1.5; color: #a9a39a; }
.pm-sheet .primary-action, .pm-sheet .secondary-action, .pm-sheet .danger-action { min-height: 50px; border-radius: 14px; font-size: 15px; }
.pm-sheet .secondary-action { background: rgba(255, 255, 255, .06); color: #f6f2ea; border: 1px solid rgba(255, 255, 255, .14); }
.pm-sheet .delete-league-warning { border-radius: 14px; }
.pm-sheet .delete-league-warning strong { display: block; font-size: 15px; line-height: 1.4; }
.pm-sheet .delete-league-warning p { font-size: 13px; line-height: 1.5; color: #d9cdc8; }
.pm-sheet .delete-confirm-label { margin: 16px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #a9a39a; }
/* El código, con el mismo campo crema que «Entrar» y «Tu nombre y club» (no el azul petróleo de v5-18). */
.pm-sheet .delete-confirm-label input { height: 52px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; background: #fbf8f1; color: #141416; font-size: 18px; letter-spacing: .08em; }
.pm-sheet .delete-confirm-label input:focus { border-color: #b9b2ff; box-shadow: 0 0 0 3px rgba(141, 130, 232, .35); }
.pm-sheet .join-code-hint { border-color: rgba(255, 255, 255, .08); }
.pm-sheet .join-code-hint > span { color: #b9b2ff; }
.pm-sheet .join-code-hint strong { font-size: 15px; line-height: 1.4; }
.pm-sheet .join-code-hint small { font-size: 13px; color: #a9a39a; }
.pm-sheet .pm-label { display: block; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #a9a39a; }
#root .pm-sheet .legal-note a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
/* Reglas: filas oscuras en vez de la tabla crema de .rules-list. */
.pm-rules { margin: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.pm-rules > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.4; }
.pm-rules span { flex: 0 1 auto; color: #a9a39a; }
.pm-rules strong { flex: 0 1 60%; text-align: right; font-weight: 700; color: #f6f2ea; }
.pm-sheet .pm-sub { margin: 24px 0 8px; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #b9b2ff; }
/* Avisos: la lista de espera y botones de 48 px. */
.pm-soon { margin: 0 0 12px; padding: 8px 12px; border-radius: 14px; background: rgba(110, 103, 217, .16); font-size: 13px; line-height: 1.45; color: #e4e0d8; }
.pm-soon strong { display: inline; margin-right: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #b9b2ff; }
.pm-sheet.push-sheet button { min-height: 48px; margin-bottom: 8px; font-size: 15px; border-radius: 14px; }
.pm-sheet.push-sheet .sheet-close { margin: 0; border: 0; background: none; color: #96938d; font-weight: 700; }
/* Avatar: buscador de 44 px, nombres legibles en hasta dos líneas. */
.pm-sheet .avatar-copy { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: #a9a39a; }
.pm-sheet .avatar-loading { font-size: 13px; }
.pm-sheet .avatar-search { min-height: 44px; height: auto; border-radius: 12px; }
.pm-sheet .avatar-search input { min-height: 44px; font-size: 16px; }
.pm-sheet .avatar-grid button { font-size: 11px; line-height: 1.2; border-radius: 10px; overflow: hidden; }
.pm-sheet .avatar-grid span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
/* El buscador oculta con [hidden], pero el display:flex de .avatar-grid button (styles-v5-18) le gana al del navegador. */
.avatar-grid [hidden] { display: none; }
/* Tu nombre y club, términos: la nota y el error del formulario. */
.pm-sheet .setup-form { display: grid; gap: 16px; }
.pm-sheet .pm-hint { margin: -4px 0 0; font-size: 13px; line-height: 1.5; color: #a9a39a; }
.pm-sheet .pm-error { color: #ff9da3; }
/* La hoja «Cuenta»: tarjeta oscura del email o de este dispositivo y la zona de peligro, legible sobre la hoja (≥ 4,5:1). */
.pm-card { display: grid; gap: 6px; margin: 0 0 12px; padding: 16px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: #1b1d22; }
.pm-danger { display: grid; gap: 6px; margin: 0 0 4px; padding: 16px; border: 1px solid rgba(238, 104, 112, .3); border-radius: 18px; background: rgba(185, 55, 65, .08); }
.pm-sheet .pm-card-k { font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #a9a39a; }
.pm-danger .pm-card-k { color: #ff9da3; }
.pm-sheet .pm-email { font-size: 15px; font-weight: 700; line-height: 1.35; color: #f6f2ea; overflow-wrap: anywhere; }
.pm-card strong { font-size: 15px; font-weight: 700; line-height: 1.35; color: #f6f2ea; }
.pm-danger strong { font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 1.2; color: #ff9da3; }
.pm-card p, .pm-danger p { margin: 0; font-size: 13px; line-height: 1.5; color: #d9cdc8; }
.pm-card p { color: #a9a39a; }
.pm-card .danger-action, .pm-danger .danger-action { margin-top: 8px; }
/* El menú (tarea 4), en el idioma de HOME, RANKING, OFERTAS y Configura tu liga: cabecera con avatar de 64 px y antetítulo lavanda,
   nombre en Georgia y una sola tarjeta de filas (radio 18) con baldosa lavanda de 40 px, icono SVG y chevron. La clase pm-menu
   sustituye a la vieja, así su ancho forzado de 720 px deja de casar y la hoja mide los 620 de .sheet. */
.sheet.pm-sheet.pm-menu { max-height: 92vh; }
.pm-menu .sheet-handle { margin-bottom: 12px; }
.pm-menu .pm-head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0 0 16px; }
.pm-head .pm-avatar { display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.pm-head .pm-avatar.avatar-fallback { display: grid; place-items: center; background: #6e67d9; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 0; }
.pm-head .pm-id { display: grid; gap: 3px; min-width: 0; }
.pm-head .pm-kicker { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #b9b2ff; }
.pm-head h2 { margin: 0; font-family: Georgia, serif; font-size: 26px; line-height: 1.05; font-weight: 400; letter-spacing: -.01em; color: #f6f2ea; overflow-wrap: anywhere; }
.pm-head .pm-club { margin: 0; font-size: 13px; line-height: 1.3; color: #e4e0d8; overflow-wrap: anywhere; }
.pm-head .pm-mail { margin: 0; font-size: 13px; line-height: 1.3; color: #a9a39a; overflow-wrap: anywhere; }
.pm-list { margin: 0 0 8px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: #1b1d22; overflow: hidden; }
.pm-row { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 12px; align-items: center; width: 100%; min-height: 60px; margin: 0; padding: 8px 12px; border: 0; border-radius: 0; background: none; color: #f6f2ea; font: inherit; text-align: left; cursor: pointer; }
/* Divisores que empiezan donde empieza el texto (14 de margen + 40 de baldosa + 14 de hueco). */
.pm-row + .pm-row::before { content: ""; position: absolute; top: 0; left: 68px; right: 0; height: 1px; background: rgba(255, 255, 255, .07); }
.pm-row:hover { background: rgba(255, 255, 255, .03); }
.pm-row:focus-visible { outline: 2px solid #b9b2ff; outline-offset: -2px; border-radius: 18px; }
.pm-tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(110, 103, 217, .2); color: #b9b2ff; }
.pm-tile .pm-ico { width: 22px; height: 22px; }
.pm-row-t { display: grid; gap: 2px; min-width: 0; }
.pm-row-l { font-size: 15px; font-weight: 700; line-height: 1.25; color: #f6f2ea; }
.pm-row-s { font-size: 13px; line-height: 1.3; color: #a9a39a; overflow-wrap: anywhere; }
.pm-chev { width: 20px; height: 20px; color: #b9b2ff; }
.pm-menu .sheet-close { margin-top: 2px; }
.pm-sheet .avatar-search .pm-ico { flex: none; width: 20px; height: 20px; color: #a9a39a; }
/* 11.3-02 · Idioma: un <select> nativo transparente encima de la fila de Perfil y del enlace de la hoja de entrar (el móvil abre su lista).
   16 px para que iOS no haga zoom al tocarlo. */
.pm-lang .lang-select, .login-lang .lang-select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; font-size: 16px; cursor: pointer; }
.pm-lang:focus-within { outline: 2px solid #b9b2ff; outline-offset: -2px; border-radius: 18px; }
.login-lang { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 4px auto 0; padding: 0 12px; font-size: 13px; color: #a9a39a; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; width: fit-content; }
.login-lang:focus-within { outline: 2px solid #b9b2ff; outline-offset: 2px; border-radius: 10px; }
/* 261008-cla · Configuración de la liga: hoja CLARA, como «Configura tu liga» (261008-ctl), con sus mismos tokens: papel #f2efe7,
   tarjetas blancas de radio 18 (.cl-card), rótulos de 11 px en mayúsculas, selects de 48 px y segmentados de 44 (.cl-form, .cl-seg),
   lo elegido en lavanda y la acción principal en tinta. Clases lc- nuevas para ganar a las reglas de .sheet de styles-v5-18.css sin
   tocar ese fichero; nada de .setup-form, .primary-action ni .danger-action (llevan reglas forzadas). */
.sheet.lc-sheet { background: #f2efe7; color: #17181b; border: 1px solid rgba(23, 23, 25, .12); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -30px 90px rgba(0, 0, 0, .45); }
.lc-sheet .sheet-handle { width: 46px; height: 4px; margin: 0 auto 16px; border-radius: 2px; background: rgba(23, 23, 25, .22); }
.lc-head { display: grid; gap: 6px; margin: 0 0 12px; }
.lc-sheet .lc-kicker { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; }
.lc-sheet .lc-head h2 { margin: 0; font-family: Georgia, serif; font-size: 26px; line-height: 1.1; font-weight: 400; letter-spacing: -.01em; color: #17181b; overflow-wrap: anywhere; }
.lc-sheet .lc-who { margin: 0; font-size: 13px; line-height: 1.45; color: #4b4741; }
.lc-sheet .lc-closed { margin: 4px 0 0; padding: 8px 12px; border-radius: 14px; background: #fbeccf; font-size: 13px; line-height: 1.45; color: #8a5a0d; }
.lc-sheet .lc-link { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 12px; align-items: center; width: 100%; min-height: 52px; margin: 0 0 12px; padding: 8px 12px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(23, 23, 25, .06); color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.lc-link:hover { border-color: rgba(110, 103, 217, .45); }
.lc-link:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
.lc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(110, 103, 217, .12); color: #6e67d9; }
.lc-link-t { display: grid; gap: 2px; min-width: 0; }
.lc-link-t strong { font-size: 15px; font-weight: 700; line-height: 1.25; color: #17181b; }
.lc-link-t small { font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: 0; color: #66615a; }
.lc-link > i { font-size: 18px; font-style: normal; color: #6e67d9; }
.lc-sheet .lc-form { gap: 12px; margin: 0 0 12px; }
.lc-sheet .cl-card { gap: 12px; }
.lc-ro { display: grid; margin: 0; }
.lc-ro > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-top: 1px solid rgba(23, 23, 25, .08); }
.lc-ro > div:first-child { border-top: 0; padding-top: 2px; }
.lc-ro dt { font-size: 15px; font-weight: 400; line-height: 1.3; color: #66615a; } /* 261011-d4o: como la hoja de reglas, sin mayúsculas espaciadas */
.lc-ro dd { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; text-align: right; color: #17181b; }
.lc-sheet .lc-mode-hint { margin: 0 2px 12px; }
.lc-sheet .lc-card .cl-hint, .lc-sheet .lc-team .cl-hint { margin: -4px 0 0; }
.lc-sheet .lc-team { margin: 0 0 12px; }
.lc-sheet .lc-ghost, .lc-sheet .lc-ink, .lc-sheet .lc-danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 0; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.lc-sheet .lc-ghost { border: 1px solid rgba(23, 23, 25, .2); background: #fff; color: #17181b; }
.lc-sheet .lc-ink { border: 0; background: #17181b; color: #fff; font-weight: 800; }
.lc-sheet .lc-ink:hover { background: #2a2b30; }
.lc-sheet .lc-danger { border: 1px solid rgba(127, 32, 41, .35); background: #fff; color: #7f2029; }
.lc-sheet .lc-danger.is-solid { border: 0; background: #7f2029; color: #fff; }
.lc-sheet .lc-ghost:disabled, .lc-sheet .lc-ink:disabled, .lc-sheet .lc-danger:disabled { opacity: .45; cursor: default; }
.lc-sheet .lc-ghost:focus-visible, .lc-sheet .lc-ink:focus-visible, .lc-sheet .lc-danger:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
.lc-team > button, .lc-out > button { justify-self: end; }
.lc-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.lc-sheet .lc-out { margin: 0 0 4px; border-color: rgba(127, 32, 41, .22); }
.lc-sheet .lc-out p { margin: 0; font-size: 13px; line-height: 1.5; color: #4b4741; }
.lc-sheet .lc-panel { margin: 0 0 12px; border-left: 4px solid #6e67d9; }
.lc-sheet .lc-panel h3:focus { outline: none; }
.lc-ch { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(23, 23, 25, .1); }
.lc-ch strong { font-size: 15px; font-weight: 700; line-height: 1.35; color: #17181b; overflow-wrap: anywhere; }
.lc-sheet .lc-ch p { margin: 0; font-size: 13px; line-height: 1.5; color: #4b4741; }
.lc-sheet .lc-calc { margin: 0; font-size: 13px; color: #66615a; }
.lc-sheet .lc-panel.is-error { border-color: rgba(138, 90, 13, .3); border-left-color: #8a5a0d; background: #fbeccf; }
.lc-sheet .lc-err { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.45; color: #8a5a0d; }
.lc-sheet .lc-foot { position: sticky; bottom: calc(-16px - env(safe-area-inset-bottom)); z-index: 2; display: grid; gap: 8px; margin: 12px -16px 0; padding: 12px 16px; border-top: 1px solid rgba(23, 23, 25, .1); background: #f2efe7; box-shadow: 0 -10px 24px rgba(23, 23, 25, .08); }
/* El pie tapa también el relleno inferior de la hoja (bottom negativo = ese relleno): por debajo no asoma la hoja. */
.lc-sheet .lc-foot p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.3; color: #4b4741; }
.lc-sheet .sheet-close { display: block; width: 100%; min-height: 44px; margin: 4px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: #66615a; cursor: pointer; }
.lc-sheet .lc-panel-hint { margin: 0; }
.lc-sheet .lc-out.is-open { border-color: rgba(127, 32, 41, .45); }
.lc-sheet .lc-ask { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: #17181b; }
.lc-sheet .lc-confirm { display: grid; gap: 6px; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.lc-sheet .lc-confirm input { width: 100%; min-height: 48px; margin: 0; padding: 0 12px; border: 1px solid rgba(23, 23, 25, .16); border-radius: 12px; background: #fff; color: #17181b; font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lc-sheet .lc-confirm input::placeholder { color: #a9a39a; }
.lc-sheet .lc-confirm input:focus { outline: none; border-color: #7f2029; box-shadow: 0 0 0 3px rgba(127, 32, 41, .15); }
.lc-log ul { display: grid; margin: 0; padding: 0; list-style: none; }
.lc-log li { display: grid; gap: 3px; padding: 8px 0; border-top: 1px solid rgba(23, 23, 25, .08); }
.lc-log li:first-child { padding-top: 0; border-top: 0; }
.lc-log li:last-child { padding-bottom: 0; }
.lc-log small { font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.lc-log span { font-size: 15px; line-height: 1.45; color: #17181b; overflow-wrap: anywhere; }
.lc-sheet .lc-log { margin: 0 0 12px; }
/* 261009-blq: la hoja se abre bloqueada. «Cambios bloqueados» es la primera tarjeta, con el borde lavanda del panel;
   desbloqueada, una línea lavanda en su sitio. */
.lc-sheet .lc-lock { gap: 12px; margin: 0 0 12px; border-color: rgba(110, 103, 217, .35); border-left: 4px solid #6e67d9; }
.lc-lock-head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.lc-sheet .lc-lock-head p { margin: 6px 0 0; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; color: #4b4741; }
.lc-sheet .lc-lock .cl-hint { margin: -4px 0 0; }
.lc-sheet .lc-lock input[readonly] { background-color: #f4f3f1; color: #4b4741; }
.lc-sheet .lc-lock input[name=unlockCode] { font-size: 22px; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.lc-sheet .lc-lock input[name=unlockCode]::placeholder { color: #c9c4bb; }
.lc-sheet .lc-unlocked { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 0 12px; padding: 8px 12px; border: 1px solid rgba(110, 103, 217, .35); border-radius: 18px; background: #f7f6ff; font-size: 13px; font-weight: 700; line-height: 1.45; color: #17181b; }
.lc-sheet .lc-unlocked:focus { outline: none; }
@media (max-width: 640px) {
  .lc-lock .lc-actions > button { flex: 1 1 auto; }
  .lc-foot .lc-actions .lc-ink { flex: 1 1 auto; }
  /* La confirmación de salir: la acción ocupa el ancho y «Cancelar» debajo (en una fila no caben). */
  .lc-out.is-open .lc-actions { flex-direction: column-reverse; align-items: stretch; }
}
@media (min-width: 641px) {
  .sheet.lc-sheet { padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); }
  .lc-sheet .lc-foot { bottom: calc(-18px - env(safe-area-inset-bottom)); grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .lc-ro { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 16px; }
  .lc-ro > div, .lc-ro > div:first-child { display: grid; gap: 4px; align-content: space-between; padding: 0; border: 0; }
  .lc-ro dd { text-align: left; }
  .lc-sheet .lc-team { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .lc-team > h3, .lc-team > .cl-hint { grid-column: 1 / -1; }
  .lc-team > button { grid-row: 2; grid-column: 2; }
}
/* Al final de la sección: un display de autor gana al [hidden] del navegador. */
.lc-sheet [hidden] { display: none; }

/* 261009-dir: puntos provisionales en directo (quick 261009-dir-03; client/directo.js parcha los nodos marcados con data-directo-*).
   Lenguaje de HOME, RANKING y OFERTAS: lavanda oscura #5a53c4 sobre blanco (contraste 6,4:1) para la etiqueta «EN DIRECTO · provisional»,
   cajitas #eeecfa con borde lavanda como la del importe de OFERTAS, Georgia en las cifras y cifras tabulares en «hace N s».
   Sobre el mapa oscuro, la pastilla va en el lavanda de los glifos (#c9c3ff). Sin aria-live: las cifras no se recitan cada 10 s. */
.dx-root { display: contents; }
.league-round-total.dx-on span { display: grid; gap: 3px; justify-items: end; margin-top: 4px; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #5a53c4; }
.league-round-total.dx-on span em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #66615a; font-variant-numeric: tabular-nums; }
.t51-slot.dx-on .t51-played { display: none; }
.dx-pill { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; padding: 2px 8px 2px 6px; border-radius: 999px; background: rgba(17, 18, 22, .88); color: #c9c3ff; font-size: 11px; font-weight: 800; line-height: 1.25; letter-spacing: 0; white-space: nowrap; }
.dx-pill b { font-weight: 800; }
.dx-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #c9c3ff; animation: dx-latido 1.6s ease-in-out infinite; }
@keyframes dx-latido { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .dx-dot { animation: none; } }

.dx-panel { display: grid; min-width: 0; padding: 12px 16px 12px; border: 1px solid rgba(23, 23, 25, .1); border-radius: 18px; background: #fff; color: #17181b; }
.dx-panel[hidden] { display: none; }
.dx-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 0 0 8px; }
.dx-head small { font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #5a53c4; }
.dx-head span { font-size: 12px; font-weight: 700; color: #66615a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dx-row { display: grid; gap: 8px; min-width: 0; padding: 12px 0; border-top: 1px solid rgba(23, 23, 25, .1); }
.dx-row-head { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.dx-glyph { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eeecfa; color: #5a53c4; }
.dx-glyph .role-glyph { width: 16px; height: 16px; }
.dx-who { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; min-width: 0; }
.dx-who strong { flex: 1 0 100%; min-width: 0; font-family: Georgia, serif; font-size: 15px; font-weight: 400; line-height: 1.2; overflow-wrap: anywhere; }
.dx-who small { font-size: 12px; font-weight: 700; color: #66615a; }
.dx-state { padding: 2px 8px; border-radius: 999px; background: #17181b; color: #c9c3ff; font-size: 11px; font-weight: 800; line-height: 1.25; letter-spacing: .04em; }
.dx-row.is-pausa .dx-state, .dx-row.is-terminado .dx-state, .dx-row.is-camino .dx-state { background: #eeecfa; color: #5a53c4; }
.dx-pts { display: grid; justify-items: end; gap: 2px; }
.dx-pts strong { font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dx-pts small { padding: 1px 8px; border-radius: 999px; background: var(--lavender, #8d82e8); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.dx-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.dx-chips span { padding: 4px 8px; border: 1px solid rgba(110, 103, 217, .2); border-radius: 10px; background: #eeecfa; color: #2b2850; font-size: 12px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dx-chips .dx-res { background: #5a53c4; border-color: #5a53c4; color: #fff; }
.dx-note { margin: 0; padding: 8px 0 0; border-top: 1px solid rgba(23, 23, 25, .1); font-size: 12px; font-weight: 700; line-height: 1.4; color: #5a53c4; }
.dx-note + .dx-note { padding-top: 4px; border-top: 0; }
.dx-foot { margin: 0; padding: 8px 0 0; border-top: 1px solid rgba(23, 23, 25, .1); font-size: 12px; line-height: 1.45; color: #66615a; }
/* Escritorio: el panel bajo el mapa, en la columna izquierda; el banquillo sigue al lado del mapa. */
@media (min-width: 901px) {
  .league-lineup-layout > .dx-panel { grid-column: 1; grid-row: 2; }
  .league-lineup-layout > .league-bench-card { grid-column: 2; grid-row: 1; }
}
/* Repaso del arnés (261009-dir-03): «PUNTOS» de la tarjeta salía a 8 px en escritorio y la cifra del hueco a 10 px; los botones
   ENTRAR del banquillo de MI EQUIPO medían 36 px de alto. Mínimos de la app: 11 px de texto y 44 px para tocar. */
.league-round-total small { font-size: 11px; letter-spacing: .08em; }
[data-directo-root] .t51-round-score { font-size: 11px; }
.league-bench-card .t51-enter { min-height: 44px; font-size: 13px; font-weight: 700; letter-spacing: 0; } /* 261011-tip T09: botón como los demás («Entrar») */
.league-round-total span { font-size: 12px; } /* 261011-tip T06 */
.t51-map-counts [data-directo-sum] { font-size: 11px; }
.sheet .sheet-close { min-height: 44px; }
/* 261009-5id · RANKING / 5 IDEAL. La barra es la de MARKET (.market-mode-tabs, como COMPRA / VENTA / OFERTAS); aquí solo se sube
   su línea pequeña a 11 px. Cada jornada es la tarjeta de HOME «Próximas jornadas» (.pj-card.pj-round) y dentro va el mapa de
   alineación de MI EQUIPO tal cual (.league-rift-card + roundMapHtml: mismas posiciones, tamaños y contrato M1-M10 del arnés de
   261007-cfq). Lo único propio: el ancho tope del mapa en escritorio (en MI EQUIPO lo acota la columna del banquillo; aquí ocuparía
   toda la tarjeta) y el color de la chapa «TUYO» (lavanda, como EN JUEGO), que comparte forma con JUGADO / EN JUEGO. */
.market-mode-tabs.ranking-tabs button small { font-size: 11px; line-height: 1.25; }
.ci-rounds { margin-top: 4px; }
.ci-round .pj-body { padding-top: 12px; padding-bottom: 12px; }
.ci-round .league-rift-card { max-width: 620px; margin: 0 auto; }
/* En el móvil el mapa va de borde a borde de la tarjeta (~358 px a 390, como la hoja de desglose): los huecos se colocan con px fijos
   y en un mapa de 330 px el nombre de MID tocaba el rol de SUP. */
@media (max-width: 640px) {
  .ci-round .pj-body { padding-left: 0; padding-right: 0; }
  .ci-round .league-rift-card { border-left: 0; border-right: 0; border-radius: 0; }
}
/* La chapa va encima del pie del retrato, fuera del flujo: así el hueco mide lo mismo que en MI EQUIPO, tenga chapa o no (con la chapa
   en el flujo, SUP con «TUYO» subía y rompía M2 a 390 y M10 a 1280). */
.ci-round .t51-name { position: relative; }
.t51-slot .t51-played.ci-tag { position: absolute; left: 50%; bottom: 100%; margin: 0; transform: translate(-50%, -1px); padding: 2px 7px; background: rgba(17, 18, 22, .86); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.t51-slot .t51-played.ci-tag.is-mine { background: rgba(141, 130, 232, .9); }

/* 261009-pag: recompensa por jornada (Fantasy) bajo el nombre de cada manager en JORNADAS. En escritorio el total
   ya está en la columna «Recompensa (MɌ)»; a ≤760 px esa columna no se pinta y el total va en esta línea. */

/* 261010-dtx (revisión de diseño del 10-oct, n.º 15 y 20). Un solo antetítulo: el de «SUIZO · BO3» (.pj-over) y «CLASIFICACIONES»,
   lavanda, 11 px, 800 y en mayúsculas espaciadas. Sobre las hojas oscuras, lavanda clara (#b9b3ff), como «TU PERFIL». Las reglas viejas
   de styles-v5-18.css (8–9 px, ámbar, gris o azul marino) pierden por especificidad. */
.rf-kicker, .league-myteam-head small.rf-kicker, .round-detail-head small.rf-kicker, small.rules-sub.rf-kicker { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; }
.league-screen-v59 small.rules-sub.rf-kicker { margin-top: 20px; }
.sheet > small, .sheet > small.rf-kicker, .t51-sub-sheet > small { font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #b9b3ff; }
/* Estados vacíos: tarjeta normal (sin el borde discontinuo que j7d ya quitó), con su frase y, si hay adónde ir, un botón secundario. */
.rf-empty { display: grid; gap: 6px; justify-items: start; margin: 0; padding: 16px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(23, 23, 25, .06); color: #17181b; text-align: left; }
.rf-empty strong { font-size: 15px; font-weight: 700; line-height: 1.3; }
.rf-empty p { margin: 0; font-size: 13px; line-height: 1.45; color: #4b4741; }
.rf-empty .rf-secondary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0 16px; border: 1px solid rgba(110, 103, 217, .45); border-radius: 999px; background: #fff; color: #4a43b8; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.rf-empty .rf-secondary:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
/* «PROVISIONAL · esperando el primer mapa» es largo: en el móvil la tercera columna de PUNTOS baja de línea en vez de pisar la cifra. */
@media (max-width: 760px) {
  .league-round-total { grid-template-columns: auto auto minmax(0, 1fr); }
  .league-round-total span { min-width: 0; }
}
/* El pie del RANKING es la tarjeta «La próxima que abrimos» de HOME (.pj-card .pj-comp.is-next). */
.ranking-next { margin-top: 12px; }
/* ===== 261010-d3a · Auditoría de diseño: accesibilidad (tercera revisión del 10-oct) ===== */
/* n.º 3: un solo foco de teclado para toda la app: anillo lavanda; dentro de las hojas oscuras, el lavanda claro. Pesa como una
   pseudoclase, así que los focos propios de cada componente (.pm-row, .lr-chip, .cl-*, .legend-chip…) siguen mandando. */
:where(button, [role="button"], summary, a, input, select, textarea):focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
.t51-sub-sheet :where(button, [role="button"], summary, a, input, select, textarea):focus-visible, .sheet :where(button, [role="button"], summary, a, input, select, textarea):focus-visible { outline-color: #b9b2ff; }
/* El título al que va el foco al abrir una hoja (tabindex="-1", client/a11y.js) no lleva anillo: no se pulsa. */
.modal-backdrop [tabindex="-1"]:focus { outline: none; }
/* n.º 4: movimiento reducido en toda la app (pulse, rift-dots, dx-latido y las transiciones). :is(#root, body) pesa como un id, así que
   gana a las reglas de clase de los dos ficheros sin forzar nada. */
@media (prefers-reduced-motion: reduce) {
  :is(#root, body) *, :is(#root, body) *::before, :is(#root, body) *::after { animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; scroll-behavior: auto; }
}
/* n.º 5: el «+» del hueco vacío (40 px a ≤ 374) con 44 px de toque sin cambiar el dibujo. La «C» y ENTRAR los hace 261010-d2i. */
.t51-plus { position: relative; }
.t51-plus::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; }

/* 261010-dco · Diseño: componentes y maquetación (revisión del 10-oct). Sin reglas forzadas: donde el arranque fuerza (.v540-league-tabs,
   .rounds-timeline, .round-standing), el marcado usa otras clases. */
/* n.º 4: las pestañas de LIGA son la barra de MARKET y RANKING (.market-mode-tabs) con su subtítulo; a 16 px del borde en móvil. */
.market-mode-tabs.league-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 18px; margin: 12px 0; }
.market-mode-tabs.league-tabs button { min-width: 0; padding: 12px 16px; }
.market-mode-tabs.league-tabs button small { font-size: 11px; line-height: 1.25; }
@media (max-width: 760px) { .league-screen-v59 > .market-mode-tabs.league-tabs { margin: 12px 6px 12px; } }
@media (max-width: 480px) { .market-mode-tabs.league-tabs button { padding: 12px 8px; } .market-mode-tabs.league-tabs button span { letter-spacing: .08em; } }
@media (max-width: 420px) { .league-screen-v59 > .market-mode-tabs.league-tabs { margin-left: 8px; margin-right: 8px; } }
/* n.º 5: una ficha de jornada para MI EQUIPO y JORNADAS: la baldosa de fecha de HOME, «Jornada N» en Georgia y el estado. Todas miden igual. */
.lr-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 12px; padding: 2px 0 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.lr-chips::-webkit-scrollbar { display: none; }
.lr-chip { flex: 0 0 auto; display: grid; grid-template-columns: 56px auto; align-items: center; gap: 8px; min-height: 74px; padding: 8px 16px 8px 8px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 18px; background: #fff; color: #17181b; font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; }
.lr-chip .pj-date { grid-area: auto; }
.lr-chip:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
.lr-chip.active { border-color: #6e67d9; background: #f7f6ff; box-shadow: inset 0 0 0 1px #6e67d9; }
.lr-chip-main { display: grid; gap: 3px; min-width: 0; }
.lr-chip-main strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.15; white-space: nowrap; }
.lr-chip-main small { font-size: 12px; font-weight: 400; line-height: 1.3; color: #7a746c; white-space: nowrap; font-variant-numeric: tabular-nums; } /* 261011-tip T04: el estado, texto secundario (gris y sin negrita); el directo lo dice la baldosa */
.lr-chip .pj-date small { font-weight: 700; }
.lr-chip.is-live .pj-date { background: rgba(110, 103, 217, .12); color: #3f3a9e; }
.lr-chip.is-live .pj-date small { color: #3f3a9e; }
@media (min-width: 761px) {
  .lr-layout > .lr-chips { flex-direction: column; align-self: start; overflow: visible; margin: 0; }
  .lr-layout .lr-chip { width: 100%; }
}
@media (max-width: 760px) { .league-screen-v59 .lr-chips { margin-left: -8px; margin-right: -8px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; } }
@media (max-width: 420px) { .league-screen-v59 .lr-chips { margin-left: -8px; margin-right: -8px; } }
/* n.º 3 y 13: la clasificación de la jornada es la fila de RANKING; debajo, MVP y la recompensa en pastillas que bajan enteras. */
.lr-standings { gap: 8px; }
.lr-layout > .round-detail { align-self: start; }
.lr-layout .round-detail-head small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } /* 261017: 700, como todos los .rf-kicker (antes 800, solo aquí) */
.lr-layout .round-detail-head span { font-size: 12px; line-height: 1.45; }
/* La etiqueta PUNTOS (8 px en el arranque) y el alias (9 px) de la fila suben al suelo de 11 px; vale también para RANKING, que es la misma fila. */
.manager-list-row > .sell-market-status small, .manager-list-row .sell-market-info > span { font-size: 11px; }
.lr-pills .round-payout-total { font-weight: 800; color: #3f3a9e; background: rgba(110, 103, 217, .14); }
.ci-round .pj-status b { font-family: Georgia, serif; font-weight: 400; font-size: 18px; } /* 261011-tip T20: como el título; la fecha es la única serif 22 */
.ci-round .pj-status small, .ci-round .pj-over, .ci-round .pj-date small { font-weight: 700; }
@media (min-width: 641px) { .pj-status { width: 140px; } }
/* n.º 12: el mapa sin pie (bare) deja solo lo de la derecha (CAMBIOS), arriba a la derecha. */
.t51-map-meta.is-bare { justify-content: flex-end; }
/* n.º 16: el suplente con el partido empezado no lleva botón: una línea. Los otros bloqueos, botón secundario del mismo ancho. */
.t51-bench-why { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: #66615a; }
.t51-live-bench .t51-enter:disabled { width: 100%; min-height: 44px; opacity: 1; border: 1px solid rgba(23, 23, 25, .22); background: #fff; color: #4b4741; font-size: 12px; }
/* n.º 17: sin capitán ninguna «C» es capitana: gris y discontinua («Elegir capitán»); la elegida, en lavanda llena como «C ×2». */
.t51-map .t51-cap.is-pick { border: 2px dashed #8b857d; background: rgba(255, 255, 255, .92); color: #66615a; }
.t51-map .t51-cap.active { border-color: #6e67d9; background: #8d82e8; color: #fff; }
/* n.º 18: TEAM en un contenedor (760 px), 16 px de margen en móvil y 14 px entre bloques. */
.t51-team-screen > .market-window { margin: 0 0 12px; }
@media (max-width: 760px) { .t51-team-screen { padding-left: 16px; padding-right: 16px; } }
/* n.º 10: subir a 11 px el equipo, las chapas EN JUEGO/JUGADO/Eliminado y el rol de cada hueco rompe el contrato del mapa (arnés de
   261007-cfq: de 2 a 16 fallos M1/M2/M9): no se fuerza (ver el SUMMARY). Sí suben, sin mover ningún hueco, el pie, los contadores y la «C». */
.t51-map .t51-slot .t51-cap, .t51-map .t51-map-meta .t51-map-identity small, .t51-map .t51-map-meta .t51-map-counts span { font-size: 11px; }
/* A 360 px el mapa de TEAM no cabe con 16 px a cada lado (arnés 261007-cfq: M1/M2 con 328 y 340 px de mapa): ahí sigue a sangre. */
@media (max-width: 374px) { .t51-team-screen { padding-left: 0; padding-right: 0; } }
/* n.º 17/18: la barra Fichajes · Plantilla · Capitán, con su letra pequeña al suelo de 11 px también en escritorio (era de 8 px). */
.t51-metrics span, .t51-metrics small { font-size: 11px; }

/* 261010-d3r · tercera revisión de diseño, los rápidos. Piezas aprobadas: la tarjeta blanca de 18 px (.pj-card), la baldosa de fecha
   (.pj-tile), el antetítulo lavanda (.rf-kicker), Georgia para títulos y cifras grandes y la sans 800 tabular para la cuenta atrás.
   n.º 1 y 21 · «Lo siguiente» arriba de HOME (maqueta 1), con la franja lavanda de TU PUESTO y tres baldosas debajo. */
/* 261011-hom: la carcasa común (sin franja); el antetítulo es la jornada y la cuenta atrás, una pastilla a la derecha: manda el título. */
.rf-next { display: grid; gap: 8px; margin: 0 0 8px; padding: 12px 16px 16px; }
.rf-next-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; }
.rf-next-when { display: inline-flex; align-items: baseline; gap: 4px; flex: none; padding: 4px 8px; border-radius: 999px; background: #f4f3f1; color: #17181b; }
.rf-next-when small { font-size: 11px; color: #66615a; }
.rf-next-cd { font-size: 13px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.rf-next-title { margin: 0; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.rf-next-sub { margin: 0; font-size: 13px; line-height: 1.45; color: #4b4741; }
.rf-next-five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.rf-next-slot { display: grid; justify-items: center; gap: 4px; padding: 6px 2px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 12px; background: #f4f3f1; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #17181b; }
.rf-next-slot i { display: grid; place-items: center; width: 24px; height: 24px; overflow: hidden; border-radius: 50%; background: #2b2b31; color: #fff; font-style: normal; }
.rf-next-slot i img, .rf-next-slot i .photo-fallback { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; font-size: 11px; }
.rf-next-slot i .role-glyph { width: 13px; height: 13px; }
.rf-next-slot.is-empty { border: 1.5px solid #8d82e8; background: #eeebff; color: #4a43b8; }
.rf-next-slot.is-empty i { border: 1.5px solid #8d82e8; background: #fff; color: #4a43b8; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.rf-next-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-btn { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid #17181b; border-radius: 999px; background: #17181b; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.rf-btn.is-sec { flex: 0 1 auto; background: transparent; color: #17181b; }
.rf-btn:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
/* 261011-hom: las cifras, una tira (una tarjeta, tres celdas con una línea entre ellas); etiqueta gris y cifra en la sans 700 (el 0 de
   Georgia es de estilo antiguo y se leía «o»); a cero, apagada. */
.rf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; margin: 0; }
.rf-stat { display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-start; gap: 2px 4px; min-width: 0; min-height: 44px; padding: 8px 16px 12px; border: 0; background: transparent; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.rf-stat small, .rf-stat span { flex: 0 0 100%; }
.rf-stat em { font-size: 12px; font-style: normal; color: #66615a; }
.rf-stat + .rf-stat { border-left: 1px solid rgba(23, 23, 25, .08); }
.rf-stat small { font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.rf-stat b { font-size: 18px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.rf-stat span { font-size: 12px; line-height: 1.3; color: #66615a; }
.rf-stat.is-zero b { color: #767069; }
.rf-stat:hover { background: #faf9f7; }
.rf-stat:focus-visible { outline: 2px solid #6e67d9; outline-offset: -2px; }
@media (max-width: 374px) { .rf-stat { padding: 12px; } }
@media (min-width: 900px) {
  .rf-next { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: center; }
  .rf-next-top, .rf-next-title, .rf-next-sub { grid-column: 1; }
  .rf-next-five { grid-column: 2; grid-row: 1 / span 3; }
  .rf-next-acts { grid-column: 2; }
}

/* n.º 6 · cuándo juega: una chapa lavanda en la fila del mercado y en la cabecera de la ficha; descansa, en gris. */
.rf-plays { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; margin-top: 4px; padding: 3px 8px; border-radius: 999px; background: #eeebff; color: #4a43b8; font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: 0; text-transform: none; white-space: normal; }
.rf-plays.is-rest { background: rgba(23, 23, 25, .06); color: #4b4741; }
.rf-plays.is-live { background: #4a43b8; color: #fff; }
.sell-market-info small .rf-plays { display: flex; }
.profile-hero-tags .rf-plays { margin-top: 0; padding: 4px 8px; }

/* n.º 7 · el aviso tras la primera puja, arriba (no tapa la barra de dinero ni el aviso de la puja). */
.rf-nudge { position: fixed; z-index: 120; top: calc(12px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 24px)); box-sizing: border-box; display: grid; gap: 8px; padding: 12px 12px; border-radius: 16px; background: #17181b; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .24); }
.rf-nudge p { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.35; }
.rf-nudge div { display: flex; gap: 8px; }
.rf-nudge button { min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.rf-nudge button[data-nudge-yes] { border-color: #8d82e8; background: #8d82e8; color: #17181b; }

/* n.º 8 · la hoja de puja dice cómo quedas si ganas. */
.auction-after { margin: 0 0 12px; font-size: 13px; line-height: 1.4; color: #4b4741; }
.sheet .auction-after { color: #c9c4bc; }

/* n.º 10 · la última hora del cierre: lavanda llena con texto tinta; los 10 últimos minutos, coral con segundos. Sin parpadeo. */
.money-bar > div.is-soon { margin: -4px 0; padding: 4px 8px; border-radius: 10px; background: #8d82e8; color: #17181b; }
.money-bar > div.is-final { margin: -4px 0; padding: 4px 8px; border-radius: 10px; background: #dd767d; color: #17181b; }
.money-bar > div.is-soon small, .money-bar > div.is-final small { opacity: .85; }

/* n.º 14 · la portada sin sesión explica cómo se juega en tres líneas. */
.rf-howto { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: howto; }
.rf-howto li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: baseline; gap: 8px; padding: 8px 12px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 14px; background: #fff; font-size: 13px; line-height: 1.4; color: #4b4741; counter-increment: howto; }
.rf-howto li::before { content: counter(howto); font-family: Georgia, serif; font-size: 22px; line-height: 1; color: #6e67d9; }
.rf-howto b { font-family: inherit; font-size: inherit; font-weight: 700; color: #17181b; } /* 261011-tip T23: una sola letra por línea */

/* n.º 16 · de cuándo es lo que ves, con un ↻ de 44 px. */
.rf-updated { display: flex; align-items: center; gap: 4px; margin: 4px 0 8px; font-size: 12px; line-height: 1.3; color: #66615a; }
.rf-updated button { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin: -8px 0; padding: 0; border: 0; border-radius: 999px; background: none; color: #4a43b8; font: inherit; font-size: 18px; cursor: pointer; }
.rf-updated button:focus-visible { outline: 2px solid #6e67d9; outline-offset: -4px; }

/* n.º 19 · los iconos de la barra: casa, escudo, etiqueta de precio, copa y podio, trazo 1,6, como máscara (heredan el color del botón,
   también el del activo y su aria-current). Viven aquí y no en el JS de arranque, que va justo de presupuesto. */
.bottom-nav .nav-ico[class*="nav-i-"]::before { content: ""; display: block; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--nav-i) center / contain no-repeat; mask: var(--nav-i) center / contain no-repeat; }
.nav-i-home { --nav-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 4l8.5 6.5M5.5 9v11h5v-6h3v6h5V9'/%3E%3C/svg%3E"); }
.nav-i-team { --nav-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l7.5 2.8v5.4c0 4.6-3.1 8-7.5 9.8-4.4-1.8-7.5-5.2-7.5-9.8V6.3zM9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.nav-i-market { --nav-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 12.4V4.5a1 1 0 0 1 1-1h7.9l8.6 8.6a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0zM8 8.2h.01'/%3E%3C/svg%3E"); }
.nav-i-league { --nav-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5.5a4 4 0 0 1-8 0zM8 6H5.5a3 3 0 0 0 3 4.3M16 6h2.5a3 3 0 0 1-3 4.3M12 13.5V17M8.5 20.5h7M10 17h4v3.5h-4z'/%3E%3C/svg%3E"); }
.nav-i-ranking { --nav-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20.5h16M5.5 20.5v-6h4v6M10 20.5V9h4v11.5M14.5 20.5v-8h4v8'/%3E%3C/svg%3E"); }
/* Colección (10-nov-2026): dos cartas, una detrás de otra */
.nav-i-coleccion { --nav-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='4' width='11' height='15' rx='2'/%3E%3Cpath d='M5.5 7.5v11a2 2 0 0 0 2 2h8'/%3E%3Cpath d='M13.5 9.2l1.6 2.3-1.6 2.3-1.6-2.3z'/%3E%3C/svg%3E"); }
/* nuevo-branding: con la marca nueva, el icono de líneas finas de la rediseño (dos cartas, sin el rombo) */
:root[data-marca="nueva"] .nav-i-coleccion { --nav-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7.5' y='5.5' width='11' height='15' rx='2'/%3E%3Cpath d='M5.5 17.5V5.5a2 2 0 0 1 2-2h8'/%3E%3C/svg%3E"); }

/* n.º 23 · TEAM: la pastilla en frase normal (el contorno lavanda va en su regla, arriba). */
.sell-market-row > button.roster-pill.starter, .sell-market-row > button.roster-pill.bench { text-transform: none; letter-spacing: 0; font-size: 15px; }

/* n.º 3 · LIGA (maqueta 3): los managers y los huecos, «Invitar a la liga» lavanda a todo el ancho; «‹CÓDIGO› · Copiar» es el de 261010-d2i. */
.league-hero .league-seats-line { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9b3ff; }
.league-seats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.league-seat { display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: #2b2b31; color: #fff; font-size: 11px; font-weight: 700; }
.league-seat .league-seat-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 11px; }
.league-seat.is-free { border: 1.5px solid #b9b3ff; background: rgba(185, 179, 255, .14); color: #b9b3ff; box-sizing: border-box; }
.league-invite { width: 100%; min-height: 48px; margin: 0 0 8px; border: 1px solid #8d82e8; border-radius: 999px; background: #8d82e8; color: #17181b; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.league-invite:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (min-width: 760px) { .league-invite { max-width: 420px; } }

/* ===== 261010-d2i · Diseño 2: interacción y componentes (segunda revisión del 10-oct) ===== */
/* n.º 5: ficha del jugador. La acción principal en una barra fija al pie de la hoja (sticky dentro de su scroll) y «Más» con todas
   las filas; un solo bloque de cifras (radar con valores + lo que no está en el radar) y la línea de precio de 7 días. */
.pf-status { margin: 4px 0 0; }
.pf-status .pa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-bar { position: sticky; bottom: 0; z-index: 5; display: grid; gap: 8px; margin: 12px -16px 0; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: #121317; box-shadow: 0 -12px 18px rgba(18, 19, 23, .9), 0 48px 0 #121317; }
.pf-bar-row { display: flex; gap: 8px; }
.pf-main { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; border-radius: 999px; background: #8d82e8; color: #fff; font: inherit; font-size: 15px; font-weight: 800; line-height: 1.2; text-transform: none; letter-spacing: 0; cursor: pointer; }
.pf-main:disabled { background: rgba(255, 255, 255, .1); color: #c9c4bb; cursor: not-allowed; }
.pf-main:focus-visible, .pf-more-btn:focus-visible { outline: 2px solid #b9b3ff; outline-offset: 2px; }
.pf-more-btn { flex: none; min-width: 84px; min-height: 52px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: transparent; color: #f3efe8; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.pf-more { display: grid; gap: 8px; max-height: 52vh; overflow-y: auto; padding: 4px 0; }
.pf-more[hidden] { display: none; }
.pf-price { display: grid; gap: 4px; margin: 12px 0 0; padding: 12px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .03); color: #b9b3ff; }
.pf-price-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pf-price-head small { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #b9b3ff; }
.pf-price-head b { font-size: 12px; font-weight: 700; color: #e9e5dd; font-variant-numeric: tabular-nums; }
.pf-price-head b.down { color: #ff9da3; }
.pf-price-head b.up { color: #7fe0b0; }
.pf-spark { display: block; width: 100%; height: 56px; overflow: visible; }
.pf-spark circle { fill: #b9b3ff; }
.pf-price-axis { display: flex; justify-content: space-between; font-size: 11px; color: #a9a39a; }
.pf-figures .pf-more-stats { margin-top: 12px; }
.pf-rank { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 15px; font-weight: 700; color: #e9e5dd; }
.pf-rank .role-glyph, .pf-rank svg { width: 18px; height: 18px; color: #b9b3ff; }

/* n.º 6 y 9: el botón principal de las hojas (lavanda sobre oscuro) con el texto a 15 px y 800, en frase normal, como «Crear liga». */
#root .sheet .primary-action { font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; }
/* n.º 9: el secundario con contorno (como «Vender →» de VENTA), sobre claro y sobre las hojas oscuras. */
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(23, 23, 25, .22); border-radius: 999px; background: transparent; color: #17181b; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.sheet .btn-outline { border-color: rgba(255, 255, 255, .28); color: #f3efe8; }
/* n.º 9: unirse con código con la tarjeta y el radio de «Configura tu liga»; el código en mayúsculas, sin monoespaciada. */
.join-form .cl-card { gap: 12px; }
.join-form .jf-code { font-size: 18px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.join-form .jf-hint { margin: 0; font-size: 13px; line-height: 1.45; color: #6b655e; }
.join-form .jf-hint strong { color: #17181b; }
.join-form #join-league-error:empty { display: none; }
.join-form #join-league-error { margin: 0; font-size: 13px; color: #a3242e; }
/* n.º 9: la píldora negra de COMPRA y VENTA con el texto del primario (15 px), también a 1280 (era de 9 px). */
#root .sell-market-row > button, #root .sell-market-acts > button { font-size: 15px; font-weight: 800; }

/* n.º 10: texto secundario ≥ 11 px y ≥ 5:1 (#6b655e sobre blanco o crema ≈ 5,6:1). */
.market-mode-tabs button small { font-size: 11px; }
.market-mode-tabs button:not(.active) small { color: #6b655e; }
.screen .sell-market-status small { font-size: 11px; color: #6b655e; }
.t51-metrics small { font-size: 11px; color: #6b655e; }
.league-switch i { color: #6b655e; }
/* La barra de abajo: el botón lleva un color forzado en v5-18 (4,18:1 sobre #111). El texto y el icono son spans propios. */
.v5-nav button:not(.active) span { color: #9a9a9a; }
.v5-nav button span:last-child { font-size: 11px; }

/* n.º 11: objetivos de 44 × 44 sin cambiar el dibujo. 261010-d2i: la «C» del mapa se separa 8 px de la foto (antes la tocaba). */
/* La «C» es border-box con 2 px de borde: el ::before se mide desde la caja de relleno (22 × 18 a 390), así que -14/-12 da 46 × 46. */
.t51-map .t51-slot .t51-cap::before { content: ""; position: absolute; inset: -14px -12px; }
@media (max-width: 480px) {
  .t51-map .t51-slot .t51-cap { top: 7px; right: -12px; }
  .t51-map .t51-slot .t51-cap.active { right: -20px; }
}
#root .invite-code .invite-copy { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: transparent; color: #f3efe8; font: inherit; font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; }
#root .invite-code .invite-copy strong { font-size: 13px; font-weight: 700; color: #f0d28a; letter-spacing: .04em; }
#root .invite-code .invite-copy span { font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #5ee0cf; }
.t51-enter { position: relative; }
.t51-enter::before { content: ""; position: absolute; inset: -4px -2px; }
#root .league-scoring-legend .legend-chip { min-height: 44px; }

/* n.º 14: GENERAL con la fila de manager del RANKING; la flecha dice que abre la plantilla. */
.manager-list-row.has-go { grid-template-columns: minmax(26px, auto) 58px minmax(0, 1fr) auto 14px; }
.ranking-list .manager-list-row.has-go { grid-template-columns: 26px 58px minmax(0, 1fr) auto 14px; }
.manager-list-go { align-self: center; font-style: normal; font-size: 22px; line-height: 1; color: #6b655e; }
.manager-stat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* n.º 16: móvil en horizontal. La barra de dinero sube bajo la cabecera (como CAJA a 1280) y la navegación baja a 48 px, pegada al
   borde (max-height gana al alto forzado de v5-18). El contenido deja sitio a las dos. */
@media (max-height: 500px) {
  .v5-nav { left: 0; right: 0; bottom: 0; width: auto; transform: none; max-height: 48px; border-radius: 0; border-width: 1px 0 0; box-shadow: none; }
  .v5-nav button { gap: 2px; }
  .v5-nav .nav-ico svg, .v5-nav .nav-ico img { max-height: 18px; }
  .money-bar { top: 68px; bottom: auto; left: 0; right: 0; width: auto; transform: none; border-radius: 0; padding-top: 8px; padding-bottom: 8px; }
  .v5-market-screen.has-money-bar { padding-top: 56px; padding-bottom: 64px; }
  .screen { padding-bottom: 64px; }
}

/* n.º 18: directo. Los ceros, tras «Ver todo». */
.dx-all { margin-top: 6px; }
.dx-all > summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 800; color: #4b44b8; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.dx-all > summary::-webkit-details-marker { display: none; }

/* n.º 19: «Elegir titular»: fichar es la salida principal; «Dejar vacía», un enlace de texto. */
.sheet .pick-buy { margin-top: 12px; background: #8d82e8; }
.link-action { display: block; min-height: 44px; margin: 6px auto 0; padding: 0 12px; border: 0; background: none; color: #c9c4bb; font: inherit; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.auction-role-filter { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; padding: 8px 8px 8px 12px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 14px; background: #fff; font-size: 15px; font-weight: 700; }
.cl-form .cl-card > label { display: grid; gap: 6px; min-width: 0; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.cl-form .cl-card > label small { font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; }
/* ── 261010-d2e: segunda revisión de diseño, estados, errores y login ──────────────────────────────────────────────────────── */
/* n.º 1: los títulos de los paneles de carga y error tomaban el blanco del tema oscuro antiguo (#f3f7f8): 1,06:1 sobre claro. */
.empty-panel strong { color: var(--ink); font-size: 13px; }
.league-lineup-locked strong { color: var(--ink); }
/* La misma pieza dentro de una hoja oscura (plantilla de un rival sin alineación): en blanco, no en tinta sobre negro (1,02:1). */
.sheet .t51-empty { border-color: rgba(255, 255, 255, .22); color: #c9c6c0; }
.sheet .t51-empty strong { color: #fff; }
/* n.º 2: el panel de error compartido y la franja fina bajo la cabecera. */
.rf-state { max-width: 560px; margin: 16px auto; }
.app-main > .rf-state, .screen > .rf-state { margin-top: 16px; }
.conn-strip { position: sticky; top: 72px; z-index: 19; margin: 0; padding: 8px 16px; background: #2b2a33; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; text-align: center; letter-spacing: 0; }
/* n.º 4: el error del login en el rojo de la casa, junto al campo, con «Reenviar» al lado (44 px de alto). */
.login-error { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -4px 0 2px; }
.login-error .form-note { margin: 0; color: #ff8a8f; font-size: 13px; font-weight: 700; line-height: 1.35; }
.login-error-resend { flex: none; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255, 138, 143, .5); border-radius: 999px; background: transparent; color: #ffb3b6; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.login-error-resend:disabled { opacity: .55; cursor: default; }
.login-sheet .otp-input { letter-spacing: .08em; }
/* n.º 13: JORNADAS antes de la primera, en la tarjeta de «Próximas jornadas». */
.lr-empty { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "tile main"; align-items: center; gap: 12px; padding: 16px; margin: 16px 0; }
.lr-empty .pj-tile { grid-area: tile; }
.lr-empty .pj-main p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: #4b4741; }
/* n.º 17: clausulazos cerrados, una línea neutra con antetítulo lavanda (antes, el rojo de error); la cifra en la cajita de OFERTAS. */
.clause-state.is-wait { color: #e9e6f5; font-weight: 700; }
.clause-state.is-wait .rf-kicker { display: inline; margin-right: 6px; color: #b9b3ff; }
.clause-who span { white-space: nowrap; }
/* Con un solo botón (cerrados, sin cláusulas o tu plantilla), quién va arriba a todo el ancho y la cajita y el botón, debajo, a medias. */
.clause-row.one-act { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "who who" "price act"; }
.clause-row.one-act .clause-price { text-align: left; }
.clause-price.offer-box { padding: 8px 12px 8px; border: 1px solid rgba(185, 179, 255, .3); border-radius: 12px; background: rgba(141, 130, 232, .16); }
.clause-price.offer-box small { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #b9b3ff; opacity: 1; }
.clause-price.offer-box strong { font-size: 15px; white-space: nowrap; }
.clause-acts .clause-act.offer { text-transform: none; letter-spacing: 0; font-size: 15px; }
/* n.º 20: el contador de los nombres de 28. */
.field-count { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; color: #6b655e; text-align: right; }
.sheet .field-count { color: #b8b3ab; }
.field-count.is-max { color: #c2454c; }
.sheet .field-count.is-max { color: #ff8a8f; }
/* Mapa de LIGA: sin mapas puntuados, «Sin puntos» como estado (no la pastilla «—», que se leía como un botón «menos»). */
.t51-round-score.is-pending { background: rgba(17, 18, 22, .62); color: rgba(255, 255, 255, .9); font-weight: 700; font-size: 11px; }
/* Con el directo encendido el hueco pinta sus puntos provisionales: la pastilla vuelve a la normal. */
.t51-slot.dx-on .t51-round-score.is-pending { background: rgba(17, 18, 22, .82); color: #fff; font-weight: 700; }
.login-sheet .nowrap { white-space: nowrap; }
/* n.º 17: en escritorio la posición, el equipo y «Mercado … × 1,5» de la fila iban a 10 px; al suelo de 11 px como en móvil. */
.clause-who span, .clause-price span { font-size: 11px; }

/* 261010-d3d · Diseño 3: puntos del jugador (n.º 2), «Más suben» (n.º 11), directo en tu liga (n.º 4) y TABLÓN (n.º 5).
   Barras: una serie lavanda #8a83e4 y la última #4f48b8 (las dos ≥ 3:1 sobre blanco, validadas con el validador de dataviz);
   las cifras van en tinta, no en el color de la serie. */
.pts-line { display: flex; align-items: flex-end; gap: 12px; min-width: 0; margin: 6px 0 2px; }
.pts-avg { display: grid; gap: 1px; min-width: 0; }
.pts-avg strong { font-family: Georgia, 'Times New Roman', serif; font-size: 26px; font-weight: 700; line-height: 1; color: #17181b; font-variant-numeric: tabular-nums; }
.pts-avg small { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #4b4741; white-space: nowrap; }
.pts-bars { display: flex; align-items: flex-end; gap: 2px; height: 46px; }
.pts-bar { display: grid; grid-template-rows: 1fr auto; justify-items: center; width: 22px; height: 100%; }
.pts-bar i { align-self: end; width: 14px; min-height: 2px; border-radius: 4px 4px 0 0; background: #8a83e4; }
.pts-bar.is-last i { background: #4f48b8; }
.pts-bar b { font-size: 11px; font-weight: 700; line-height: 1.3; color: #66615a; }
/* 261016-mkp: los puntos en las filas del mercado, como un chip más; el precio sigue siendo la cifra grande de la fila */
.sell-market-stats .pts-chip { display: inline-flex; align-items: center; gap: 4px; }
.pts-spark { display: inline-flex; align-items: flex-end; gap: 1px; height: 12px; font-style: normal; }
.pts-spark i { display: block; width: 3px; border-radius: 1px; background: #8a83e4; }
.pts-spark i.is-last { background: #4f48b8; }
.pf-pts { display: grid; gap: 4px; margin: 0 0 12px; padding: 12px 16px; border: 1px solid rgba(23, 23, 25, .1); border-radius: 18px; background: #fff; }
.pf-pts .pts-line { margin: 0; }
.pf-pts .pts-avg strong { font-size: 22px; font-weight: 400; } /* 261011-tip T14: la media, serif sin negrita */
.pf-pts .pts-avg small { font-weight: 700; }
.order-bar { display: flex; gap: 8px; overflow-x: auto; margin: 4px 0 12px; padding: 2px 0; scrollbar-width: none; }
.order-bar button { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(23, 23, 25, .16); border-radius: 999px; background: #fff; color: #17181b; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.order-bar button.active { border-color: #17181b; background: #17181b; color: #fff; }
.order-bar button:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
/* Directo en tu liga (MI EQUIPO): franja del partido, «Tu liga ahora» y «Lo último». */
.dx-matches, .dx-liga, .dx-last { margin: 0 0 12px; }
.dx-matches[hidden], .dx-liga[hidden], .dx-last[hidden] { display: none; }
.dx-matches { display: grid; gap: 6px; }
.dx-match { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 14px; background: #17181b; color: #fff; }
.dx-match b { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #c9c3ff; }
.dx-match span { margin-left: auto; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dx-liga, .dx-last { padding: 12px 16px; border: 1px solid rgba(23, 23, 25, .1); border-radius: 18px; background: #fff; color: #17181b; }
.dx-l-head { display: grid; gap: 4px; margin-bottom: 8px; }
.dx-l-head strong { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; font-weight: 700; line-height: 1.25; }
.dx-l-list, .dx-u-list { margin: 0; padding: 0; list-style: none; }
.dx-l-list li { display: grid; grid-template-columns: 22px 32px minmax(0, 1fr) auto 34px; align-items: center; gap: 8px; min-height: 48px; padding: 4px 8px; border-top: 1px solid rgba(23, 23, 25, .08); }
.dx-l-list li.is-me { margin: 0 -8px; padding: 4px 16px; border-radius: 10px; background: #efedff; }
.dx-l-pos { font-family: Georgia, serif; font-size: 15px; text-align: center; }
/* 261018-riv: las filas de «TU LIGA AHORA» se tocan (ver ese equipo en el mapa); arriba del mapa, de quién es y «Volver al mío» */
.dx-l-list li[data-dx-rival] { cursor: pointer; }
.dx-rival-bar { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border-radius: 999px; background: rgba(23, 23, 25, .82); color: #fff; font-size: 13px; }
.dx-rival-bar b { font-weight: 700; }
.dx-rival-bar button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: #fff; color: #171719; font: inherit; font-weight: 700; cursor: pointer; }
/* 261018-av: avatar de campeón del manager en «TU LIGA AHORA»; sin avatar, sus iniciales */
.dx-l-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #ece9fb; color: #4f48b8; font-size: 11px; font-weight: 700; }
.dx-l-who { display: grid; min-width: 0; }
.dx-l-who strong { overflow: hidden; font-family: Georgia, serif; font-size: 15px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.dx-l-who small { font-size: 12px; color: #66615a; }
.dx-l-list b { font-family: Georgia, serif; font-size: 18px; font-weight: 400; font-variant-numeric: tabular-nums; }
.dx-l-mv { font-size: 12px; font-style: normal; font-weight: 800; text-align: right; color: #66615a; }
.dx-l-mv.up { color: #4f48b8; }
.dx-l-mv.down { color: #a3332b; }
.dx-u-head { margin-bottom: 6px; }
.dx-u-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 36px; padding: 2px 6px; border-radius: 8px; font-size: 15px; }
.dx-u-list time { font-size: 12px; font-weight: 700; color: #66615a; font-variant-numeric: tabular-nums; }
.dx-u-list em { padding: 0 6px; border-radius: 999px; background: #efedff; color: #4a43b8; font-size: 11px; font-style: normal; font-weight: 800; }
.dx-u-list strong { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) { .dx-u-list li.is-new { animation: dx-nuevo 2s ease-out; } }
@keyframes dx-nuevo { from { background: #dcd8ff; } to { background: transparent; } }
/* TABLÓN de la liga. 261017 (Albert, 17-oct-2026: «mejorar el diseño del TABLÓN»): noticiario por días. El día en antetítulo
   («HOY · sábado 17 oct») y, debajo, una sola tarjeta blanca con una fila por noticia separada por filetes: cajita de 32 px con el
   icono de su tipo (el lenguaje de «Reglas de tu liga»), antetítulo 11/700, titular 14/400 con nombres en 700, detalle 12 y la cifra
   en Georgia 18 a la derecha. Colores por tipo con los pares de la app (lavanda, verde, rojo, tinta y crema). Lo tuyo, en #f8f7ff. */
.tb-shell { display: grid; gap: 8px; margin: 0 0 16px; }
.tb-feed { display: grid; gap: 16px; }
.tb-g { display: grid; gap: 8px; }
.tb-day { display: flex; align-items: baseline; gap: 8px; margin: 0 2px; font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; }
.tb-day b { font-weight: 700; }
.tb-day span { font-weight: 400; letter-spacing: .04em; text-transform: none; color: #66615a; }
.tb-box { overflow: hidden; border: 1px solid rgba(23, 23, 25, .1); border-radius: 20px; background: #fff; color: #17181b; }
.tb-it { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: start; gap: 4px 12px; padding: 16px; }
.tb-it + .tb-it { border-top: 1px solid rgba(23, 23, 25, .08); }
.tb-it.is-me { background: #f8f7ff; }
.tb-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #f2efe7; color: #3d3a35; }
.tb-ic svg { width: 18px; height: 18px; }
.tb-ic.tb-k-market, .ini-tb-ic.tb-k-market { background: #f1efff; color: #5b54c9; }
.tb-ic.tb-k-clause, .ini-tb-ic.tb-k-clause { background: #fde8e9; color: #a3262d; }
.tb-ic.tb-k-round, .ini-tb-ic.tb-k-round { background: #17181b; color: #fff; }
.tb-ic.tb-k-sale, .ini-tb-ic.tb-k-sale { background: #e3f4e8; color: #1f6a35; }
.tb-tx { min-width: 0; }
.tb-tx p { margin: 0; }
.tb-k { font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.tb-h { font-size: 15px; line-height: 20px; color: #17181b; }
.tb-h b { font-weight: 700; }
.tb-d { margin-top: 2px; font-size: 12px; line-height: 18px; color: #66615a; }
.tb-amt { align-self: center; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 24px; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.tb-pos { display: grid; align-self: center; justify-items: end; }
.tb-pos b { font-size: 18px; font-weight: 700; line-height: 24px; font-variant-numeric: tabular-nums lining-nums; }
.tb-pos small { font-size: 11px; line-height: 14px; color: #66615a; }
/* El mercado: la cabecera en la fila y, debajo del titular, un jugador por línea; lo tuyo arriba con su pastilla Ganada / Perdida. */
.tb-lots { grid-column: 2 / -1; margin: 6px 0 0; padding: 0; list-style: none; }
.tb-lot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(23, 23, 25, .08); }
.tb-lt { display: block; min-width: 0; font-size: 13px; line-height: 20px; }
.tb-lt b { font-weight: 700; }
.tb-lt small { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; color: #66615a; }
.tb-lr { display: grid; flex: none; justify-items: end; gap: 4px; }
.tb-lr strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 22px; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.tb-res { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 14px; }
.tb-res.is-won { background: #e3f4e8; color: #1f6a35; }
.tb-res.is-lost { background: #fde8e9; color: #a3262d; }
.tb-me { padding: 1px 6px; border-radius: 999px; background: #efedff; color: #4a43b8; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .04em; }
.tb-foot { margin: 4px 2px 0; font-size: 12px; line-height: 1.45; color: #66615a; }
/* Vacío: el periódico y lo que va a salir aquí, con los mismos iconos que las noticias. */
.tb-empty { gap: 8px; padding: 20px 16px; }
.tb-empty-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f1efff; color: #5b54c9; }
.tb-empty-ic svg { width: 22px; height: 22px; }
.tb-promise { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.tb-promise li { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 18px; color: #3d3a35; }
.tb-promise .tb-ic { flex: none; }
.market-mode-tabs.league-tabs:has([data-league-tab="board"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* En escritorio el noticiario no se estira a todo el ancho: columna de lectura de 720 px (la cifra cerca de su frase). */
@media (min-width: 760px) { .tb-feed, .tb-foot, .tb-empty { max-width: 720px; } }
/* La ficha es oscura (261010-d2i): el bloque de puntos va como el del precio. Una sola serie en #8a83e4 (dentro de banda y ≥ 3:1
   sobre la hoja, validado); la última jornada se marca con un contorno claro y su etiqueta en negrita, no con otro color. */
.player-profile-sheet .pf-pts { margin: 12px 0 0; padding: 12px 12px; border-color: rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .03); }
/* Albert, 18-oct-2026 («dale un poco más de píxeles verticales, que está muy apretadito»): más aire arriba, abajo y entre el título,
   la media y las barras, y barras más altas. Las barras de la ficha son botones (J1, J2… abren el pop-up de esa jornada). */
.player-profile-sheet .pf-pts { gap: 12px; margin-top: 16px; padding: 16px 16px 12px; }
.player-profile-sheet .pf-pts .pts-line { gap: 16px; }
.player-profile-sheet .pf-pts .pts-avg { gap: 4px; }
.player-profile-sheet .pf-pts .pts-bars { height: 64px; gap: 4px; }
.player-profile-sheet .pf-pts .pts-bar b { line-height: 1.6; }
.pts-bars.is-tap .pts-bar { width: 32px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; cursor: pointer; }
.pts-bars.is-tap .pts-bar:hover i { filter: brightness(1.15); }
.pts-bars.is-tap .pts-bar:focus-visible { outline: 2px solid #b9b3ff; outline-offset: 2px; }
.player-profile-sheet .pf-pts .rf-kicker { color: #b9b3ff; }
.player-profile-sheet .pts-avg strong { color: #fff; }
.player-profile-sheet .pts-avg small, .player-profile-sheet .pts-bar b { color: #c9c4bb; }
.player-profile-sheet .pts-bar i, .player-profile-sheet .pts-bar.is-last i { background: #8a83e4; }
.player-profile-sheet .pts-bar.is-last i { box-shadow: 0 0 0 2px #fff; }
.player-profile-sheet .pts-bar.is-last b { color: #fff; font-weight: 800; }

/* ============================================================================================================================
   261011-d4o · cuarta pasada de diseño: orden y menos información (Albert, 11-oct: «Menos información es mejor»).
   ============================================================================================================================ */
/* Pestañas (LIGA, MERCADO, RANKING): solo el nombre, en una barra de 44 px; el subtítulo de cada pestaña se ha ido. */
#root .market-mode-tabs button { min-height: 44px; padding: 0 8px; justify-content: center; align-items: center; text-align: center; }
#root .market-mode-tabs button span { font-size: 11px; font-weight: 700; letter-spacing: .08em; }
#root .market-mode-tabs.with-offers button span { justify-content: center; }
#root .market-mode-tabs { margin: 12px 0; border-radius: 12px; }
/* LIGA: «Invitar» y el código en una sola fila (antes un botón a todo lo ancho encima del código). */
.league-invite-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 8px; }
.league-invite-row > .invite-code:only-child { grid-column: 1 / -1; }
.league-invite-row .invite-code > span { display: none; } /* «CÓDIGO»: la chapa ya dice el código y «Copiar» */
.league-invite-row .league-invite { width: auto; min-height: 44px; margin: 0; padding: 0 20px; font-size: 13px; }
.league-invite-row .invite-code { margin: 0; border: 0; }
/* «Así puntúa cada mapa», plegado al pie de MI EQUIPO y JORNADAS. */
.legend-fold { margin-top: 24px; padding-top: 4px; border-top: 1px solid rgba(23, 23, 25, .1); }
.legend-fold > summary { display: flex; align-items: center; min-height: 44px; margin: 0; padding: 0; border: 0; cursor: pointer; list-style: none; }
.legend-fold > summary::-webkit-details-marker { display: none; }
.legend-fold > summary::after { content: "+"; margin-left: auto; font-size: 18px; font-weight: 400; letter-spacing: 0; }
.legend-fold[open] > summary::after { content: "−"; }
.legend-fold .league-scoring-legend { margin: 4px 0 8px; }
/* Código de acceso: el email en su línea, el código grande y Reenviar / Cambiar email juntos. */
.join-code-hint .nowrap { display: block; white-space: normal; overflow-wrap: anywhere; }
.login-sheet .otp-input { font-size: 26px; font-weight: 700; letter-spacing: .08em; text-align: center; font-variant-numeric: tabular-nums; }
.login-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.login-alt .secondary-action { min-height: 44px; margin: 0; padding: 0 8px; font-size: 13px; }
.login-alt .secondary-action:only-child { grid-column: 1 / -1; }
/* Cambiar de liga: el nombre manda y la competición va debajo, más pequeña (antes al revés). */
#root .league-option strong { font-size: 15px; }
#root .league-option small { font-size: 12px; }
/* Filas de manager (RANKING, GENERAL, JORNADAS): la cifra de la derecha son los puntos; la etiqueta «PUNTOS» en cada fila
   sobra a la vista y se queda solo para el lector de pantalla. */
.manager-list-row .sell-market-status > small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Hoja del manager en RANKING: el avatar sin campeón se veía negro sobre negro. */
.ranking-sheet .ranking-sheet-head .sell-market-avatar { border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
/* EQUIPO: tres casillas (PLANTILLA · CAJA · CAPITÁN) o cuatro si los cambios cuentan; el pie solo con el valor del equipo. */
.t51-metrics { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.t51-footer { grid-template-columns: 1fr; }
/* Nueva liga con sesión: directo a «Crear / Unirme»; la portada (logo grande, lema y arte) es para quien llega por primera vez. */
.onboarding-shell:has(.onboarding-brand .back) .editorial-intro { display: none; }
#root .league-option i { color: #b9b3ff; } /* la flecha, en el lavanda de la app (era dorada del prototipo) */

/* ============================================================================================================================
   261011-d4t · retoques a mano sobre la escala (la escala en sí está generada al principio del fichero).
   ============================================================================================================================ */
/* La tarjeta de jugador (MERCADO, EQUIPO, VENTA): la media en el paso 22 de la escala, la etiqueta en gris y sin gritar, y las
   barras más bajas. Unos 16 px menos por tarjeta, sin quitar ningún dato. */
.sell-market-row .pts-avg strong { font-size: 22px; }
.sell-market-row .pts-avg small { font-weight: 700; letter-spacing: .04em; color: #77716a; }
.sell-market-row .pts-bars { height: 34px; }
/* La ficha es oscura: «Descansa en la J9» se perdía (gris sobre gris). */
.player-profile-sheet .rf-plays.is-rest { background: rgba(255, 255, 255, .1); color: #e8e4dc; }
/* 261011-d4r: la línea de la cabecera bajo el nombre de la liga, solo la competición; un em propio porque v5-18 fuerza el small
   a 10 px y eso no se puede pisar desde aquí. */
.league-switch .ls-sub { display: block; margin-top: 2px; overflow: hidden; font-size: 12px; font-style: normal; font-weight: 400; line-height: 1.3; color: #706b64; text-overflow: ellipsis; white-space: nowrap; }
.v5-topbar .league-switch b { font-size: 15px; } /* el nombre manda sobre la competición */

/* ===== 261011-hom · INICIO con sesión (Albert, 11-oct: «la home está muy fea… Build Your Rift, yo lo subiría, a modo introducción,
   lo demás busca el detalle»). Orden: introducción → lo siguiente → cifras → jornadas → la próxima competición. Una carcasa
   (.pj-card), la escala de d4t (11·12·13·15·18·22·26; 400/700/800; rejilla de 4 px) y el ámbar solo en los avisos de verdad. ===== */
/* La introducción: el arte de la portada (ya en el precache) tras un degradado, y una frase. ≤ 168 px a 390 para que «Lo siguiente»
   se vea entero en la primera pantalla. */
.rf-intro { position: relative; display: grid; align-content: end; min-height: 112px; margin: 12px 0; padding: 16px; overflow: hidden; border-radius: 18px; background: #141418; color: #fff; isolation: isolate; }
.rf-intro-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 38%; }
.rf-intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 20, 24, .94) 0%, rgba(20, 20, 24, .78) 48%, rgba(20, 20, 24, .12) 100%); }
.rf-intro-copy { display: grid; gap: 4px; max-width: 280px; }
.rf-intro .rf-kicker { font-size: 11px; color: #b9b3ff; }
.rf-intro-title { margin: 0; font-family: Georgia, serif; font-size: 26px; font-weight: 400; line-height: 1; letter-spacing: -.03em; color: #fff; }
.rf-intro-title em { font-style: italic; color: #b9b3ff; }
.rf-intro p { margin: 0; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .82); }
/* Títulos de sección: un h2 propio de 22 px (el de .v5-section-title arrastra un antetítulo a 10 px que fija v5-18). */
.rf-h { margin: 28px 0 12px; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.2; letter-spacing: -.02em; color: #17181b; }
#root .upcoming-promo { margin-top: 24px; }
/* 261011-hsz (Albert: «todo muy grande»): en INICIO, las tarjetas de jornada y la LEC un escalón más pequeñas (LIGA no cambia). */
.v5-home .pj-round > summary { grid-template-columns: 48px minmax(0, 1fr) auto; }
.v5-home .pj-round .pj-date { width: 48px; min-height: 48px; }
.v5-home .pj-date b { font-size: 18px; }
.v5-home .pj-status b { font-size: 15px; }
.v5-home .pj-comp.is-next .pj-title { font-size: 18px; }
@media (min-width: 900px) {
  .rf-intro { min-height: 140px; margin-top: 16px; padding: 24px; }
  .rf-intro-copy { max-width: 480px; }
  .rf-intro-title { font-size: 36px; }
  .rf-intro p { font-size: 13px; }
  .rf-intro::after { background: linear-gradient(90deg, rgba(20, 20, 24, .94) 0%, rgba(20, 20, 24, .7) 38%, rgba(20, 20, 24, 0) 72%); }
  .rf-h { margin-top: 32px; }
}

/* ==== 261011-tip · tipografías (Albert, 11-oct: «una tipo más Serif para los datos principales y otra sans serif para lo demás»).
   Solo lo que pisa reglas del bloque generado de 261011-d4t (espejo de styles-v5-18.css): mismo selector, después en la cascada, sin
   forzar. Lo que v5-18 fuerza se queda (ver .planning/quick/261011-tip-tipografias/261011-tip-SUMMARY.md). ==== */
.market-window-copy small{font-weight:700}
.market-window-copy span{font-size:12px}
.profile-value-card small{font-weight:700}
.profile-value-card strong{font-size:26px;font-weight:400}
.account-entry small{font-weight:700}
.account-entry>b{font-weight:700}
.league-monogram{font-weight:700}
.editorial-copy p{font-weight:400;letter-spacing:0;text-transform:none}
.choice-heading small{font-weight:700}
.onboarding-route-switch button small{font-size:12px}
.topbar .manager-avatar.avatar-fallback{font-size:13px;font-weight:700}
.avatar-fallback{font-weight:700}
.league-hero small{font-weight:700}
/* ==== fin 261011-tip ==== */
/* ==== 261012-chq: hoja del hueco vacío (World Classic) ==== */
/* Las filas son las de la hoja de plantilla (.clause-row, fondo oscuro); aquí solo lo propio: el dato clave, los rótulos de grupo,
   el aviso de plantilla llena y el gris de las filas que no puedes añadir (como .broke en la subasta). */
.hueco-sheet .rf-kicker.hueco-sub { display: block; margin: 16px 0 8px; color: #b9b3ff; }
.hueco-sheet .hueco-meta { margin-bottom: 4px; }
.hueco-stat { font-style: normal; font-size: 12px; color: #d8d3cb; font-variant-numeric: tabular-nums; }
.hueco-full { margin: 8px 0 0; padding: 12px; border-radius: 12px; background: rgba(224, 162, 58, .16); border: 1px solid rgba(224, 162, 58, .4); color: #f6f2ea; font-size: 13px; line-height: 1.4; }
.hueco-sheet .clause-row.broke .clause-who, .hueco-sheet .clause-row.broke .clause-price strong { opacity: .6; }
.hueco-sheet .hueco-all { margin-top: 12px; }
.hueco-sheet .clause-who span { display: flex; align-items: center; gap: 4px; }
.hueco-sheet .clause-who .role-glyph { width: 12px; height: 12px; flex: none; color: #c9c3ff; }
.hueco-sheet .clause-who .picker-photo { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.hueco-sheet .clause-act { text-transform: none; letter-spacing: 0; font-size: 15px; }
/* 261012-hfi: la fila abre la ficha: todo el bloque de identidad es un botón (≥ 44 px) con flecha; «Añadir» sigue aparte. */
.hueco-sheet .hueco-ficha { width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.hueco-sheet .hueco-ficha > div { flex: 1; }
.hueco-sheet .hueco-ficha .hueco-chev { flex: none; font-size: 28px; line-height: 1; letter-spacing: 0; text-transform: none; color: #b9b3ff; opacity: 1; padding: 0 4px; } /* .clause-who span lo dejaba en 11 px y apagado */
/* ==== fin 261012-chq ==== */
/* ==== 261012-pic: la hoja de la posición en todos los modos ==== */
.hueco-foot { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: #c9c4bb; }
.hueco-sheet .clause-price.offer-box span { font-size: 12px; color: #d6d2ff; opacity: 1; }
/* ==== fin 261012-pic ==== */
/* ==== 261012-vac: el estado vacío único (Albert: «ese tipo de diseño no está muy bien», 12-oct) ====
   Sin el «＋» gigante ni bordes discontinuos: tarjeta con título serif corto, una línea en gris y, si hay qué hacer, un botón
   secundario de 44 px. Rejilla de 4 px. En página clara, tarjeta blanca; dentro de una hoja (fondo oscuro), transparente con borde
   suave. «Cargando…» usa la misma caja con el título en sans y gris (is-loading). */
.rf-vacio { display: grid; gap: 4px; justify-items: start; margin: 0; padding: 16px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 16px; background: #fff; color: #17181b; text-align: left; }
.rf-vacio > strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.25; }
.rf-vacio > p { margin: 0; font-size: 13px; line-height: 1.45; color: #6b6660; }
.rf-vacio .rf-vacio-act { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; padding: 0 16px; border: 1px solid rgba(110, 103, 217, .45); border-radius: 999px; background: #fff; color: #4a43b8; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.rf-vacio .rf-vacio-act:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
.rf-vacio.is-loading > strong { font-family: inherit; font-size: 13px; font-weight: 400; color: #6b6660; }
.sheet .rf-vacio { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #f6f2ea; }
.sheet .rf-vacio > p, .sheet .rf-vacio.is-loading > strong { color: #b9b5ad; }
.sheet .rf-vacio .rf-vacio-act { border-color: rgba(185, 179, 255, .5); background: transparent; color: #d6d2ff; }
.rf-vacio > .rf-kicker { margin: 0 0 4px; }
.t51-sub-sheet .rf-vacio { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #f6f2ea; }
.t51-sub-sheet .rf-vacio > p { color: #b9b5ad; }
/* El suplente que falta en la hoja de cambio: el icono de su posición en lugar del «＋». */
.t51-empty-player .role-icon { width: 20px; height: 20px; opacity: .7; }
/* ==== fin 261012-vac ==== */
/* ==== 261012-pli · ¿Cuándo empieza tu liga? (Play-In o Suizo) ====
   Al crear (client/start-stage-ui.js): dos opciones grandes, como las tarjetas de modo (.cl-mode), con el radio a la derecha;
   la elegida con el borde lavanda. En LIGA, el aviso mientras una liga «desde el Suizo» no ha empezado (.ss-note). */
[data-start-stage]:empty { display: none; }
.cl-start { border-color: rgba(110, 103, 217, .3); }
.cl-start-opts { display: grid; gap: 8px; }
.cl-start-opt { position: relative; display: block; cursor: pointer; }
.cl-form .cl-start-opt input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; }
.cl-start-opt > span { position: relative; display: grid; gap: 4px; min-height: 44px; padding: 12px 46px 12px 12px; border: 1px solid rgba(23, 23, 25, .16); border-radius: 14px; background: #fff; }
.cl-start-opt > span::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; box-sizing: border-box; border: 2px solid rgba(23, 23, 25, .24); border-radius: 50%; background: #fff; }
.cl-start-opt small { font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; }
.cl-start-opt strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.15; color: #17181b; }
.cl-start-opt em { font-size: 13px; font-style: normal; line-height: 1.45; color: #4b4741; }
.cl-start-opt:hover > span { border-color: rgba(110, 103, 217, .45); }
.cl-start-opt input:focus-visible + span { outline: 2px solid #6e67d9; outline-offset: 2px; }
.cl-start-opt input:checked + span { border-color: rgba(110, 103, 217, .35); background: #f7f6ff; box-shadow: inset 4px 0 0 #6e67d9; }
.cl-start-opt input:checked + span::after { border-color: #6e67d9; background: #6e67d9; box-shadow: inset 0 0 0 4px #fff; }
.cl-start > .cl-hint { margin: 0; }
@media (min-width: 641px) { .cl-start-opts { grid-template-columns: 1fr 1fr; } }
.ss-note strong { display: block; margin: 0 0 2px; font-size: 13px; font-weight: 800; }
.ss-note p { margin: 0; }
/* ==== fin 261012-pli ==== */

/* 261012-ini · INICIO con sesión nuevo (diseño «huecos-b-desde» de Albert). Tarjeta oscura con el arte de «Build your Rift» que se
   funde a negro liso antes del texto pequeño; contraste AA medido en las maquetas (gris #b8b2aa 8,4:1, tenue #9a958e 6,0:1, lavanda
   #b9b3ff 9,3:1, rojo #ff8a8d 7,8:1 sobre #17181b). Escala 11·12·13·15·18·22·26, pesos 400/700, rejilla de 4 px, toques de 44 px. */
.ini { display: grid; gap: 12px; max-width: 560px; margin: 12px auto 0; }
.ini-card { background: #17181b; color: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(23, 23, 25, .08); }
.ini-art { position: relative; padding: 16px 16px 28px; background: #17181b url("./home-main-cover-v551.webp") center 32% / cover no-repeat; }
.ini-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 24, 27, .55) 0, rgba(23, 24, 27, .85) 60%, #17181b 100%); }
.ini-brand { position: relative; z-index: 1; margin: 0; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 24px; color: #fff; }
.ini-brand em { color: #b9b3ff; }
.ini-in { display: grid; gap: 12px; padding: 0 16px 16px; }
.ini-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.ini-k { margin: 0; font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #b9b3ff; }
.ini-k.is-live { color: #ff8a8d; }
.ini-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #ff6b6f; vertical-align: 1px; }
.ini-pill { display: inline-flex; align-items: baseline; gap: 4px; flex: none; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; color: #d6d1c9; white-space: nowrap; }
.ini-pill b { font-size: 13px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.ini-title { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 28px; color: #fff; }
.ini-score { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ini-total { display: block; font-size: 26px; font-weight: 700; line-height: 32px; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.ini-score small { display: block; font-size: 12px; color: #b8b2aa; }
.ini-pos { text-align: right; }
.ini-pos b { display: block; font-size: 22px; font-weight: 700; line-height: 28px; }
/* el camino: solo «ahora» y las fases con titulares; el ancho de cada fase, por sus caras */
.ini-road { display: flex; align-items: flex-start; cursor: pointer; }
.ini-node { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; text-align: center; }
.ini-who { display: flex; align-items: flex-start; justify-content: center; min-height: 60px; }
.ini-face { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.ini-face + .ini-face { margin-left: 4px; }
.ini-ph { display: block; width: 36px; height: 36px; overflow: hidden; border: 2px solid #17181b; border-radius: 50%; background: #2b2b31; }
.ini-ph .ini-photo, .ini-bph .ini-photo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; font-size: 11px; }
.ini-rl { position: absolute; top: -2px; right: 2px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #17181b; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.ini-rl .role-glyph { width: 10px; height: 10px; }
.ini-nm { font-size: 11px; font-weight: 700; line-height: 16px; color: #fff; white-space: nowrap; }
.ini-face.is-off .ini-photo { filter: grayscale(1); opacity: .5; }
.ini-face.is-off .ini-nm { font-weight: 400; color: #9a958e; }
.ini-rail { position: relative; display: grid; place-items: center; width: 100%; height: 20px; }
.ini-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(255, 255, 255, .18); }
.ini-node:first-child .ini-rail::before { left: 50%; }
.ini-node:last-child .ini-rail::before { right: 50%; }
.ini-rail i { position: relative; box-sizing: border-box; width: 12px; height: 12px; border: 2px solid #8f8a83; border-radius: 50%; background: #17181b; }
.ini-node.is-here .ini-rail i { border-color: #8d82e8; background: #8d82e8; box-shadow: 0 0 0 4px rgba(141, 130, 232, .28); }
.ini-node.is-live .ini-rail i { border-color: #ff6b6f; background: #ff6b6f; box-shadow: 0 0 0 4px rgba(255, 107, 111, .28); }
.ini-node.is-out .ini-rail i { background: #8f8a83; }
.ini-node.is-faint .ini-rail i { width: 8px; height: 8px; border-color: #6f6a63; }
.ini-lb { display: flex; flex-direction: column; line-height: 16px; }
.ini-lb b { font-size: 12px; font-weight: 700; color: #fff; }
.ini-lb small { font-size: 11px; color: #b8b2aa; }
.ini-node.is-faint .ini-lb b { font-weight: 400; color: #9a958e; }
.ini-node.is-out .ini-lb b { font-weight: 400; color: #b8b2aa; }
/* huecos: debajo del camino, en su franja; abren la hoja de la posición */
.ini-slots { display: flex; align-items: flex-start; gap: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ini-slot { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; padding: 0; border: 0; background: none; color: #d9d5ff; font: inherit; cursor: pointer; }
.ini-slot i { position: relative; display: grid; place-items: center; box-sizing: border-box; width: 44px; height: 44px; border: 1.5px dashed #a59cf5; border-radius: 50%; background: rgba(141, 130, 232, .12); color: #d9d5ff; font-style: normal; }
.ini-slot i .role-glyph { width: 18px; height: 18px; }
.ini-slot i b { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: #b9b3ff; color: #17181b; font-size: 13px; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #17181b; }
.ini-slot span { font-size: 12px; font-weight: 700; line-height: 16px; }
.ini-slot em { font-size: 11px; font-style: normal; line-height: 16px; color: #b8b2aa; }
.ini-bph { flex: none; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; background: #2b2b31; }
/* directo: titulares con su partido y sus puntos (client/directo.js suma lo provisional) */
.ini-lr { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.ini-lr + .ini-lr { border-top: 1px solid rgba(255, 255, 255, .1); }
.ini-lr .t51-name { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-width: 0; max-width: none; margin: 0; padding: 0; border-radius: 0; background: none; transform: none; }
.ini-lr .t51-name strong { max-width: none; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 20px; color: #fff; text-align: left; }
.ini-lr .t51-name small { max-width: none; font-size: 12px; line-height: 16px; color: #b8b2aa; text-align: left; }
.ini-lr .t51-round-score { min-width: 44px; margin: 0; padding: 0; border-radius: 0; background: none; font-size: 15px; font-weight: 700; color: #fff; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.ini-lr.is-off .ini-photo { filter: grayscale(1); opacity: .5; }
.ini-lr.is-off .t51-round-score { font-weight: 400; color: #9a958e; }
/* debajo de la tarjeta: Mercado · Tu liga, el plegable y lo que viene */
.ini-cells { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid rgba(23, 23, 25, .1); border-radius: 20px; background: #fff; }
.ini-cells button { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 52px; padding: 8px 32px 8px 16px; border: 0; background: none; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.ini-cells button + button { border-left: 1px solid rgba(23, 23, 25, .1); }
.ini-cells button::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #8a847c; }
.ini-cells b { font-size: 15px; font-weight: 700; }
.ini-cells span { font-size: 12px; color: #66615a; }
.ini-fold { overflow: hidden; border: 1px solid rgba(23, 23, 25, .1); border-radius: 20px; background: #fff; }
.ini-fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; font-size: 13px; font-weight: 700; color: #17181b; list-style: none; cursor: pointer; }
.ini-fold summary::-webkit-details-marker { display: none; }
.ini-fold summary::after { content: "+"; font-size: 18px; font-weight: 700; color: #5b54c9; }
.ini-fold[open] summary::after { content: "–"; }
.ini-fold-body { display: grid; gap: 8px; padding: 0 16px 8px; }
.ini-fold-body p { margin: 0; font-size: 13px; line-height: 20px; color: #3d3a35; }
.ini-fold-body b { color: #17181b; }
.ini-fold-go { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: #17181b; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ini-soon { margin: 0; padding: 0 4px; font-size: 12px; color: #66615a; }
/* la hoja «¿Cómo funciona el torneo?» (hoja oscura) */
.ini-sheet .ini-step { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin: 0 0 16px; }
.ini-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 700; }
.ini-st { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ini-st b { font-size: 15px; font-weight: 700; color: #fff; }
.ini-here { padding: 2px 8px; border-radius: 999px; background: #b9b3ff; color: #17181b; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ini-sheet .ini-step p { margin: 4px 0 8px; font-size: 13px; line-height: 20px; color: #d6d1c9; }
.ini-ms { display: grid; gap: 4px; margin: 0 0 8px; padding: 0; list-style: none; }
.ini-ms li { display: flex; align-items: baseline; gap: 12px; }
.ini-ms small { min-width: 104px; font-size: 12px; color: #b8b2aa; }
.ini-ms b { font-size: 13px; font-weight: 700; color: #fff; }
.ini-regions { display: grid; }
.ini-regions div { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: baseline; padding: 4px 0; }
.ini-regions div + div { border-top: 1px solid rgba(255, 255, 255, .1); }
.ini-regions small { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #b8b2aa; }
.ini-regions span { font-size: 13px; font-weight: 700; color: #fff; }

/* 261012-age · debajo de la tarjeta de INICIO: la agenda por semanas (A2 de Albert), Tu liga, el plegable y las competiciones.
   261013-res (Albert: «pasa la Agenda y Claves de la Liga a modo blanco»): en claro, como las tarjetas del resto de la app; solo la
   tarjeta del resumen sigue oscura. Paleta AA sobre #fff: tinta #17181b, gris #66615a 6,1:1 (5,6:1 sobre el crema #f6f4ef de los
   partidos), lavanda #5b54c9 5,9:1, rojo #c8343a 5,2:1; escala 11·12·13·15·18·22·26; pesos 400/700; rejilla de 4 px; toques de 44 px. */
.ag-week, .ag-card { display: grid; gap: 8px; padding: 16px 16px 12px; border: 1px solid rgba(23, 23, 25, .1); border-radius: 20px; background: #fff; color: #17181b; }
.ag-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ag-hd h2 { margin: 0; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 24px; color: #17181b; }
.ag-hd span { font-size: 12px; color: #66615a; }
.ag-strip { display: flex; align-items: center; gap: 4px; margin: 0 -8px; }
.ag-arr { display: grid; place-items: center; flex: none; width: 44px; min-height: 56px; padding: 0; border: 0; border-radius: 12px; background: none; color: #66615a; font: inherit; font-size: 18px; cursor: pointer; }
.ag-days { display: grid; flex: 1; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ag-d { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; padding: 4px 0; border: 0; border-radius: 12px; background: none; color: #66615a; font: inherit; font-size: 11px; cursor: pointer; }
.ag-d b { font-size: 15px; font-weight: 700; line-height: 20px; color: #17181b; font-variant-numeric: tabular-nums lining-nums; }
.ag-d i { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.ag-d.has i { background: #8a847c; }
.ag-d.is-today { box-shadow: inset 0 0 0 1px rgba(23, 23, 25, .28); }
.ag-d.is-sel { background: #17181b; color: #e9e6e0; box-shadow: none; }
.ag-d.is-sel b { color: #fff; }
.ag-d.is-sel.has i { background: #b9b3ff; }
.ag-d:focus-visible, .ag-arr:focus-visible, .ag-ev:focus-visible, .ag-next:focus-visible, .ag-lg-n:focus-visible, .ag-table:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; }
.ag-lbl { margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #17181b; }
.ag-lbl span { font-weight: 400; letter-spacing: 0; text-transform: none; color: #66615a; }
.ag-list { display: grid; gap: 8px; }
/* el día como calendario: la hora en una columna y el bloque del partido, alto según lo que dura (min-height en línea) */
.ag-slot { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; align-items: start; }
.ag-ev { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 52px; padding: 8px 12px; border: 0; border-left: 3px solid #8a847c; border-radius: 12px; background: #f6f4ef; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.ag-ev.is-playin { border-left-color: #8d82e8; }
.ag-ev.is-swiss { border-left-color: #e5484d; }
.ag-ev.is-ko { border-left-color: #17181b; }
.ag-ev.is-live { box-shadow: inset 0 0 0 1px rgba(200, 52, 58, .45); }
.ag-ev:hover { background: #efece5; }
.ag-now { position: absolute; left: -4px; right: 0; z-index: 1; height: 0; border-top: 2px solid #e5484d; }
.ag-slot > .ag-now { position: relative; grid-column: 1 / -1; margin: 4px 0; }
.ag-now span { position: absolute; left: 0; top: -9px; padding: 0 4px; border-radius: 4px; background: #d63c41; color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; }
.ag-t { padding-top: 8px; font-size: 13px; font-weight: 700; color: #17181b; font-variant-numeric: tabular-nums lining-nums; }
.ag-m { display: flex; flex-direction: column; min-width: 0; }
.ag-tm { font-size: 15px; font-weight: 700; line-height: 20px; color: #17181b; }
.ag-tm i { font-style: normal; font-weight: 400; color: #66615a; }
.ag-tm b { font-weight: 700; color: #17181b; }
.ag-m small { font-size: 12px; line-height: 16px; color: #66615a; }
.ag-ev.is-tbd .ag-tm { font-weight: 400; color: #66615a; }
.ag-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; font-style: normal; color: #c8343a; white-space: nowrap; }
.ag-live i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .18); }
.ag-fin { font-size: 12px; font-style: normal; color: #66615a; }
.ag-empty { display: grid; gap: 4px; justify-items: start; padding: 8px 0 4px; }
.ag-empty p { margin: 0; font-size: 13px; color: #66615a; }
.ag-next { min-height: 44px; padding: 0; border: 0; background: none; color: #5b54c9; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
/* Tu liga */
.ag-lg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0 -8px; }
.ag-lg-n { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 56px; padding: 4px 8px; border: 0; border-radius: 12px; background: none; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.ag-lg-n small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.ag-lg-n b { font-size: 18px; font-weight: 700; line-height: 24px; color: #17181b; font-variant-numeric: tabular-nums lining-nums; }
.ag-lg-n span { font-size: 12px; color: #66615a; }
.ag-table { display: grid; margin: 0 -16px -12px; padding: 0; border: 0; border-top: 1px solid rgba(23, 23, 25, .1); border-radius: 0 0 20px 20px; overflow: hidden; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ag-tr { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; font-size: 13px; color: #3d3a35; }
.ag-tr + .ag-tr { border-top: 1px solid rgba(23, 23, 25, .08); }
.ag-tr small { font-size: 12px; font-weight: 700; color: #66615a; }
.ag-tr.is-me { font-weight: 700; color: #17181b; background: #f1efff; }
.ag-tr span:last-child { font-variant-numeric: tabular-nums lining-nums; }
/* competiciones */
/* 261013-aju: solo las siglas, todas iguales, en una caja de 3 × 2 (6 en fila en escritorio); sin scroll y sin destacar ninguna */
.ag-sub { margin: 0; font-size: 13px; line-height: 20px; color: #66615a; }
.ag-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 4px; padding: 0; list-style: none; }
.ag-chip { display: grid; place-items: center; min-height: 44px; border-radius: 12px; background: #f2efe7; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #17181b; }

/* 261012-esc · INICIO en escritorio (Albert: «en escritorio es mejorable»): dos columnas en ≥ 1024 px, solo CSS. 261013-res: a la
   izquierda la tarjeta y «El torneo»; a la derecha, a su altura, «Tu equipo»; debajo, la agenda a todo el ancho, con más aire para
   el día (dos columnas de partidos); luego el plegable y Tu liga lado a lado, y las competiciones en su tira.
   96 px abajo para que la barra flotante no tape la agenda. A 390 y en tableta no cambia nada (todo va dentro de esta media query). */
@media (min-width: 1024px) {
  .ag-strip { margin: 0; }
  .ag-d { min-height: 64px; }
  .ag-d b { font-size: 18px; line-height: 24px; }
  .ag-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .ag-list > .ag-slot:has(> .ag-now) { grid-column: 1 / -1; }
}

/* 261012-txt · «Claves de tu liga», al pie de INICIO: una línea por clave (261013-res: en claro, 13/400 en #3d3a35, 11,3:1 sobre
   #fff), viñeta lavanda y «Ver reglas ›» de 44 px. En escritorio, a todo el ancho bajo la agenda. */
.ag-keys ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ag-keys li { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 20px; color: #3d3a35; }
.ag-rules { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: #5b54c9; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ag-rules:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; }
@media (min-width: 1024px) {
  .ag-keys ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}

/* 261013-res · INICIO como resumen (Albert, 13-oct). «Tu equipo» en claro bajo la tarjeta oscura: valor (con el cambio de hoy), caja y
   capitán; tu última jornada; los cinco titulares en filas de 56 px (foto, nombre, equipo · posición, valor y forma) y «Ver tu equipo ›».
   Paleta sobre #fff: tinta #17181b, gris #66615a 6,1:1, lavanda #5b54c9 5,9:1, sube #1f6a35, baja #a3262d. */
.ini-eq-n { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ini-eq-c { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 12px; border-radius: 12px; background: #f6f4ef; }
.ini-eq-c small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.ini-eq-c b { overflow: hidden; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 24px; color: #17181b; white-space: nowrap; text-overflow: ellipsis; font-variant-numeric: tabular-nums lining-nums; }
.ini-eq-c span, .ini-eq-c em { font-size: 11px; font-style: normal; line-height: 16px; color: #66615a; }
.ini-eq-c em.up { color: #1f6a35; }
.ini-eq-c em.down { color: #a3262d; }
.ini-eq-p { margin: 0; padding: 8px 12px; border-radius: 12px; background: #f6f4ef; font-size: 13px; line-height: 20px; color: #3d3a35; }
.ini-eq-p b { color: #17181b; }
.ini-eq-l { display: grid; margin: 0 -16px; padding: 0; list-style: none; }
.ini-eq-l li + li { border-top: 1px solid rgba(23, 23, 25, .08); }
.ini-eq-r { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 4px 16px; border: 0; background: none; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.ini-eq-r:hover { background: #faf9f6; }
.ini-eq-r:focus-visible, .ini-eq-go:focus-visible, .ini-mh-r:focus-visible { outline: 2px solid #5b54c9; outline-offset: -2px; }
.ini-eq-ph { display: grid; flex: none; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: #ece9e2; color: #66615a; }
.ini-eq-ph .ini-photo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; font-size: 11px; }
.ini-eq-ph .role-glyph { width: 16px; height: 16px; }
.ini-eq-who { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.ini-eq-who b { overflow: hidden; font-size: 15px; font-weight: 700; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; }
.ini-eq-who small { font-size: 12px; line-height: 16px; color: #66615a; }
.ini-eq-cap { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 4px; border-radius: 50%; background: #5b54c9; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 20px; vertical-align: 1px; }
.ini-eq-v { display: flex; flex: none; flex-direction: column; align-items: flex-end; text-align: right; }
.ini-eq-v b { font-size: 13px; font-weight: 700; line-height: 20px; font-variant-numeric: tabular-nums lining-nums; }
.ini-eq-v small { font-size: 11px; line-height: 16px; color: #66615a; }
.ini-eq-r.is-off .ini-photo { filter: grayscale(1); opacity: .5; }
.ini-eq-r.is-off .ini-eq-who b { font-weight: 400; color: #66615a; }
.ini-eq-go { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: #5b54c9; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

/* 261013-tor · «El torneo» en INICIO (fuera del plegable) y la hoja del torneo completo. Un carril de tres etapas (Play-In · Suizo ·
   Eliminatorias) con sus fechas: la de ahora en lavanda con «ahora», las pasadas llenas en gris. Toda la tarjeta es un botón. */
.ini-tc-rail { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; margin: 0; padding: 0; list-style: none; }
.ini-tc-s { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 20px; }
.ini-tc-s::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: rgba(23, 23, 25, .14); }
.ini-tc-s:last-child::before { right: auto; width: 12px; }
.ini-tc-s i { position: absolute; left: 0; top: 0; box-sizing: border-box; width: 12px; height: 12px; border: 2px solid #8a847c; border-radius: 50%; background: #fff; }
.ini-tc-s b { font-size: 13px; font-weight: 700; line-height: 20px; color: #17181b; }
.ini-tc-s small { font-size: 12px; line-height: 16px; color: #66615a; }
.ini-tc-s.is-done i { border-color: #8a847c; background: #8a847c; }
.ini-tc-s.is-here i { border-color: #5b54c9; background: #5b54c9; box-shadow: 0 0 0 4px rgba(91, 84, 201, .18); }
.ini-tc-s.is-here small { font-weight: 700; color: #5b54c9; }
/* el ejemplo de las rondas del Suizo en jornadas (plegable y hoja) */
.ini-sw { display: grid; margin: 0; padding: 0; list-style: none; }
.ini-sw li { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: baseline; column-gap: 8px; padding: 4px 0; }
.ini-sw span { grid-column: 2; }
.ini-sw li + li { border-top: 1px solid rgba(23, 23, 25, .08); }
.ini-sw small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.ini-sw b { font-size: 13px; font-weight: 700; color: #17181b; font-variant-numeric: tabular-nums lining-nums; }
.ini-sw span { font-size: 12px; color: #66615a; }
/* la hoja (oscura, como las demás hojas): el carril arriba y cada etapa con su número; la de ahora, marcada */
.ini-sheet .ini-tc-rail { margin: 0 0 20px; }
.ini-sheet .ini-tc-s::before { background: rgba(255, 255, 255, .18); }
.ini-sheet .ini-tc-s i { border-color: #8f8a83; background: #17181b; }
.ini-sheet .ini-tc-s.is-done i { background: #8f8a83; }
.ini-sheet .ini-tc-s.is-here i { border-color: #b9b3ff; background: #b9b3ff; box-shadow: 0 0 0 4px rgba(185, 179, 255, .25); }
.ini-sheet .ini-tc-s b { color: #fff; }
.ini-sheet .ini-tc-s small { color: #b8b2aa; }
.ini-sheet .ini-step.is-here .ini-n { background: #b9b3ff; color: #17181b; }
.ini-sheet .ini-step.is-done .ini-n { background: rgba(255, 255, 255, .06); color: #b8b2aa; }
.ini-st small { font-size: 12px; color: #b8b2aa; white-space: nowrap; }
.ini-sheet .ini-step p b { color: #fff; }
.ini-sheet .ini-sub { margin: 12px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b8b2aa; }
.ini-sheet .ini-tbd { margin: 0; color: #b8b2aa; }
.ini-recs div { grid-template-columns: 96px 1fr; }
.ini-mt { display: inline-flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 400; color: #d6d1c9; }
.ini-mt .is-w { font-weight: 700; color: #fff; }
.ini-mt i { font-style: normal; color: #b8b2aa; }
.ini-mt em { font-style: normal; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.ini-ms li.is-live small { color: #ff8a8d; }
.ini-sheet .ini-sw li + li { border-top-color: rgba(255, 255, 255, .1); }
.ini-sheet .ini-sw small, .ini-sheet .ini-sw span { color: #b8b2aa; }
.ini-sheet .ini-sw b { color: #fff; }
@media (min-width: 1024px) {
  .ini-sheet { max-width: 640px; }
}

/* 261013-aju · «El torneo» sin carril (Albert: «parece que nos repetimos»): la fase y su ronda en grande y tres datos en filas
   (Equipos · Próximo partido · Después). Los iconos del baremo junto a cada concepto: en la hoja de reglas (oscura, lavanda #b9b3ff)
   y en «Claves de tu liga» (clara, lavanda #5b54c9); el mismo sprite que la leyenda «Así puntúa cada mapa». */
.pm-rules span:has(> .pm-ic) { display: inline-flex; align-items: center; gap: 8px; }
.pm-ic { flex: none; width: 16px; height: 16px; color: #b9b3ff; }
@media (min-width: 1024px) {
  .ag-chips { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* 261013-ban · EQUIPO: la plaza libre del banquillo, del tamaño de la tarjeta del suplente: «+» discontinuo y «Hueco libre». */
.t51-bench-card.t51-bench-free { border-style: dashed; background: none; color: #17181b; font: inherit; cursor: pointer; }
.t51-bench-free .t51-free-ph { display: grid; place-items: center; box-sizing: border-box; border: 1.5px dashed #8d82e8; border-radius: 50%; background: #f1efff; color: #5b54c9; font-size: 26px; font-weight: 400; }
.t51-bench-free:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; }

/* 261013-jue · la hoja de la posición abierta desde INICIO: «Juega» / «No juega» junto al nombre y el filtro de la jornada. */
.hueco-j { margin-left: 8px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 11px; font-style: normal; font-weight: 400; line-height: 16px; color: #b8b2aa; vertical-align: 1px; }
.hueco-j.is-si { background: rgba(127, 224, 176, .16); font-weight: 700; color: #7fe0b0; }
.hueco-filt { display: flex; gap: 8px; margin: 4px 0 8px; }
.hueco-filt button { min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: none; color: #e9e6e0; font: inherit; font-size: 13px; cursor: pointer; }
.hueco-filt button[aria-pressed="true"] { border-color: #b9b3ff; background: #b9b3ff; color: #17181b; font-weight: 700; }
.hueco-filt button:focus-visible { outline: 2px solid #b9b3ff; outline-offset: 2px; }

/* 261013-sim · INICIO más simple (Albert, 13-oct). Tu equipo: VALOR / CAJA / CAPITÁN en minicajas crema (rótulo y una cifra); en
   gris los titulares que no juegan la jornada de INICIO, con «No juega esta jornada» pequeño (#66615a, 6,1:1). «Mercado hoy» en dos
   columnas (suben / bajan). En las claves, un icono por clave en una cajita lavanda de 32 px. */
.ini-eq-c em { font-size: 11px; font-style: normal; font-weight: 700; line-height: 16px; }
.ini-eq-r.is-nj .ini-photo { opacity: .45; filter: grayscale(1); }
.ini-eq-r.is-nj .ini-eq-who b, .ini-eq-r.is-nj .ini-eq-v b { font-weight: 400; color: #66615a; }
.ini-eq-r.is-nj .ini-eq-v small { font-size: 11px; color: #66615a; }
.ini-mh-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ini-mh-col ul { display: grid; margin: 0; padding: 0; list-style: none; }
.ini-mh-col li + li { border-top: 1px solid rgba(23, 23, 25, .08); }
.ag-kic { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #f1efff; color: #5b54c9; }
.ag-kic svg { width: 16px; height: 16px; }
.ag-keys li > span:last-child { padding-top: 6px; }

/* 261013-fix · «Mercado hoy» más visual (foto, nombre y pastilla de %: verde #1f6a35 sobre #e3f4e8 6,2:1, rojo #a3262d sobre #fde8e9
   6,1:1; «tuyo», un punto lavanda) y el plegable del Suizo con tres dibujos ligeros (fases, escalera de récords, noches por ronda). */
.ini-mh-t { margin: 0 0 4px; font-size: 12px; font-weight: 700; }
.ini-mh-t.up { color: #1f6a35; }
.ini-mh-t.down { color: #a3262d; }
.ini-mh-r { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 4px 0; border: 0; background: none; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.ini-mh-ph { flex: none; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: #ece9e2; }
.ini-mh-ph .ini-photo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; font-size: 11px; }
.ini-mh-n { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.ini-mh-n b { overflow: hidden; font-size: 13px; font-weight: 700; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; }
.ini-mh-n small { font-size: 11px; line-height: 16px; color: #66615a; font-variant-numeric: tabular-nums lining-nums; }
.ini-mh-mine { display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: #5b54c9; vertical-align: 2px; }
.ini-mh-r em { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 700; line-height: 16px; font-variant-numeric: tabular-nums lining-nums; }
.ini-mh-r em.up { background: #e3f4e8; color: #1f6a35; }
.ini-mh-r em.down { background: #fde8e9; color: #a3262d; }
.ini-fx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 4px 0; padding: 0; list-style: none; counter-reset: fx; }
.ini-fx li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 12px; background: #f6f4ef; counter-increment: fx; }
.ini-fx li + li::before { content: "›"; position: absolute; left: -8px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #8a847c; }
.ini-fx b { font-size: 13px; font-weight: 700; color: #17181b; }
.ini-fx b::before { content: counter(fx) " · "; color: #5b54c9; }
.ini-fx small { font-size: 11px; color: #66615a; }
.ini-lad { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.ini-lad div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ini-lad small { font-size: 11px; font-weight: 700; color: #66615a; }
.ini-lad span, .ini-lad-k span { display: inline-block; min-width: 36px; padding: 0 4px; border-radius: 999px; background: #f2efe7; font-size: 11px; line-height: 20px; color: #3d3a35; text-align: center; font-variant-numeric: tabular-nums lining-nums; }
.ini-lad .is-in, .ini-lad-k .is-in { background: #e3f4e8; font-weight: 700; color: #1f6a35; }
.ini-lad .is-out, .ini-lad-k .is-out { background: #fde8e9; font-weight: 700; color: #a3262d; }
.ini-lad-k { margin: 0; font-size: 12px; color: #66615a; }
.ini-lad-k span { min-width: 0; padding: 0 8px; }
.ini-fold .ini-sw li { grid-template-columns: 64px minmax(0, 1fr); row-gap: 2px; }
.ini-nights { display: flex; flex-wrap: wrap; gap: 4px; }
.ini-nights i { padding: 0 8px; border-radius: 8px; background: #f1efff; font-size: 12px; font-style: normal; line-height: 24px; color: #2e2a6b; }
.ini-nights b { font-weight: 700; }
.ini-sw .ini-sw-t { grid-column: 2; font-size: 11px; color: #66615a; }

/* 261013-p3a · INICIO en fichas (la P3a de Albert). Bajo la tarjeta oscura, una ficha por pestaña con la misma anatomía: rótulo
   (11/700, #66615a), una cifra en Georgia 26 con su unidad, una o dos líneas 13/400 (#3d3a35, 11,3:1) y la puerta 13/700 lavanda
   #5b54c9 (5,9:1) de 44 px, siempre al pie para que las fichas de una fila acaben igual. Una columna en el móvil, dos desde 600 px y,
   en escritorio, la tarjeta y Equipo arriba y Mercado · Liga · Ranking en tres. La agenda, al final y a todo el ancho. */
.ini-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px 16px 4px; border: 1px solid rgba(23, 23, 25, .1); border-radius: 20px; background: #fff; color: #17181b; }
.ini-f-hd { display: flex; align-items: center; gap: 8px; min-height: 16px; }
.ini-f-hd h2 { margin: 0; font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.ini-f-ic { display: none; }
.ini-f-n { display: flex; align-items: baseline; gap: 4px; margin: 0; }
.ini-f-n b { font-family: Georgia, serif; font-size: 26px; font-weight: 400; line-height: 32px; color: #17181b; font-variant-numeric: lining-nums; white-space: nowrap; }
.ini-f-n span { font-size: 13px; color: #66615a; }
.ini-f-p { margin: 0; font-size: 13px; line-height: 20px; color: #3d3a35; }
.ini-f-p b { color: #17181b; }
.ini-f-go { align-self: flex-start; margin-top: auto; min-height: 44px; padding: 0; border: 0; background: none; color: #5b54c9; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ini-f-go:focus-visible, .ini-f-face:focus-visible, .ini-f-tile:focus-visible, .ini-f-seg button:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; }
/* Equipo: las cinco posiciones en orden; las libres, círculo discontinuo con su icono (abren la lista de la posición) */
.ini-f-faces { display: flex; gap: 4px; }
.ini-f-face { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: #5b54c9; font: inherit; cursor: pointer; }
.ini-f-ph { display: block; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: #ece9e2; }
.ini-f-ph .ini-photo, .ini-f-tph .ini-photo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; font-size: 11px; }
.ini-f-face.is-nj .ini-photo { filter: grayscale(1); opacity: .5; }
.ini-f-face em { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; background: #5b54c9; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1; }
.ini-f-face.is-free i { display: grid; place-items: center; box-sizing: border-box; width: 40px; height: 40px; border: 1.5px dashed #8d82e8; border-radius: 50%; background: #f1efff; }
.ini-f-face.is-free .role-glyph { width: 16px; height: 16px; }
/* Mercado hoy: Suben | Bajan y tres jugadores en cajitas (foto, nombre, precio y pastilla de %) */
.ini-f-seg { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 999px; background: #f2efe7; }
.ini-f-seg button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: #66615a; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ini-f-seg button[aria-pressed="true"] { background: #fff; color: #17181b; box-shadow: 0 1px 4px rgba(23, 23, 25, .12); }
.ini-f-seg button:disabled { cursor: default; opacity: .5; }
.ini-f-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ini-f-tiles[hidden] { display: none; }
.ini-f-tile { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; min-height: 44px; padding: 12px 4px; border: 0; border-radius: 16px; background: #f6f4ef; color: #17181b; font: inherit; text-align: center; cursor: pointer; }
.ini-f-tph { display: block; width: 48px; height: 48px; margin-bottom: 4px; overflow: hidden; border-radius: 50%; background: #ece9e2; }
.ini-f-tile b { max-width: 100%; overflow: hidden; font-size: 13px; font-weight: 700; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; }
.ini-f-tile small { font-size: 12px; line-height: 16px; color: #66615a; font-variant-numeric: tabular-nums lining-nums; }
.ini-f-tile em { margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 700; line-height: 16px; font-variant-numeric: tabular-nums lining-nums; }
.ini-f-tile em.up { background: #e3f4e8; color: #1f6a35; }
.ini-f-tile em.down { background: #fde8e9; color: #a3262d; }
/* Tu liga y Ranking con caras: avatar de 28 px (el de cada manager); la mini tabla con tu fila en lavanda #f1efff; los asientos libres
   en discontinuo; la pila de caras del ranking solapada. */
.ini-f-av { display: grid; flex: none; place-items: center; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; background: #ece9e2; color: #66615a; font-size: 11px; font-weight: 700; }
.ini-f-av .ini-f-avimg, .ini-f-av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ini-f .ini-f-av .avatar-fallback { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #ece9e2; font-size: 11px; font-weight: 700; color: #3d3a35; }
.ini-f .ini-f-tr.is-me .avatar-fallback, .ini-f .ini-f-stack .ini-f-av:first-child .avatar-fallback, .ini-f .ini-f-step.is-me .avatar-fallback, .ini-f .ini-f-seats .ini-f-av:first-child .avatar-fallback { background: #5b54c9; color: #fff; }
.ini-f-tbl { display: grid; width: calc(100% + 32px); margin: 0 -16px; padding: 0; border: 0; border-top: 1px solid rgba(23, 23, 25, .08); border-bottom: 1px solid rgba(23, 23, 25, .08); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ini-f-tr { display: grid; grid-template-columns: 16px 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; font-size: 13px; color: #3d3a35; }
.ini-f-tr + .ini-f-tr { border-top: 1px solid rgba(23, 23, 25, .08); }
.ini-f-tr small { font-size: 12px; font-weight: 700; color: #66615a; font-variant-numeric: tabular-nums lining-nums; }
.ini-f-tr > span:not(.ini-f-av) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ini-f-tr b { font-weight: 700; color: #17181b; font-variant-numeric: tabular-nums lining-nums; }
.ini-f-tr.is-me { background: #f1efff; font-weight: 700; color: #17181b; }
.ini-f-gap { padding: 0 16px; font-size: 12px; line-height: 16px; color: #66615a; }
.ini-f-tbl:focus-visible { outline: 2px solid #5b54c9; outline-offset: -2px; }
.ini-f-seats { display: flex; flex-wrap: wrap; gap: 8px; }
.ini-f-seats .ini-f-av { width: 36px; height: 36px; }
.ini-f-av.is-free { box-sizing: border-box; border: 1.5px dashed #8d82e8; background: #f1efff; color: #5b54c9; font-size: 15px; }
.ini-f-stack { display: flex; padding-left: 8px; }
.ini-f-stack .ini-f-av { width: 36px; height: 36px; margin-left: -8px; box-shadow: 0 0 0 2px #fff; }
.ini-f-stack .ini-f-av:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #5b54c9; }
.ini-f-av.is-more { background: #17181b; color: #fff; font-size: 11px; }
/* la hoja del torneo lleva al pie el plegable del Suizo (en claro) */
.ini-sheet .ini-fold { margin: 8px 0 16px; }
/* m17-inicio-responsive (Albert, 17-oct-2026: «mejora el responsive de INICIO, revísalo»). La rejilla de fichas a 2 o 3 columnas
   compartía las alturas de fila: en escritorio dejaba un hueco de ~500 px bajo la tarjeta oscura y el Ranking estirado y vacío; en
   tableta, el capitán estirado a la altura del Tablón y Ranking solo en media fila. Ahora son dos pilas independientes (inicio-ui.js
   envuelve .ini-main: tarjeta y partido, y .ini-side: las fichas); en el móvil los envoltorios no cuentan (display: contents) y el orden
   es el de siempre. Una columna hasta 759 px (560 de ancho como mucho); desde 760, la tarjeta y la agenda a la izquierda y las fichas a
   la derecha (1:1 en tableta, 2:1 en escritorio). La fila de la izquierda solo mide lo de la izquierda (auto 1fr): la agenda va
   pegada bajo la tarjeta, sin hueco, aunque la pila de fichas sea más alta. */
.ini-main, .ini-side { display: contents; }
@media (min-width: 760px) {
  .ini { max-width: 720px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; align-items: start; column-gap: 16px; }
  .ini-main, .ini-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
  .ini-main { grid-column: 1; grid-row: 1; }
  .ini-side { grid-column: 2; grid-row: 1 / 3; }
  .ini > .ag-week { grid-column: 1; grid-row: 2; }  /* (jornada-inicio: ya no se pinta; la Jornada va en .ini-main) */
}
@media (min-width: 1024px) {
  .ini { max-width: 1120px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding-bottom: 96px; }
  .ini > .ag-week { padding: 20px 24px 16px; }
}

/* 261013-p3a · la «gracia» que eligió Albert (B, iconos y color): el icono de su pestaña (el de la barra de abajo) en una cajita de
   32 px y un color por ficha, en el filete de arriba, la cajita y el rótulo: Equipo lavanda #5b54c9 (5,9:1), Mercado verde #1f6a35
   (6,2:1 sobre #e3f4e8), Liga rojo #a3262d (6,1:1 sobre #fde8e9) y Ranking tinta #17181b. */
.ini-f { --ac: #5b54c9; --acb: #f1efff; box-shadow: inset 0 3px 0 var(--ac); }
.ini-f-market { --ac: #1f6a35; --acb: #e3f4e8; }
.ini-f-league { --ac: #a3262d; --acb: #fde8e9; }
.ini-f-ranking { --ac: #17181b; --acb: #ece9e2; }
.ini-f-hd .ini-f-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--acb); color: var(--ac); }
.ini-f-ic::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--nav-i) center / contain no-repeat; mask: var(--nav-i) center / contain no-repeat; }
.ini-f-hd h2 { color: var(--ac); }
/* 261017 (Albert, 17-oct-2026) · la ficha «Tablón»: tinta lavanda oscura #4a43b8 (8,1:1 sobre #efedff) y un periódico en la cajita. Una
   fila por noticia (44 px o más): la cajita del tipo (la del TABLÓN), titular 13 con nombres en 700, detalle 12 y, a la derecha, la
   cifra en Georgia y la pastilla Ganada / Perdida. Tocarla abre el tablón de su liga. */
.ini-f-board { --ac: #4a43b8; --acb: #efedff; --nav-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v14H6a2 2 0 0 1-2-2zM17 9h3v8a2 2 0 0 1-2 2M7.5 9h6M7.5 12.5h6M7.5 16h4'/%3E%3C/svg%3E"); }
.ini-tb { width: calc(100% + 32px); margin: 0 -16px; padding: 0; border-top: 1px solid rgba(23, 23, 25, .08); border-bottom: 1px solid rgba(23, 23, 25, .08); list-style: none; }
.ini-tb li + li { border-top: 1px solid rgba(23, 23, 25, .08); }
.ini-tb-r { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 16px; border: 0; background: none; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.ini-tb-r:focus-visible { outline: 2px solid #5b54c9; outline-offset: -2px; }
.ini-tb-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #f2efe7; color: #3d3a35; }
.ini-tb-ic svg { width: 18px; height: 18px; }
.ini-tb-tx { display: grid; gap: 2px; min-width: 0; }
.ini-tb-h { font-size: 13px; line-height: 18px; color: #17181b; }
.ini-tb-h b { font-weight: 700; }
.ini-tb-tx small { font-size: 12px; line-height: 16px; color: #66615a; }
.ini-tb-tx small b { font-weight: 700; color: #3d3a35; }
.ini-tb-v { display: grid; justify-items: end; gap: 2px; }
.ini-tb-v strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 22px; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.ini-tb-v em { padding: 1px 8px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 16px; }
.ini-tb-v em.is-won { background: #e3f4e8; color: #1f6a35; }
.ini-tb-v em.is-lost { background: #fde8e9; color: #a3262d; }
.ini-tb-v em.is-pos { background: #ece9e2; color: #17181b; font-size: 12px; }

/* 261015-cap · «¿Quién es tu capitán?»: tus titulares en fila (tocar = capitán); el elegido con aro lavanda y la C, y su nombre arriba. */
.ini-f-cap .ini-f-ic::before { content: "S"; width: auto; height: auto; background: none; -webkit-mask: none; mask: none; font-size: 15px; font-weight: 700; line-height: 1; }
.ini-cap-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 4px 0 0; }
.ini-cap-face { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; min-height: 44px; padding: 4px 0; border: 0; border-radius: 12px; background: none; color: #3d3a35; font: inherit; cursor: pointer; }
span.ini-cap-face { cursor: default; }
.ini-cap-ph { position: relative; display: block; width: 48px; height: 48px; border-radius: 50%; background: #ece9e2; }
.ini-cap-ph .ini-photo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; font-size: 11px; }
.ini-cap-ph em { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%; background: #5b54c9; color: #fff; font-size: 12px; font-style: normal; font-weight: 700; line-height: 1; }
.ini-cap-nm { max-width: 100%; overflow: hidden; font-size: 12px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; }
.ini-cap-face.is-cap .ini-cap-ph { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #5b54c9; }
.ini-cap-face.is-cap .ini-cap-nm { font-weight: 700; color: #17181b; }
.ini-f-cap:has(.is-cap) .ini-cap-face:not(.is-cap) .ini-photo { opacity: .55; }
.ini-cap-face:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; }
@media (hover: hover) { button.ini-cap-face:hover .ini-photo { opacity: 1; } }

/* la hoja del torneo es oscura: dentro del plegable (claro) vuelven la tinta y el gris de siempre */
.ini-sheet .ini-fold .ini-sw li + li { border-top-color: rgba(23, 23, 25, .08); }
.ini-sheet .ini-fold .ini-sw small, .ini-sheet .ini-fold .ini-sw span { color: #66615a; }
.ini-sheet .ini-fold .ini-sw b { color: #17181b; }
.ini-sheet .ini-fold .ini-nights b { color: #2e2a6b; }

/* 261014-caj · la línea de fases con muchas caras (Albert: «cuando hay 5 jugadores en Play-In y Suizo queda fatal y no se entiende»).
   Nada más ancho que la tarjeta (los nodos pueden encoger). A (horizontal): con más de dos caras en una fase, solapadas sobre su punto
   y sus nombres en una línea debajo (11 px, #d6d1c9, 11,9:1 sobre #17181b). B (vertical): una fila por fase, el punto en un raíl
   vertical, la fase con su fecha y sus caras con nombre a la derecha. */
.ini-road { min-width: 0; }
.ini-node { min-width: 0; }
.ini-road.is-v { display: grid; }
.ini-vrow { display: grid; grid-template-columns: 20px 76px minmax(0, 1fr); align-items: center; column-gap: 8px; min-height: 64px; }
.ini-vrow.is-faint { min-height: 32px; }
.ini-road.is-v .ini-rail { width: 20px; height: 100%; }
.ini-road.is-v .ini-rail::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
.ini-vrow:first-child .ini-rail::before { top: 50%; }
.ini-vrow:last-child .ini-rail::before { bottom: 50%; }
.ini-road.is-v .ini-lb { align-items: flex-start; text-align: left; }
.ini-road.is-v .ini-who { flex-wrap: wrap; justify-content: flex-start; gap: 8px; min-height: 0; padding: 8px 0; }
.ini-road.is-v .ini-face + .ini-face { margin-left: 0; }
.ini-vrow.is-here .ini-rail i { border-color: #8d82e8; background: #8d82e8; box-shadow: 0 0 0 4px rgba(141, 130, 232, .28); }
.ini-vrow.is-live .ini-rail i { border-color: #ff6b6f; background: #ff6b6f; box-shadow: 0 0 0 4px rgba(255, 107, 111, .28); }
.ini-vrow.is-out .ini-rail i { background: #8f8a83; }
.ini-vrow.is-faint .ini-rail i { width: 8px; height: 8px; border-color: #6f6a63; }
.ini-vrow.is-faint .ini-lb b { font-weight: 400; color: #9a958e; }
.ini-vrow.is-out .ini-lb b { font-weight: 400; color: #b8b2aa; }
/* 261016-cin (Albert, captura 6082: «que los 5 titulares quepan en una sola línea, BUSIO no se queda en la misma línea»): con 4 o más
   caras en una fase, las caras bajan a su propia línea bajo el nombre de la fase y se reparten el ancho entero, una columna cada una. */
.ini-vrow:has(.ini-face:nth-child(4)) { grid-template-columns: 20px minmax(0, 1fr); grid-template-areas: "rail lb" "rail who"; padding-top: 8px; }
.ini-vrow:has(.ini-face:nth-child(4)) .ini-rail { grid-area: rail; place-items: start center; }
.ini-vrow:has(.ini-face:nth-child(4)) .ini-rail i { margin-top: 12px; }
.ini-vrow:first-child:has(.ini-face:nth-child(4)) .ini-rail::before { top: 18px; }
.ini-vrow:has(.ini-face:nth-child(4)) .ini-lb { grid-area: lb; flex-direction: row; align-items: baseline; gap: 6px; padding-top: 8px; }
.ini-road.is-v .ini-vrow:has(.ini-face:nth-child(4)) .ini-who { grid-area: who; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 8px 0 12px; }
.ini-vrow:has(.ini-face:nth-child(4)) .ini-face { min-width: 0; }
.ini-vrow:has(.ini-face:nth-child(4)) .ini-nm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* 261014-caj · mientras llega la foto, el círculo en crema (no el azul oscuro de la foto vacía) */
.ini-f-tph .player-photo, .ini-f-ph .player-photo { background: #ece9e2; }
/* 261014-caj · Ranking: el podio (escalones de 56/40/32 px, el 1.º en el centro); cada escalón es un botón que abre el equipo de ese
   manager. Tú, en lavanda. */
.ini-f-podio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; padding-top: 4px; }
.ini-f-step { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 8px 8px 0 0; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.ini-f-step:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; }
.ini-f-step.is-me i { background: #5b54c9; color: #fff; }
.ini-f-step > span:not(.ini-f-av) { max-width: 100%; overflow: hidden; font-size: 12px; font-weight: 700; color: #17181b; white-space: nowrap; text-overflow: ellipsis; }
.ini-f-step b { font-size: 12px; font-weight: 400; color: #66615a; font-variant-numeric: tabular-nums lining-nums; }
.ini-f-step i { display: grid; place-items: center; width: 100%; margin-top: 4px; border-radius: 8px 8px 0 0; background: #ece9e2; font-size: 13px; font-style: normal; font-weight: 700; color: #3d3a35; }
.ini-f-step.is-1 i { height: 56px; background: #17181b; color: #fff; }
.ini-f-step.is-2 i { height: 40px; }
.ini-f-step.is-3 i { height: 32px; }
.ini-f-step.is-1 .ini-f-av { width: 36px; height: 36px; }
/* 261014-caj · el podio con la cara del campeón de cada manager: 56 px el 1.º (aro de tinta), 44 px el 2.º y el 3.º (aro crema); su club
   debajo del nombre (11 px, #66615a) y los puntos en 13/700. */
.ini-f-step .ini-f-av { width: 44px; height: 44px; margin-bottom: 4px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d8d4cc; }
.ini-f-step.is-1 .ini-f-av { width: 56px; height: 56px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #17181b; }
.ini-f-step.is-me .ini-f-av { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #5b54c9; }
.ini-f-step small { max-width: 100%; overflow: hidden; font-size: 11px; line-height: 16px; color: #66615a; white-space: nowrap; text-overflow: ellipsis; }
.ini-f-step b { font-size: 13px; font-weight: 700; color: #17181b; }

/* 261014-fkr · arriba de INICIO, la foto de Faker en modo Viktor (Albert: «pon arriba de Inicio la foto de faker modo Viktor»; arte
   de la carpeta BRANDING/CHAMP_MASTER, 1200 px en webp, en precache). La franja de la tarjeta oscura crece para que se le vea la cara
   (176 px en el móvil, 220 px desde 600 px); «Build your Rift.» arriba y un fundido a #17181b abajo para que el resto siga igual. */
.ini-art { min-height: 176px; box-sizing: border-box; background: #17181b url("./home-faker-viktor.webp") 52% 22% / cover no-repeat; }
.ini-art::after { background: linear-gradient(180deg, rgba(23, 24, 27, .55) 0, rgba(23, 24, 27, 0) 30%, rgba(23, 24, 27, 0) 62%, #17181b 100%); }
@media (min-width: 600px) { .ini-art { min-height: 220px; } }

/* 261014-vnd · la cajita con las cinco posiciones: una rejilla de 5 (cabe a 390). Ocupada: foto de 44 px con su icono de posición; en
   gris (grayscale, .5) si no juega la jornada o está eliminado, con aro rojo #ff6b6f y «Vender» en pastilla roja (#ff8a8d sobre
   #17181b, 7,1:1), con 44 px de toque. Vacía: como antes («+» y «desde X MɌ»). */
.ini-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.ini-slot { min-width: 0; }
.ini-slot.is-have { display: flex; flex-direction: column; align-items: center; gap: 0; }
.ini-slot-p { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; max-width: 100%; padding: 0; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; }
.ini-slot-p i { position: relative; display: block; box-sizing: border-box; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #2b2b31; }
.ini-slot-p i .ini-photo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; font-size: 11px; }
.ini-slot-p i .ini-rl { top: -4px; right: -4px; bottom: auto; width: 18px; height: 18px; border-radius: 50%; background: #17181b; color: #fff; font-size: 11px; line-height: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.ini-slot-p i .ini-rl .role-glyph { width: 10px; height: 10px; }
.ini-slot-p span { max-width: 100%; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; }
.ini-slot-p em { font-size: 11px; font-style: normal; line-height: 16px; color: #b8b2aa; }
.ini-slot.is-bad .ini-slot-p i { box-shadow: 0 0 0 2px #17181b, 0 0 0 4px #ff6b6f; }
.ini-slot.is-bad .ini-photo { filter: grayscale(1); opacity: .5; }
.ini-slot.is-bad .ini-slot-p span { font-weight: 400; color: #d6d1c9; }
.ini-sell { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.ini-sell span { padding: 2px 12px; border: 1px solid #ff6b6f; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 16px; color: #ff8a8d; }
.ini-sell:focus-visible span, .ini-slot-p:focus-visible i { outline: 2px solid #b9b3ff; outline-offset: 2px; }

/* 261016-nav (Albert, captura 6082: «el menú de abajo INICIO, EQUIPO… puedes mejorar detalles de diseño»). En el iPhone la barra mide
   62 px (forzado en v5-18) y además reservaba el hueco del indicador de inicio por dentro: iconos y textos apretados abajo y la raya
   lavanda tachando «INICIO». Ahora el hueco va por fuera (la barra flota por encima), esquinas redondas, debajo no asoma la página y
   la sección elegida es una píldora lavanda tras el icono, que nunca pisa el texto. */
@media (max-width: 759px) {
  .v5-nav { padding-bottom: 0; margin-bottom: max(0px, calc(env(safe-area-inset-bottom) - 6px)); border-radius: 18px; }
  .money-bar { margin-bottom: max(0px, calc(env(safe-area-inset-bottom) - 6px)); }
  .nav-floor { position: fixed; z-index: 29; left: 0; right: 0; bottom: 0; height: calc(env(safe-area-inset-bottom) + 44px); background: linear-gradient(rgba(242, 239, 231, 0), #f2efe7 50%); pointer-events: none; }
}
.nav-floor { display: none; }
@media (max-width: 759px) { .nav-floor { display: block; } }
.v5-nav button { justify-content: center; }
.v5-nav button.active::after { display: none; }
.v5-nav .nav-ico { display: grid; place-items: center; width: 48px; height: 28px; border-radius: 14px; transition: background-color .15s; }
.v5-nav button.active .nav-ico { background: rgba(141, 130, 232, .28); }
.v5-nav button.active span:last-child { font-weight: 700; }

/* 261016-ptt (Albert, captura 6102). (1) PUNTOS en la esquina de arriba a la derecha del mapa, en lugar de la caja «MI EQUIPO ·
   JORNADA». (2) PUNTUACIÓN TOTAL: por titular, todas las reglas que sumaron o restaron, con su icono, y los puntos de cada mapa.
   (3) «Reglas de tu liga» y «Así puntúa cada mapa», dos desplegables iguales. */
.t51-map .t51-map-total { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; justify-items: end; gap: 0; min-width: 0; max-width: 168px; padding: 8px 12px; border-radius: 14px; background: rgba(23, 24, 27, .86); color: #fff; text-align: right; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.t51-map .t51-map-total { width: auto; grid-template-columns: none; align-items: start; border-top: 0; }
.t51-map .t51-map-total > * { grid-column: auto; align-self: auto; text-align: right; }
.t51-map .t51-map-total small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #b9b2ff; }
.t51-map .t51-map-total strong { margin-top: 0; font-size: 26px; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.t51-map .t51-map-total span { margin-top: 0; font-size: 11px; line-height: 1.3; letter-spacing: .04em; color: #d6d1c9; }
.t51-side-note { margin: 4px 0 0; font-size: 12px; line-height: 1.4; color: #66615a; }

.pt-total { display: grid; gap: 0; padding: 12px 12px 4px; min-width: 0; color: var(--ink); }
.pt-total > .rules-sub { margin: 0 0 4px; padding: 0; border: 0; font-size: 11px; }
.pt-row { border-top: 1px solid rgba(22, 23, 28, .12); }
.pt-row > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0; cursor: pointer; list-style: none; }
.pt-row > summary::-webkit-details-marker { display: none; }
.pt-who { display: grid; min-width: 0; }
.pt-who b { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.pt-who small { font-size: 12px; color: #66615a; }
.pt-sum { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.pt-sum small { font-size: 12px; color: #66615a; font-variant-numeric: tabular-nums; }
.pt-sum strong { font-family: Georgia, serif; font-size: 22px; font-weight: 400; font-variant-numeric: tabular-nums; }
.pt-sum::after { content: ""; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid #8a847b; border-bottom: 2px solid #8a847b; transform: translateY(-3px) rotate(45deg); }
.pt-row:not([open]) .pt-sum::after { transform: rotate(-45deg); }
.pt-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; margin: 0; padding: 0 0 8px; list-style: none; }
.pt-parts li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 24px; font-size: 13px; color: #3d3a35; }
.pt-parts li b { font-weight: 700; font-variant-numeric: tabular-nums; color: #1f6a35; }
.pt-parts li.is-neg b { color: #a3262d; }
.pt-parts li.is-cap b { color: #5b52c9; }
.pt-ic { width: 16px; height: 16px; color: #8d82e8; }
.pt-maps { margin: 0 0 12px; font-size: 12px; color: #66615a; font-variant-numeric: tabular-nums; white-space: pre-wrap; }
@media (min-width: 760px) { .pt-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sheet .pt-total { color: #f6f2ea; padding: 4px 0 8px; }
.sheet .pt-row { border-top-color: #33363d; }
.sheet .pt-who small, .sheet .pt-sum small, .sheet .pt-maps { color: #b9b5ad; }
.sheet .pt-parts li { color: #e6e1d8; }
.sheet .pt-parts li b { color: #7fd69a; }
.sheet .pt-parts li.is-neg b { color: #ff8a8d; }
.sheet .pt-parts li.is-cap b { color: #b9b2ff; }

.rf-fold > summary { cursor: pointer; list-style: none; min-height: 44px; align-items: center; }
.rf-fold > summary::-webkit-details-marker { display: none; }
.rf-fold > summary::after { content: "+"; margin-left: auto; font-size: 22px; line-height: 1; color: #5b52c9; }
.rf-fold[open] > summary::after { content: "−"; }
.ag-card.rf-fold { padding: 4px 16px; }
.ag-card.rf-fold[open] { padding-bottom: 16px; }
.legend-fold.rf-fold { margin-top: 16px; border-top: 1px solid rgba(23, 23, 25, .1); }
/* 261017 (Albert, 17-oct-2026) · «Reglas de tu liga» con lo que era la hoja «REGLAS DE LIGA»: grupos con su icono en la cajita lavanda
   y antetítulo, filas etiqueta (gris) / valor (negrita, a la derecha) y una nota en claro. «Así puntúa cada mapa» como tabla: icono,
   regla con su explicación debajo y la cifra a la derecha en tabular-nums (roja si resta). */
#reglas-liga, #puntua-mapa { scroll-margin-top: 76px; } /* los enlaces que llevan aquí no la dejan bajo la cabecera fija */
.rl-group { display: grid; gap: 4px; padding: 12px 0 4px; border-top: 1px solid rgba(23, 23, 25, .08); }
.ag-keys > summary + .rl-group { padding-top: 4px; border-top: 0; }
.rl-hd { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; }
.rl-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(23, 23, 25, .06); font-size: 13px; line-height: 18px; }
.rl-rows > div:last-child { border-bottom: 0; }
.rl-rows span { flex: none; max-width: 48%; color: #66615a; }
.rl-rows strong { font-weight: 700; color: #17181b; text-align: right; font-variant-numeric: tabular-nums; }
.rl-note { margin: 4px 0; font-size: 13px; line-height: 20px; color: #3d3a35; }
#root .league-scoring-legend.sc-table { display: block; margin: 0 0 4px; padding: 0; }
.sc-intro { margin: 0; font-size: 13px; line-height: 20px; color: #3d3a35; }
.sc-hd { margin: 16px 0 4px; font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #6e67d9; }
.sc-list { margin: 0; padding: 0; list-style: none; }
.sc-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(23, 23, 25, .06); }
.sc-list li:last-child { border-bottom: 0; }
.sc-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #f1efff; color: #5b54c9; }
.sc-ic svg { width: 16px; height: 16px; }
.sc-what { display: grid; gap: 2px; min-width: 0; }
.sc-what b { font-size: 15px; font-weight: 700; line-height: 20px; color: #17181b; }
.sc-what small { font-size: 12px; line-height: 16px; color: #66615a; }
.sc-val { min-width: 48px; font-size: 15px; font-weight: 700; line-height: 20px; text-align: right; color: #17181b; font-variant-numeric: tabular-nums; }
.sc-val.is-neg { color: #a3262d; }
.sc-note { margin: 12px 0 0; font-size: 12px; line-height: 16px; color: #66615a; }
@media (min-width: 1024px) {
  .rl-rows, .sc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .rl-rows > div:nth-last-child(2):nth-child(odd), .sc-list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
/* 261016-ptt: en escritorio, PUNTUACIÓN TOTAL al lado del mapa. */
.t51-map .t51-map-total .t51-live-counter { margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 11px; font-style: normal; font-weight: 700; color: #fff; } /* CAMBIOS, dentro de la esquina */
@media (min-width: 1024px) {
  .league-rift-card:has(> .pt-total) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); align-items: start; gap: 16px; }
  .league-rift-card:has(> .pt-total) > .pt-total { padding-top: 0; }
  .league-rift-card:has(> .pt-total) .pt-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 261015-rng · RANKING con rangos (Hierro … Challenger, Puntos de Rango), con el estilo de siempre (Albert, 15-oct: «muy infantil…
   volver al estilo que tenemos»): el panel lavanda de TU PUESTO con una tarjeta blanca, los encabezados de lista, la fila de manager
   y, para que se entiendan los rangos, un escudo plano del color de cada rango (client/rangos-ui.js). */
.rg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; width: 100%; min-width: 0; }
/* las etiquetas ocultas de la fila de manager van en absoluto: el carrusel es su caja, si no se escapan y ensanchan la página */
.rg-em { display: block; flex: none; width: 24px; height: 24px; }
.rg-em.is-me { width: 56px; height: 56px; margin: -4px 0; }
.rg-em.is-mini { width: 16px; height: 16px; }
.rg-em.is-ladder { width: 36px; height: 36px; }
.rg-me { margin-bottom: 20px; }
.rg-me-card { display: grid; gap: 12px; width: 100%; padding: 16px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px rgba(23, 22, 60, .22); color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.rg-me-card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rg-me-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rg-me-txt { display: grid; gap: 2px; min-width: 0; }
.rg-me-txt strong { font-family: Georgia, serif; font-size: 26px; font-weight: 400; line-height: 1.1; }
.rg-me-txt small { font-size: 13px; line-height: 18px; color: #66615a; font-variant-numeric: tabular-nums; }
.rg-me-txt small b { color: #17181b; }
.rg-none { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 2px dashed rgba(23, 23, 25, .2); border-radius: 12px; font-family: Georgia, serif; font-size: 22px; color: #66615a; }
.rg-prog { display: grid; gap: 6px; }
.rg-track { display: block; height: 6px; overflow: hidden; border-radius: 99px; background: #eceaf6; }
.rg-track i { display: block; height: 100%; border-radius: 99px; background: #6e67d9; }
.rg-prog-l { font-size: 13px; line-height: 18px; color: #66615a; font-variant-numeric: tabular-nums; }
.rg-prog-l b { color: #17181b; }
.rg-chips b.is-pos { color: #1f6a35; }
.rg-chips b.is-neg { color: #a3262d; }
.rg-link { font-size: 13px; font-weight: 700; color: #5b54c9; }
.rg-games { display: grid; margin-bottom: 20px; }
.ranking-list-head span { float: right; font-weight: 400; letter-spacing: 0; text-transform: none; }
.rg-games-card { display: grid; gap: 8px; padding: 12px 16px; border: 1px solid rgba(23, 23, 25, .1); border-radius: 16px; background: #fff; }
.rg-game { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.rg-game + .rg-game { padding-top: 8px; border-top: 1px solid rgba(23, 23, 25, .1); }
.rg-game > span { display: grid; min-width: 0; }
.rg-game strong { overflow: hidden; font-family: Georgia, serif; font-size: 15px; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
.rg-game small { font-size: 12px; color: #66615a; font-variant-numeric: tabular-nums; }
.rg-game.is-off strong, .rg-game.is-off small { opacity: .6; }
.rg-pill { flex: none; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.rg-pill.is-up { color: #1f6a35; background: #e3f4e8; }
.rg-pill.is-down { color: #a3262d; background: #fde8e9; }
.rg-pill.is-off { font-size: 11px; color: #66615a; background: #f2efe7; }
.rg-pts { flex: none; font-size: 13px; font-style: normal; font-weight: 700; color: #17181b; font-variant-numeric: tabular-nums; }
.rg-game.is-off .rg-pts { opacity: .6; }
.rg-total { padding-top: 8px; border-top: 1px solid rgba(23, 23, 25, .14); }
.rg-sheet { display: grid; gap: 12px; }
.rg-sheet h2 { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.rg-sheet p { margin: 0; font-size: 13px; line-height: 20px; }
.rg-kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #8f80ff; }
.rg-bands { display: grid; gap: 6px; }
.rg-band { display: grid; grid-template-columns: 92px minmax(0, 1fr) 44px; gap: 8px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.rg-bt { position: relative; height: 8px; border-radius: 4px; background: rgba(127, 127, 127, .18); }
.rg-bt i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.rg-bt i.is-up { background: #4fbf74; }
.rg-bt i.is-down { background: #e8696d; }
.rg-band b { text-align: right; }
.rg-band b.is-pos { color: #4fbf74; }
.rg-band b.is-neg { color: #e8696d; }
/* Albert, 17-oct-2026: los dos factores de la tabla (managers del modo y millones de la liga) y lo que da hoy */
.rg-factors { display: grid; gap: 8px; }
.rg-factor { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 12px; border-radius: 12px; background: rgba(127, 127, 127, .12); }
.rg-factor b { font-size: 15px; font-weight: 700; color: #8f80ff; text-align: center; font-variant-numeric: tabular-nums; }
.rg-factor span { font-size: 13px; line-height: 20px; }
.rg-today { font-variant-numeric: tabular-nums; }
.rg-today b.is-pos { color: #4fbf74; }
.rg-today b.is-neg { color: #e8696d; }
.rg-ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.rg-ladder > span { display: grid; justify-items: center; gap: 2px; text-align: center; }
.rg-ladder small { font-size: 11px; line-height: 16px; }

/* ==== 261016-viv · INICIO › Partido en directo (client/partido-ui.js) ==== */
/* plegada: título, el mapa en juego y la serie con los logos; desplegada: la grieta con los diez y sus puntos provisionales */
.ev { display: flex; flex-direction: column; gap: 8px; min-width: 0; overflow: hidden; padding: 16px 16px 12px; border: 1px solid rgba(23, 23, 25, .1); border-radius: 20px; background: #fff; color: #17181b; }
.ev[hidden] { display: none; }
.ev-t { margin: 0; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 24px; color: #17181b; }
.ev-head { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 4px 8px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ev-k { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0; font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.ev-k.is-live { color: #c7353b; }
.ev-k em { margin-left: auto; font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; color: #66615a; white-space: nowrap; }
.ev-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #8f8a83; }
.ev-k.is-live .ev-dot { background: #ff4d55; animation: dx-latido 1.6s ease-in-out infinite; }
.ev-sc { grid-column: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.ev-sc b { font-size: 15px; font-weight: 700; line-height: 20px; white-space: nowrap; }
.ev-sc strong { padding: 0 4px; font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 28px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.ev-logo { flex: none; display: block; width: 28px; height: 28px; border-radius: 6px; object-fit: contain; }
.ev-logo.is-txt { display: grid; place-items: center; background: #f1efeb; font-size: 11px; font-weight: 700; color: #66615a; }
.ev-chev { grid-column: 2; grid-row: 1 / span 2; justify-self: center; width: 12px; height: 12px; border-right: 2px solid #17181b; border-bottom: 2px solid #17181b; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.ev-head[aria-expanded="true"] .ev-chev { transform: translateY(3px) rotate(-135deg); }
.ev-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ev-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-pick button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 44px; padding: 4px 12px; border: 1px solid rgba(23, 23, 25, .14); border-radius: 12px; background: #fff; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.ev-pick button[aria-pressed="true"] { border-color: #17181b; background: #17181b; color: #fff; }
.ev-pick b { font-size: 12px; font-weight: 700; line-height: 16px; }
.ev-pick small { font-size: 11px; line-height: 16px; opacity: .75; }
/* la grieta: de borde a borde de la tarjeta; el lado azul abajo a la izquierda, el rojo arriba a la derecha */
.ev-map { position: relative; aspect-ratio: 1 / 1; margin: 0 -16px; overflow: hidden; background: #111216 url("./team-rift-lineup-map.webp") center / cover no-repeat; }
.ev-p { position: absolute; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 64px; min-height: 44px; padding: 0; border: 0; background: none; color: #fff; font: inherit; transform: translate(-50%, -50%); cursor: pointer; }
.ev-ph { position: relative; display: block; width: 36px; height: 36px; border-radius: 50%; background: #2b2b31; box-shadow: 0 0 0 2px #4d8dff, 0 4px 12px rgba(12, 15, 20, .35); }
.ev-p.is-rojo .ev-ph { box-shadow: 0 0 0 2px #ff4d55, 0 4px 12px rgba(12, 15, 20, .35); }
.ev-p.is-mine .ev-ph { box-shadow: 0 0 0 3px #b9b3ff, 0 0 0 6px rgba(141, 130, 232, .45), 0 4px 12px rgba(12, 15, 20, .35); }
.ev-ph .ev-photo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; font-size: 11px; }
.ev-rl { position: absolute; top: -4px; left: -6px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #17181b; color: #fff; }
.ev-rl .role-glyph { width: 10px; height: 10px; }
.ev-ph em { position: absolute; right: -6px; bottom: -2px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #b9b3ff; color: #17181b; font-size: 11px; font-style: normal; font-weight: 700; line-height: 16px; }
.ev-nm { max-width: 56px; overflow: hidden; padding: 0 6px; border-radius: 999px; background: rgba(17, 18, 22, .84); font-size: 11px; font-weight: 700; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.ev-pts { padding: 0 6px; border-radius: 999px; background: #fff; color: #17181b; font-size: 12px; font-weight: 700; line-height: 16px; font-variant-numeric: lining-nums tabular-nums; box-shadow: 0 2px 6px rgba(12, 15, 20, .3); }
.ev-p.is-mine .ev-pts { background: #b9b3ff; }
.ev-up { position: absolute; top: -12px; right: 0; padding: 0 6px; border-radius: 999px; background: #1f6a35; color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; pointer-events: none; animation: ev-sube 1.8s ease-out forwards; }
.ev-p.is-up .ev-pts { animation: ev-brilla 1.2s ease-out; }
/* 18-oct (fichas en línea): en pantallas de menos de 340 px el mapa no llega a 308 px; foto y nombre un poco más pequeños para que no se pisen */
@media (max-width: 339px) { .ev-ph { width: 32px; height: 32px; } .ev-map .ev-nm { max-width: 48px; } }
@keyframes ev-sube { 0% { opacity: 0; transform: translateY(6px); } 15% { opacity: 1; transform: translateY(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes ev-brilla { 0% { background: #bfe8cc; transform: scale(1.15); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ev-k.is-live .ev-dot, .ev-up, .ev-p.is-up .ev-pts { animation: none; } .ev-up { opacity: 0; } .ev-chev { transition: none; } }
.ev-ley { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; font-size: 12px; line-height: 16px; color: #3d3a35; }
.ev-ley span { display: inline-flex; align-items: center; gap: 6px; }
.ev-ley i { width: 8px; height: 8px; border-radius: 50%; background: #4d8dff; }
.ev-ley .is-rojo i { background: #ff4d55; }
.ev-ley .is-mine i { background: #b9b3ff; box-shadow: 0 0 0 2px rgba(141, 130, 232, .45); }
.ev-foot { margin: 0; font-size: 12px; line-height: 16px; color: #66615a; }
/* en escritorio va en la columna lateral (~360 px): el mismo tamaño que en el móvil */

/* ==== 261016-ins · RANKING privado, el rango junto al nombre, insignias y «Subes de rango» ==== */
/* el escudo pequeño (ui-shared.js rankBadge): junto al nombre en la GENERAL, el perfil, INICIO y el top 10 */
.rk-badge { display: inline-block; flex: none; width: 16px; height: 20px; vertical-align: -4px; }
.manager-list-row .sell-market-info > span .rk-badge { margin-right: 4px; }
.rk-badge.is-pm { width: 20px; height: 24px; vertical-align: -2px; }
.rk-badge.is-ini { width: 12px; height: 16px; vertical-align: -3px; }
/* tu historia de PR: una columna por jornada */
.rg-hist { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; align-items: end; }
.rg-hc { display: grid; justify-items: center; gap: 4px; min-width: 0; }
.rg-hc > b { font-size: 11px; line-height: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: #66615a; }
.rg-hc.is-up > b { color: #1f6a35; }
.rg-hc.is-down > b { color: #a3262d; }
.rg-hb { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 28px; border-bottom: 1px solid rgba(23, 23, 25, .14); }
.rg-hb i { display: block; width: min(100%, 16px); border-radius: 4px 4px 0 0; background: #d8d4cc; }
.rg-hc.is-up .rg-hb i { background: #4fbf74; }
.rg-hc.is-down .rg-hb i { background: #e8696d; }
.rg-hc.is-off .rg-hb i { height: 4px; }
.rg-hc small { font-size: 11px; line-height: 16px; color: #66615a; font-variant-numeric: tabular-nums; }
/* el top 10: filas compactas en una línea */
.rg-top { display: grid; margin-bottom: 20px; }
.rg-top-list { display: grid; margin: 0; padding: 4px 16px; border: 1px solid rgba(23, 23, 25, .1); border-radius: 16px; background: #fff; list-style: none; }
.rg-top-row { display: grid; grid-template-columns: 28px 16px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; color: #17181b; }
.rg-top-row + .rg-top-row { border-top: 1px solid rgba(23, 23, 25, .08); }
.rg-top-row.is-me { margin: 0 -16px; padding: 0 16px; background: #eceaf6; }
.rg-top-pos { font-family: Georgia, serif; font-size: 15px; text-align: right; font-variant-numeric: lining-nums tabular-nums; color: #66615a; }
.rg-top-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rg-top-name strong { font-weight: 700; }
.rg-top-name small { font-size: 12px; color: #66615a; }
.rg-top-pr { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rg-top-more { padding: 4px 0; font-size: 12px; text-align: center; color: #66615a; }
/* sin top 10 todavía */
.rg-soon-card { display: grid; gap: 4px; margin-bottom: 20px; padding: 16px; border: 1px dashed rgba(23, 23, 25, .18); border-radius: 16px; background: #fff; }
.rg-soon-card strong { font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 28px; color: #17181b; }
.rg-soon-card p { margin: 0; font-size: 13px; line-height: 20px; color: #66615a; }
.rg-soon-card .rg-kicker { color: #5b54c9; }
/* INICIO › Ranking: tu rango */
.ini-f-rank { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 8px 16px; border: 0; background: none; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.ini-f-rank > span:last-child { display: grid; gap: 2px; min-width: 0; }
.ini-f-rank strong { font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 28px; }
.ini-f-rank small { font-size: 13px; line-height: 18px; color: #66615a; font-variant-numeric: tabular-nums; }
.rg-em.is-ini { width: 48px; height: 48px; }
/* RANKING en oscuro (Albert, 16-oct: «pasemos esa sección a modo oscuro… el rango es lo principal»); 5 IDEAL no cambia */
html:has(.ranking-screen.is-dark), body:has(.ranking-screen.is-dark), .app-shell:has(.ranking-screen.is-dark), .app-main:has(.ranking-screen.is-dark) { background: #111216; }
.ranking-screen.is-dark { color: #f6f2ea; }
.ranking-screen.is-dark .ranking-intro small { color: #b9b2ff; }
.ranking-screen.is-dark .ranking-intro h1 { color: #f6f2ea; }
.ranking-screen.is-dark .ranking-intro h1 em { color: #b9b2ff; }
.ranking-screen.is-dark .ranking-intro p { color: #b9b5ad; }
.ranking-screen.is-dark .ranking-list-head { border-top-color: rgba(255, 255, 255, .12); color: #b9b5ad; }
.ranking-screen.is-dark .rf-vacio { border-color: rgba(255, 255, 255, .14); background: #17181b; color: #f6f2ea; }
.ranking-screen.is-dark .ranking-me { background: #17181b; }
/* TU RANGO: la chapa grande con el brillo de su color */
.rg-me { margin: 4px 0 24px; }
.rg-me > h2 { margin: 0 2px 8px; font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .08em; color: #b9b5ad; }
.rg-me .rg-me-card { position: relative; justify-items: center; gap: 16px; padding: 24px 16px 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--tc, #6e67d9) 34%, transparent), transparent 70%), #17181b; box-shadow: none; color: #f6f2ea; text-align: center; }
.rg-me .rg-me-card:focus-visible { outline: 2px solid #b9b2ff; outline-offset: 2px; }
.rg-me .rg-me-top { flex-direction: column; gap: 12px; }
.rg-me .rg-em.is-me { width: 128px; height: 128px; margin: 0; filter: drop-shadow(0 0 20px color-mix(in srgb, var(--tc, #6e67d9) 70%, transparent)); }
.rg-me .rg-me-txt { justify-items: center; gap: 4px; }
.rg-me .rg-me-txt strong { font-size: 26px; line-height: 32px; color: #f6f2ea; }
.rg-me .rg-me-txt small { font-size: 15px; line-height: 20px; color: #b9b5ad; }
.rg-me .rg-me-txt small b { color: #f6f2ea; }
.rg-me .rg-prog { width: 100%; text-align: left; }
.rg-me .rg-track { height: 8px; background: rgba(255, 255, 255, .12); }
.rg-me .rg-track i { background: var(--tc, #8f80ff); box-shadow: 0 0 12px color-mix(in srgb, var(--tc, #8f80ff) 60%, transparent); }
.rg-me .rg-prog-l { color: #b9b5ad; }
.rg-me .rg-prog-l b { color: #f6f2ea; }
.rg-me .rg-hist { width: 100%; padding-top: 4px; }
.rg-me .rg-hb { border-bottom-color: rgba(255, 255, 255, .14); }
.rg-me .rg-hb i { background: rgba(255, 255, 255, .18); }
.rg-me .rg-hc > b, .rg-me .rg-hc small { color: #b9b5ad; }
.rg-me .rg-hc.is-up > b { color: #7fd69a; }
.rg-me .rg-hc.is-down > b { color: #ff8a8d; }
.rg-me .rg-chips { justify-content: center; }
.rg-me .rg-chips > span { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: #d6d2c9; }
.rg-me .rg-chips b { color: #f6f2ea; }
.rg-me .rg-chips b.is-pos { color: #7fd69a; }
.rg-me .rg-chips b.is-neg { color: #ff8a8d; }
.rg-me .rg-link { color: #b9b2ff; }
.rg-me.is-none .rg-me-card { background: #17181b; }
.rg-me.is-none .rg-none { width: 96px; height: 112px; border-color: rgba(255, 255, 255, .24); border-radius: 24px 24px 48px 48px; font-size: 26px; color: #b9b5ad; }
/* TU JORNADA, el top 10 y «Próximamente», en oscuro */
.ranking-screen.is-dark .rg-games-card, .ranking-screen.is-dark .rg-top-list { border-color: rgba(255, 255, 255, .1); background: #17181b; }
.ranking-screen.is-dark .rg-game + .rg-game, .ranking-screen.is-dark .rg-total { border-top-color: rgba(255, 255, 255, .1); }
.ranking-screen.is-dark .rg-game strong, .ranking-screen.is-dark .rg-pts, .ranking-screen.is-dark .rg-top-row { color: #f6f2ea; }
.ranking-screen.is-dark .rg-game small, .ranking-screen.is-dark .rg-top-pos, .ranking-screen.is-dark .rg-top-name small, .ranking-screen.is-dark .rg-top-more { color: #b9b5ad; }
.ranking-screen.is-dark .rg-pill.is-up { color: #7fd69a; background: rgba(79, 191, 116, .16); }
.ranking-screen.is-dark .rg-pill.is-down { color: #ff8a8d; background: rgba(232, 105, 109, .16); }
.ranking-screen.is-dark .rg-pill.is-off { color: #b9b5ad; background: rgba(255, 255, 255, .08); }
.ranking-screen.is-dark .rg-top-row + .rg-top-row { border-top-color: rgba(255, 255, 255, .08); }
.ranking-screen.is-dark .rg-top-row.is-me { background: rgba(143, 128, 255, .18); }
.ranking-screen.is-dark .rg-soon-card { border-color: rgba(255, 255, 255, .2); background: #17181b; }
.ranking-screen.is-dark .rg-soon-card strong { color: #f6f2ea; }
.ranking-screen.is-dark .rg-soon-card p { color: #b9b5ad; }
.ranking-screen.is-dark .rg-soon-card .rg-kicker { color: #b9b2ff; }
.ranking-screen.is-dark .ranking-next { border-color: rgba(255, 255, 255, .1); background: #17181b; color: #f6f2ea; }
.ranking-screen.is-dark .ranking-next .pj-over { color: #b9b2ff; }
.ranking-screen.is-dark .ranking-next .pj-title { color: #f6f2ea; }
.ranking-screen.is-dark .ranking-next p { color: #b9b5ad; }
/* Insignias (solo en RANKING). 261016-niv: nueve insignias con tres estrellas; en el móvil una fila por insignia (medallón a la
   izquierda; nombre con sus estrellas, meta y contador a la derecha) y desde 600 px una rejilla de 3 (9 = 3 × 3, sin huecos) */
.rg-ins { display: grid; margin-bottom: 24px; }
.ins-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ins-tile { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 16px; min-width: 0; padding: 16px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: #17181b; }
.ins-tile.is-done { border-color: rgba(255, 255, 255, .18); background: linear-gradient(180deg, #1f2027, #17181b); }
.ins-em { display: block; width: 56px; height: 56px; }
.ins-t { display: grid; gap: 4px; min-width: 0; }
.ins-t strong { font-family: Georgia, serif; font-size: 15px; font-weight: 400; line-height: 20px; color: #f6f2ea; }
.ins-t small { font-size: 12px; line-height: 16px; color: #b9b5ad; }
.ins-t b { font-size: 12px; font-weight: 700; line-height: 16px; }
.ins-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ins-stars { font-size: 15px; line-height: 20px; letter-spacing: 2px; color: #b9b2ff; }
.ins-stars i { font-style: normal; color: #5d5a66; }
.ins-ok { color: #7fd69a; }
.ins-no { color: #8f8a83; }
.ins-prog { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 4px; }
.ins-prog .rg-track { background: rgba(255, 255, 255, .14); }
.ins-prog .rg-track i { background: #8f80ff; }
.ins-prog b { color: #b9b5ad; font-variant-numeric: tabular-nums; }
.ins-foot { margin: 8px 2px 0; font-size: 12px; line-height: 16px; color: #8f8a83; }
@media (min-width: 600px) {
  .ins-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ins-tile { grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: start; gap: 8px; padding: 16px 12px; text-align: center; }
  .ins-name { justify-content: center; }
}
/* el pop up al entrar en RANKING: la chapa con un rebote y un brillo de su color; si subiste, un destello hacia arriba */
.rc-backdrop { align-items: stretch; background: rgba(8, 9, 12, .92); }
.rc-sheet { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 100dvh; max-height: none; border-radius: 0; background: #111216; text-align: center; }
.rc-sheet h2 { margin: 0; font-family: Georgia, serif; font-size: 26px; font-weight: 400; line-height: 32px; }
.rc-sheet p { max-width: 320px; margin: 0; font-size: 15px; line-height: 20px; color: #b9b5ad; }
.rc-sheet .rc-go { width: min(100%, 320px); min-height: 48px; margin-top: 16px; justify-content: center; text-align: center; }
.rc-badge { position: relative; display: grid; place-items: center; width: 200px; height: 200px; }
.rc-badge .rg-em.is-rc { position: relative; width: 160px; height: 160px; filter: drop-shadow(0 0 24px var(--tc)); animation: rc-pop .7s cubic-bezier(.2, .9, .3, 1.25) both; }
.rc-glow { position: absolute; inset: 16px; border-radius: 50%; background: radial-gradient(circle, var(--tc), transparent 65%); opacity: 0; animation: rc-glow .9s ease-out .15s both; }
.rc-rise { position: absolute; bottom: 24px; left: 50%; width: 4px; height: 80px; margin-left: -2px; border-radius: 2px; background: linear-gradient(transparent, #fff); opacity: 0; animation: rc-rise .8s ease-out .25s both; }
.rc-in { animation: rc-in .4s ease-out .35s both; }
.rc-sheet.is-down .rg-em.is-rc { width: 120px; height: 120px; filter: none; animation: rc-in .5s ease-out both; }
.rc-sheet.is-down .rc-glow { display: none; }
@keyframes rc-pop { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes rc-glow { 0% { opacity: .7; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes rc-rise { 0% { opacity: 0; transform: translateY(40px); } 40% { opacity: .8; } 100% { opacity: 0; transform: translateY(-120px); } }
@keyframes rc-in { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rc-badge .rg-em.is-rc, .rc-in { animation: none; }
  .rc-glow, .rc-rise { display: none; }
}
/* ==== m17-equipo (Albert, 17-oct-2026): la hoja de la posición separa «tus jugadores» del MERCADO ====
   «Que se entienda que son dos sitios distintos» sin cambiar el diseño: el mercado va en su propio bloque con un rótulo pequeño,
   una línea fina encima y un fondo apenas más claro que la hoja. Sin jugadores tuyos de ese rol (.is-solo) no hace falta separar. */
.hueco-sheet .hueco-mkt { margin: 24px -12px 0; padding: 4px 12px 16px; border-top: 1px solid rgba(185, 179, 255, .22); border-radius: 0 0 16px 16px; background: rgba(255, 255, 255, .03); }
.hueco-sheet .hueco-mkt.is-solo { margin: 0; padding: 0; border-top: 0; background: none; }
.hueco-sheet .hueco-mkt .rf-kicker.hueco-mkt-head { margin-top: 12px; }
.hueco-sheet .hueco-mkt .hueco-all { margin-top: 16px; }
/* La foto del jugador abre su ficha (data-profile) en el mapa, el banquillo y las filas: que el puntero lo diga. */
.t51-portrait[data-profile], .sell-market-avatar[data-profile] { cursor: pointer; }
/* ==== fin m17-equipo ==== */
/* Albert, 17-oct-2026: el filtro EQUIPO de la COMPRA (client/equipos-filtro-ui.js), en A tu medida y en la Classic. Una sola línea que
   se desliza de lado (no ocupa más que una fila), con la etiqueta como ORDENAR y pastillas como las suyas; los equipos eliminados van
   en gris y con borde discontinuo, y se pueden elegir. La pastilla dibuja 36 px y su zona de toque llega a 44 px (::before). */
.market-team-filter { display: flex; align-items: center; gap: 0; min-width: 0; margin: 2px 0 8px; }
.market-team-filter > small { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #817b73; }
.market-team-filter > div { position: relative; display: flex; flex: 1; gap: 6px; min-width: 0; overflow-x: auto; padding: 4px 24px 4px 12px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 28px), transparent); }
.market-team-filter > div::-webkit-scrollbar { display: none; }
.market-team-filter button { position: relative; flex: none; min-height: 36px; padding: 0 12px; border: 1px solid rgba(23, 23, 25, .12); border-radius: 999px; background: #fff; color: #17181b; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.market-team-filter button::before { content: ""; position: absolute; inset: -4px 0; }
.market-team-filter button.active { border-color: #17181b; background: #17181b; color: #fff; }
.market-team-filter button.out { border-style: dashed; border-color: rgba(23, 23, 25, .18); background: transparent; color: #a19b92; }
.market-team-filter button.out.active { border-style: solid; border-color: #8d877f; background: #8d877f; color: #fff; }
.market-team-filter button:focus-visible { outline: 2px solid #6e67d9; outline-offset: 2px; }
/* ==== m17-inicio-responsive (Albert, 17-oct-2026: «mejora el responsive de INICIO, revísalo») · retoques medidos a 360–1440 px ====
   (la rejilla de dos pilas va en el bloque 261013-p3a). Las fichas sin puerta al pie (el capitán) acababan con 4 px bajo el texto;
   Suben | Bajan dibujan 36 px y su toque llega a 44 (::before, como el filtro de equipos); con 360–400 px cada hueco de la tarjeta
   mide 58–64 px y las pastillas «Vender» (~70 px) se pisaban entre sí: más estrechas y a 11 px. Igual en tableta (760–1023), donde
   la tarjeta va en media columna (352 px a 768). */
.ini-f:not(:has(.ini-f-go)) { padding-bottom: 16px; }
.ini-f-seg button { position: relative; }
.ini-f-seg button::before { content: ""; position: absolute; inset: -4px 0; }
@media (max-width: 400px), (min-width: 760px) and (max-width: 1023px) { .ini-sell span { padding: 2px 6px; font-size: 11px; } }
/* Ronda 2 (Albert, 17-oct-2026, sobre las capturas: «la de RANKING cámbiale el color, que destaque»; «que las cajas sean ordenables»;
   «la del próximo partido debería verse en todo momento»). RANKING en oscuro, como la tarjeta de arriba: fondo #17181b, filete y rótulo
   lavanda #b9b3ff (9,3:1), texto #d6d1c9 (11,9:1) y gris #b8b2aa (8,4:1); el escudo del rango, con su color, encima. */
.ini-f-ranking { --ac: #b9b3ff; --acb: rgba(185, 179, 255, .14); border-color: #17181b; background: #17181b; color: #fff; }
.ini-f-ranking .ini-f-p { color: #d6d1c9; }
.ini-f-ranking .ini-f-rank { color: #fff; }
.ini-f-ranking .ini-f-rank small { color: #b8b2aa; }
.ini-f-ranking .rg-none { border-color: rgba(255, 255, 255, .24); color: #b9b5ad; }
.ini-f-ranking .ini-f-go { color: #b9b3ff; }
.ini-f-ranking .ini-f-go:focus-visible, .ini-f-ranking .ini-f-rank:focus-visible { outline: 2px solid #b9b3ff; outline-offset: 2px; }
/* Próximo partido (client/proximo-ui.js): los dos equipos con su logo y el código en Georgia 22, la fase y el Bo, el día y la hora
   de Madrid, la cuenta atrás en pastilla crema si es en menos de 24 h y tus titulares sobre lavanda #f1efff. Con un mapa en directo
   (la sección .ev visible) la ficha se quita y queda el directo. */
.nav-i-next { --nav-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.5' width='16' height='14.5' rx='2'/%3E%3Cpath d='M4 10h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E"); }
.ini-f-next { --ac: #17181b; --acb: #ece9e2; }
.ini-box-partido:has(> .ev:not([hidden])) > .ini-f-next { display: none; }
.ini-nx-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding-top: 4px; }
.ini-nx-vs > i { font-size: 12px; font-style: normal; color: #66615a; }
.ini-nx-tm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ini-nx-tm.is-b { justify-content: flex-end; }
.ini-nx-tm b { overflow: hidden; font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 28px; white-space: nowrap; text-overflow: ellipsis; }
.ini-nx-tm.is-tbd b { font-family: inherit; font-size: 13px; color: #66615a; }
.ini-nx-logo { flex: none; display: block; box-sizing: border-box; width: 36px; height: 36px; padding: 4px; border-radius: 8px; background: #17181b; object-fit: contain; } /* tinta: los logos blancos (G2) no se pierden */
.ini-nx-logo.is-txt { display: grid; place-items: center; padding: 0; background: #f1efeb; font-size: 11px; font-weight: 700; color: #66615a; }
.ini-nx-meta { margin: 0; font-size: 12px; line-height: 16px; color: #66615a; }
.ini-nx-when { margin: 0; font-size: 13px; line-height: 20px; color: #66615a; }
.ini-nx-when b { font-weight: 700; color: #17181b; }
.ini-nx-when.is-live { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #c8343a; }
.ini-nx-when.is-live i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .18); }
.ini-nx-cd { display: inline-flex; align-self: flex-start; align-items: baseline; gap: 4px; margin: 0; padding: 4px 12px; border-radius: 999px; background: #f2efe7; font-size: 12px; color: #3d3a35; }
.ini-nx-cd b { font-size: 13px; font-weight: 700; color: #17181b; font-variant-numeric: tabular-nums lining-nums; }
.ini-nx-mine { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #f1efff; font-size: 13px; line-height: 20px; color: #3d3a35; }
.ini-nx-mine b { color: #17181b; }
.ini-nx-faces { display: flex; flex: none; padding-left: 6px; }
.ini-nx-ph { display: block; width: 28px; height: 28px; margin-left: -6px; overflow: hidden; border-radius: 50%; background: #ece9e2; box-shadow: 0 0 0 2px #f1efff; }
.ini-nx-ph .ini-photo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; font-size: 11px; }
.ini-f-next.is-empty .ini-f-n b { font-size: 22px; line-height: 28px; white-space: normal; }
/* jornada-partidos (17-oct-2026, dirección A) y jornada-inicio (18-oct-2026): una sola tarjeta blanca con su rótulo «Jornada» e icono:
   la semana de la agenda, la tinta (la jornada del día elegido y su partido destacado) y, dentro de la misma tarjeta, «Toda la
   jornada» en una tira de chapas que se desliza de lado. La tinta del partido en juego la tapa el «Partido en directo». */
.ini-f-jr { --ac: #17181b; --acb: #ece9e2; gap: 12px; }
.ini-jr-wk { margin-left: auto; font-size: 12px; line-height: 16px; color: #66615a; white-space: nowrap; }
.ini-f-jr .ag-strip { margin: -4px -8px 0; }
.ini-f-jr > .ini-f-go { margin-top: -8px; }
.ini-box-partido:has(> .ev:not([hidden])) .ini-jr-hero.is-now { display: none; }
.ini-jr-hero { display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: #17181b; color: #fff; }
.ini-jr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ini-jr-top > div { display: grid; gap: 4px; min-width: 0; }
.ini-jr-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.ini-jr-name b { font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 28px; }
.ini-jr-name span { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #d6d1c9; }
.ini-jr-lock { margin: 0; font-size: 12px; line-height: 16px; color: #a9a39a; }
.ini-jr-count { display: grid; flex: none; justify-items: end; gap: 6px; margin: 0; padding-top: 6px; }
.ini-jr-count small { font-size: 11px; line-height: 16px; color: #a9a39a; font-variant-numeric: tabular-nums lining-nums; }
.ini-jr-prog { display: flex; gap: 3px; }
.ini-jr-prog i { width: 14px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.ini-jr-prog i.is-done { background: #b9b3ff; }
.ini-jr-prog i.is-live { background: #e5484d; }
.ini-jr-match { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ini-jr-st { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; font-size: 13px; line-height: 20px; color: #d6d1c9; }
.ini-jr-st b { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.ini-jr-st b.is-live { color: #ff8a8a; }
.ini-jr-st i, .ini-jr-ct .is-live i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
.ini-jr-cd { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; color: #d6d1c9; }
.ini-jr-cd b { color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.ini-jr-duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 0; }
.ini-jr-duel > i { font-size: 12px; font-style: normal; color: #a9a39a; }
.ini-jr-duel > i.is-score { font-family: Georgia, serif; font-size: 26px; line-height: 32px; color: #fff; font-variant-numeric: lining-nums; }
.ini-jr-duel > i.is-score.is-live { color: #ff8a8a; }
.ini-jr-tm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ini-jr-tm.is-b { flex-direction: row-reverse; }
.ini-jr-tm b { overflow: hidden; font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 28px; white-space: nowrap; text-overflow: ellipsis; }
.ini-jr-tm.is-tbd b { font-family: inherit; font-size: 13px; color: #a9a39a; }
.ini-jr-tm.is-lost b { color: #8a847c; }
.ini-jr-tm.is-lost .ini-jr-lg { opacity: .5; }
.ini-jr-lg { flex: none; display: block; box-sizing: border-box; width: 44px; height: 44px; padding: 4px; border-radius: 12px; background: #26272c; object-fit: contain; }
.ini-jr-lg.is-txt, .ini-jr-sl.is-txt { display: grid; place-items: center; padding: 0; font-size: 11px; font-weight: 700; color: #a9a39a; }
.ini-jr-tuyos { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; line-height: 20px; color: #d6d1c9; }
.ini-jr-tuyos b { color: #fff; }
.ini-jr-tuyos .ini-nx-ph { background: #3a3b40; box-shadow: 0 0 0 2px #17181b; }
.ini-jr-tbd { margin: 0; font-size: 13px; line-height: 20px; color: #d6d1c9; }
.ini-jr-none { display: grid; gap: 4px; justify-items: start; padding: 12px 16px 4px; border-radius: 16px; background: #f6f4ef; }
.ini-jr-none p { margin: 0; font-size: 13px; line-height: 20px; color: #66615a; }
.ini-jr-all { display: grid; gap: 8px; min-width: 0; padding-top: 4px; }
.ini-jr-all h3 { margin: 0; font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #66615a; }
.ini-jr-strip { display: flex; gap: 8px; margin: 0 -16px; padding: 2px 16px 4px; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
.ini-jr-strip::-webkit-scrollbar { display: none; }
.ini-jr-strip li { display: flex; flex: none; scroll-snap-align: start; }  /* todas las chapas, de la misma altura */
.ini-jr-ch { position: relative; display: grid; gap: 8px; box-sizing: border-box; width: 104px; min-height: 44px; padding: 12px; border: 1px solid #e4e0d6; border-radius: 16px; background: #fff; color: #17181b; font: inherit; text-align: left; cursor: pointer; }
.ini-jr-ch.is-on { border-color: #17181b; box-shadow: inset 0 0 0 1px #17181b; }
.ini-jr-ch:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; }
.ini-jr-ct { padding-right: 12px; font-size: 13px; font-weight: 700; line-height: 20px; font-variant-numeric: tabular-nums lining-nums; }
.ini-jr-ct small { display: block; font-size: 11px; font-weight: 400; line-height: 16px; color: #66615a; }
.ini-jr-ct .is-live { color: #c8343a; }
.ini-jr-ct .is-live small { display: flex; align-items: center; gap: 4px; color: #c8343a; }
.ini-jr-ct .is-end { color: #66615a; }
.ini-jr-me { position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: #5b54c9; }
.ini-jr-cl { display: flex; gap: 4px; }
.ini-jr-sl { flex: none; display: block; box-sizing: border-box; width: 28px; height: 28px; padding: 3px; border-radius: 8px; background: #17181b; object-fit: contain; }
.ini-jr-sl.is-txt { background: #ece9e2; color: #66615a; }
.ini-jr-cc { overflow: hidden; font-size: 12px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; color: #66615a; }
/* Plegar (jornada-inicio, 18-oct-2026): el rótulo de cada ficha es el botón (dentro del h2); plegada, solo queda el rótulo. */
.ini-f-hd h2:has(> .ini-plg) { flex: 1; min-width: 0; }
.ini-plg { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: -6px 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: pointer; }
.ini-plg:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; border-radius: 4px; }
.ini-plg-ch { flex: none; width: 7px; height: 7px; margin-top: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-135deg); }  /* abierta, ⌃ */
.ini-box.is-fold .ini-plg-ch { margin-top: -3px; transform: rotate(45deg); }  /* plegada, ⌄ */
.ini-box.is-fold .ini-f > :not(.ini-f-hd), .ini-box.is-fold > :not(.ini-f) { display: none; }
.ini-box.is-fold .ini-f { padding-bottom: 16px; }
/* Ordenar: «Ordenar» discreto encima de las fichas; en edición, la columna es una lista (nombre, ↑ ↓ de 44 px), «Restablecer orden» y
   «Hecho». Cada ficha va en .ini-box, que no cuenta para la rejilla (display: contents). */
.ini-box { display: contents; }
.ini-ord-bar { display: flex; justify-content: flex-end; margin: -8px 0 -12px; }
.ini-ord-go { min-height: 44px; padding: 0 4px; border: 0; background: none; color: #5b54c9; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ini-ord { display: grid; gap: 8px; padding: 16px; border: 1.5px dashed #a59cf5; border-radius: 20px; background: #fff; color: #17181b; }
.ini-ord-t { margin: 0; font-family: Georgia, serif; font-size: 18px; font-weight: 400; line-height: 24px; }
.ini-ord-p { margin: 0 0 4px; font-size: 13px; line-height: 20px; color: #66615a; }
.ini-ord-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ini-ord-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px; align-items: center; gap: 4px; min-height: 56px; padding: 0 6px 0 16px; border-radius: 12px; background: #f6f4ef; font-size: 15px; font-weight: 700; }
.ini-ord-mv { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: #fff; color: #17181b; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 4px rgba(23, 23, 25, .12); }
.ini-ord-mv:disabled { background: none; box-shadow: none; color: #c9c4bb; cursor: default; }
.ini-ord-ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.ini-ord-reset { min-height: 44px; padding: 0; border: 0; background: none; color: #66615a; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ini-ord-done { min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: #17181b; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ini-ord-go:focus-visible, .ini-ord-mv:focus-visible, .ini-ord-reset:focus-visible, .ini-ord-done:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; }
/* ==== fin m17-inicio-responsive ==== */

/* ==== repaso-diseno (Albert, 17-oct-2026: «revisión de diseño, cosillas pequeñas, sin grandes cambios») ====
   Solo retoques: nada cambia de sitio ni de flujo. */
/* 1. A 1280 la barra de navegación flotante era un rectángulo de esquinas vivas justo debajo de la barra de dinero (redonda); en el
   móvil ya lleva 18 px. Mismas esquinas en las dos (el apaisado bajo, max-height 500, sigue pegado al borde y recto). */
@media (min-width: 760px) and (min-height: 501px) {
  .v5-nav { border-radius: 18px; }
}
/* 2. Títulos de dos líneas sin una palabra suelta abajo («Simulador Worlds / 2025», «…global de la / LEC») y párrafos sin viuda
   («…no entra ni / sale.»). :where() no pesa: cualquier regla propia sigue mandando. */
#root :where(h1, h2, h3, .pj-title) { text-wrap: balance; }
#root :where(p) { text-wrap: pretty; }
/* 3. Antetítulos que styles-v5-18.css fuerza (con «important») por debajo de la escala (11 px mínimo): «SIM · FANTASY» de la cabecera
   de LIGAS (7 px en el móvil, 9 px desde 761), «· Copiar» del código (9 px) y el antetítulo de las hojas («MIS LIGAS», «SUBASTA ·
   HUECO LIBRE»…, 9 px). Ese fichero no se toca y aquí no se fuerza nada: se escalan con zoom hasta su tamaño de la escala. */
.league-hero > small { zoom: 1.2222; }                      /* 9 → 11 px */
@media (max-width: 760px) { .league-hero > small { zoom: 1.5714; } } /* 7 → 11 px */
#root .invite-code .invite-copy span { zoom: 1.4444; margin-left: 3px; } /* 9 → 13 px, como el código; el «·» ya no se pega a él */
.sheet > small { zoom: 1.2222; }                            /* 9 → 11 px */
/* 4. LIGAS: el avatar sin foto («RE») era un círculo negro sobre la cabecera negra y desaparecía; un aro claro, como el del hueco
   libre, lo recorta. */
.league-seat .league-seat-av.avatar-fallback { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); }
/* 5. Mapa del móvil: el equipo iba a 9 px y «Eliminado» / «EN JUEGO» a 8 px, más pequeños que el equipo. Los tres a 11 px, el mínimo de la escala. En la
   tarjeta de suplente (LIGAS), con sitio de sobra, «EN JUEGO» pasa de 8 a 11 px. */
.t51-bench-card .t51-played { font-size: 11px; }
@media (max-width: 480px) {
  .t51-map .t51-name small, .t51-map .t51-out, .t51-map .t51-played { font-size: 11px; }
}
/* 6. RANKING en oscuro: la franja de 4 px de «La próxima que abrimos» heredaba el gris del borde y se veía como un borde roto; vuelve
   a ser lavanda, como en INICIO. */
.ranking-screen.is-dark .ranking-next { border-left-color: #8d82e8; }
/* 7. Contraste (AA, 4,5:1 en texto pequeño) con colores que ya usa la app. «JORNADA 7 · En juego»: el antetítulo (3,9:1 sobre el fondo
   lavanda de la caja) pasa al lavanda oscuro de «Ordenar» (#5b54c9) y la línea gris al #66615a; «EQUIPO» del filtro del MERCADO (3,7:1) y los equipos
   eliminados (2,4:1, siguen con borde discontinuo); el estado gris de la jornada elegida en LIGAS (4,3:1 sobre el lavanda claro). */
.market-window-copy small { color: #5b54c9; }
.market-window-copy span { color: #66615a; }
.market-team-filter > small { color: #66615a; }
.market-team-filter button.out { color: #77716a; }
.lr-chip-main small { color: #6b655e; }
/* ==== fin repaso-diseno ==== */

/* Albert, 18-oct-2026: el pop-up de una jornada en la ficha del jugador (client/jornada-jugador-ui.js). Un <dialog> sobre la ficha,
   oscuro como ella: los partidos con el resultado y, debajo, la fila de PUNTUACIÓN TOTAL desplegada (estilos .sheet .pt-*). */
.jj-pop { width: min(420px, calc(100vw - 32px)); max-height: min(80vh, 640px); margin: auto; padding: 0; border: 1px solid #33363d; border-radius: 20px; background: #17181b; color: #f6f2ea; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); overflow: auto; }
.jj-pop::backdrop { background: rgba(0, 0, 0, .6); }
.jj-card { display: grid; gap: 12px; padding: 16px 16px 4px; }
.jj-hd { display: grid; gap: 4px; }
.jj-hd .rf-kicker { color: #b9b3ff; }
.jj-hd h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 400; color: #fff; }
.jj-matches { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.jj-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.jj-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.jj-team.is-b { justify-content: flex-end; }
.jj-team b { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.jj-logo { flex: none; width: 32px; height: 32px; border-radius: 8px; object-fit: contain; background: #26272c; }
.jj-logo.is-txt { display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #c9c4bb; }
.jj-score { font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 400; font-variant-numeric: tabular-nums; color: #fff; }
.jj-note { margin: 0; font-size: 13px; color: #c9c4bb; }
.jj-pop .jj-total { padding: 0; }
.jj-pop .pt-row:last-child { border-bottom: 0; }
.jj-pop .jj-total > .rules-sub { margin-bottom: 8px; }
.jj-pop .sheet-close { min-height: 44px; padding: 0; }

/* 261018-gri (Albert, 18-oct-2026): en LIGA › MI EQUIPO con la jornada en juego, el que ya salió con un cambio ocupa el sitio del
   banquillo del que entró, en gris (mismo gris que las fotos .is-off de INICIO) y sin botón: no vuelve a entrar en esa jornada. */
.t51-bench-card.t51-bench-slot.is-subbed-out { border-style: dashed; background: #f4f3f0; }
.t51-bench-card.t51-bench-slot.is-subbed-out .t51-portrait,
.t51-bench-card.t51-bench-slot.is-subbed-out .t51-role { filter: grayscale(1); opacity: .5; }
.t51-bench-card.t51-bench-slot.is-subbed-out .t51-name strong { color: #8a857d; }

/* 261020-lsr: login social con botones redondos solo-logo (48 px, tocables), centrados bajo la «o». */
.social-login-row { display: flex; justify-content: center; gap: 16px; margin: 4px 0 16px; }
.social-login { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer; }
.social-login-google { background: #fff; border: 1px solid #747775; }
.social-login-apple { background: #000; border: 1px solid rgba(255, 255, 255, .35); }
.social-login-apple svg { margin-top: -2px; }
.social-login:disabled { opacity: .55; cursor: default; }
.sheet .social-login:focus-visible, .social-login:focus-visible { outline: 2px solid #b9b2ff; outline-offset: 3px; }
/* 261020-acl (Albert, 20-oct-2026: «cuando te han hecho un clausulazo tiene que salirte un aviso bien claro»; «añade la foto del
   jugador al que te han quitado»): el aviso rojo, lo primero de INICIO y del TABLÓN hasta que pulsas «Entendido»; en el tablón y en
   la ficha de INICIO, la fila en rojo (en el tablón, con la foto). */
.clz-aviso { display: grid; gap: 12px; max-width: 560px; margin: 12px auto 0; padding: 16px 20px 20px; box-sizing: border-box; border: 1px solid rgba(163, 38, 45, .28); border-top: 4px solid #a3262d; border-radius: 20px; background: #fff; color: #17181b; box-shadow: 0 12px 32px rgba(163, 38, 45, .14); }
.tb-shell .clz-aviso { margin: 0 0 16px; }
.clz-aviso p { margin: 0; }
.clz-k { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #a3262d; }
.clz-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #a3262d; color: #fff; }
.clz-ic svg { width: 16px; height: 16px; }
.clz-when { margin-left: auto; font-weight: 400; letter-spacing: .04em; text-transform: none; color: #66615a; }
.clz-main { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; }
.clz-ph { position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; overflow: hidden; border-radius: 12px; background: #f2efe7; color: #66615a; }
.clz-ph b { font-size: 13px; font-weight: 700; }
.clz-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.clz-ph.is-big { width: 88px; height: 88px; border-radius: 20px; box-shadow: inset 0 0 0 2px #fde8e9; }
.clz-ph.is-big b { font-size: 22px; }
.clz-ph.is-big img { filter: grayscale(.35); }
.clz-main.is-n { grid-template-columns: minmax(0, 1fr); }
.clz-tx { display: grid; gap: 4px; min-width: 0; }
.clz-h { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 400; line-height: 28px; text-wrap: balance; }
.clz-h b { font-weight: 700; }
.clz-d { font-size: 13px; line-height: 20px; color: #3d3a35; }
.clz-cash { font-size: 13px; line-height: 20px; color: #3d3a35; }
.clz-cash strong { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #e3f4e8; color: #1f6a35; font-family: Georgia, serif; font-size: 15px; font-weight: 400; font-variant-numeric: tabular-nums lining-nums; }
.clz-l { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(23, 23, 25, .08); }
.clz-l li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(23, 23, 25, .08); font-size: 13px; line-height: 20px; }
.clz-l li small { display: block; font-size: 12px; line-height: 16px; color: #66615a; }
.clz-l li strong { font-family: Georgia, serif; font-size: 15px; font-weight: 400; color: #1f6a35; font-variant-numeric: tabular-nums lining-nums; }
.clz-hueco { padding: 8px 12px; border-radius: 12px; background: #fff4f4; font-size: 13px; line-height: 20px; color: #7d1d23; }
.clz-act { display: flex; flex-wrap: wrap; gap: 8px; }
.clz-act button { flex: 1 1 auto; min-height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.clz-go { border: 0; background: #a3262d; color: #fff; }
.clz-ok { border: 1px solid rgba(23, 23, 25, .18); background: #fff; color: #17181b; }
.clz-act button:focus-visible { outline: 2px solid #5b54c9; outline-offset: 2px; }
@media (min-width: 760px) { .clz-aviso, .tb-shell .clz-aviso { max-width: 720px; } .clz-act button { flex: none; } }
@media (min-width: 1100px) { .clz-aviso { max-width: 1120px; } }
.tb-it.is-hit { background: #fff4f4; box-shadow: inset 4px 0 0 #d4545b; }
.tb-it.is-hit .tb-amt { color: #1f6a35; }
.clz-ph.is-row { width: 32px; height: 32px; border-radius: 8px; }
.clz-ph.is-row b { font-size: 11px; }
.ini-tb-r.is-hit { background: #fff4f4; box-shadow: inset 4px 0 0 #d4545b; }
.ini-tb-v em.is-hit { background: #fde8e9; color: #a3262d; }
/* 11.3-16 (verificación a 390 px): las etiquetas de la barra de EQUIPO / MI EQUIPO no desbordan la casilla (344 / 340 en castellano,
   «SHOTCALLER» cortado en seco); en móvil, 4 px de relleno y sin espaciado; si aun así no cabe (fr, tr), puntos suspensivos.
   La barra de abajo no parte la etiqueta en dos líneas (tr «ANA SAYFA» doblaba la altura de su botón). Solo CSS. */
.t51-metrics span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .t51-metrics > div { padding-left: 4px; padding-right: 4px; } .t51-metrics span { letter-spacing: 0; } }
.v5-nav button span:last-child { white-space: nowrap; }
/* 11.4: letra y espaciado van aquí y no en styles-v5-18.css (test 261011-d4t). */
/* 11.4 (D-14): barra de EQUIPO / MI EQUIPO a 390 px: fr «CHANGEMENTS» (86 px en una casilla de 80) salía con puntos suspensivos.
   En móvil la casilla pasa de 4 a 2 px de relleno (84 px útiles) y la etiqueta se aprieta un poco (-.03em); 10 px no está en la
   escala tipográfica (261011-d4t). Los puntos suspensivos de 11.3-16 quedan de red. */
@media (max-width: 420px) { .t51-metrics > div { padding-left: 2px; padding-right: 2px; } .t51-metrics > div > span:first-child { letter-spacing: -.03em; } }
/* 11.4 (D-10): zh-CN, zh-TW, ko y vi sin ficheros de fuente propios. Inter no trae CJK ni el vietnamita completo: en CJK, Inter para
   el latín y la fuente del sistema de cada región para ideogramas y hangul; en vietnamita, la sans del sistema entera (mezclar Inter con
   otra fuente letra a letra se ve roto). Georgia (titulares) ya trae vietnamita; en CJK cae en la serif del sistema. */
:root:lang(zh-CN) body{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Noto Sans CJK SC",sans-serif}
:root:lang(zh-TW) body{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang TC","Microsoft JhengHei","Noto Sans TC","Noto Sans CJK TC",sans-serif}
:root:lang(ko) body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR","Noto Sans CJK KR",sans-serif}
:root:lang(vi) body,:root:lang(vi) .league-v59-summary strong small{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif}
/* 261026 · «En el Rift» y la línea de la cabecera de la liga («Worlds · Fantasy») vienen ya en texto normal desde el código (marca
   nueva). Con la marca antigua (o sin data-marca, como en producción) se siguen viendo en mayúsculas, igual que antes. */
:root:not([data-marca="nueva"]) .t51-map-identity small,:root:not([data-marca="nueva"]) .league-hero>small:first-child{text-transform:uppercase}


/* Menú de abajo con seis pestañas (10-nov-2026, Albert en un iPhone 13 Pro: «el menú inferior ha quedado raro»). Con COLECCIÓN
   la etiqueta no cabía a 390 px: se cortaba y las columnas salían desiguales. Etiqueta a 11 px sin espaciado y sin relleno lateral: todas caben enteras. */
/* 10-nov, 2.ª vuelta (Albert en el iPhone: «la palabra Colección se sale del menú»). Con 6 columnas iguales, la de COLECCIÓN
   no le cabía en el iPhone real. Ahora cada pestaña mide lo que ocupa y el sobrante se reparte entre ellas: cabe en cualquier móvil. */
.v5-nav { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 480px) {
  .v5-nav { grid-template-columns: repeat(6, auto); justify-content: space-between; padding-left: 6px; padding-right: 6px; }
  .v5-nav button { padding-left: 0; padding-right: 0; }
  .v5-nav button span:last-child { font-size: 11px; letter-spacing: 0; }
}
