@import url('public-motion.css');

.tactical-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:15px}
.tactical-heading small,.tactical-heading h3,.tactical-heading span{display:block}
.tactical-heading small{margin-bottom:5px;color:#67b8ff;font:800 8px Montserrat;letter-spacing:1.2px}
.tactical-heading h3{margin:0;font:900 26px 'Barlow Condensed';text-transform:uppercase}
.tactical-heading>span{max-width:260px;color:#7690ad;font-size:9px;line-height:1.5;text-align:right}
.tactical-layout{display:grid;grid-template-columns:minmax(520px,1fr) 245px;gap:12px}
.squad-pitch{min-height:650px;position:relative;overflow:hidden;border:1px solid #168dff55;background:radial-gradient(circle at 50% 48%,#168dff2a,transparent 38%),repeating-linear-gradient(0deg,#061b31 0,#061b31 81px,#08223c 82px,#08223c 163px);box-shadow:inset 0 0 80px #0008}
.squad-pitch:before{content:'';position:absolute;inset:16px;border:1px solid #68baff35}
.squad-pitch:after{content:'';position:absolute;left:50%;top:16px;bottom:16px;width:1px;background:#68baff30}
.pitch-line,.pitch-spot{position:absolute;z-index:0;pointer-events:none}
.pitch-half{left:16px;right:16px;top:50%;border-top:1px solid #68baff35}
.pitch-circle{width:150px;height:150px;left:50%;top:50%;border:1px solid #68baff35;border-radius:50%;transform:translate(-50%,-50%)}
.pitch-box{width:42%;height:105px;left:29%;border:1px solid #68baff35}
.pitch-box-top{top:16px;border-top:0}
.pitch-box-bottom{bottom:16px;border-bottom:0}
.pitch-spot{width:5px;height:5px;left:50%;border-radius:50%;background:#68baff66;transform:translateX(-50%)}
.pitch-spot-top{top:72px}.pitch-spot-bottom{bottom:72px}
.pitch-player{width:116px;position:absolute;z-index:2;left:var(--x);top:var(--y);display:grid;justify-items:center;transform:translate(-50%,-50%);transition:transform .2s ease,filter .2s ease}
.pitch-player:hover,.pitch-player:focus-visible{z-index:5;transform:translate(-50%,-54%);filter:drop-shadow(0 10px 16px #000b)}
.pitch-player-visual{width:58px;height:66px;position:relative;overflow:hidden;display:grid;place-items:center;clip-path:polygon(50% 0,94% 18%,86% 78%,50% 100%,14% 78%,6% 18%);background:linear-gradient(145deg,var(--club),#063460 75%);box-shadow:0 0 24px color-mix(in srgb,var(--club),transparent 50%);font:900 21px 'Barlow Condensed'}
.pitch-player-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(155deg,#ffffff26,transparent 35%,#0004)}
.pitch-player-visual img{position:absolute;z-index:1;inset:0;width:100%;height:100%;object-fit:cover;object-position:center var(--focus,30%)}
.pitch-player-visual>b{z-index:1}
.pitch-player-visual em{position:absolute;z-index:3;right:5px;top:4px;color:var(--club-secondary);font:900 14px 'Barlow Condensed';font-style:normal;text-shadow:0 1px 3px #000}
.pitch-player-visual i{position:absolute;z-index:3;left:4px;top:4px;width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:var(--gold);color:#04101d;font:900 10px Montserrat;font-style:normal}
.pitch-player-name{width:100%;min-height:34px;display:grid;align-content:center;margin-top:-2px;padding:5px 7px;border:1px solid #ffffff1f;background:#020914e8;text-align:center;box-shadow:0 5px 14px #0008}
.pitch-player-name small,.pitch-player-name b{display:block;overflow-wrap:anywhere}
.pitch-player-name small{color:#79bfff;font:700 6px Montserrat}
.pitch-player-name b{margin-top:2px;font:900 13px/1 'Barlow Condensed';text-transform:uppercase}
.pitch-player.suspended,.bench-player.suspended{opacity:.5}
.pitch-player.is-profile-pending,.bench-player.is-profile-pending,.roster-player.is-profile-pending{cursor:default}
.pitch-player.is-profile-pending:hover,.pitch-player.is-profile-pending:focus-visible{transform:translate(-50%,-50%);filter:none}
.pitch-player.is-profile-pending .pitch-player-name,.bench-player.is-profile-pending,.roster-player.is-profile-pending{border-color:#ffc94d55}
.bench-panel{border:1px solid var(--line);background:#030b16}
.bench-group+ .bench-group{border-top:1px solid var(--line)}
.bench-group>header{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;background:#09182a}
.bench-group>header span{color:#86bdf4;font:800 8px Montserrat;letter-spacing:.7px}
.bench-group>header b{min-width:23px;padding:4px 6px;background:#0b3155;color:#8ac6ff;font:900 13px 'Barlow Condensed';text-align:center}
.bench-group>p{margin:0;padding:20px 13px;color:#617b99;font-size:8px;line-height:1.5}
.bench-list{padding:7px}
.bench-player{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 7px;border-bottom:1px solid var(--line);transition:background .2s}
.bench-player:last-child{border-bottom:0}.bench-player:hover{background:#0a1d34}
.bench-photo{width:44px;height:50px;position:relative;overflow:hidden;display:grid;place-items:center;clip-path:polygon(50% 0,94% 18%,86% 78%,50% 100%,14% 78%,6% 18%);background:linear-gradient(145deg,var(--club),#063460 75%);color:#fff;font:900 17px 'Barlow Condensed';filter:drop-shadow(0 4px 7px #0008)}
.bench-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center var(--focus,30%)}
.bench-photo>b{position:relative;z-index:0}
.bench-player b,.bench-player small{display:block;overflow-wrap:anywhere}
.bench-player b{font:800 10px/1.15 Montserrat;text-transform:uppercase}
.bench-player small{margin-top:4px;color:#6e8dab;font-size:6px}
.bench-player>strong{color:var(--gold);font:900 17px 'Barlow Condensed'}
.formation-notice{display:flex;justify-content:space-between;gap:15px;margin-bottom:14px;padding:10px 12px;border-left:2px solid var(--gold);background:#ffc94d0b;color:#718aa7;font-size:8px}
.formation-notice b{color:var(--gold);font:800 8px Montserrat}
.club-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px}
.club-catalog-card{min-height:360px;position:relative;overflow:hidden;display:grid;grid-template-rows:auto 1fr auto auto;padding:22px;border:1px solid #ffffff1c;background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--club),transparent 65%),transparent 42%),linear-gradient(145deg,#08182c,#030a14);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.club-catalog-card:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--club)}
.club-catalog-card:after{content:'';position:absolute;width:180px;height:180px;right:-75px;top:55px;border:1px solid #ffffff0a;border-radius:50%;box-shadow:0 0 0 32px #ffffff05,0 0 0 64px #ffffff03}
.club-catalog-card:hover,.club-catalog-card:focus-visible{z-index:1;transform:translateY(-5px);border-color:color-mix(in srgb,var(--club),#fff 18%);box-shadow:0 20px 45px #0009}
.catalog-card-top{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center}
.catalog-card-top small{color:var(--club-secondary);font:800 8px Montserrat;letter-spacing:.8px}
.catalog-card-top em{color:#ffffff0c;font:900 48px/1 'Barlow Condensed';font-style:normal}
.catalog-club-crest{width:105px;height:105px;position:relative;z-index:1;overflow:hidden;display:grid;place-items:center;align-self:center;margin:10px auto;background:#020812;border:1px solid #ffffff20;color:#fff;font:900 28px 'Barlow Condensed'}
.catalog-club-crest img,.club-main-crest img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.catalog-club-crest img{padding:10px}.club-main-crest{position:relative;overflow:hidden}.club-main-crest>b{position:relative;z-index:0}
.catalog-club-crest>b[hidden],.club-main-crest>b[hidden],.catalog-manager b[hidden],.club-manager-photo>b[hidden]{display:none!important}
.catalog-club-copy{position:relative;z-index:1;display:block;padding-bottom:17px;text-align:center}
.catalog-club-copy small,.catalog-club-copy b,.catalog-club-copy em{display:block;overflow-wrap:anywhere}
.catalog-club-copy small{color:#74b9f7;font:800 7px Montserrat;letter-spacing:.5px}
.catalog-club-copy>b{margin:7px 0 5px;font:900 29px/1 'Barlow Condensed';text-transform:uppercase}
.catalog-club-copy em{color:#7892ad;font:600 8px/1.5 Montserrat;font-style:normal}
.catalog-manager{position:relative;z-index:1;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line)}
.catalog-manager>span:first-child{width:42px;height:42px;position:relative;overflow:hidden;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--club),#fff 20%);border-radius:50%;background:var(--club);font:900 14px 'Barlow Condensed'}
.catalog-manager img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.catalog-manager small,.catalog-manager b{display:block;overflow-wrap:anywhere}.catalog-manager small{color:#6daee9;font:800 6px Montserrat;letter-spacing:.6px}.catalog-manager>span:last-child>b{margin-top:4px;font:900 14px/1 'Barlow Condensed';text-transform:uppercase}
.catalog-card-action{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding-top:13px;border-top:1px solid var(--line);color:#fff;font:800 8px Montserrat;letter-spacing:.5px}
.catalog-card-action>b{color:var(--club-secondary);font-size:17px}
.club-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 0}
.club-detail-toolbar>a{padding:10px 13px;border:1px solid #1e4a75;color:#7fc2ff;font:800 8px Montserrat;transition:.2s}.club-detail-toolbar>a:hover{border-color:var(--blue);background:#168dff12}
.club-detail-toolbar>span{color:#6d88a5;font:600 8px Montserrat}
.club-manager{position:relative;z-index:1;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:11px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.club-manager-photo{width:54px;height:54px;position:relative;overflow:hidden;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--club),#fff 20%);border-radius:50%;background:linear-gradient(145deg,var(--club),#071426);color:#fff;font:900 18px 'Barlow Condensed';box-shadow:0 0 20px color-mix(in srgb,var(--club),transparent 65%)}
.club-manager-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.club-manager>span:last-child{min-width:0}
.club-manager small,.club-manager b,.club-manager em{display:block;overflow-wrap:anywhere}
.club-manager small{color:#73baff;font:800 7px Montserrat;letter-spacing:.7px}
.club-manager b{margin:5px 0 3px;font:900 17px/1 'Barlow Condensed';text-transform:uppercase}
.club-manager em{color:#708ca9;font:600 7px/1.4 Montserrat;font-style:normal}
.profile-card .profile-close{margin-bottom:20px;font-size:12px;line-height:1.4;letter-spacing:.35px}
.profile-card .profile-copy>header small{font-size:12px;line-height:1.45;letter-spacing:.45px}
.profile-card .profile-copy>header p{font-size:14px;line-height:1.65}
.profile-card .profile-visual small{font-size:12px;line-height:1.45}
.profile-card .profile-visual b{font-size:35px}
.profile-card .profile-stats div{padding:16px 12px}
.profile-card .profile-stats span{font-size:10px;line-height:1.35;letter-spacing:.35px}
.profile-card .profile-stats b{margin-top:7px;font-size:23px}
.profile-card .attribute-grid{gap:8px}
.profile-card .attribute-grid div{min-height:40px;align-items:center;padding:11px 12px;font-size:12px;line-height:1.35}
.profile-card .attribute-grid b{font-size:14px}
.profile-card .profile-tags{gap:8px;margin-top:19px}
.profile-card .profile-tags span{padding:8px 10px;font-size:11px;line-height:1.3}
.profile-card .empty-public{font-size:12px;line-height:1.55}
@media(max-width:1250px){
 .tactical-layout{grid-template-columns:1fr}
 .bench-panel{display:grid;grid-template-columns:1fr 1fr}
 .bench-group+ .bench-group{border-top:0;border-left:1px solid var(--line)}
}
@media(max-width:850px){
 .squad-pitch{min-height:620px}
 .tactical-heading{align-items:flex-start;flex-direction:column}
 .tactical-heading>span{text-align:left}
 .club-manager{grid-column:1/-1}
}
@media(max-width:560px){
 .squad-pitch{min-height:560px}
 .squad-pitch:before{inset:9px}.squad-pitch:after{top:9px;bottom:9px}
 .pitch-half{left:9px;right:9px}.pitch-box-top{top:9px}.pitch-box-bottom{bottom:9px}
 .pitch-player{width:78px}.pitch-player-visual{width:48px;height:55px}
 .pitch-player-visual em{font-size:12px}.pitch-player-name{min-height:31px;padding:4px}
 .pitch-player-name b{font-size:11px}.pitch-player-name small{font-size:5px}
 .bench-panel{grid-template-columns:1fr}
 .bench-group+ .bench-group{border-left:0;border-top:1px solid var(--line)}
 .formation-notice{align-items:flex-start;flex-direction:column}
 .club-catalog{grid-template-columns:1fr}.club-catalog-card{min-height:330px}
 .club-detail-toolbar{align-items:flex-start;flex-direction:column}.club-detail-toolbar>span{line-height:1.5}
 .profile-card .profile-copy>header p{font-size:12px}
 .profile-card .profile-stats span{font-size:8px}
 .profile-card .attribute-grid div{font-size:10px}
 .profile-card .attribute-grid b{font-size:13px}
}

/* Legibilidad reforzada para la ficha pública del club y su once. */
@media(min-width:851px){
 .club-stage{grid-template-columns:350px 1fr}
 .club-identity{padding:34px}
 .club-identity small{font-size:10px;line-height:1.4;letter-spacing:.35px}
 .club-identity h3{margin-top:9px;font-size:39px}
 .club-identity p{font-size:12px;line-height:1.55}
 .club-meta span{font-size:9px;line-height:1.35}
 .club-meta b{margin-top:7px;font-size:18px}
 .club-manager{grid-template-columns:62px minmax(0,1fr);gap:13px;margin-top:28px;padding-top:21px}
 .club-manager-photo{width:62px;height:62px;font-size:21px}
 .club-manager small{font-size:9px;line-height:1.4}
 .club-manager b{font-size:21px}
 .club-manager em{font-size:9px;line-height:1.55}
 .roster-panel{padding:32px}
 .tactical-heading{margin-bottom:18px}
 .tactical-heading small{font-size:10px}
 .tactical-heading h3{font-size:32px}
 .tactical-heading>span{max-width:310px;font-size:11px;line-height:1.55}
 .squad-pitch{min-height:690px}
 .pitch-player{width:134px}
 .pitch-player-visual{width:68px;height:77px;font-size:25px}
 .pitch-player-visual em{font-size:16px}
 .pitch-player-name{min-height:42px;padding:6px 8px}
 .pitch-player-name small{font-size:8px;line-height:1.25}
 .pitch-player-name b{margin-top:3px;font-size:16px}
 .bench-group>header{height:52px;padding-inline:16px}
 .bench-group>header span{font-size:10px}
 .bench-group>header b{min-width:27px;font-size:16px}
 .bench-group>p{padding:23px 16px;font-size:10px;line-height:1.6}
 .bench-list{padding:9px}
 .bench-player{grid-template-columns:33px minmax(0,1fr) auto;gap:10px;padding:11px 7px}
 .bench-number{width:33px;height:35px;font-size:16px}
 .bench-player b{font-size:12px}
 .bench-player small{font-size:9px;line-height:1.35}
 .bench-player>strong{font-size:20px}
 .club-detail-toolbar>a{padding:12px 15px;font-size:10px}
 .club-detail-toolbar>span{font-size:10px}
}

/* Ficha PES pública · fase visual 2 */
.profile-card-v2{grid-template-columns:minmax(290px,360px) minmax(0,1fr);max-width:1560px}
.profile-card-v2 .profile-visual{isolation:isolate;background:radial-gradient(circle at 50% 38%,#168dff55,transparent 38%),linear-gradient(160deg,#0a2647,#04101f 68%)}
.profile-card-v2 .profile-visual:after{content:"";position:absolute;z-index:-1;inset:8%;border:1px solid #5bb4ff24;clip-path:polygon(50% 0,96% 24%,87% 78%,50% 100%,13% 78%,4% 24%)}
.profile-visual-rating{position:absolute!important;right:16px!important;top:-18px!important;color:#ffffff0c!important;font:900 160px 'Barlow Condensed'!important}
.profile-photo-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#3a8fd833;font:900 190px 'Barlow Condensed'}
.profile-visual-caption{position:relative;z-index:2;padding:14px 16px;background:linear-gradient(90deg,#020913e8,#02091355);border-left:3px solid var(--gold)}
.profile-card-v2 .profile-copy{padding:34px}
.profile-identity{align-items:flex-start}.profile-overall{flex:0 0 112px;text-align:right}.profile-overall b,.profile-overall span,.profile-overall small{display:block}.profile-overall b{color:var(--gold);font:900 64px/.75 'Barlow Condensed'}.profile-overall span{margin-top:12px;color:#fff;font:800 10px Montserrat}.profile-overall small{margin-top:5px!important;color:#65b5ff!important;font-size:8px!important}
.profile-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);gap:20px;margin:22px 0}
.profile-facts{display:grid;grid-template-columns:1fr 1fr;margin:0;border:1px solid var(--line);align-content:start}.profile-facts div{min-width:0;padding:14px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.profile-facts div:nth-child(2n){border-right:0}.profile-facts div:nth-last-child(-n+2){border-bottom:0}.profile-facts dt{color:#6794bf;font:800 8px Montserrat;letter-spacing:.55px}.profile-facts dd{margin:7px 0 0;color:#fff;font:700 13px/1.35 Montserrat;overflow-wrap:anywhere}
.profile-radar{padding:16px 18px;border:1px solid #205382;background:linear-gradient(155deg,#081c33,#040d19)}.profile-radar>header{display:flex;align-items:center;justify-content:space-between}.profile-radar>header small{color:#62b6ff;font:800 8px Montserrat;letter-spacing:1px}.profile-radar h3{margin:4px 0 0;font:900 23px 'Barlow Condensed';text-transform:uppercase}.profile-radar>header>span{width:24px;height:24px;display:grid;place-items:center;border:1px solid #3b719f;border-radius:50%;color:#7cbcf3;font:700 11px serif}.profile-radar svg{display:block;width:min(100%,240px);height:190px;margin:3px auto}.radar-ring,.radar-axis{fill:none;stroke:#5494c82e;stroke-width:1}.radar-value{fill:#09d9cf42;stroke:#16e0d4;stroke-width:2;filter:drop-shadow(0 0 7px #0dd8ce77)}
.radar-legend{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.radar-legend span{display:grid;grid-template-columns:auto 1fr;gap:1px 6px;padding:7px;background:#04101e}.radar-legend i{grid-row:1/3;color:#59affc;font:800 8px Montserrat;font-style:normal}.radar-legend b{font:900 14px 'Barlow Condensed'}.radar-legend small{color:#7894b0;font-size:7px}.profile-radar>p{margin:10px 0 0;color:#718da8;font-size:8px;line-height:1.5}
@media(max-width:1150px){.profile-card-v2{grid-template-columns:280px minmax(0,1fr)}.profile-overview{grid-template-columns:1fr}.profile-radar{display:grid;grid-template-columns:minmax(220px,.7fr) 1fr;gap:0 16px}.profile-radar>header,.profile-radar>p{grid-column:1/-1}.profile-radar svg{grid-column:1}.radar-legend{grid-column:2;align-self:center}}
@media(max-width:850px){.profile-card-v2{grid-template-columns:1fr}.profile-card-v2 .profile-visual{min-height:420px}.profile-card-v2 .profile-copy{padding:28px 24px}}
@media(max-width:600px){.profile-card-v2 .profile-visual{min-height:350px}.profile-card-v2 .profile-copy{padding:22px 15px}.profile-identity{flex-direction:row!important}.profile-identity h2{font-size:35px}.profile-overall{flex-basis:78px}.profile-overall b{font-size:49px}.profile-overall span{font-size:8px}.profile-facts{grid-template-columns:1fr}.profile-facts div,.profile-facts div:nth-child(2n),.profile-facts div:nth-last-child(-n+2){border-right:0;border-bottom:1px solid var(--line)}.profile-facts div:last-child{border-bottom:0}.profile-radar{display:block}.profile-radar svg{height:180px}.radar-legend{margin-top:2px}}

/* Navegación y lectura de atributos · fase visual 3 */
.profile-tabs{display:flex;gap:3px;margin:22px 0 0;border-bottom:1px solid #244667;overflow-x:auto;scrollbar-width:thin}.profile-card-v2 .profile-tabs button{position:relative;min-height:48px;flex:1 0 auto;padding:0 18px;border:0;background:#061426;color:#7895b2;font:700 12px/1.5 Montserrat,Arial,sans-serif;letter-spacing:0;text-transform:none;cursor:pointer}.profile-tabs button:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:transparent}.profile-tabs button[aria-selected=true]{background:#0a213b;color:#fff}.profile-tabs button[aria-selected=true]:after{background:var(--gold)}.profile-tabs button:focus-visible{outline:2px solid #65b9ff;outline-offset:-3px}.profile-tabs button span{display:inline-grid;min-width:21px;height:21px;place-items:center;margin-left:6px;background:#0d355d;color:#a8d9ff;font-size:10px}
.profile-tab-panel{padding-top:22px}.profile-tab-panel+.profile-tab-panel{margin-top:25px;padding-top:25px;border-top:1px solid var(--line)}.profile-tabs-ready .profile-tab-panel+.profile-tab-panel{margin-top:0;border-top:0}.profile-tab-panel[hidden]{display:none}
.profile-panel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:18px}.profile-panel-heading small{color:#5eaff8;font:800 8px Montserrat;letter-spacing:1.1px}.profile-panel-heading h3{margin:5px 0 0;font:900 28px 'Barlow Condensed';text-transform:uppercase}.profile-panel-heading p{max-width:520px;margin:0;color:#7892ad;font-size:10px;line-height:1.65}
.profile-attribute-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-attribute-group{border:1px solid #193b5c;background:#04101e}.profile-attribute-group>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;border-bottom:1px solid #193b5c;background:#07182b}.profile-attribute-group h4{margin:0;color:#fff;font:900 18px 'Barlow Condensed';text-transform:uppercase}.profile-attribute-group>header span{color:#6686a6;font:700 7px Montserrat;text-transform:uppercase}.profile-attribute-group>div{padding:7px}
.profile-attribute-row{--tier:#718399;display:grid;grid-template-columns:minmax(140px,1fr) minmax(70px,.65fr) 36px;align-items:center;gap:12px;min-height:48px;padding:7px 9px;border-bottom:1px solid #ffffff0a}.profile-attribute-row:last-child{border-bottom:0}.profile-attribute-row>span b,.profile-attribute-row>span small{display:block}.profile-attribute-row>span b{color:#dceafa;font-size:11px;line-height:1.3}.profile-attribute-row>span small{margin-top:3px;color:var(--tier);font-size:7px}.profile-attribute-row>i{height:5px;overflow:hidden;background:#ffffff10}.profile-attribute-row>i em{display:block;height:100%;background:var(--tier);box-shadow:0 0 9px color-mix(in srgb,var(--tier),transparent 45%)}.profile-attribute-row>strong{min-width:34px;padding:5px 3px;background:var(--tier);color:#03101a;font:900 16px/1 'Barlow Condensed';text-align:center}
.tier-elite{--tier:#42e57e}.tier-excellent{--tier:#9ade48}.tier-good{--tier:#f2d743}.tier-standard{--tier:#ff9d3c}.tier-development{--tier:#ff5d67}.tier-pending{--tier:#657587}
.attribute-legend{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.attribute-legend span{padding:7px 9px;border-left:3px solid var(--tier);background:#061426;color:#a6b9cc;font-size:8px}
.profile-skill-block{padding:20px;border:1px solid #193b5c;background:#04101e}.profile-skill-block+.profile-skill-block{margin-top:12px}.profile-skill-block h4{margin:0 0 13px;color:#68b6fa;font:800 9px Montserrat;letter-spacing:.75px}.profile-skill-block>p{margin:0;color:#7d96af;font-size:11px}.skill-tags span{border-color:#4a3f19;color:#ffd260;background:#ffc94d0d}
@media(max-width:980px){.profile-attribute-groups{grid-template-columns:1fr}.profile-panel-heading{align-items:flex-start;flex-direction:column;gap:7px}}
@media(max-width:600px){.profile-card-v2 .profile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-inline:0;padding:0;overflow:visible}.profile-card-v2 .profile-tabs button{min-height:50px;padding:10px 8px;white-space:normal;overflow-wrap:anywhere}.profile-panel-heading h3{font-size:25px}.profile-panel-heading p{font-size:9px}.profile-attribute-row{grid-template-columns:minmax(125px,1fr) 60px 34px;gap:8px}.profile-attribute-row>span b{font-size:10px}.attribute-legend span{font-size:7px}}

/* Historial competitivo · fase visual 4 */
.profile-phase-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-phase-card{padding:18px;border:1px solid #1b4164;background:linear-gradient(145deg,#071a30,#040d19)}.profile-phase-card>header{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid var(--line)}.profile-phase-card>header>span{color:#188eff;font:900 30px 'Barlow Condensed'}.profile-phase-card header small{color:#6693bc;font:800 7px Montserrat;letter-spacing:.75px}.profile-phase-card h4{margin:3px 0 0;color:#fff;font:900 20px 'Barlow Condensed';text-transform:uppercase}.profile-phase-card>header>b{color:var(--gold);font:900 35px/1 'Barlow Condensed';text-align:right}.profile-phase-card>header>b small{display:block;margin-top:4px;font-size:7px}.profile-phase-card dl{display:grid;grid-template-columns:1fr 1fr;margin:12px 0}.profile-phase-card dl div{padding:8px 10px;background:#04101e}.profile-phase-card dt{color:#6383a3;font-size:7px}.profile-phase-card dd{margin:5px 0 0;color:#fff;font-size:10px;overflow-wrap:anywhere}.phase-flags{display:flex;flex-wrap:wrap;gap:6px}.phase-flags span{padding:6px 8px;border:1px solid #9a761f;background:#ffc94d10;color:#ffd15d;font:800 7px Montserrat}.phase-flags em{color:#718aa3;font-size:8px;font-style:normal}.profile-phase-card>p{margin:13px 0 0;padding-top:12px;border-top:1px solid var(--line);color:#a7bbcf;font-size:10px;line-height:1.65;white-space:pre-line}
.profile-change-summary{margin-top:15px;border:1px solid #215783;background:#061426}.profile-change-summary>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid #1c4164}.profile-change-summary>header small{color:#65adf1;font:800 7px Montserrat}.profile-change-summary h4{margin:4px 0 0;font:900 21px 'Barlow Condensed';text-transform:uppercase}.profile-change-summary>header>strong{padding:8px 10px;border:1px solid currentColor;font:800 9px Montserrat}.positive{color:#53dfa0!important}.negative{color:#ff7186!important}.neutral{color:#8ca1b6!important}.profile-change-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#173653}.profile-change-list>div{display:grid;grid-template-columns:minmax(130px,1fr) 32px 16px 32px 40px;align-items:center;gap:6px;min-height:45px;padding:8px 12px;background:#04101e}.profile-change-list span{color:#c5d6e7;font-size:10px}.profile-change-list b{font:900 15px 'Barlow Condensed';text-align:center}.profile-change-list i{color:#527696;font-size:10px;font-style:normal;text-align:center}.profile-change-list em{font:900 11px 'Barlow Condensed';font-style:normal;text-align:right}.profile-no-change{margin:0;padding:22px;color:#829ab2;font-size:10px}.profile-evolution-notice{display:grid;place-content:center;min-height:150px;margin-top:15px;border:1px dashed #214668;text-align:center}.profile-evolution-notice b{color:#dbeafa;font:900 20px 'Barlow Condensed'}.profile-evolution-notice span{margin-top:7px;color:#7892ab;font-size:9px}
@media(max-width:900px){.profile-phase-timeline,.profile-change-list{grid-template-columns:1fr}}
@media(max-width:600px){.profile-phase-card{padding:14px}.profile-phase-card>header{grid-template-columns:31px 1fr auto}.profile-phase-card>header>span{font-size:25px}.profile-phase-card>header>b{font-size:29px}.profile-change-summary>header{align-items:flex-start;flex-direction:column}.profile-change-list>div{grid-template-columns:minmax(105px,1fr) 29px 13px 29px 35px;padding-inline:9px}.profile-change-list span{font-size:9px}}
@media(max-width:420px){.profile-card-v2 .profile-copy{min-width:0}.profile-panel-heading h3,.profile-identity h2{overflow-wrap:anywhere}.profile-attribute-row{grid-template-columns:minmax(105px,1fr) 52px 32px}.profile-attribute-row>span b{overflow-wrap:anywhere}.profile-phase-card dl{grid-template-columns:1fr}.profile-change-list>div{grid-template-columns:minmax(88px,1fr) 26px 11px 26px 31px;gap:5px}}

@media(min-width:1400px){
 .tactical-layout{grid-template-columns:minmax(620px,1fr) 270px;gap:14px}
}

@media(min-width:851px) and (max-width:1399px){
 .tactical-layout{grid-template-columns:1fr}
 .bench-panel{display:grid;grid-template-columns:1fr 1fr}
 .bench-group+ .bench-group{border-top:0;border-left:1px solid var(--line)}
 .pitch-player{width:116px}
 .pitch-player-visual{width:62px;height:70px;font-size:23px}
 .pitch-player-name small{font-size:7.5px}
 .pitch-player-name b{font-size:14px}
}

@media(min-width:851px) and (max-width:1100px){
 .club-stage{grid-template-columns:1fr}
 .club-identity{display:grid;grid-template-columns:115px 1fr;gap:0 24px}
 .club-main-crest{grid-row:1/4}
 .club-meta,.club-manager{grid-column:1/-1}
}

@media(max-width:850px){
 .tactical-heading small{font-size:9px}
 .tactical-heading h3{font-size:29px}
 .tactical-heading>span{font-size:10px}
 .bench-group>header span{font-size:9px}
 .bench-group>p{font-size:9px}
 .bench-player b{font-size:11px}
 .bench-player small{font-size:8px}
 .club-manager small{font-size:8px}
 .club-manager b{font-size:19px}
 .club-manager em{font-size:8px}
}

@media(max-width:560px){
 .pitch-player-name b{font-size:12px}
 .pitch-player-name small{font-size:7px;line-height:1.2}
 .club-detail-toolbar>a,.club-detail-toolbar>span{font-size:9px}
}
