/* 09 · Implementación de las tres referencias aprobadas. */
.s27-page .s27-player{background:#021b2b url('arena-impacto-wide-v11.png') center top/100% auto no-repeat!important;border:1px solid #a9c5d8!important;border-radius:22px!important;box-shadow:0 0 0 2px #164868,0 9px 28px #00263c30!important;padding:0 10px 12px!important;overflow:hidden;isolation:isolate}
.s27-page .s27-player .s27-player-photo{height:310px!important;background:none!important;position:relative;overflow:hidden!important;margin:0 -10px}
.s27-page .s27-player .s27-player-photo::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 100%,#b6e4ff45,transparent 55%);z-index:0}
.s27-page .s27-player .s27-player-photo::after{inset:73% 0 0!important;background:linear-gradient(transparent,#021b2b)!important;z-index:2!important}
.s27-page .s27-player .s27-portrait.is-cutout{position:absolute!important;width:88%!important;height:140%!important;inset:12px 6% auto!important;object-fit:cover!important;object-position:center top!important;transform:none!important;filter:drop-shadow(0 0 5px #88d8ff70)!important;z-index:1!important;mask-image:linear-gradient(#000 65%,transparent 100%)}
.s27-page .s27-player .s27-portrait.is-natural{inset:12px 10% 0!important;width:80%!important;height:100%!important;object-position:50% 0!important;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(#000 65%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}
.s27-page .s27-player .s27-jersey{font:italic 800 170px/.9 SLVSport!important;top:65px!important;right:20px!important;z-index:0!important;color:white!important;opacity:.94!important;mask-image:linear-gradient(#000 0%,#0009 30%,#0001 72%,transparent 90%)!important;transform:skew(-4deg);text-shadow:none!important}
.s27-page .s27-player .s27-place,.s27-page .s27-player .s27-points{top:15px!important;border-radius:3px!important;padding:7px 14px!important;transform:skew(-12deg);font:italic 800 29px/1.1 SLVSport!important;box-shadow:0 3px 9px #0004!important;z-index:4!important}.s27-page .s27-player .s27-place{left:19px!important;background:white!important;color:#031623!important}.s27-page .s27-player .s27-points{right:16px!important;background:linear-gradient(120deg,#ff9500,#ff6500)!important;color:white!important}.s27-page .s27-player .s27-points small{font-size:17px}
.s27-page .s27-player .s27-player-info{margin-top:-3px!important;padding:0 5px 12px!important;min-height:112px!important;text-align:center;background:linear-gradient(#021b2b00,#021b2b 30%)}
.s27-page .s27-player .s27-player-info h3{font:italic 800 clamp(28px,2.9vw,42px)/1 SLVSport!important;color:white!important;margin:0 0 5px!important;text-shadow:0 3px 8px #0008;overflow-wrap:anywhere}.s27-page .s27-player .s27-player-info strong{font:italic 800 27px/1.05 SLVSport!important;color:#ff8200!important;display:block;margin:0 0 5px}.s27-page .s27-player .s27-player-info small{display:block;color:#cfdcf2;font:italic 800 17px/1.15 SLVSport;margin:3px 0}.s27-page .s27-player .s27-stat-grid{margin:0!important;padding:0!important;gap:5px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;background:#021b2b}
.s27-page .s27-player .s27-stat-grid>div{background:linear-gradient(135deg,#16374cda,#011725)!important;border:1px solid #a6c6db!important;border-radius:12px!important;min-height:108px!important;padding:6px 2px 4px!important;box-shadow:inset 0 0 7px #73caff18!important;display:flex;flex-direction:column;align-items:center;justify-content:center}
.s27-page .s27-player .s27-stat-art{width:68px!important;height:49px!important;max-width:100%!important}.s27-page .s27-player .s27-stat-grid small{font:italic 800 13px/1 SLVSport!important;color:#c6d6ec!important;text-transform:uppercase}.s27-page .s27-player .s27-stat-grid b{font:italic 800 36px/1 SLVSport!important;color:white!important;margin:2px 0 0}
.s27-page .s27-player>.s27-button{width:100%;margin:13px 0 0!important;min-height:47px;border:1px solid #ffa342!important;font:italic 800 26px/1 SLVSport!important;border-radius:12px!important;box-shadow:inset 0 0 5px #ffd99a80,0 0 10px #ff790026;position:relative}.s27-page .s27-player>.s27-button span{position:absolute;right:16px;font:800 29px Arial}
.s27-dialog .s27-profile{background:linear-gradient(#001a2bbb,#001726ed),url('arena-impacto-wide-v11.png') center top/cover;color:white}.s27-dialog .s27-profile .s27-modal-head{padding:14px 20px;background:#001823cc;border-color:#aec6db}.s27-dialog .s27-profile .s27-modal-head h2{font:italic 800 28px/1 SLVSport}.s27-dialog .s27-profile-hero{position:relative!important;min-height:300px!important;padding:70px 25px 20px 43%!important;display:flex!important;align-items:center;justify-content:center;text-align:center!important;background:linear-gradient(0deg,#021b2b 0%,#021b2b00 35%),url('arena-impacto-wide-v11.png') center 30%/cover!important;overflow:hidden;isolation:isolate}.s27-dialog .s27-profile-hero>.s27-portrait{position:absolute!important;inset:0 auto auto 3%!important;width:40%!important;height:340px!important;object-fit:cover!important;object-position:center top!important;transform:none!important;max-width:none!important;border:0!important;border-radius:0!important;mask-image:linear-gradient(#000 70%,transparent 100%)!important;filter:drop-shadow(0 0 5px #9cddff77)!important}.s27-dialog .s27-profile-hero>.s27-portrait.is-natural{mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(#000 60%,transparent)!important;mask-composite:intersect}
.s27-profile-logo{position:absolute;top:18px;left:17px;width:65px;height:65px;object-fit:contain;z-index:1}.s27-profile-score{position:absolute;right:20px;top:13px;transform:skew(-12deg);padding:5px 14px;background:linear-gradient(120deg,#ff9400,#ff6500);border:1px solid #ffb65c;border-radius:5px;font:italic 800 36px/1 SLVSport}.s27-profile-score small{font-size:23px}.s27-dialog .s27-profile-hero h2{font:italic 800 36px/1 SLVSport!important;margin:0 0 8px}.s27-dialog .s27-profile-hero strong{font:italic 800 28px/1 SLVSport!important;color:#ff8400!important}.s27-dialog .s27-profile-hero p{font:italic 800 17px/1.1 SLVSport!important;color:#ccd8ec!important;margin:7px 0!important}.s27-dialog .s27-profile-hero .s27-button{font:italic 800 20px/1 SLVSport!important;min-height:50px;padding:10px 20px;border:1px solid #ffb45a;border-radius:11px;margin-top:10px}
.s27-dialog .s27-profile-totals{display:flex!important;margin:0 20px 13px!important;border:1px solid #b1cadd!important;border-radius:12px;background:linear-gradient(#17384b99,#021925aa);padding:10px 0!important}.s27-dialog .s27-profile-totals>span{flex:1;text-align:center;font:italic 800 16px/1 SLVSport!important;color:#d4e0ec!important;text-transform:uppercase;border-right:1px solid #7c98ac}.s27-dialog .s27-profile-totals>span:last-child{border-right:0}.s27-dialog .s27-profile-totals b{display:block;font:italic 800 40px/1 SLVSport!important;color:#fff!important;margin:0 0 5px}
.s27-dialog .s27-profile .s27-position-tabs{display:flex!important;margin:0 20px 16px!important;gap:3px!important;border-bottom:2px solid #ff8300!important}.s27-dialog .s27-profile .s27-position-tabs button{flex:1!important;min-width:0!important;border:1px solid #809aab!important;border-radius:10px 10px 0 0!important;color:#cfd9ec!important;background:#092333!important;font:italic 800 19px/1 SLVSport!important;padding:12px 8px!important}.s27-dialog .s27-profile .s27-position-tabs button.selected{background:linear-gradient(#ff9500,#ff6600)!important;color:white!important;border-color:#ffc17b!important}
.s27-dialog .s27-profile #s27-profile-body{padding:0 20px!important}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:0!important}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid>div{display:grid!important;grid-template-columns:45% 55%;grid-template-rows:1fr 1.5fr;padding:8px 4px!important;min-height:100px!important;border-radius:12px!important;border:1px solid #aac8d9!important;background:linear-gradient(135deg,#163b50c9,#001722)!important;align-items:center;justify-items:center}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid .s27-stat-art{grid-row:1/3;grid-column:1;width:66px!important;height:70px!important;max-width:100%!important}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid small{grid-row:1;grid-column:2;font:italic 800 14px/1 SLVSport!important;color:#bfcfea!important;text-transform:uppercase}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid b{grid-row:2;grid-column:2;font:italic 800 38px/1 SLVSport!important;color:#fff!important}
.s27-profile-recent{padding:15px 20px 24px}.s27-profile-recent>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.s27-profile-recent h3{font:italic 800 27px/1 SLVSport;margin:8px 0 12px}.s27-profile-recent header small{font:italic 800 15px SLVSport;color:#b2c7d8}.s27-profile-recent article{display:grid;grid-template-columns:95px 1fr 70px;gap:12px;align-items:center;padding:12px;border:1px solid #8daabd;border-radius:9px;margin:5px 0;font:italic 800 18px SLVSport}.s27-profile-recent article time{font-size:14px;color:#bacedd}.s27-profile-recent article em{color:#ff8b00;margin:0 6px}.s27-profile-recent article b{text-align:right;color:white}
#s27-export-dialog.s27-export-redesign{width:min(760px,96vw)!important;background:linear-gradient(#001a2bdd,#001621ee),url('arena-impacto-wide-v11.png') center/cover!important;border:1px solid #c1d4e2!important;border-radius:20px!important}.s27-export-redesign .s27-modal-head{padding:18px 24px!important}.s27-export-redesign .s27-modal-head h2{font:italic 800 34px/1 SLVSport!important}.s27-export-redesign .s27-modal-head small{font:italic 400 18px SLVText!important;letter-spacing:0!important;color:#d6dfec}.s27-export-redesign .s27-studio{display:flex!important;flex-direction:column!important;padding:18px 23px 23px!important;gap:16px!important}.s27-export-redesign .s27-studio-options{display:contents!important}.s27-export-redesign .s27-format-options{order:0;display:flex!important;gap:0!important;border:1px solid #bdd1df;border-radius:12px;overflow:hidden}.s27-export-redesign .s27-format-options button{flex:1;border:0!important;border-radius:0!important;text-align:center;display:block!important;padding:13px!important;background:#092435!important;box-shadow:none!important}.s27-export-redesign .s27-format-options button[aria-pressed=true]{background:linear-gradient(#ff9800,#ff6500)!important;color:white!important}.s27-export-redesign .s27-format-options button>i{display:none!important}.s27-export-redesign .s27-format-options button span{font:italic 800 23px/1 SLVSport!important}.s27-export-redesign .s27-format-options button small{display:inline!important;font:inherit!important;margin-left:5px;color:inherit!important}.s27-export-redesign .s27-studio-preview{order:1!important;margin:0 auto!important;padding:10px!important;width:100%!important;max-width:570px!important;border:1px solid #b9d2e2!important;border-radius:14px!important;background:#001827!important}.s27-export-redesign #s27-social-canvas{width:100%!important;max-height:none!important;height:auto!important;display:block!important}.s27-export-redesign .s27-studio-switches{order:2!important;display:flex;gap:18px;padding:0!important;border:0!important}.s27-export-redesign .s27-studio-switch{flex:1;gap:10px;min-height:40px!important;margin:0!important}.s27-export-redesign .s27-studio-switch>span{font:italic 800 20px SLVSport}.s27-export-redesign .s27-studio-switch small{display:none}.s27-export-redesign .s27-photo-upload{order:3!important;width:max-content!important;padding:7px 13px!important;font-size:12px!important;margin:auto!important}.s27-export-redesign .s27-studio-help{display:none!important}.s27-export-redesign .s27-studio-actions{order:4!important;display:flex!important;gap:14px!important}.s27-export-redesign .s27-studio-actions button{flex:1;min-height:54px!important;font:italic 800 25px SLVSport!important;border-radius:12px!important;border:1px solid #f9c185!important}.s27-export-redesign .s27-export-status{font:12px SLVText!important;margin:8px 0 0!important}
@media(max-width:760px){.s27-page .s27-player .s27-player-photo{height:300px!important}.s27-page .s27-player .s27-player-info h3{font-size:36px!important}.s27-dialog .s27-profile-hero{min-height:430px!important;padding:265px 16px 20px!important;display:block!important}.s27-dialog .s27-profile-hero>.s27-portrait{inset:0 13% auto!important;width:74%!important;height:285px!important;object-fit:cover!important;transform:none!important}.s27-profile-logo{width:48px;height:48px;top:15px;left:15px}.s27-profile-score{font-size:30px;right:13px;top:12px}.s27-dialog .s27-profile-hero h2{font-size:32px!important}.s27-dialog .s27-profile-totals{margin:0 12px 13px!important}.s27-dialog .s27-profile-totals>span{font-size:12px!important}.s27-dialog .s27-profile-totals b{font-size:34px!important}.s27-dialog .s27-profile .s27-position-tabs{margin:0 12px 14px!important}.s27-dialog .s27-profile .s27-position-tabs button{font-size:16px!important;padding:12px 6px!important}.s27-dialog .s27-profile #s27-profile-body{padding:0 12px!important}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid{gap:5px!important}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid>div{display:flex!important;flex-direction:column;min-height:112px!important;padding:4px 2px!important}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid .s27-stat-art{height:52px!important;width:55px!important}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid small{font-size:10px!important}.s27-dialog .s27-profile #s27-profile-body>.s27-stat-grid b{font-size:30px!important}.s27-profile-recent{padding:12px}.s27-profile-recent article{grid-template-columns:65px 1fr 50px;gap:6px;font-size:14px;padding:10px 7px}.s27-profile-recent article time{font-size:11px}.s27-profile-recent h3{font-size:23px}.s27-profile-recent header small{font-size:11px}.s27-export-redesign .s27-studio{padding:12px!important}.s27-export-redesign .s27-modal-head{padding:15px!important}.s27-export-redesign .s27-modal-head h2{font-size:29px!important}.s27-export-redesign .s27-format-options button span{font-size:18px!important}.s27-export-redesign .s27-studio-switch>span{font-size:16px}.s27-export-redesign .s27-studio-actions button{font-size:20px!important}.s27-export-redesign .s27-studio-switches{gap:10px}.s27-export-redesign .s27-studio-preview{padding:6px!important}}
/* La foto se funde con el nombre; el suelo no reaparece como separador. */
.s27-page .s27-player{background:#021b2b!important}.s27-page .s27-player .s27-player-photo{background:url('arena-impacto-wide-v11.png') center 14%/cover no-repeat!important}.s27-page .s27-player .s27-player-info{background:#021b2b!important}.s27-page .s27-player .s27-player-photo::after{inset:66% 0 0!important;background:linear-gradient(transparent,#021b2b 92%)!important}
.s27-page .s27-player .s27-portrait.is-cutout{height:auto!important;min-height:0!important;object-fit:contain!important}.s27-page .s27-player .s27-jersey{top:54px!important;right:9px!important;font-size:190px!important}
.s27-dialog .s27-profile-hero::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(0deg,#021b2b,transparent 40%),linear-gradient(90deg,transparent 38%,#00182755 65%);pointer-events:none}.s27-dialog .s27-profile-hero>div{position:relative;z-index:3}.s27-dialog .s27-profile-hero>.s27-profile-score{z-index:4}.s27-dialog .s27-profile-hero>.s27-profile-logo{z-index:4}

/* 10 · Encuadre horizontal para conservar los focos y la profundidad del estadio. */
.s27-page .s27-player .s27-player-photo{background-position:center top!important}.s27-dialog .s27-profile-hero{background-position:center top!important}

/* El perfil conserva tanto las luces como la zona naranja de la cancha. */
.s27-dialog .s27-profile-hero{background-size:100% 100%!important}

/* Humo azul y reflejos naranjas visibles bajo la foto sin cubrir los textos. */
.s27-page .s27-player .s27-player-photo::after{inset:78% 0 0!important;background:linear-gradient(transparent,#021b2b 95%)!important}

/* En el perfil de PC la foto está a la izquierda: el foco acompaña esa posición. */
.s27-dialog .s27-profile-hero::before{content:'';position:absolute;inset:0;background:url('arena-impacto-wide-v11.png') center top/100% 100% no-repeat;transform:scaleX(-1);z-index:0;pointer-events:none}
