/* Enfrentamiento de liga por equipos: reutiliza la página de partido (cabecera, tarjetas, navegación) */
/* Página de partido */
#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-partido {
  font: 15px/1.5 var(--f);
  color: var(--text);
  padding-bottom: 64px;
}
.p-partido h2,
.p-partido h3 {
  color: var(--text);
}
.p-partido [id] {
  scroll-margin-top: calc(var(--hh) + 16px);
}
.p-partido .nota {
  color: var(--text-2);
  font-size: 13px;
}
/* CABECERA: marcador grande sobre la franja del deporte */
.p-match {
  color: #fff;
  padding: 28px 0 22px;
  /* Velo oscuro para que se lea sobre cualquier textura (la hierba es muy viva) */
}
.p-match .p-match__panel {
  padding: 22px 26px 20px;
  border-radius: 24px;
  background: rgba(6, 20, 42, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.p-match .u-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  /* nombre del ranking y, debajo, temporada · jornada */
}
.p-match .u-eyebrow a {
  color: inherit;
}
.p-match .u-eyebrow .eb-t {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.p-match .u-eyebrow .eb-t small {
  font: 600 11px/1.2 var(--mono);
  letter-spacing: 0.1em;
  opacity: 0.8;
  text-transform: uppercase;
}
.p-match__board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 18px 0 16px;
}
.p-match__lado {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  position: relative;
}
.p-match__lado.l2 {
  flex-direction: row-reverse;
  text-align: right;
}
.p-match__lado .avs {
  display: flex;
  flex: none;
}
.p-match__lado .avs a,
.p-match__lado .avs .vacio {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.2);
}
.p-match__lado .avs a + a {
  margin-left: -18px;
}
.p-match__lado .avs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-match__lado .nom {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.p-match__lado .nom a,
.p-match__lado .nom span {
  font: 700 clamp(18px, 2.2vw, 26px)/1.15 var(--f);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-match__lado .puesto {
  flex: none;
  font: 600 13px var(--mono);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}
.p-match__lado.gana .nom a:after {
  content: ' ✓';
  color: var(--accent);
}
.p-match__res {
  text-align: center;
  min-width: 150px;
}
.p-match__res .sets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 56px/1 var(--mono);
}
.p-match__res .sets span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 76px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}
.p-match__res .sets span.w {
  background: var(--sport);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}
.p-match__res .sets i {
  font-style: normal;
  opacity: 0.7;
  font-size: 32px;
}
.p-match__res .juegos {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  font: 500 16px var(--mono);
  color: rgba(255, 255, 255, 0.85);
}
.p-match__res .juegos b {
  font-weight: 500;
}
.p-match__res .juegos b.w {
  font-weight: 800;
  color: #fff;
}
.p-match__res .vs,
.p-match__res .wo {
  display: inline-grid;
  place-items: center;
  min-width: 120px;
  padding: 14px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font: 800 34px/1 var(--f);
  letter-spacing: 0.04em;
}
.p-match__res .vs small,
.p-match__res .wo small {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font: 600 12px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.p-match__res .vs .meteo [class^="icomin-"],
.p-match__res .wo .meteo [class^="icomin-"] {
  width: 18px;
  height: 18px;
}
.p-match__estado {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
}
.p-match__estado .c-chip {
  background: var(--surface);
  font-size: 13px;
  padding: 6px 12px;
}
.p-match__estado .nota {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}
.p-match__estado .nota [class^="icomin-"] {
  width: 16px;
  height: 16px;
}
/* NAVEGACIÓN */
.p-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.p-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font: 600 14px var(--f);
}
.p-nav a:hover {
  box-shadow: var(--shadow);
}
.p-nav a [class^="icomin-"] {
  width: 16px;
  height: 16px;
}
.p-nav .sep {
  flex: 1;
}
.p-otros {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 6px;
  margin-bottom: 22px;
  scrollbar-width: thin;
}
.p-otros a {
  flex: none;
  display: grid;
  grid-template-columns: auto;
  min-width: 150px;
  max-width: 190px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}
.p-otros a.on {
  border-color: var(--sport);
  box-shadow: inset 0 0 0 1px var(--sport);
}
.p-otros a:hover {
  box-shadow: var(--shadow);
}
.p-otros .n {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-2);
}
.p-otros .n.w {
  color: var(--text);
  font-weight: 700;
}
.p-otros .r {
  font: 600 11px var(--mono);
  color: var(--text-2);
  margin-top: 2px;
}
/* COLUMNAS */
.p-partido__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 20px;
  align-items: start;
}
.p-partido__main,
.p-partido__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.p-partido .boxnew {
  margin: 0;
}
.c-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.c-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 20px/1.2 var(--f);
  margin: 0 0 14px;
}
.c-card h2 [class^="icomin-"] {
  width: 20px;
  height: 20px;
  color: var(--sport);
}
.c-card h3 {
  font: 700 14px var(--f);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-2) !important;
}
.c-card p {
  margin: 0 0 10px;
}
.c-card .c-btn {
  min-height: 40px;
  font-size: 14px;
  margin: 4px 6px 4px 0;
}
.c-card.c-muro {
  background: var(--surface);
}
.c-card #btnEnviarMail {
  margin-bottom: 18px;
}
.p-aviso {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  margin: 0 0 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sport) 9%, var(--surface));
}
.p-aviso p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
}
.p-aviso [class^="icomin-"] {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--sport);
}
.p-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.c-contacts {
  display: grid;
  gap: 10px;
}
.c-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
}
.c-contact .acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.c-contact .acts .c-btn {
  margin: 0;
  min-height: 36px;
  padding: 0 14px;
  background: var(--surface);
}
.c-contact .wa [class^="icomin-"] {
  color: #25D366;
}
.p-cuando,
.p-donde {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
}
.p-cuando [class^="icomin-"],
.p-donde [class^="icomin-"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--sport);
}
.p-donde {
  margin-top: 12px;
}
.p-meteo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
}
.p-meteo .ico {
  width: 36px;
  height: 36px;
  color: var(--sport);
}
.p-meteo b {
  font: 700 22px var(--mono);
}
.p-meteo .det {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: var(--text-2);
}
.p-reserva {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.p-reserva p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.p-reserva .icomin-ok {
  color: var(--ok);
  width: 18px;
  height: 18px;
}
.p-enjuego p {
  font-size: 16px;
  margin: 0;
}
/* Cara a cara */
.p-h2h__balance {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  font: 700 32px/1 var(--mono);
  color: var(--text-2);
}
.p-h2h__balance span.w {
  color: var(--sport);
}
.p-h2h__balance .bar {
  height: 10px;
  border-radius: 10px;
  background: var(--surface-2);
  overflow: hidden;
}
.p-h2h__balance .bar i {
  display: block;
  height: 100%;
  background: var(--sport);
}
.p-h2h__lista {
  margin: 12px 0 0;
  padding: 0;
}
.p-h2h__lista li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14px;
}
.p-h2h__lista .gana {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-h2h__lista .res {
  font: 600 14px var(--mono);
}
.p-h2h__lista a {
  color: var(--text-2);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Estadísticas por jugador */
.p-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.p-stats__j {
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-2);
  border-top: 3px solid var(--sport);
}
.p-stats__j.l2 {
  border-top-color: var(--brand);
}
.p-stats__j .cab {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.p-stats__j .cab img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.p-stats__j .cab a {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-stats__j .forma {
  display: flex;
  gap: 4px;
  margin: 0 0 12px;
}
.p-stats__j .forma i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font: 700 11px var(--mono);
  font-style: normal;
  color: #fff;
}
.p-stats__j .forma .v {
  background: var(--ok);
}
.p-stats__j .forma .d {
  background: var(--ko);
}
.p-stats__j dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
}
.p-stats__j .full {
  grid-column: 1/-1;
}
.p-stats__j dt {
  font: 600 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.p-stats__j dd {
  margin: 0;
  font: 600 15px var(--mono);
}
.p-stats__j .full dd {
  font: 500 14px var(--f);
}
/* Comentarios del partido */
#comentarios .posts .hilo {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
#comentarios .comentarios {
  margin: 0;
}
.p-historico .res {
  display: block;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-2);
}
.p-historico .res a {
  font-weight: 700;
  color: var(--text);
}
@media (max-width: 980px) {
  .p-partido__cols {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .p-match {
    padding: 16px 0 14px;
  }
  .p-match__panel {
    padding: 16px;
    border-radius: 18px;
  }
  .p-match__board {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .p-match__lado.l2 {
    flex-direction: row;
    text-align: left;
  }
  .p-match__res {
    order: 0;
  }
  .p-match__lado.l1 {
    order: -1;
  }
  .p-match__res .sets {
    font-size: 40px;
  }
  .p-match__res .sets span {
    width: 56px;
    height: 58px;
  }
  .p-nav .volver {
    font-size: 0;
    gap: 0;
    padding: 0 12px;
  }
  .p-grid2 {
    grid-template-columns: 1fr;
  }
  .c-card {
    padding: 16px;
  }
}
.p-enf .p-match__lado .escudo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.9);
}
.p-enf .p-match__lado .escudo [class^="icomin-"] {
  width: 30px;
  height: 30px;
  color: #fff;
}
.p-enf .p-match__lado .nom small {
  font: 600 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}
.p-enf .p-match__lado.gana .nom span:after {
  content: ' ✓';
  color: var(--accent);
}
.p-enf .p-match__estado {
  gap: 8px 18px;
}
/* Partidos, cada uno con su puesto de la plantilla */
.p-enf__partidos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  background: none;
  padding: 0;
}
.p-enf__partido h3 {
  margin: 0 0 6px !important;
  font-size: 12px !important;
}
/* Alineaciones enfrentadas: una fila por puesto */
.p-alin {
  display: grid;
}
.p-alin__cab,
.p-alin__fila {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
}
.p-alin__cab {
  padding-top: 0;
  border-bottom: 2px solid var(--line);
}
.p-alin__cab b {
  font-size: 14px;
}
.p-alin__fila {
  border-bottom: 1px solid var(--line);
}
.p-alin__fila:last-child {
  border-bottom: 0;
}
.p-alin .puesto {
  font: 600 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  padding-top: 2px;
}
.p-alin .pareja {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.p-alin .pareja a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.p-alin .pareja .icomin-star-full {
  width: 13px;
  height: 13px;
  color: #E8A400;
}
/* Qué se juega */
.p-pts {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.p-pts th {
  font: 600 11px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: left;
  padding: 6px 8px;
  border-bottom: 2px solid var(--line);
}
.p-pts td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}
.p-pts td:first-child {
  font-weight: 700;
}
/* Forma: empate */
.p-stats__j .forma .e {
  background: var(--warn);
}
.p-stats__j .cab [class^="icomin-"] {
  width: 22px;
  height: 22px;
  color: var(--sport);
}
.p-enf__editar {
  margin-top: 14px !important;
}
@media (max-width: 720px) {
  .p-alin__cab,
  .p-alin__fila {
    grid-template-columns: 1fr 1fr;
  }
  .p-alin .puesto {
    grid-column: 1/-1;
  }
  .p-alin__cab span {
    display: none;
  }
}
