/* Perfil de jugador: cabecera, estadísticas, evolución, competiciones, partidos y muro. CSS único responsive */
.listado {
  position: relative;
}
.listado .row {
  /*height:25px; padding:3px 0 0 !important;*/
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  position: relative;
}
.listado .row .pos {
  float: left;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 5px 0 0;
  text-align: right;
  width: 42px;
}
.listado .row .pos span {
  cursor: default;
}
.listado .row .name a {
  color: #333;
}
.listado .row .name div {
  height: 20px;
  overflow: hidden;
}
.listado .row.dobles {
  /*height:45px;*/
}
.listado .row.dobles .pos {
  height: 40px;
  font-size: 24px;
  position: relative;
  text-align: center;
  padding: 0;
  margin: -4px 0;
}
.listado .row.dobles .pos span {
  font-size: 14px;
  position: absolute;
  top: 23px;
  width: 42px;
  display: block;
}
.listado .row .full {
  padding: 1px 5px !important;
}
.listado .row .right {
  float: right;
}
.listado .row .txt {
  min-height: 20px;
}
.listado .row .sub {
  font-size: 12px;
  color: #888;
  margin: 0 0 0 16px;
}
.listado .puntos {
  position: absolute;
  top: 3px;
  right: 10px;
  cursor: default;
}
.listado .puntos div {
  float: left;
  width: 40px;
  text-align: center;
}
.listado .titulo .puntos {
  top: 5px;
}
.listado .row .puntos .pt {
  color: green;
  font-weight: bold;
  position: relative;
}
.listado .row .puntos .pt .pe {
  position: absolute;
  color: red;
  right: -17px;
  top: 5px;
  font-size: 10px;
  font-weight: normal;
}
.listado .row .puntos .pg {
  color: green;
}
.listado .row .puntos .pp {
  color: red;
}
.listado .row .puntos .ds {
  color: blue;
}
.listado .rowtit {
  padding: 3px 0 0 5px;
}
.listado .rowtit .puntos div {
  color: #FFF !important;
}
/*
.listado .grupos {height:18px; *height:24px}
.listado .grupos .capi {width:20px; float:left; text-align:center}
.listado .grupos .puesto {font-size:14px; width:30px; text-align:center}
.listado .dobles {height:30px; *height:36px}
.listado .dobles .puesto{font-size:24px}
.listado .dobles .puntos{top:10px}
*/
#text {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: none;
  box-sizing: border-box;
  color: grey;
  height: 60px;
  overflow-y: scroll;
  padding: 5px;
  resize: none;
  width: 100%;
}
.previewPosted {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 1px dashed #b3b3b3;
  box-sizing: border-box;
  color: black;
  font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
  font-size: 12px;
  margin: 0 10px 20px;
  padding: 5px;
}
.previewPosted a {
  color: #3B5998;
}
.previewPosted a:hover {
  color: #3B5998;
  text-decoration: underline;
}
.previewFotos {
  border-top: 1px dashed #cccccc;
  display: none;
  padding: 8px 0;
}
.previewFotos .previewFoto {
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid #cccccc;
  float: left;
  height: 97px;
  margin: 2px;
  width: 128px;
}
.posts {
  text-align: center;
  background: #FFF;
}
.posts img {
  border: 1px solid #cccccc;
  float: left;
}
.posts .hilo {
  text-align: left;
  border-bottom: 1px solid #eeeeee;
  clear: both;
  font-size: 14px;
  margin: 0 10px;
  padding: 15px 0 20px;
}
.posts .hilo .hiloancla {
  -moz-background-clip: padding;
  background-clip: padding-box;
  border-top: 70px solid transparent;
  margin-top: -70px;
}
.posts .hilo .postright {
  margin: 0 0 0 55px;
  position: relative;
}
.posts .hilo .postright a {
  color: #3648A0;
  font-size: 11px;
  text-decoration: none;
}
.posts .hilo .postright .adjunto {
  background: #F7F7F7;
  border: 1px solid #dddddd;
  margin: 20px 0;
  padding: 7px;
}
.posts .hilo .postright .adjunto a {
  color: #0A2637;
  font-weight: bold;
  text-decoration: none;
}
.posts .hilo .postright .adjunto .desc {
  margin: 5px 0;
}
.posts .hilo .postright .adjunto .thumb {
  float: left;
}
.posts .hilo .postright .adjunto .visorfotos {
  float: left;
  position: relative;
  width: 100%;
}
.posts .hilo .postright .adjunto .visorfotos .pagvisor {
  background-color: rgba(0, 0, 0, 0.6);
  border-top: 1px solid #777777;
  bottom: 0;
  color: #ffffff;
  margin: 0 0 0 -1px;
  padding: 13px 0;
  position: absolute;
  right: -1px;
  text-align: right;
  width: 100%;
}
.posts .hilo .postright .adjunto .visorfotos .pagvisor span {
  border-radius: 5px;
  border: 2px solid #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  margin: 0 6px 0 0;
  padding: 5px 8px;
}
.posts .hilo .postright .adjunto .visorfotos .pagvisor span.sel {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: #000000;
  cursor: default;
}
.posts .hilo .cerrar {
  background-image: url("https://storage.googleapis.com/15iguales.es/imgs/close.png");
  background-repeat: no-repeat;
  cursor: pointer;
  height: 15px;
  position: absolute;
  right: 3px;
  top: 3px;
  width: 15px;
}
.posts .hilo .cerrar:hover {
  background-position: left -32px;
}
.posts .hilo .cerrar:active {
  background-position: left -48px;
}
.posts .hilo .nombre {
  margin: 0 0 5px 0;
}
.posts .hilo .nombre a {
  color: #0A2535;
  font-size: 12px;
  font-weight: bold;
}
.posts .hilo .nombre span {
  color: #999999;
  font-size: 11px;
}
.posts .hilo .titcom {
  color: #ffffff;
  font-weight: bold;
  margin: 15px 0 0 0;
}
.posts .pag {
  background: #F9F9F9;
  margin: 15px 5px;
  padding: 10px 0;
  text-align: center;
}
.posts .hilo > img {
  margin: 0 7px 1px 0;
}
.nopost .linkPreview {
  display: none !important;
}
.nocom .comentariosadd {
  display: none !important;
}
.tooltip .posts .hilo {
  border: none;
  margin: 0;
  padding: 0;
}
.tooltip .comentarios {
  margin: 10px 0 0;
}
.postsadd {
  background: #F2F9F9;
  margin: 0 0 15px;
}
.postsadd img {
  float: left;
  height: 60px;
  margin: 10px 0 10px 10px !important;
  width: 60px;
}
.postsadd textarea {
  border: 1px solid #cccccc;
  float: left;
  height: 60px;
  margin: 10px;
  overflow: none;
  width: 80%;
}
.postsadd .addBotones {
  background: #DEF1F2;
  clear: both;
  height: 40px;
}
.postsadd .addBotones a {
  float: right;
  margin: 7px 20px;
}
.comentarios {
  background: #F2F9F9;
  margin: 10px 0 0 50px;
}
.comentarios div {
  color: #555555;
}
.comentarios .avatar {
  height: 40px;
  width: 40px;
  top: 5px;
  left: 5px;
}
.comentarios .more {
  margin: 0 0 5px;
  padding: 5px 0;
  border-bottom: 2px solid #fff;
  text-align: center;
}
.comentarios .more a {
  font-size: 11px;
  color: #5587c5;
}
.comentario {
  display: grid;
  grid-template-columns: 45px auto;
  border-bottom: 2px solid #ffffff;
  font-size: 11px;
  padding: 5px;
  position: relative;
}
.comentario .nombre {
  margin: 0 0 5px 0;
}
.comentario .nombre a {
  color: #0A2535;
  font-weight: bold;
  text-decoration: none;
}
.comentario .nombre span {
  color: #999999;
}
.comentario img {
  margin: 0 7px 1px 0;
}
.comentariosadd {
  padding: 5px;
  display: grid;
  grid-gap: 5px;
  grid-template-columns: 40px auto 75px;
}
.comentariosadd textarea {
  border: 1px solid #CCCCCC;
  color: grey;
  font-size: 12px;
  height: 40px;
  padding: 1px 3px;
}
#preview {
  border-top: 1px dashed #cccccc;
  color: black;
  display: none;
  font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
  font-size: 12px;
  padding: 5px;
  padding: 8px 0;
}
#previewImages {
  margin: 0 10px;
  width: 130px;
}
#previewButtons {
  display: none;
  margin-bottom: 39px;
  margin-top: 12px;
}
#previewContent {
  font-size: 11px;
  margin: 0 0 0 150px;
}
#previewTitle {
  font-size: 12px;
  font-weight: bold;
}
#previewTitle span {
  cursor: pointer;
  word-break: break-word;
}
#previewUrl {
  color: #666666;
  font-size: 11px;
  margin: 5px 0 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#previewDescription {
  margin: 0 10px 0 0;
}
#previewDescription span {
  cursor: pointer;
  word-break: break-word;
}
.buttonLeftActive {
  background-image: url('https://storage.googleapis.com/15iguales.es/imgs/selectionButtons.gif');
  background-position: 0 -83px;
  background-repeat: no-repeat;
  cursor: pointer;
  float: left;
  height: 22px;
  width: 25px;
}
.buttonLeftActive:active {
  background-image: url('https://storage.googleapis.com/15iguales.es/imgs/selectionButtons.gif');
  background-position: -100px -83px;
  background-repeat: no-repeat;
}
.buttonRightActive {
  background-image: url('https://storage.googleapis.com/15iguales.es/imgs/selectionButtons.gif');
  background-position: -25px -83px;
  background-repeat: no-repeat;
  cursor: pointer;
  float: left;
  height: 22px;
  margin-right: 10px;
  width: 25px;
}
.buttonRightActive:active {
  background-image: url('https://storage.googleapis.com/15iguales.es/imgs/selectionButtons.gif');
  background-position: -125px -83px;
  background-repeat: no-repeat;
}
.buttonLeftDeactive {
  background-image: url('https://storage.googleapis.com/15iguales.es/imgs/selectionButtons.gif');
  background-position: -50px -83px;
  background-repeat: no-repeat;
  float: left;
  height: 22px;
  width: 25px;
}
.buttonRightDeactive {
  background-image: url('https://storage.googleapis.com/15iguales.es/imgs/selectionButtons.gif');
  background-position: -75px -83px;
  background-repeat: no-repeat;
  float: left;
  height: 22px;
  margin-right: 10px;
  width: 25px;
}
.photoNumbers {
  float: left;
  font-size: 10px;
  margin-right: 10px;
  margin-top: 5px;
}
.chooseThumbnail {
  color: #999999;
  float: left;
  font-size: 10px;
  margin-top: 5px;
}
#previewLoading {
  height: 12px;
  position: absolute;
  right: 5px;
  top: 5px;
}
#previewLoading img {
  border: none;
}
.linkPreview {
  position: relative;
}
#noThumbDiv {
  color: #333333;
  font-size: 11px;
}
.noThumbCb {
  clear: both;
  float: left;
  margin-left: 0px;
  margin-right: 4px;
  vertical-align: -2px;
}
.nT {
  cursor: pointer;
  float: left;
  margin-top: 3px;
}
.inputPreview {
  font-size: 11px;
  margin-left: -2px;
  padding: 3px 1px;
  width: 90%;
}
#closePreview {
  background-image: url("https://storage.googleapis.com/15iguales.es/imgs/close.png");
  background-repeat: no-repeat;
  cursor: pointer;
  float: right;
  height: 15px;
  margin: 0 5px 0 0;
  width: 15px;
}
#closePreview:hover {
  background-position: left -32px;
}
#closePreview:active .closePreview:active {
  background-position: left -48px;
}
.closePreview {
  background-image: url("https://storage.googleapis.com/15iguales.es/imgs/close.png");
  background-repeat: no-repeat;
  cursor: pointer;
  float: right;
  height: 15px;
  margin: 0 5px 0 0;
  width: 15px;
}
.closePreview:hover {
  background-position: left -32px;
}
#postPreview {
  background: #F2F9F9;
  border-width: 1px 0;
  border: 1px solid #cccccc;
  margin-bottom: 20px;
  padding: 0 5px;
}
#postPreview .ico-img {
  float: left;
  margin: 7px 0 0 5px;
}
#postPreview .btn-blue {
  float: right;
  margin: 5px 0;
}
.previewImagesPosted {
  cursor: pointer;
  float: left;
  margin-right: 12px;
  width: 130px;
}
.previewContentPosted {
  float: left;
  font-size: 11px;
}
.previewTitlePosted {
  color: #3B5998;
  font-size: 12px;
  font-weight: bold;
  margin: 0 auto 2px auto;
}
.previewTitlePosted a {
  color: #3B5998;
  font-size: 12px;
  font-weight: bold;
  margin: 0 auto 2px auto;
}
.previewTitlePosted a:hover {
  color: #3B5998;
  text-decoration: underline;
}
.previewTitlePosted span {
  cursor: pointer;
  word-break: break-word;
}
.previewUrlPosted {
  color: gray !important;
  font-size: 11px;
  margin: 0 auto 9px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.previewUrlPosted a {
  color: gray !important;
  font-size: 11px;
  margin: 0 auto 9px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.previewUrlPosted a:hover {
  color: #3B5998;
  text-decoration: underline;
}
.previewDescriptionPosted {
  margin: 0 auto 8px auto;
}
.previewDescriptionPosted span {
  color: gray;
  word-break: break-word;
}
.previewTextPosted {
  margin-bottom: 10px;
  word-break: break-word;
}
.videoPostPlay {
  background-image: url('https://storage.googleapis.com/15iguales.es/imgs/play.png');
  bottom: 5px;
  float: left;
  height: 26px;
  left: 5px;
  margin-left: 5px;
  margin-top: -31px;
  width: 35px;
  z-index: 1;
}
/* Compositor nuevo (class/posts.php) en páginas aún sin rediseñar */
#postPreview .lp-foto {
  float: left;
  margin: 7px 0 0 5px;
  cursor: pointer;
}
.linkPreview .lp-avatar {
  display: none;
}
.partidos {
  text-align: center;
}
.partido {
  background: url("https://storage.googleapis.com/15iguales.es/imgs/marcador.png?1") no-repeat left top #364751;
  box-shadow: 3px 2px 3px #000;
  height: 121px;
  margin: 15px auto;
  position: relative;
  width: 336px;
  text-align: left;
}
.partido div {
  position: absolute;
  color: #feeb0b;
}
.partido .j11,
.partido .j12,
.partido .j21,
.partido .j22 {
  left: 17px;
  width: 180px;
  height: 13px;
  overflow: hidden;
  font-size: 10px;
}
.partido .j11 select,
.partido .j12 select,
.partido .j21 select,
.partido .j22 select {
  font-size: 9px;
  margin: -2px 0 0 -2px;
  width: 163px;
}
.partido .j11 {
  top: 17px;
}
.partido .j12 {
  top: 32px;
}
.partido .j21 {
  top: 66px;
}
.partido .j22 {
  top: 81px;
}
.partido div[class^="set"] {
  right: 110px;
  font-size: 28px;
  font-family: verdana;
}
.partido .set1 {
  top: 11px;
}
.partido .set2 {
  top: 60px;
}
.partido div[class^="jo"] {
  font-size: 28px;
  font-family: verdana;
}
.partido .jo11 {
  top: 11px;
  right: 71px;
}
.partido .jo21 {
  top: 60px;
  right: 71px;
}
.partido .jo12 {
  top: 11px;
  right: 41px;
}
.partido .jo22 {
  top: 60px;
  right: 41px;
}
.partido .jo13 {
  top: 11px;
  right: 11px;
}
.partido .jo23 {
  top: 60px;
  right: 11px;
}
.partido .notas {
  top: 101px;
  left: 10px;
  font-size: 12px;
  width: 320px;
  text-align: center;
  color: white;
}
.partido .notas div {
  left: 0;
}
.partido .notas a {
  color: #fff;
}
.partido .notas input.datetime {
  width: 110px;
  font-size: 12px;
  padding: 0 5px;
  margin: 0 0 0 5px;
}
.partido .notas .horario {
  font-size: 10px;
  margin: 0 0 0 2px;
  color: #FFF;
}
.partido .notas .icoredcross {
  cursor: pointer;
}
.partido .notas .enviarres {
  float: right;
  font-size: 10px;
  cursor: pointer;
}
.partido .notas .enviarres .icomin-edit {
  vertical-align: bottom;
}
.partido .notas label {
  color: #fff;
  float: left;
}
.partido .notas .savePartido {
  float: right;
}
.partido div[class^="winner"] {
  left: 12px;
  width: 188px;
  height: 34px;
  border: 2px solid #E87F17;
  color: white;
}
.partido .winner1 {
  top: 15px;
}
.partido .winner2 {
  top: 63px;
}
.partido .llama1 {
  top: 31px;
  left: 160px;
}
.partido .llama2 {
  top: 80px;
  left: 160px;
}
.partido .lluvia,
.partido .wo,
.partido .woj {
  height: 100px;
  right: 5px;
  position: absolute;
  top: 4px;
  width: 128px;
}
.partido .lluvia {
  background: url("https://storage.googleapis.com/15iguales.es/imgs/lluvia.png");
}
.partido .lluvia > * {
  display: none;
}
.partido .wo {
  background: url("https://storage.googleapis.com/15iguales.es/imgs/wo.png");
}
.partido .woj {
  background: url("https://storage.googleapis.com/15iguales.es/imgs/woj.png");
}
.partido .notastop {
  width: 100%;
}
.partido .notastop div {
  left: 10px;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
}
.partido .notastop div .instalacion {
  font-weight: normal;
}
@media all and (max-width: 346px) {
  .partido {
    background: url("https://storage.googleapis.com/15iguales.es/imgs/marcador310.png?1") no-repeat left top #364751;
    width: 310px;
  }
  .partido .j11,
  .partido .j12,
  .partido .j21,
  .partido .j22 {
    width: 153px;
  }
  .partido div[class^="winner"] {
    width: 162px;
  }
  .partido .notas {
    width: 294px;
  }
}
/* Muro modernizado: mismo marcado que class/posts.php e inc/posts.js, estilos nuevos bajo .c-muro */
.c-muro {
  background: none !important;
  /* Caja para publicar */
  /* Post */
  /* Anclados (sustituyen al antiguo tablón de avisos) */
  /* Comentarios */
  /* Paginado */
}
.c-muro .posts {
  background: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-muro .linkPreview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px 12px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.c-muro .linkPreview:focus-within {
  border-color: color-mix(in srgb, var(--sport) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sport) 15%, transparent), var(--shadow);
}
.c-muro .linkPreview .lp-top {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.c-muro .linkPreview .lp-avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 0;
  float: none;
}
.c-muro .linkPreview #text {
  display: block;
  width: 100%;
  min-height: 44px;
  max-height: 240px;
  height: auto;
  field-sizing: content;
  border: 0;
  background: none;
  color: var(--text);
  padding: 10px 0 0;
  font: 16px/1.45 var(--f);
  overflow-y: auto;
  resize: none;
  outline: none;
}
.c-muro .linkPreview #text::placeholder {
  color: var(--text-2);
}
.c-muro .linkPreview .previewFotos {
  border: 0;
  margin: 12px 0 0 52px;
  padding: 0;
  position: relative;
}
.c-muro .linkPreview .previewFotos .previewFoto {
  width: 110px;
  height: 82px;
  border: 0;
  border-radius: 10px;
  margin: 0 8px 8px 0;
}
.c-muro .linkPreview .previewFotos .closePreview {
  position: absolute;
  right: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  cursor: pointer;
}
.c-muro .linkPreview .previewFotos .closePreview:before {
  content: '×';
  display: grid;
  place-items: center;
  height: 100%;
  font: 400 20px/1 var(--f);
  color: var(--text-2);
}
.c-muro .linkPreview #preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0 0 52px;
  padding: 10px;
  color: var(--text);
  font: 13px var(--f);
}
.c-muro .linkPreview #previewTitle {
  font-size: 14px;
}
.c-muro .linkPreview #previewUrl {
  color: var(--text-2);
}
.c-muro #postPreview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
}
.c-muro #postPreview .lp-foto {
  float: none;
  margin: 0 0 0 -12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text-2);
  font: 600 14px var(--f);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.c-muro #postPreview .lp-foto [class^="icomin-"] {
  width: 18px;
  height: 18px;
  color: var(--sport);
}
.c-muro #postPreview .lp-foto:hover {
  background: var(--surface-2);
  color: var(--text);
}
.c-muro .hilo {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 12px;
  margin: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: 15px/1.5 var(--f);
  color: var(--text);
}
.c-muro .hilo > img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  object-fit: cover;
  margin: 0;
  float: none;
}
.c-muro .hilo .clear {
  display: none;
}
.c-muro .hilo .hiloancla {
  position: absolute;
}
.c-muro .hilo .postright {
  margin: 0;
  min-width: 0;
  word-wrap: break-word;
}
.c-muro .hilo .postright a {
  font-size: inherit;
  color: var(--link);
}
.c-muro .hilo .nombre {
  margin: 0 0 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.c-muro .hilo .nombre a {
  color: var(--text) !important;
  font: 700 15px var(--f);
}
.c-muro .hilo .nombre > span {
  color: var(--text-2);
  font-size: 13px;
}
.c-muro .hilo .cerrar {
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: none;
  opacity: 0.5;
}
.c-muro .hilo .cerrar:before {
  content: '×';
  display: grid;
  place-items: center;
  height: 100%;
  font: 400 22px/1 var(--f);
  color: var(--text-2);
}
.c-muro .hilo .cerrar:hover {
  opacity: 1;
  background: var(--surface-2);
}
.c-muro .hilo .adjunto {
  margin: 12px 0 4px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  overflow: hidden;
}
.c-muro .hilo .adjunto a {
  color: var(--text) !important;
  font-weight: 700;
}
.c-muro .hilo .adjunto .thumb img {
  border-radius: 8px;
  border: 0;
}
.c-muro .hilo .adjunto .desc {
  color: var(--text-2);
  font-size: 14px;
}
.c-muro .hilo .adjunto .visorfotos img {
  border-radius: 8px;
  border: 0;
}
.c-muro .hilo .comentarios {
  grid-column: 1/-1;
  margin: 14px 0 0 56px;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-muro .hilo .comentarios .listacoms,
.c-muro .hilo .comentarios .listacoms > div[id^=comments_more] {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-muro .hilo .comentarios > div {
  color: inherit;
}
.c-muro .hilo .comentarios .more {
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
}
.c-muro .hilo .comentarios .more a {
  font: 600 13px var(--f);
  color: var(--link);
}
.c-muro .hilo.anclado {
  border-color: color-mix(in srgb, var(--sport) 45%, transparent);
  background: color-mix(in srgb, var(--sport) 6%, var(--surface));
}
.c-muro .hilo.anclado:before {
  content: '';
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--sport);
}
.c-muro .nombre .pin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sport) 15%, var(--surface));
  color: var(--text) !important;
  font: 600 12px var(--f);
}
.c-muro .nombre .pin .icomin-pin {
  width: 13px;
  height: 13px;
  color: var(--sport);
}
.c-muro .comentario {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0 10px;
  padding: 0;
  border: 0;
  font-size: 14px;
  background: none;
}
.c-muro .comentario img,
.c-muro .comentario .avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  border: 0;
  margin: 0;
  float: none;
}
.c-muro .comentario .comright {
  position: relative;
  background: var(--surface-2);
  border-radius: 4px 14px 14px 14px;
  padding: 8px 12px;
  color: var(--text);
}
.c-muro .comentario .nombre {
  margin: 0 0 2px;
}
.c-muro .comentario .nombre a {
  font-size: 13px;
}
.c-muro .comentario .nombre span {
  font-size: 12px;
  color: var(--text-2);
}
.c-muro .comentario .cerrar {
  top: 2px;
  right: 2px;
}
.c-muro .comentariosadd {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 0;
  background: none;
}
.c-muro .comentariosadd .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
}
.c-muro .comentariosadd textarea {
  height: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 14px;
  background: var(--surface);
  color: var(--text);
  font: 14px var(--f);
  resize: none;
}
.c-muro .pag {
  background: none;
  margin: 4px 0;
  padding: 0;
  text-align: center;
}
/* Invitación a iniciar sesión para comentar (js-src/inc/posts.js) */
.com-login {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 8px 0 0;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text-2);
  font: 500 14px/1.3 var(--f);
}
.com-login > [class^="icomin-"] {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--sport);
}
.com-login .com-login__t {
  flex: 1 1 160px;
  color: var(--text);
  font-weight: 600;
}
.com-login .com-login__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nocom .com-login {
  display: none;
}
/* Marcador ligero: mismo marcado que class/partidos.php::getListado, en rejilla en vez de posiciones absolutas.
   Filas: 1 etiqueta (reto/grupo/instalación) · 2-3 pareja 1 · 4-5 pareja 2 · 6 notas y acciones */
.c-marcadores {
  --score-bg: color-mix(in srgb, var(--brand) 5%, var(--surface));
  --score-cell: color-mix(in srgb, var(--brand) 9%, var(--surface));
}
.c-marcadores .partidos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.c-marcadores .partido {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px 10px 24px 24px 24px;
  grid-template-rows: auto minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto) auto;
  column-gap: 4px;
  align-items: center;
  position: relative;
  isolation: isolate;
  width: auto;
  height: auto;
  margin: 0 !important;
  padding: 10px 12px 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--score-bg);
  box-shadow: none;
  color: var(--text);
  font: 13px/1.3 var(--f);
  /* Nombres */
  /* individuales: nombre centrado con su casilla */
  /* Sets y juegos */
  /* Sets: casilla rellena, grande. Juegos: sin caja, más pequeños y separados por un hueco; el juego ganado de cada set en el color del deporte */
  /* Modal de resultado: las casillas llevan un input que se incrementa al pulsar */
  /* Separador entre parejas */
  /* Ganador: franja con acento a la izquierda; nombre y números en negrita */
  /* Le toca llamar */
  /* No jugado (W.O. injustificado, justificado o climatología): sello en el azul de marca con "W.O." grande; justificado y clima llevan iconos */
  /* anula el estilo antiguo (partidos.src.less) que ocultaba el contenido de .lluvia */
  /* Etiqueta superior: RETO / GRUPO N + instalación */
  /* Notas y acciones */
}
.c-marcadores .partido div {
  position: relative;
  z-index: 1;
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  height: auto;
  color: inherit;
  font-family: inherit;
  overflow: visible;
}
.c-marcadores .partido .j11,
.c-marcadores .partido .j12,
.c-marcadores .partido .j21,
.c-marcadores .partido .j22 {
  grid-column: 1;
  padding: 3px 6px 3px 10px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c-marcadores .partido .j11:empty,
.c-marcadores .partido .j12:empty,
.c-marcadores .partido .j21:empty,
.c-marcadores .partido .j22:empty {
  display: none;
}
.c-marcadores .partido .j11 select,
.c-marcadores .partido .j12 select,
.c-marcadores .partido .j21 select,
.c-marcadores .partido .j22 select {
  font-size: 12px;
  width: 100%;
  margin: 0;
}
.c-marcadores .partido .j11 {
  grid-row: 2;
}
.c-marcadores .partido .j12 {
  grid-row: 3;
}
.c-marcadores .partido .j21 {
  grid-row: 4;
}
.c-marcadores .partido .j22 {
  grid-row: 5;
}
.c-marcadores .partido .j11,
.c-marcadores .partido .j21 {
  padding-top: 5px;
}
.c-marcadores .partido .j12:not(:empty),
.c-marcadores .partido .j22:not(:empty) {
  padding-bottom: 5px;
}
.c-marcadores .partido .j11:has(+ .j12:empty),
.c-marcadores .partido .j21:has(+ .j22:empty) {
  padding-bottom: 5px;
  align-self: center;
}
.c-marcadores .partido div[class^="set"] {
  grid-column: 2;
  display: grid;
  place-items: center;
  align-self: center;
  min-height: 34px;
  margin: 3px 0;
  border-radius: 8px;
  background: var(--brand);
  font: 700 19px/1 var(--mono);
  color: #fff;
}
.c-marcadores .partido div[class^="set"]:empty {
  background: var(--score-cell);
}
.c-marcadores .partido div[class^="set"].w {
  background: var(--sport);
}
.c-marcadores .partido div[class^="jo"] {
  display: grid;
  place-items: center;
  align-self: center;
  min-height: 34px;
  font: 500 15px/1 var(--mono);
  color: var(--text-2);
}
.c-marcadores .partido div[class^="jo"].w {
  color: var(--sport);
  font-weight: 800;
  font-size: 17px;
}
.c-marcadores .partido div[class^="jo"]:empty:after {
  content: '·';
  opacity: 0.4;
}
.c-marcadores .partido .jo11,
.c-marcadores .partido .jo21 {
  grid-column: 4;
}
.c-marcadores .partido .jo12,
.c-marcadores .partido .jo22 {
  grid-column: 5;
}
.c-marcadores .partido .jo13,
.c-marcadores .partido .jo23 {
  grid-column: 6;
}
.c-marcadores .partido .set1,
.c-marcadores .partido .jo11,
.c-marcadores .partido .jo12,
.c-marcadores .partido .jo13 {
  grid-row: 2/4;
}
.c-marcadores .partido .set2,
.c-marcadores .partido .jo21,
.c-marcadores .partido .jo22,
.c-marcadores .partido .jo23 {
  grid-row: 4/6;
}
.c-marcadores .partido div[class^="set"] div,
.c-marcadores .partido div[class^="jo"] div {
  position: static;
  width: 100%;
  height: 100%;
}
.c-marcadores .partido div[class^="set"] input,
.c-marcadores .partido div[class^="jo"] input {
  position: static;
  width: 100%;
  height: 100%;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.c-marcadores .partido div[class^="jo"] input {
  background: var(--score-cell);
  color: var(--text);
  font-weight: 700;
}
.c-marcadores .partido div[class^="set"]:has(input) {
  background: var(--brand);
}
.c-marcadores .partido div[class^="jo"]:has(input):after {
  content: none;
}
.c-marcadores .partido:after {
  content: '';
  grid-row: 4;
  grid-column: 1/-1;
  align-self: start;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.c-marcadores .partido div[class^="winner"] {
  grid-column: 1/-1;
  z-index: 0;
  align-self: stretch;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 8px;
  margin: 0 -6px;
  background: color-mix(in srgb, var(--sport) 12%, transparent);
  box-shadow: inset 3px 0 0 var(--sport);
}
.c-marcadores .partido .winner1 {
  grid-row: 2/4;
}
.c-marcadores .partido .winner2 {
  grid-row: 4/6;
}
.c-marcadores .partido:has(.winner1) :is(.j11,.j12),
.c-marcadores .partido:has(.winner2) :is(.j21,.j22) {
  font-weight: 700;
}
.c-marcadores .partido .llama1,
.c-marcadores .partido .llama2 {
  grid-column: 1;
  justify-self: end;
  width: 14px;
  height: 14px;
  margin-right: 2px;
  color: var(--sport);
  top: auto;
  left: auto;
}
.c-marcadores .partido .llama1 {
  grid-row: 2;
}
.c-marcadores .partido .llama2 {
  grid-row: 4;
}
.c-marcadores .partido .lluvia,
.c-marcadores .partido .wo,
.c-marcadores .partido .woj {
  grid-column: 2/-1;
  grid-row: 2/6;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  top: auto;
  right: auto;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  text-align: center;
}
.c-marcadores .partido .lluvia b,
.c-marcadores .partido .wo b,
.c-marcadores .partido .woj b {
  font: 800 30px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--accent);
}
.c-marcadores .partido .lluvia [class^="icomin-"],
.c-marcadores .partido .wo [class^="icomin-"],
.c-marcadores .partido .woj [class^="icomin-"] {
  width: 18px;
  height: 18px;
  color: #fff;
  opacity: 0.85;
}
.c-marcadores .partido .lluvia span,
.c-marcadores .partido .wo span,
.c-marcadores .partido .woj span {
  display: inline-block;
}
.c-marcadores .partido .lluvia,
.c-marcadores .partido .woj {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-content: center;
}
.c-marcadores .partido .lluvia b,
.c-marcadores .partido .woj b {
  flex-basis: 100%;
  text-align: center;
}
:root[data-theme=dark] .c-marcadores .partido .lluvia,
:root[data-theme=dark] .c-marcadores .partido .wo,
:root[data-theme=dark] .c-marcadores .partido .woj {
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.c-marcadores .partido .lluvia {
  background: var(--brand);
}
.c-marcadores .partido .lluvia > b {
  display: block;
}
.c-marcadores .partido .lluvia > [class^="icomin-"] {
  display: inline-block;
}
.c-marcadores .partido .wo:empty:after,
.c-marcadores .partido .woj:empty:after {
  content: 'W.O.';
  font: 800 30px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--accent);
}
.c-marcadores .partido .notastop {
  grid-row: 1;
  grid-column: 1/-1;
  width: auto;
  margin: 0 0 4px;
}
.c-marcadores .partido .notastop div {
  left: auto;
  font: 600 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.c-marcadores .partido .notastop .instalacion {
  font: 500 12px var(--f);
  letter-spacing: 0;
  text-transform: none;
  margin-left: 6px;
}
.c-marcadores .partido .notas {
  grid-row: 6;
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  width: auto;
  top: auto;
  left: auto;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-2);
  text-align: left;
}
.c-marcadores .partido .notas div {
  left: auto;
}
.c-marcadores .partido .notas .nl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  flex: 1;
  min-width: 0;
}
.c-marcadores .partido .notas a {
  color: var(--text-2);
  display: inline-flex;
}
.c-marcadores .partido .notas a:hover {
  color: var(--text);
}
.c-marcadores .partido .notas .ico-light,
.c-marcadores .partido .notas [class^="icomin-"] {
  color: var(--text-2);
  width: 16px;
  height: 16px;
}
.c-marcadores .partido .notas .horario {
  font: 500 12px var(--mono);
  color: var(--text-2);
  margin: 0;
}
.c-marcadores .partido .notas input.datetime {
  width: 130px;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  margin: 0;
}
.c-marcadores .partido .notas .enviarres {
  float: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font: 600 12px var(--f);
  color: var(--text);
  cursor: pointer;
}
.c-marcadores .partido .notas .enviarres [class^="icomin-"] {
  width: 14px;
  height: 14px;
  color: var(--sport);
}
.c-marcadores .partido .notas .enviarres:hover {
  border-color: var(--sport);
}
.c-marcadores .partido .notas label {
  color: var(--text-2);
  float: none;
}
html {
  scroll-behavior: smooth;
}
.p-perfil {
  font: 15px/1.5 var(--f);
  color: var(--text);
  padding-bottom: 64px;
}
.p-perfil h2,
.p-perfil h3 {
  color: var(--text);
}
.p-perfil [id] {
  scroll-margin-top: calc(var(--hh) + 72px);
}
.p-perfil .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.p-perfil .c-btn {
  min-height: 42px;
  font-size: 14px;
}
.p-perfil select {
  font: 14px var(--f);
  min-height: 42px;
  padding: 6px 12px;
  border-radius: 10px;
  width: 100%;
}
.p-perfil .pf-vacio {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}
.p-perfil .c-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.p-perfil .c-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 18px/1.2 var(--f);
  margin: 0 0 14px;
}
.p-perfil .c-card h2 [class^="icomin-"] {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--text-2);
}
.p-perfil .pf-h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 18px/1.2 var(--f);
  margin: 6px 0 12px;
}
.p-perfil .pf-h2 [class^="icomin-"] {
  width: 20px;
  height: 20px;
  color: var(--text-2);
}
/* CABECERA (sobre la franja) */
.pf-head {
  color: #fff;
  padding: 34px 0 26px;
}
.pf-head .u-eyebrow {
  color: rgba(255, 255, 255, 0.85);
}
.pf-head h1 {
  font: 700 clamp(30px, 4.2vw, 50px)/1.05 var(--f);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 12px 0 12px;
  text-wrap: balance;
}
.pf-head__in {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 30px;
  align-items: end;
}
.pf-foto {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.92);
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
}
.pf-deps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.pf-dep {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pf-dep:before {
  background: var(--sport);
}
.pf-sobre {
  max-width: 62ch;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
}
.pf-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* BARRA DE ENLACES */
.c-anchors {
  position: sticky;
  top: var(--hh);
  z-index: 2;
  margin: 0 0 24px;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.c-anchors .l-wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.c-anchors a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 14px;
  font: 600 14px var(--f);
  color: var(--text-2);
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}
.c-anchors a:after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.c-anchors a:hover,
.c-anchors a.on {
  color: var(--text);
}
.c-anchors a.on:after {
  transform: none;
}
.c-anchors [class^="icomin-"] {
  width: 16px;
  height: 16px;
}
/* COLUMNAS */
.pf-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 20px;
  align-items: start;
}
.pf-main,
.pf-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
/* ESTADÍSTICAS */
.pf-filtro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.pf-filtro:empty {
  display: none;
}
.pf-filtro.corto {
  max-height: 84px;
  overflow: hidden;
}
.pf-filtro .c-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 36px;
  padding: 6px 14px;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 13px;
  text-align: left;
}
.pf-filtro .c-chip > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-filtro .c-chip:before {
  display: none;
}
.pf-filtro .c-chip.on {
  background: var(--brand);
  color: var(--surface);
}
.pf-filtro .c-chip:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sport) 40%, transparent);
  outline-offset: 1px;
}
.pf-mas {
  margin: -6px 0 16px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--link);
  font: 600 13px var(--f);
  cursor: pointer;
  text-decoration: underline;
}
.pf-top {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.pf-donut {
  position: relative;
  width: 150px;
  height: 150px;
}
.pf-donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.pf-donut svg circle {
  fill: none;
  stroke-width: 3.2;
}
.pf-donut svg .bg {
  stroke: var(--surface-2);
}
.pf-donut svg .fg {
  stroke: var(--ok);
  stroke-linecap: round;
  animation: pf-donut 1.1s var(--ease, ease-out) both;
}
.pf-donut > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pf-donut > div b {
  font: 700 32px/1 var(--mono);
  color: var(--text);
}
.pf-donut > div span {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 4px;
}
@keyframes pf-donut {
  from {
    stroke-dasharray: 0, 100;
  }
}
.pf-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pf-kpi {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  min-width: 0;
}
.pf-kpi b {
  display: block;
  font: 700 24px/1.1 var(--mono);
  color: var(--text);
}
.pf-kpi span {
  display: block;
  margin-top: 4px;
  font: 600 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.pf-kpi small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-kpi.g b {
  color: var(--ok);
}
.pf-kpi.p b {
  color: var(--ko);
}
.pf-kpi.oro b {
  color: var(--warn);
}
.pf-forma-wrap {
  margin-top: 20px;
}
.pf-lbl {
  display: block;
  margin: 0 0 8px;
  font: 600 12px var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-2);
}
.pf-lbl small {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--f);
  font-weight: 400;
}
.pf-forma {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pf-forma li {
  flex: 1;
  max-width: 36px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font: 700 12px var(--mono);
}
.pf-forma li.g {
  background: color-mix(in srgb, var(--ok) 16%, var(--surface));
  color: var(--ok);
}
.pf-forma li.p {
  background: color-mix(in srgb, var(--ko) 14%, var(--surface));
  color: var(--ko);
}
.pf-bars {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.pf-bar__t {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
}
.pf-bar__t em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-2);
  font-size: 13px;
}
.pf-bar__b {
  height: 10px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ko) 26%, var(--surface-2));
  overflow: hidden;
}
.pf-bar__b i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--ok);
  animation: pf-bar 0.8s var(--ease, ease-out) both;
}
@keyframes pf-bar {
  from {
    width: 0 !important;
  }
}
/* CARA A CARA */
.pf-h2h__marcador {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 14px;
}
.pf-h2h__marcador div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--surface-2);
}
.pf-h2h__marcador div b {
  font: 700 38px/1 var(--mono);
  color: var(--text-2);
}
.pf-h2h__marcador div span {
  font-size: 13px;
  color: var(--text-2);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-h2h__marcador div.lider {
  background: color-mix(in srgb, var(--sport) 12%, var(--surface));
}
.pf-h2h__marcador div.lider b {
  color: var(--text);
}
.pf-h2h__marcador i {
  font-style: normal;
  font: 700 22px var(--mono);
  color: var(--text-2);
}
.pf-h2h__lista {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pf-h2h__lista li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.pf-h2h__lista li .r {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font: 700 12px var(--mono);
}
.pf-h2h__lista li.g .r {
  background: color-mix(in srgb, var(--ok) 16%, var(--surface));
  color: var(--ok);
}
.pf-h2h__lista li.p .r {
  background: color-mix(in srgb, var(--ko) 14%, var(--surface));
  color: var(--ko);
}
.pf-h2h__lista li a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--text);
}
.pf-h2h__lista li a b {
  font: 600 14px var(--mono);
}
.pf-h2h__lista li a small {
  font-size: 12px;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-h2h__lista li a:hover b {
  text-decoration: underline;
}
/* EVOLUCIÓN */
.pf-evo .pf-evo__resumen {
  margin: -6px 0 12px;
  font-size: 14px;
  color: var(--text-2);
}
.pf-evo .pf-evo__resumen b {
  color: var(--text);
}
.pf-evo .pf-evo__resumen .sube {
  color: var(--ok);
}
.pf-evo .pf-evo__resumen .baja {
  color: var(--ko);
}
.pf-evo .pf-sel {
  display: block;
  margin: 0 0 10px;
  max-width: 360px;
}
.pf-evo .chartimg {
  width: 100%;
  min-height: 120px;
}
.pf-evo .chartimg svg {
  display: block;
  max-width: 100%;
  touch-action: pan-y;
  overflow: visible;
}
.pf-evo .chartimg svg .g {
  stroke: var(--line);
  stroke-width: 1;
}
.pf-evo .chartimg svg .t {
  fill: var(--text-2);
  font: 11px var(--mono);
}
.pf-evo .chartimg svg .l {
  fill: none;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.pf-evo .chartimg svg .l.a {
  stroke: var(--sport);
}
.pf-evo .chartimg svg .l.b {
  stroke: var(--info);
  stroke-dasharray: 6 5;
}
.pf-evo .chartimg svg .p.a {
  fill: var(--sport);
}
.pf-evo .chartimg svg .p.now {
  fill: var(--sport);
  stroke: var(--surface);
  stroke-width: 3;
}
.pf-evo .chartimg svg .sep {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
.pf-evo .chartimg svg .temp {
  fill: var(--text-2);
  font: 600 10px var(--mono);
  text-transform: uppercase;
}
.pf-evo .chartimg svg .best {
  fill: none;
  stroke: var(--warn);
  stroke-width: 2;
}
.pf-evo .chartimg svg .n {
  fill: var(--text);
  font: 700 13px var(--mono);
}
.pf-evo .chartimg svg .guia {
  stroke: var(--text-2);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.pf-evo .pf-tip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--text);
  color: var(--surface);
  font: 12px/1.35 var(--f);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.pf-evo .pf-tip[hidden] {
  display: none;
}
.pf-evo .pf-tip b {
  font-weight: 700;
}
.pf-evo .pf-tip .a,
.pf-evo .pf-tip .b {
  display: block;
}
.pf-evo .pf-leyenda {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 13px;
}
.pf-evo .pf-leyenda li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pf-evo .pf-leyenda li:before {
  content: '';
  width: 22px;
  height: 0;
  border-top: 3px solid var(--sport);
}
.pf-evo .pf-leyenda li.b:before {
  border-top: 3px dashed var(--info);
}
.pf-evo .pf-evo__tabla {
  margin-top: 12px;
  font-size: 13px;
}
.pf-evo .pf-evo__tabla summary {
  cursor: pointer;
  color: var(--text-2);
  padding: 6px 0;
}
.pf-evo .pf-evo__tabla summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sport) 40%, transparent);
}
.pf-evo .pf-evo__tabla table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}
.pf-evo .pf-evo__tabla th,
.pf-evo .pf-evo__tabla td {
  text-align: left;
  padding: 6px 10px 6px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.pf-evo .pf-evo__tabla th {
  font: 600 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-2);
}
/* COMPETICIONES */
.pf-comps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.pf-comp {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 14px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 4px 0 var(--sport), var(--shadow);
  color: var(--text);
  min-width: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.pf-comp:hover {
  transform: translateY(-2px);
}
.pf-comp:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sport) 40%, transparent);
  outline-offset: 2px;
}
.pf-comp strong {
  font: 700 16px/1.25 var(--f);
  text-wrap: balance;
}
.pf-comp .pf-comp__tipo {
  font: 600 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.pf-comp .pf-comp__puesto {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.pf-comp .pf-comp__puesto b {
  font: 700 30px/1 var(--mono);
}
.pf-comp .pf-comp__puesto .var i {
  font-style: normal;
  font: 700 13px var(--mono);
  color: var(--text-2);
}
.pf-comp .pf-comp__puesto .var .sube {
  color: var(--ok);
}
.pf-comp .pf-comp__puesto .var .baja {
  color: var(--ko);
}
.pf-comp .pf-comp__spark {
  display: block;
  min-height: 28px;
}
.pf-comp .pf-comp__spark svg {
  display: block;
  width: 100%;
  max-width: 120px;
}
.pf-comp .pf-comp__spark svg polyline {
  fill: none;
  stroke: var(--sport);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.pf-comp .pf-comp__spark svg circle {
  fill: var(--sport);
}
.pf-comp .pf-comp__ver {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  font: 600 13px var(--f);
  color: var(--link);
}
.pf-comp .pf-comp__ver [class^="icomin-"] {
  width: 14px;
  height: 14px;
}
/* PARTIDOS */
.pf-partidos .pf-sel {
  display: block;
  margin: -4px 0 14px;
}
.pf-partidos .pag {
  margin-top: 14px;
  text-align: center;
}
.pf-muro-sec .muro {
  margin: 0;
}
.pf-aviso {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--warn) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line));
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}
.pf-aviso [class^="icomin-"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--warn);
}
/* MÓVIL Y TABLET */
@media (max-width: 960px) {
  .pf-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .c-anchors {
    display: none;
  }
  .pf-head {
    padding: 26px 0 20px;
  }
  .pf-head__in {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }
  .pf-foto {
    width: 96px;
    height: 96px;
    border-width: 3px;
  }
  .pf-head__in .pf-id {
    display: contents;
  }
  .pf-head__in .pf-id > * {
    grid-column: 1 / -1;
  }
  .pf-head__in .pf-id > .u-eyebrow,
  .pf-head__in .pf-id > h1 {
    grid-column: 2;
  }
  .pf-head__in .pf-id > .u-eyebrow {
    grid-row: 1;
    align-self: end;
  }
  .pf-head__in .pf-id > h1 {
    grid-row: 2;
    align-self: start;
    margin: 6px 0 0;
  }
  .pf-head__in .pf-foto {
    grid-row: 1 / 3;
  }
  .pf-sobre {
    font-size: 15px;
  }
  /* El muro (columna principal en escritorio) va después de los partidos; cada bloque lleva su orden y los anuncios intercalados el 2 */
  .pf-cols {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .pf-main,
  .pf-aside {
    display: contents;
  }
  .pf-stats {
    order: 1;
  }
  .pf-stats + :not(section) {
    order: 2;
  }
  .pf-h2h {
    order: 3;
  }
  .pf-comps {
    order: 4;
  }
  .pf-evo {
    order: 5;
  }
  .pf-partidos {
    order: 6;
  }
  .pf-muro-sec {
    order: 7;
  }
}
@media (max-width: 560px) {
  .p-perfil .c-card {
    padding: 18px 16px;
  }
  .pf-top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }
  .pf-donut {
    width: 128px;
    height: 128px;
  }
  .pf-donut > div b {
    font-size: 28px;
  }
  .pf-kpis {
    width: 100%;
  }
  .pf-h2h__marcador div {
    min-width: 76px;
    padding: 8px 12px;
  }
  .pf-acts .c-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-donut svg .fg,
  .pf-bar__b i {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
