/* TESSIRVE 5.19.425 — selector universal de escudos.
   La geometría móvil es propia y no depende de los hacks heredados de LPF. */
html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls) .ms-hero-controls{
  display:flex!important;align-items:flex-end!important;flex-wrap:nowrap!important;
  justify-content:flex-end!important;gap:7px!important;min-width:0!important;width:max-content!important;
  max-width:100%!important;position:relative!important;overflow:visible!important;
}
html body .ms-competition-profile header.ms-competition-hero .ms-teams-launch{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;gap:7px!important;flex:0 0 auto!important;
  min-height:35px!important;padding:7px 12px!important;border-radius:11px!important;
  border:1px solid #83caa0!important;background:linear-gradient(145deg,#effff3,#d5f7dd)!important;
  box-shadow:0 2px 7px #041f1120!important;color:#075b2f!important;
  font:850 12px/1.1 Nunito,system-ui,sans-serif!important;white-space:nowrap!important;
  cursor:pointer!important;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease!important;
}
html body .ms-competition-profile header.ms-competition-hero .ms-teams-launch:hover,
html body .ms-competition-profile header.ms-competition-hero .ms-teams-launch[aria-expanded="true"]{
  filter:saturate(1.06)!important;box-shadow:0 3px 14px #072c1838!important;transform:translateY(-1px)!important;
}
html body .ms-competition-profile header.ms-competition-hero .ms-teams-launch svg{width:18px!important;height:18px!important;display:block!important;flex:none!important}
html body .ms-competition-profile header.ms-competition-hero .ms-season-icon{display:none!important}

/* Modal único, externo al header y sin interferir con las pestañas o el LIVE. */
.ms-team-picker[hidden]{display:none!important}
.ms-team-picker{position:fixed!important;inset:0!important;z-index:2147481000!important;display:flex!important;
  align-items:center!important;justify-content:center!important;padding:16px!important;box-sizing:border-box!important;
  font-family:Nunito,system-ui,sans-serif!important;
}
.ms-team-picker-backdrop{position:absolute!important;inset:0!important;background:rgba(5,18,13,.57)!important;
  backdrop-filter:blur(4px)!important;animation:ms-picker-fade .18s ease-out both!important}
.ms-team-picker-dialog{box-sizing:border-box!important;position:relative!important;z-index:2!important;
  width:min(490px,calc(100vw - 28px))!important;max-width:100%!important;max-height:min(80dvh,750px)!important;
  background:var(--ms-card,#fff)!important;color:var(--ms-ink,#152030)!important;border-radius:20px!important;
  border:1px solid color-mix(in srgb,#23804a 28%,var(--ms-line,#d8e5db))!important;
  box-shadow:0 22px 70px rgba(0,0,0,.28),0 0 0 1px #ffffff16!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  animation:ms-picker-rise .22s cubic-bezier(.2,.8,.2,1) both!important;
}
.ms-team-picker-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:15px 18px 10px!important;gap:10px!important;flex:none!important;
}
.ms-team-picker-heading div{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.ms-team-picker-heading strong{font:950 19px/1.18 Nunito,system-ui,sans-serif!important;color:inherit!important}
.ms-team-picker-heading small{color:var(--ms-muted,#64748b)!important;font-size:11px!important;line-height:1.2!important}
.ms-team-picker-heading button{width:33px!important;height:33px!important;flex:none!important;border:1px solid var(--ms-line,#d7e0e6)!important;
  border-radius:11px!important;background:var(--ms-surface,#f5f7f9)!important;color:inherit!important;
  font:26px/1 Nunito,sans-serif!important;cursor:pointer!important}
.ms-team-picker-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:7px!important;
  padding:10px 17px 14px!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;
  scrollbar-width:thin!important;align-content:start!important;
}
.ms-team-picker-team{display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;min-height:62px!important;aspect-ratio:1!important;border-radius:11px!important;
  border:1px solid var(--ms-line,#dce4ea)!important;background:var(--ms-surface,#f9fafb)!important;
  text-decoration:none!important;transition:transform .14s ease,border-color .14s ease,background .14s ease,box-shadow .14s ease!important;
}
.ms-team-picker-team:hover,.ms-team-picker-team:focus-visible{background:#e8fff0!important;transform:translateY(-2px) scale(1.035)!important;
  border-color:#24944b!important;box-shadow:0 4px 12px #00802f26!important;outline:none!important}
.ms-team-picker-team .ms-crest,.ms-team-picker-team .ms-crest-fallback,.ms-team-picker-team img{
  display:block!important;object-fit:contain!important;width:39px!important;max-width:39px!important;
  height:39px!important;max-height:39px!important;min-width:0!important;margin:auto!important;
}
.ms-team-picker-foot{display:block!important;text-align:center!important;padding:8px 10px 12px!important;
  color:var(--ms-muted,#64748b)!important;font-size:11px!important;flex:none!important;
  border-top:1px solid var(--ms-line,#e7edf0)!important}
.ms-team-picker-empty{padding:18px!important;font-size:13px!important;text-align:center!important}
body.ms-picker-visible{overflow:hidden!important}
@keyframes ms-picker-fade{from{opacity:0}to{opacity:1}}
@keyframes ms-picker-rise{from{opacity:0;transform:translateY(16px) scale(.975)}to{opacity:1;transform:none}}

/* Mobile: escudo + título/ranking + TRES ICONOS, una sola fila en TODAS las competiciones. */
@media(max-width:740px){
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls),
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero:has(> .ms-hero-controls){
   position:relative!important;display:grid!important;
   grid-template-columns:27px minmax(0,1fr) 128px!important;grid-template-rows:auto!important;
   align-items:center!important;gap:6px!important;min-height:0!important;height:auto!important;
   padding:10px 9px!important;box-sizing:border-box!important;overflow:visible!important;
 }
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls)>div:first-child,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero>div:first-child{
   grid-column:1!important;grid-row:1!important;width:27px!important;max-width:27px!important;
   justify-self:center!important;min-width:0!important;margin:0!important;padding:0!important;
 }
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls)>div:first-child .ms-crest,
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls)>div:first-child .ms-crest-fallback{
   width:27px!important;max-width:27px!important;height:27px!important;max-height:27px!important;object-fit:contain!important;
 }
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls)>div:nth-child(2),
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero>div:nth-child(2){
   grid-column:2!important;grid-row:1!important;display:block!important;min-width:0!important;max-width:100%!important;
   width:auto!important;max-height:none!important;margin:0!important;padding:0!important;align-self:center!important;
   text-align:left!important;position:relative!important;flex:none!important;
 }
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls)>div:nth-child(2) h1{
   display:block!important;font:900 clamp(11px,3.3vw,14px)/1.12 Nunito,sans-serif!important;
   margin:2px 0 3px!important;word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important;
 }
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls) .ms-competition-ranking-link{
   font:750 9px/1.1 Nunito,sans-serif!important;padding:3px 5px!important;max-width:100%!important;
   min-height:19px!important;width:max-content!important;white-space:nowrap!important;
 }
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls)>.ms-hero-controls,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero>.ms-hero-controls{
   grid-column:3!important;grid-row:1!important;position:relative!important;inset:auto!important;
   left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
   display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
   justify-content:flex-end!important;align-self:center!important;justify-self:end!important;
   height:38px!important;min-height:38px!important;width:128px!important;min-width:128px!important;
   max-width:128px!important;gap:5px!important;margin:0!important;padding:0!important;
   transform:none!important;z-index:80!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-teams-launch,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>.ms-teams-launch{
   display:flex!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;
   height:38px!important;min-height:38px!important;padding:7px!important;border-radius:11px!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-teams-launch span{display:none!important}
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-calc-tools-menu,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>.ms-calc-tools-menu{
   flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;
   height:38px!important;align-self:center!important;margin:0!important;padding:0!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-calc-tools-menu>summary.ms-calc-tools-toggle,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>.ms-calc-tools-menu>summary.ms-calc-tools-toggle{
   box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
   width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;min-height:38px!important;
   padding:7px!important;font-size:0!important;gap:0!important;border-radius:11px!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-calc-tools-menu>summary.ms-calc-tools-toggle>span,
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-calc-tools-menu>summary.ms-calc-tools-toggle>.ms-calc-tools-chevron{
   display:none!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-calc-tools-menu>summary.ms-calc-tools-toggle>.ms-calc-tools-icon{display:block!important;width:20px!important;height:20px!important;flex:none!important}
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>form,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>form{
   display:flex!important;position:relative!important;inset:auto!important;flex:0 0 38px!important;
   width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;
   margin:0!important;padding:0!important;align-items:center!important;justify-content:center!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>form>.ms-season-icon{
   box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
   width:38px!important;height:38px!important;min-height:38px!important;min-width:38px!important;
   border-radius:11px!important;border:1px solid #d1e0d4!important;background:#fff!important;
   color:#234334!important;cursor:pointer!important;padding:7px!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>form>label,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>form>label{
   display:none!important;position:absolute!important;top:calc(100% + 8px)!important;right:0!important;
   width:152px!important;max-width:152px!important;min-width:0!important;padding:12px!important;
   background:var(--ms-card,#fff)!important;color:var(--ms-ink,#18212f)!important;
   border:1px solid var(--ms-line,#d8e2eb)!important;border-radius:13px!important;
   box-shadow:0 10px 27px #071f1730!important;z-index:350!important;
   font:800 12px Nunito,sans-serif!important;white-space:normal!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>form.is-season-open>label{display:grid!important;gap:8px!important}
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>form.is-season-open>label select{
   display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:37px!important;
   font:750 13px Nunito,sans-serif!important;padding:4px 6px!important;
 }
 /* 5.19.512: selector centrado también en celular, sin panel pegado al piso. */
 .ms-team-picker{
    padding:max(12px,env(safe-area-inset-top,0px)) 14px max(12px,env(safe-area-inset-bottom,0px))!important;
    align-items:center!important;justify-content:center!important;
 }
 .ms-team-picker-dialog{
    width:min(490px,calc(100vw - 28px))!important;max-width:100%!important;
    max-height:min(84dvh,720px)!important;border-radius:20px!important;
    padding-bottom:0!important;
 }
 .ms-team-picker-grid{gap:5px!important;padding:7px 11px 11px!important}
 .ms-team-picker-team{min-height:45px!important;border-radius:9px!important}
 .ms-team-picker-team .ms-crest,.ms-team-picker-team .ms-crest-fallback,.ms-team-picker-team img{
   width:32px!important;max-width:32px!important;height:32px!important;max-height:32px!important;
 }
}
@media(max-width:360px){
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls),
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero:has(> .ms-hero-controls){
   grid-template-columns:22px minmax(0,1fr) 112px!important;gap:4px!important;padding:9px 6px!important;
 }
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls)>.ms-hero-controls,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero>.ms-hero-controls{
   width:112px!important;max-width:112px!important;min-width:112px!important;gap:4px!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-teams-launch,
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-calc-tools-menu,
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>form{
   flex-basis:34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:35px!important;
 }
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>.ms-calc-tools-menu>summary.ms-calc-tools-toggle,
 html body .ms-competition-profile header.ms-competition-hero .ms-hero-controls>form>.ms-season-icon{
   width:34px!important;min-width:34px!important;max-width:34px!important;height:35px!important;min-height:35px!important;
 }
 html body .ms-competition-profile header.ms-competition-hero:has(> .ms-hero-controls)>div:nth-child(2) h1{
   font-size:11px!important;
 }
 .ms-team-picker-team{min-height:42px!important}
}
/* Las ediciones sin escudo de competición usan la misma fila con dos columnas. */
@media(max-width:740px){
 html body .ms-competition-profile header.ms-competition-hero.is-worldcup-text-only:has(> .ms-hero-controls){
   grid-template-columns:minmax(0,1fr) 128px!important;
 }
 html body .ms-competition-profile header.ms-competition-hero.is-worldcup-text-only:has(> .ms-hero-controls)>div:first-child{grid-column:1!important}
 html body .ms-competition-profile header.ms-competition-hero.is-worldcup-text-only:has(> .ms-hero-controls)>.ms-hero-controls{grid-column:2!important}
}
@media(prefers-reduced-motion:reduce){.ms-team-picker *, .ms-team-picker-backdrop,.ms-team-picker-dialog{animation:none!important;transition:none!important}}

/* 5.19.425 — Clausura LPF 2026 PC: cuadro proporcionado y legible.
   Solo cambia el árbol desktop: mantiene los ocho cruces y el árbol móvil. */
@media(min-width:721px){
 body.single-ms_competition .ms-clausura-2026-provisional .ms-fotmob-bracket-viewport{
   overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;
   padding:12px 8px 18px!important;scrollbar-width:thin!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-fotmob-bracket-canvas{
   position:relative!important;width:100%!important;min-width:1100px!important;
   max-width:none!important;margin:0!important;padding:0!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-fotmob-desktop-v3.ms-lpf26-fixed-seed{
   position:relative!important;width:100%!important;min-width:1100px!important;
   background:transparent!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-round::before{
   position:absolute!important;top:2px!important;left:50%!important;transform:translateX(-50%)!important;
   color:var(--ms-muted,#64748b)!important;font:900 10px/1.2 Nunito,sans-serif!important;
   text-transform:uppercase!important;letter-spacing:.075em!important;white-space:nowrap!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-round[data-ms-round-key="r8"]::before{content:"OCTAVOS"}
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-round[data-ms-round-key="qf"]::before{content:"CUARTOS"}
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-round[data-ms-round-key="sf"]::before{content:"SEMIFINAL"}
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-slot>.ms-knockout-match{
   box-sizing:border-box!important;width:var(--ms-lpf26-card-width,136px)!important;
   max-width:100%!important;min-height:93px!important;height:auto!important;
   padding:8px 7px!important;border:1px solid var(--ms-line,#d5dfeb)!important;
   border-left:3px solid #84c394!important;border-radius:11px!important;
   background:var(--ms-card,#fff)!important;
   box-shadow:0 3px 8px #13273f12!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-slot .ms-knockout-team{
   grid-template-columns:25px minmax(0,1fr) 18px!important;
   min-height:27px!important;gap:5px!important;padding:0!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-slot .ms-crest,
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-slot .ms-crest-fallback,
 body.single-ms_competition .is-proyeccion-phase .ms-fotmob-desktop-v3 .ms-bracket-slot .ms-knockout-team :is(.ms-crest,.ms-crest-fallback){
   width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-slot .ms-knockout-team-code{
   font:900 11px/1.2 Nunito,sans-serif!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-slot .ms-knockout-team strong{
   font:850 12px/1.2 Nunito,sans-serif!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-slot .ms-lpf26-official-date{
   display:block!important;min-height:0!important;margin-top:5px!important;padding:5px 1px 0!important;
   color:var(--ms-muted,#667085)!important;border-top:1px solid var(--ms-line,#e5e9ee)!important;
   font:800 10px/1.26 Nunito,sans-serif!important;
   white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;
   overflow:visible!important;text-overflow:clip!important;text-align:center!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-final-showcase{
   width:254px!important;height:auto!important;min-height:220px!important;padding:15px 12px!important;
   background:linear-gradient(145deg,#fffdf3,#fff3ca 58%,#fffefa)!important;
   border:2px solid #c69b26!important;border-radius:18px!important;
   box-shadow:0 12px 28px #94680026!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-final-card>h3{
   display:block!important;font:950 15px/1.3 Nunito,sans-serif!important;
   letter-spacing:.10em!important;color:#805a08!important;margin:3px auto 6px!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-final-card>.ms-knockout-match{
   width:230px!important;padding:10px 7px!important;background:#fffbec!important;
   border-radius:12px!important;border:1px solid #e3cd8f!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-final-card .ms-lpf26-official-date{
   font:900 12px/1.35 Nunito,sans-serif!important;margin:8px auto 0!important;white-space:normal!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-lpf26-fixed-seed .ms-bracket-final-card .ms-lpf26-final-venue{
   font:800 12px/1.35 Nunito,sans-serif!important;white-space:normal!important;overflow-wrap:normal!important;
 }
 body.single-ms_competition .ms-clausura-2026-provisional .ms-bracket-connectors path{
   stroke:#7c92a8!important;stroke-width:1.65!important;
 }
}

/* 320px: las tres teclas ocupan exactamente 110px; no pisan el nombre. */
@media(max-width:360px){
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>.ms-teams-launch,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>.ms-calc-tools-menu,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>form{
   box-sizing:border-box!important;flex:0 0 34px!important;width:34px!important;max-width:34px!important;min-width:34px!important;
 }
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>.ms-teams-launch,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>.ms-calc-tools-menu>summary.ms-calc-tools-toggle,
 html body .ms-competition-profile header.ms-competition-hero.ms-lpf-compact-hero .ms-hero-controls>form>.ms-season-icon{
   height:35px!important;min-height:35px!important;width:34px!important;max-width:34px!important;min-width:34px!important;padding:6px!important;
 }
}

/* 5.19.511 — Selector público UNIVERSAL: borde metálico de exactamente 1px.
   Sólo la línea usa los colores de la ficha; fondo/escudos permanecen intactos. */
html body .ms-team-picker .ms-team-picker-team{
  box-sizing:border-box!important;border:1px solid transparent!important;
  background:
    linear-gradient(var(--ms-surface,#f9fafb),var(--ms-surface,#f9fafb)) padding-box,
    linear-gradient(118deg,
      var(--ms-picker-color-a,#a5afbd) 0%,
      color-mix(in srgb,var(--ms-picker-color-a,#a5afbd) 75%,white) 23%,
      color-mix(in srgb,var(--ms-picker-color-a,#a5afbd) 48%,var(--ms-picker-color-b,#c5cbd4)) 51%,
      color-mix(in srgb,var(--ms-picker-color-b,#c5cbd4) 74%,white) 74%,
      var(--ms-picker-color-b,#c5cbd4) 100%) border-box!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18)!important;
}
html body .ms-team-picker .ms-team-picker-team:hover,
html body .ms-team-picker .ms-team-picker-team:focus-visible{
  border-color:transparent!important;
  background:
    linear-gradient(var(--ms-card,#fff),var(--ms-card,#fff)) padding-box,
    linear-gradient(118deg,
      var(--ms-picker-color-a,#a5afbd),
      color-mix(in srgb,var(--ms-picker-color-a,#a5afbd) 65%,white) 24%,
      color-mix(in srgb,var(--ms-picker-color-a,#a5afbd) 48%,var(--ms-picker-color-b,#c5cbd4)) 52%,
      color-mix(in srgb,var(--ms-picker-color-b,#c5cbd4) 67%,white) 76%,
      var(--ms-picker-color-b,#c5cbd4)) border-box!important;
  box-shadow:0 5px 14px rgba(11,29,45,.10),inset 0 1px 0 rgba(255,255,255,.2)!important;
}
/* Apertura y cierre visibles, pero sobrios: la pantalla pública, no el admin GOAL. */
.ms-team-picker:not(.is-closing) .ms-team-picker-backdrop{
  animation:ms-picker-fade .29s ease-out both!important;
}
.ms-team-picker:not(.is-closing) .ms-team-picker-dialog{
  animation:ms-picker-reveal-511 .37s cubic-bezier(.16,1,.25,1) both!important;
}
.ms-team-picker.is-closing .ms-team-picker-backdrop{
  animation:ms-picker-fade-out-511 .19s ease-in both!important;
}
.ms-team-picker.is-closing .ms-team-picker-dialog{
  animation:ms-picker-conceal-511 .19s ease-in both!important;
}
.ms-team-picker:not(.is-closing) .ms-team-picker-team{
  animation:ms-picker-tile-511 .27s ease-out both!important;
  animation-delay:var(--ms-picker-delay,0ms)!important;
}
@keyframes ms-picker-reveal-511{from{opacity:0;transform:translateY(22px) scale(.955)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ms-picker-conceal-511{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(12px) scale(.98)}}
@keyframes ms-picker-fade-out-511{from{opacity:1}to{opacity:0}}
@keyframes ms-picker-tile-511{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
 .ms-team-picker .ms-team-picker-team,
 .ms-team-picker .ms-team-picker-dialog,
 .ms-team-picker .ms-team-picker-backdrop{animation:none!important;animation-delay:0s!important}
}
