/* El Contraataque · vista de comprobación web v33
 * El marco de escritorio representa un móvil, aunque el viewport del navegador sea ancho.
 * Reutilizamos los estilos de Porra y Comunidad solo en ordenadores con puntero preciso.
 */
@media (min-width: 861px) and (pointer: fine) {
/* Reutilizado desde prediction-hub-v12.css */
/* UNIFIED_HEADER_V67: la cabecera global permanece visible en Porra. */
  /* Footer global, Más y su overlay pertenecen al AppShell. */
body.prediction-hub-mode .mobile-content {
    padding:
      0
      calc(0.72rem + env(safe-area-inset-right))
      calc(5.25rem + env(safe-area-inset-bottom))
      calc(0.72rem + env(safe-area-inset-left)) !important;
    scroll-padding-top: calc(5.2rem + env(safe-area-inset-top));
    scroll-padding-bottom: calc(5.6rem + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 85% 0%, rgba(207, 145, 38, 0.12), transparent 18rem),
      #f6f3ec;
  }

  body.prediction-hub-mode #screen-predictions {
    min-height: 100%;
  }

  body.prediction-hub-mode #screen-predictions > .module-screen-head {
    display: none !important;
  }

  body.prediction-hub-mode #predictionList {
    width: 100%;
    margin: 0;
  }

  .prediction-hub-experience {
    width: 100%;
    min-width: 0;
  }

  .prediction-hub-header {
    position: sticky;
    top: 0;
    z-index: 38;
    display: grid;
    grid-template-columns: minmax(0, max-content) 1fr minmax(0, max-content);
    align-items: center;
    gap: 0.55rem;
    width: calc(100% + 1.44rem + env(safe-area-inset-left) + env(safe-area-inset-right));
    min-height: calc(4.45rem + env(safe-area-inset-top));
    margin-right: calc(-0.72rem - env(safe-area-inset-right));
    margin-left: calc(-0.72rem - env(safe-area-inset-left));
    padding:
      calc(0.55rem + env(safe-area-inset-top))
      calc(0.72rem + env(safe-area-inset-right))
      0.55rem
      calc(0.72rem + env(safe-area-inset-left));
    border-bottom: 1px solid rgba(34, 29, 20, 0.08);
    background: rgba(255, 255, 255, 0.965);
    box-shadow: 0 0.32rem 1.05rem rgba(44, 33, 14, 0.045);
    backdrop-filter: blur(20px) saturate(1.06);
    -webkit-backdrop-filter: blur(20px) saturate(1.06);
  }

  .prediction-hub-exit {
    display: inline-flex;
    min-height: 2.4rem;
    align-items: center;
    border: 1px solid rgba(36, 29, 18, 0.1);
    border-radius: 999px;
    padding: 0 0.72rem;
    color: #5d554a;
    background: #fff;
    font-size: 0.7rem;
    font-weight: 850;
    white-space: nowrap;
  }

  .prediction-hub-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-align: center;
  }

  .prediction-hub-brand > span {
    display: grid;
    width: 2.05rem;
    height: 2.05rem;
    place-items: center;
    border-radius: 50%;
    background: #fbf5e8;
  }

  .prediction-hub-brand img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
  }

  .prediction-hub-brand small,
  .prediction-hub-brand strong {
    display: block;
    line-height: 1;
  }

  .prediction-hub-brand small {
    color: #a4690e;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .prediction-hub-brand strong {
    margin-top: 0.13rem;
    color: #15120e;
    font-size: 1.02rem;
    font-weight: 1000;
    letter-spacing: -0.02em;
  }

  .prediction-hub-points {
    display: inline-flex;
    min-height: 2.4rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 132, 27, 0.22);
    border-radius: 999px;
    padding: 0 0.65rem;
    color: #845308;
    background: #fff9ed;
    font-size: 0.7rem;
    font-weight: 900;
    white-space: nowrap;
  }

  .prediction-hub-content {
    display: grid;
    gap: 0.85rem;
    padding: 0.8rem 0 1.25rem;
  }

  .prediction-hub-panel,
  .prediction-hub-content > .prediction-tab-panel {
    min-width: 0;
    width: 100%;
  }

  .prediction-hub-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(34, 29, 20, 0.08);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.38rem 1rem rgba(50, 37, 16, 0.045);
  }

  .prediction-hub-summary > div {
    display: grid;
    gap: 0.1rem;
    justify-items: center;
    padding: 0.72rem 0.35rem;
    text-align: center;
  }

  .prediction-hub-summary > div + div {
    border-left: 1px solid rgba(34, 29, 20, 0.07);
  }

  .prediction-hub-summary span {
    color: #81796e;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .prediction-hub-summary strong {
    color: #17130f;
    font-size: 1.25rem;
    line-height: 1;
  }

  .prediction-hub-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.85rem 0.1rem 0.25rem;
  }

  .prediction-hub-section-title span {
    color: #a76a0d;
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .prediction-hub-section-title h3 {
    margin: 0.08rem 0 0;
    color: #17130f;
    font-size: 1.13rem;
    line-height: 1.08;
  }

  .prediction-hub-section-title small {
    color: #857d72;
    font-size: 0.6rem;
    text-align: right;
  }

  .prediction-hub-match-list {
    display: grid;
    gap: 0.62rem;
  }

  .prediction-hub-match {
    overflow: hidden;
    border: 1px solid rgba(33, 28, 20, 0.1);
    border-radius: 1.08rem;
    background:
      radial-gradient(circle at 50% 0%, rgba(203, 145, 42, 0.07), transparent 55%),
      #fff;
    box-shadow: 0 0.42rem 1.15rem rgba(48, 34, 12, 0.05);
  }

  .prediction-hub-match.is-featured {
    border-color: rgba(186, 119, 14, 0.38);
    box-shadow: 0 0.55rem 1.35rem rgba(128, 82, 11, 0.08);
  }

  .prediction-hub-match__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.66rem 0.78rem 0;
    color: #81796d;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .prediction-hub-match__topline strong {
    color: #8f5b0c;
    font-size: 0.59rem;
    white-space: nowrap;
  }

  .prediction-hub-match__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.48rem;
    padding: 0.76rem 0.7rem 0.72rem;
  }

  .prediction-hub-team {
    display: grid;
    min-width: 0;
    gap: 0.42rem;
    justify-items: center;
    text-align: center;
  }

  .prediction-hub-team .prediction-team-crest {
    width: 3.85rem;
    height: 3.85rem;
  }

  .prediction-hub-team .prediction-team-crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .prediction-hub-team strong {
    max-width: 100%;
    overflow: hidden;
    color: #17130f;
    font-size: 0.77rem;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .prediction-hub-match__score {
    display: grid;
    gap: 0.14rem;
    justify-items: center;
    min-width: 5.3rem;
    text-align: center;
  }

  .prediction-hub-match__score small {
    color: #9b630d;
    font-size: 0.55rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .prediction-hub-match__score strong {
    min-width: 4rem;
    border-radius: 0.72rem;
    padding: 0.42rem 0.58rem;
    color: #15120e;
    background: #f8f2e7;
    font-size: 1.35rem;
    line-height: 1;
  }

  .prediction-hub-match.is-saved .prediction-hub-match__score strong {
    color: #865306;
    background: #fff3d8;
  }

  .prediction-hub-match__score span {
    color: #8a8379;
    font-size: 0.54rem;
    font-weight: 750;
  }

  .prediction-hub-match__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    border-top: 1px solid rgba(34, 29, 20, 0.065);
    padding: 0.58rem 0.72rem;
    background: rgba(250, 247, 240, 0.72);
  }

  .prediction-hub-match__footer > span {
    color: #797168;
    font-size: 0.61rem;
    font-weight: 700;
  }

  .prediction-hub-match__footer button {
    min-height: 2.35rem;
    border: 0;
    border-radius: 999px;
    padding: 0 0.8rem;
    color: #fff;
    background: linear-gradient(135deg, #d99a2a, #b8740c);
    font-size: 0.66rem;
    font-weight: 900;
    box-shadow: 0 0.22rem 0.58rem rgba(158, 100, 11, 0.14);
  }

  .prediction-hub-match__footer button:disabled {
    color: #8b8479;
    background: #ece8e0;
    box-shadow: none;
  }

  .prediction-hub-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: calc(4.45rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(30, 26, 19, 0.08);
    background: rgba(255, 255, 255, 0.985);
    padding:
      0.28rem
      calc(0.26rem + env(safe-area-inset-right))
      max(0.2rem, env(safe-area-inset-bottom))
      calc(0.26rem + env(safe-area-inset-left));
    box-shadow: 0 -0.38rem 1.25rem rgba(40, 30, 14, 0.055);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .prediction-hub-nav button {
    display: grid;
    min-width: 0;
    min-height: 3.35rem;
    place-content: center;
    gap: 0.14rem;
    border: 0;
    border-radius: 0.8rem;
    color: #8a837a;
    background: transparent;
    text-align: center;
  }

  .prediction-hub-nav button > span {
    font-size: 1.02rem;
    line-height: 1;
    filter: grayscale(0.9);
    opacity: 0.72;
  }

  .prediction-hub-nav button > small {
    overflow: hidden;
    font-size: 0.56rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .prediction-hub-nav button.is-active {
    color: #9e6309;
    background: #fff8e9;
  }

  .prediction-hub-nav button.is-active > span {
    filter: none;
    opacity: 1;
  }

  .prediction-hub-sheet {
    position: fixed;
    inset: 0;
    z-index: 180;
    display: grid;
    align-items: end;
  }

  .prediction-hub-sheet__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(17, 14, 10, 0.56);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .prediction-hub-sheet__panel {
    position: relative;
    z-index: 1;
    max-height: min(84dvh, 46rem);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 1.5rem 1.5rem 0 0;
    background: #fff;
    padding: 0.85rem 0.86rem calc(1rem + env(safe-area-inset-bottom));
    box-shadow: 0 -1.4rem 3rem rgba(25, 18, 9, 0.18);
    overscroll-behavior: contain;
  }

  .prediction-hub-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.1rem 0.08rem 0.7rem;
  }

  .prediction-hub-sheet__head span,
  .prediction-hub-sheet__head strong {
    display: block;
  }

  .prediction-hub-sheet__head span {
    color: #a66a0d;
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .prediction-hub-sheet__head strong {
    margin-top: 0.12rem;
    color: #1a1611;
    font-size: 0.88rem;
  }

  .prediction-hub-sheet__head > button {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(28, 24, 18, 0.09);
    border-radius: 50%;
    color: #625c52;
    background: #f5f2ec;
    font-size: 1.35rem;
  }

  .prediction-hub-sheet__match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(34, 29, 20, 0.07);
    border-radius: 1rem;
    background: #fbf8f2;
    padding: 0.8rem 0.55rem;
  }

  .prediction-hub-sheet__vs {
    color: #a56a0f;
    font-size: 1rem;
    font-weight: 950;
  }

  .prediction-hub-sheet__form {
    margin-top: 0.72rem;
  }

  .prediction-hub-sheet__form .prediction-score-card {
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.35rem 0 0 !important;
  }

  .prediction-hub-sheet__form .prediction-score-card__head {
    padding-inline: 0.1rem;
  }

  .prediction-hub-sheet__form .prediction-scoreboard {
    border-radius: 1rem;
    background: #fff;
  }

  .prediction-hub-content .prediction-ranking-panel,
  .prediction-hub-content .prediction-prizes-v5,
  .prediction-hub-content .prediction-tab-panel:not(.prediction-mine-panel) {
    padding-top: 0.15rem;
  }

  .prediction-hub-content .prediction-subtabs {
    position: sticky;
    top: calc(4.45rem + env(safe-area-inset-top));
    z-index: 20;
    background: #f6f3ec;
    padding: 0.5rem 0;
  }

  @media (max-width: 390px) {
    .prediction-hub-header {
      gap: 0.38rem;
    }

    .prediction-hub-exit {
      padding-inline: 0.55rem;
      font-size: 0.63rem;
    }

    .prediction-hub-points {
      padding-inline: 0.52rem;
      font-size: 0.64rem;
    }

    .prediction-hub-team .prediction-team-crest {
      width: 3.35rem;
      height: 3.35rem;
    }

    .prediction-hub-match__score {
      min-width: 4.55rem;
    }

    .prediction-hub-nav button > small {
      font-size: 0.52rem;
    }
  }

/* Reutilizado desde prediction-save-hotfix-v13.css */
body.prediction-hub-mode:has(.prediction-hub-sheet) .prediction-hub-nav {
    display: none !important;
    pointer-events: none !important;
  }

  body.prediction-hub-mode .prediction-hub-sheet {
    z-index: 999 !important;
  }

  body.prediction-hub-mode .prediction-hub-sheet__panel {
    max-height: min(94dvh, 52rem) !important;
    padding-bottom: max(0.9rem, env(safe-area-inset-bottom)) !important;
    scroll-padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  body.prediction-hub-mode .prediction-hub-sheet__form .prediction-score-card {
    padding-bottom: 0.2rem !important;
  }

  body.prediction-hub-mode .prediction-hub-sheet__form .prediction-score-card > .primary-action {
    display: flex !important;
    width: 100% !important;
    min-height: 3.35rem !important;
    align-items: center;
    justify-content: center;
    margin: 0.72rem 0 0 !important;
    border-radius: 0.9rem !important;
    flex: 0 0 auto;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
  }

  @media (max-height: 720px) {
    body.prediction-hub-mode .prediction-hub-sheet__panel {
      max-height: 96dvh !important;
    }

    body.prediction-hub-mode .prediction-hub-sheet__match {
      padding-block: 0.55rem !important;
    }

    body.prediction-hub-mode .prediction-hub-sheet__form {
      margin-top: 0.45rem !important;
    }
  }

/* Reutilizado desde community-hub-v19.css */
/* COMMUNITY_SHELL_V65_GLOBAL_CHROME: solo se sustituye la cabecera global; footer, Más y overlay pertenecen al AppShell. */
  /* UNIFIED_HEADER_V67: el AppShell conserva su header en Comunidad; solo el chat usa cabecera contextual. */
  body.community-hub-mode[data-screen="communityPostDetail"] .phone-frame > .mobile-header {
    display: none !important;
  }

  body.community-hub-mode #screen-community,
  body.community-hub-mode #screen-communityPostDetail,
  body.community-hub-mode #communityList,
  body.community-hub-mode #communityPostDetail,
  .community-hub-experience,
  .community-hub-content,
  .community-hub-section,
  .community-hub-topic-list,
  .community-hub-channel-list,
  .community-hub-live-stack {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .community-hub-header {
    position: sticky;
    top: -0.68rem;
    z-index: 52;
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr) minmax(0, max-content);
    align-items: center;
    gap: 0.48rem;
    width: calc(100% + (var(--mobile-gutter) * 2) + env(safe-area-inset-left) + env(safe-area-inset-right));
    min-height: calc(4.25rem + env(safe-area-inset-top));
    margin-top: -0.68rem;
    margin-right: calc(0px - var(--mobile-gutter) - env(safe-area-inset-right));
    margin-bottom: 0.78rem;
    margin-left: calc(0px - var(--mobile-gutter) - env(safe-area-inset-left));
    padding:
      calc(0.52rem + env(safe-area-inset-top))
      calc(0.68rem + env(safe-area-inset-right))
      0.52rem
      calc(0.68rem + env(safe-area-inset-left));
    border-bottom: 1px solid rgba(27, 23, 18, 0.075);
    background: rgba(255, 255, 255, 0.975);
    box-shadow: 0 0.28rem 1.05rem rgba(45, 33, 13, 0.045);
    backdrop-filter: blur(20px) saturate(1.08);
    -webkit-backdrop-filter: blur(20px) saturate(1.08);
  }

  .community-hub-exit {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(37, 31, 22, 0.11);
    border-radius: 999px;
    padding: 0 0.66rem;
    color: #625a4f;
    background: #fff;
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
  }

  /* COMMUNITY_SHELL_V65_MAIN_HEADER: sin botones de salida en la portada de Comunidad. */
  body[data-screen="community"] .community-hub-header {
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  }

  body[data-screen="community"] .community-hub-brand {
    justify-content: flex-start;
    padding-left: 0.2rem;
  }

  .community-hub-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    text-align: center;
  }

  .community-hub-brand > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fbf5e8;
  }

  .community-hub-brand img {
    width: 1.48rem;
    height: 1.48rem;
    object-fit: contain;
  }

  .community-hub-brand small,
  .community-hub-brand strong {
    display: block;
    line-height: 1;
  }

  .community-hub-brand small {
    color: #a4670d;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .community-hub-brand strong {
    margin-top: 0.12rem;
    color: #17130f;
    font-size: 0.98rem;
    font-weight: 1000;
    letter-spacing: -0.02em;
  }

  .community-hub-level {
    display: inline-flex;
    min-height: 2.35rem;
    max-width: 6.1rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(196, 131, 25, 0.22);
    border-radius: 999px;
    padding: 0 0.58rem;
    color: #875708;
    background: #fff9ec;
    font-size: 0.61rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-hub-content {
    display: grid;
    gap: 0.68rem;
    padding-bottom: 0.45rem;
  }

  .community-hub-profile-strip {
    display: flex;
    min-height: 4.2rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border: 1px solid rgba(36, 29, 19, 0.07);
    border-radius: 1.05rem;
    padding: 0.62rem 0.68rem;
    background: #fff;
    box-shadow: 0 0.38rem 1.1rem rgba(47, 35, 15, 0.045);
  }

  .community-hub-profile-badge {
    min-width: 0;
  }

  .community-hub-profile-badge .community-level-badge,
  .community-hub-profile-badge > span {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    border: 1px solid rgba(203, 142, 42, 0.34);
    border-radius: 999px;
    padding: 0 0.72rem;
    color: #6d4912;
    background: #fff9ec;
    font-size: 0.68rem;
    font-weight: 900;
  }

  .community-hub-create {
    min-height: 2.7rem;
    border: 0;
    border-radius: 0.82rem;
    padding: 0 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, #dda034, #bd790d);
    box-shadow: 0 0.28rem 0.7rem rgba(158, 99, 10, 0.14);
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .community-hub-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(35, 30, 22, 0.07);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.82);
  }

  .community-hub-tabs button {
    position: relative;
    min-width: 0;
    min-height: 3rem;
    border: 0;
    padding: 0 0.2rem;
    color: #777066;
    background: transparent;
    font-size: 0.66rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .community-hub-tabs button.is-active {
    color: #99610b;
    background: #fff;
  }

  .community-hub-tabs button.is-active::after {
    content: "";
    position: absolute;
    right: 22%;
    bottom: 0;
    left: 22%;
    height: 2px;
    border-radius: 999px;
    background: #bd7b13;
  }

  .community-live-dot {
    display: inline-block;
    width: 0.36rem;
    height: 0.36rem;
    margin-left: 0.24rem;
    border-radius: 50%;
    background: #d18b17;
    vertical-align: 0.06rem;
  }

  .community-hub-section {
    display: grid;
    gap: 0.65rem;
  }

  .community-hub-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.8rem;
    gap: 0.42rem;
  }

  .community-hub-search {
    display: grid;
    grid-template-columns: 1.3rem minmax(0, 1fr);
    align-items: center;
    gap: 0.4rem;
    min-height: 2.8rem;
    border: 1px solid rgba(34, 29, 21, 0.09);
    border-radius: 0.85rem;
    padding: 0 0.7rem;
    background: #fff;
  }

  .community-hub-search > svg,
  .community-hub-filter-button svg,
  .community-hub-metrics svg,
  .community-hub-topic__meta svg,
  .community-live-feature__stats svg,
  .community-hub-mine-summary svg,
  .community-hub-nav svg,
  .community-live-tabs svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .community-hub-search > svg,
  .community-hub-filter-button svg {
    width: 1.08rem;
    height: 1.08rem;
    stroke-width: 1.7;
  }

  .community-hub-search > svg {
    color: #a39b90;
  }

  .community-hub-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #2b2721;
    background: transparent;
  }

  .community-hub-filter-button {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border: 1px solid rgba(34, 29, 21, 0.09);
    border-radius: 0.85rem;
    color: #6f685e;
    background: #fff;
  }

  .community-hub-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(35, 30, 22, 0.07);
    border-radius: 0.95rem;
    background: #fff;
  }

  .community-hub-metrics > div {
    display: grid;
    min-width: 0;
    gap: 0.08rem;
    justify-items: center;
    padding: 0.52rem 0.12rem;
    text-align: center;
  }

  .community-hub-metrics > div + div {
    border-left: 1px solid rgba(35, 30, 22, 0.06);
  }

  .community-hub-metrics span {
    color: #ad700f;
  }

  .community-hub-metrics span svg,
  .community-hub-topic__meta svg,
  .community-live-feature__stats svg {
    width: 0.9rem;
    height: 0.9rem;
    stroke-width: 1.75;
  }

  .community-hub-metrics strong {
    color: #18140f;
    font-size: 0.94rem;
    line-height: 1;
  }

  .community-hub-metrics small {
    max-width: 100%;
    overflow: hidden;
    color: #7d756a;
    font-size: 0.5rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-live-feature {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 10rem;
    overflow: hidden;
    border: 1px solid rgba(185, 119, 14, 0.48);
    border-radius: 1.08rem;
    padding: 0.85rem 5.2rem 0.8rem 0.85rem;
    color: #191510;
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0 58%, rgba(255, 250, 239, 0.9) 72%, rgba(242, 226, 193, 0.78)),
      radial-gradient(circle at 92% 36%, rgba(193, 129, 24, 0.14), transparent 8rem);
    box-shadow: 0 0.48rem 1.3rem rgba(89, 57, 8, 0.07);
    text-align: left;
  }

  .community-live-feature__status,
  .community-live-feature__competition {
    justify-self: start;
  }

  .community-live-feature__status {
    border-radius: 999px;
    padding: 0.26rem 0.5rem;
    color: #8b5b0d;
    background: #fff1d3;
    font-size: 0.56rem;
    font-weight: 950;
  }

  .community-live-feature__status.is-live {
    color: #fff;
    background: #d62230;
  }

  .community-live-feature__competition {
    margin-top: 0.42rem;
    color: #847a6d;
    font-size: 0.57rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .community-live-feature > strong {
    margin-top: 0.22rem;
    font-size: 1.18rem;
    line-height: 1.03;
  }

  .community-live-feature p {
    max-width: 18rem;
    margin: 0.32rem 0 0;
    color: #6e665b;
    font-size: 0.68rem;
    line-height: 1.32;
  }

  .community-live-feature__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    align-items: center;
    margin-top: 0.7rem;
    color: #6f675d;
    font-size: 0.58rem;
  }

  .community-live-feature__stats > span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }

  .community-live-feature__crest {
    position: absolute;
    top: 3.35rem;
    right: 1rem;
    display: grid;
    width: 3.7rem;
    height: 3.7rem;
    place-items: center;
  }

  .community-live-feature__crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .community-live-feature__arrow,
  .community-hub-topic__arrow {
    display: grid;
    place-items: center;
    border: 1px solid rgba(32, 27, 20, 0.075);
    border-radius: 50%;
    color: #2f2a24;
    background: #fff;
  }

  .community-live-feature__arrow {
    position: absolute;
    right: 0.85rem;
    bottom: 0.82rem;
    width: 2.25rem;
    height: 2.25rem;
  }

  .community-live-feature__arrow svg,
  .community-hub-topic__arrow svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 1.9;
  }

  .community-hub-topic-list,
  .community-hub-live-stack {
    display: grid;
    gap: 0.42rem;
  }

  .community-hub-topic {
    display: grid;
    grid-template-columns: 2.55rem minmax(0, 1fr) 2.1rem;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(33, 28, 20, 0.075);
    border-radius: 0.95rem;
    padding: 0.62rem 0.65rem;
    color: #17130f;
    background: #fff;
    box-shadow: 0 0.34rem 0.9rem rgba(42, 31, 13, 0.035);
    text-align: left;
  }

  .community-hub-topic.is-featured {
    border-color: rgba(190, 124, 19, 0.26);
    background: linear-gradient(105deg, #fff, #fffbf3);
  }

  .community-hub-topic__icon,
  .community-hub-channel__icon {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fbf5e8;
    font-size: 1.15rem;
  }

  .community-hub-topic__copy {
    min-width: 0;
  }

  .community-hub-topic__eyebrow {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.32rem;
    color: #a4690d;
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.045em;
    text-transform: uppercase;
  }

  .community-topic-status {
    border-radius: 999px;
    padding: 0.12rem 0.35rem;
    color: #287b4d;
    background: #e8f7ee;
    font-size: 0.49rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .community-topic-status.is-live {
    color: #bd2430;
    background: #ffe9eb;
  }

  .community-hub-topic__copy > strong {
    display: block;
    margin-top: 0.1rem;
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-hub-topic__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
    margin-top: 0.24rem;
    color: #777067;
    font-size: 0.56rem;
  }

  .community-hub-topic__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
  }

  .community-hub-topic__copy > small {
    display: block;
    margin-top: 0.14rem;
    overflow: hidden;
    color: #8b8379;
    font-size: 0.54rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-hub-topic__arrow {
    width: 2.05rem;
    height: 2.05rem;
  }

  .community-hub-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.25rem 0.15rem 0;
  }

  .community-hub-section-head span {
    color: #a4690d;
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .community-hub-section-head strong {
    color: #6f675e;
    font-size: 0.61rem;
    font-weight: 800;
    text-align: right;
  }

  .community-hub-chip-row,
  .community-hub-mine-filters {
    display: flex;
    gap: 0.34rem;
    overflow-x: auto;
    padding-bottom: 0.05rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .community-hub-chip-row::-webkit-scrollbar,
  .community-hub-mine-filters::-webkit-scrollbar {
    display: none;
  }

  .community-hub-chip-row button,
  .community-hub-mine-filters button {
    flex: 0 0 auto;
    min-height: 2.35rem;
    border: 1px solid rgba(35, 30, 22, 0.09);
    border-radius: 999px;
    padding: 0 0.72rem;
    color: #71695f;
    background: #fff;
    font-size: 0.61rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .community-hub-chip-row button.is-active,
  .community-hub-mine-filters button.is-active {
    border-color: #c28018;
    color: #fff;
    background: linear-gradient(135deg, #d79a30, #b8750d);
  }

  .community-hub-channel-list {
    display: grid;
    gap: 0.4rem;
  }

  .community-hub-channel {
    display: grid;
    grid-template-columns: 2.55rem minmax(0, 1fr) 1.1rem;
    align-items: center;
    gap: 0.62rem;
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(34, 29, 21, 0.075);
    border-radius: 0.95rem;
    padding: 0.62rem 0.7rem;
    color: #17130f;
    background: #fff;
    box-shadow: 0 0.32rem 0.88rem rgba(42, 31, 13, 0.035);
    text-align: left;
  }

  .community-hub-channel > span:nth-child(2) {
    min-width: 0;
  }

  .community-hub-channel strong,
  .community-hub-channel small,
  .community-hub-channel em {
    display: block;
  }

  .community-hub-channel strong {
    font-size: 0.86rem;
    line-height: 1.05;
  }

  .community-hub-channel small {
    margin-top: 0.12rem;
    overflow: hidden;
    color: #777067;
    font-size: 0.59rem;
    line-height: 1.14;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-hub-channel em {
    margin-top: 0.24rem;
    color: #8a8278;
    font-size: 0.54rem;
    font-style: normal;
  }

  .community-hub-channel em i {
    display: inline-block;
    width: 0.38rem;
    height: 0.38rem;
    margin: 0 0.28rem 0 0.52rem;
    border-radius: 50%;
    background: #aaa49b;
    vertical-align: 0.02rem;
  }

  .community-hub-channel em i.is-high { background: #48b866; }
  .community-hub-channel em i.is-medium { background: #e49a25; }

  .community-hub-channel > b {
    color: #bb7911;
    font-size: 1.4rem;
    font-weight: 400;
  }

  .community-hub-mine-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(35, 30, 22, 0.075);
    border-radius: 0.95rem;
    background: #fff;
  }

  .community-hub-mine-summary > div {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
    justify-items: center;
    padding: 0.62rem 0.18rem;
    text-align: center;
  }

  .community-hub-mine-summary > div + div {
    border-left: 1px solid rgba(35, 30, 22, 0.065);
  }

  .community-hub-mine-summary svg {
    width: 1rem;
    height: 1rem;
    color: #b67510;
    stroke-width: 1.7;
  }

  .community-hub-mine-summary strong {
    color: #17130f;
    font-size: 1rem;
    line-height: 1;
  }

  .community-hub-mine-summary small {
    overflow: hidden;
    color: #777067;
    font-size: 0.54rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-hub-channel-title {
    display: grid;
    grid-template-columns: 2.4rem 2.5rem minmax(0, 1fr) 2.4rem;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(35, 30, 22, 0.075);
    border-radius: 1rem;
    padding: 0.62rem;
    background: #fff;
  }

  .community-hub-channel-title > button {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border: 1px solid rgba(35, 30, 22, 0.09);
    border-radius: 50%;
    color: #4d473e;
    background: #fff;
    font-size: 1.1rem;
  }

  .community-hub-channel-title > span:nth-child(3) {
    min-width: 0;
  }

  .community-hub-channel-title strong,
  .community-hub-channel-title small {
    display: block;
  }

  .community-hub-channel-title strong { font-size: 0.9rem; }

  .community-hub-channel-title small {
    margin-top: 0.1rem;
    overflow: hidden;
    color: #777067;
    font-size: 0.58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-hub-empty {
    display: grid;
    gap: 0.2rem;
    justify-items: center;
    border: 1px dashed rgba(35, 30, 22, 0.14);
    border-radius: 1rem;
    padding: 1rem;
    color: #756d63;
    background: rgba(255, 255, 255, 0.65);
    text-align: center;
  }

  .community-hub-empty strong { color: #2b2620; font-size: 0.78rem; }
  .community-hub-empty small { font-size: 0.61rem; }

  /* Detalle normal: conserva render y acciones originales, solo mejora presentación. */
  #communityPostDetail .community-hub-post-detail {
    margin-top: 0.6rem;
  }

  #communityPostDetail .community-hub-post-detail .community-post-hero {
    min-height: 11.5rem;
    border-radius: 1.08rem;
  }

  #communityPostDetail .community-hub-post-detail .post-comments {
    overflow: hidden;
    border-radius: 1.05rem;
    background: #fff;
  }

  #communityPostDetail .community-hub-post-detail .post-comments__head {
    padding-block: 0.62rem;
  }

  #communityPostDetail .community-hub-post-detail .instagram-comment {
    padding-block: 0.56rem !important;
  }

  /* En un hilo de partido el marcador sustituye a la hero repetida. */
  #communityPostDetail .community-hub-match-detail .community-post-hero,
  #communityPostDetail .community-hub-match-detail > .community-post-detail__body {
    display: none !important;
  }

  #communityPostDetail .community-hub-match-detail {
    margin-top: 0;
    background: transparent;
    box-shadow: none;
  }

  .community-live-panel {
    display: grid;
    gap: 0.46rem;
    margin-bottom: 0.62rem;
    border: 1px solid rgba(190, 124, 19, 0.24);
    border-radius: 1.08rem;
    padding: 0.62rem;
    background: #fff;
    box-shadow: 0 0.42rem 1.12rem rgba(52, 38, 14, 0.045);
  }

  .community-live-scorebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(4.5rem, auto) minmax(0, 1fr);
    align-items: center;
    gap: 0.4rem;
  }

  .community-live-team {
    display: grid;
    min-width: 0;
    gap: 0.24rem;
    justify-items: center;
    text-align: center;
  }

  .community-live-team b {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border: 1px solid rgba(201, 136, 29, 0.22);
    border-radius: 50%;
    color: #7e5310;
    background: #fff9ed;
    font-size: 0.68rem;
  }

  .community-live-team img {
    width: 2.7rem;
    height: 2.7rem;
    object-fit: contain;
  }

  .community-live-team strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-live-score {
    display: grid;
    gap: 0.12rem;
    justify-items: center;
    text-align: center;
  }

  .community-live-score em {
    border-radius: 999px;
    padding: 0.2rem 0.38rem;
    color: #8b5b0d;
    background: #fff3dc;
    font-size: 0.5rem;
    font-style: normal;
    font-weight: 950;
  }

  .community-live-score em.is-live {
    color: #fff;
    background: #d92131;
  }

  .community-live-score strong {
    font-size: 1.35rem;
    line-height: 1;
  }

  .community-live-score small {
    color: #a66a0e;
    font-size: 0.58rem;
    font-weight: 850;
  }

  .community-live-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.22rem;
    padding-top: 0.42rem;
    border-top: 1px solid rgba(35, 30, 22, 0.065);
  }

  .community-live-tabs button {
    display: inline-flex;
    min-width: 0;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    border: 0;
    border-radius: 999px;
    color: #71695f;
    background: #f7f4ed;
    font-size: 0.56rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .community-live-tabs button.is-active {
    color: #9b620b;
    background: #fff6e5;
  }

  .community-live-tabs svg {
    width: 0.86rem;
    height: 0.86rem;
    stroke-width: 1.8;
  }

  .community-live-events {
    display: grid;
    gap: 0.36rem;
    overflow: hidden;
    border-radius: 0.78rem;
    padding: 0.5rem 0.56rem;
    color: #736b61;
    background: #faf8f2;
    font-size: 0.57rem;
  }

  .community-live-events > strong {
    color: #a76a0d;
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .community-live-events > div {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .community-live-events > div::-webkit-scrollbar { display: none; }

  .community-live-events > div > span {
    display: grid;
    grid-template-columns: auto auto minmax(5rem, max-content);
    gap: 0.2rem;
    align-items: center;
    flex: 0 0 auto;
    min-height: 2.15rem;
    border: 1px solid rgba(195, 130, 23, 0.18);
    border-radius: 0.65rem;
    padding: 0.25rem 0.4rem;
    background: #fff;
  }

  .community-live-events i { font-style: normal; }
  .community-live-events strong { font-size: 0.56rem; }

  /* COMMUNITY_SHELL_V65: eliminado el footer propio de Comunidad; la navegación inferior es exclusivamente GlobalFooter. */

  /* A propósito NO hay reglas para .community-comment-dock, textarea ni input aquí. */

  @media (max-width: 390px) {
    .community-hub-header { gap: 0.32rem; }
    .community-hub-exit { min-height: 2.2rem; padding-inline: 0.5rem; font-size: 0.6rem; }
    .community-hub-level { max-width: 4.7rem; padding-inline: 0.44rem; font-size: 0.55rem; }
    .community-hub-brand small { font-size: 0.5rem; }
    .community-hub-brand strong { font-size: 0.9rem; }
    .community-hub-tabs button { font-size: 0.6rem; }
    .community-live-feature { padding-right: 4.5rem; }
    .community-live-feature__crest { right: 0.72rem; width: 3.2rem; height: 3.2rem; }
    .community-hub-topic { grid-template-columns: 2.3rem minmax(0, 1fr) 1.9rem; gap: 0.48rem; padding-inline: 0.56rem; }
    .community-hub-topic__icon,
    .community-hub-channel__icon { width: 2.3rem; height: 2.3rem; }
  }

/* Reutilizado desde community-hub-v19-fixes.css */
.community-hub-header {
    width: calc(100% + var(--mobile-gutter) + var(--mobile-gutter) + env(safe-area-inset-left) + env(safe-area-inset-right));
  }

/* Reutilizado desde match-surfaces-v20.css */
.community-v20-match {
    display: grid;
    gap: 0.38rem;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(190, 124, 19, 0.34);
    border-radius: 1.05rem;
    padding: 0.72rem;
    color: #17130f;
    background:
      radial-gradient(circle at 80% 0%, rgba(207, 145, 38, 0.10), transparent 9rem),
      #fff;
    box-shadow: 0 0.42rem 1.1rem rgba(46, 34, 13, 0.045);
    text-align: left;
  }

  .community-v20-match.is-live {
    border-color: rgba(194, 37, 47, 0.32);
  }

  .community-v20-match__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .community-v20-match__topline em {
    border-radius: 999px;
    padding: 0.24rem 0.46rem;
    color: #8c5909;
    background: #fff2d7;
    font-size: 0.52rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: 0.04em;
  }

  .community-v20-match.is-live .community-v20-match__topline em {
    color: #fff;
    background: #d52030;
  }

  .community-v20-match__topline small {
    overflow: hidden;
    color: #837b70;
    font-size: 0.55rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-v20-match__competition {
    color: #a4670d;
    font-size: 0.56rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }

  .community-v20-match__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.6rem minmax(0, 1fr);
    align-items: center;
    gap: 0.42rem;
    padding: 0.28rem 0 0.12rem;
  }

  .community-v20-match__teams > span {
    display: grid;
    min-width: 0;
    gap: 0.26rem;
    justify-items: center;
    text-align: center;
  }

  .community-v20-match__teams .fixture-team-logo,
  .community-v20-match__teams img {
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
  }

  .community-v20-match__teams strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.68rem;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-v20-match__teams > b {
    color: #9a610a;
    font-size: 1.08rem;
    text-align: center;
  }

  .community-v20-match__bottom {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.46rem;
    margin: 0.22rem -0.72rem -0.72rem;
    border-top: 1px solid rgba(36, 30, 21, 0.065);
    padding: 0.56rem 0.72rem;
    background: #fbf8f1;
  }

  .community-v20-match__bottom > span {
    color: #9a610a;
    font-size: 0.61rem;
    font-weight: 900;
  }

  .community-v20-match__bottom small {
    overflow: hidden;
    color: #837b70;
    font-size: 0.54rem;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-v20-match__bottom i {
    color: #a66a0d;
    font-size: 1.2rem;
    font-style: normal;
  }

  .community-v20-match.is-compact {
    grid-template-columns: 1fr;
  }

  .community-v20-match.is-compact .community-v20-match__teams {
    padding-block: 0.08rem;
  }

  .community-v20-match.is-compact .community-v20-match__teams .fixture-team-logo,
  .community-v20-match.is-compact .community-v20-match__teams img {
    width: 2.8rem;
    height: 2.8rem;
  }

  /* Editor de porra: un único bloque de escudos arriba. */
  .prediction-hub-sheet--v20 .prediction-hub-sheet__form .prediction-score-team > .prediction-team-crest,
  .prediction-hub-sheet--v20 .prediction-hub-sheet__form .prediction-score-team > :is(.fixture-team-logo, img):first-child {
    display: none !important;
  }

  .prediction-hub-sheet--v20 .prediction-hub-sheet__form .prediction-score-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .prediction-hub-sheet--v20 .prediction-hub-sheet__form .prediction-score-card__head {
    margin-bottom: 0.35rem;
    border: 0;
    padding-inline: 0;
    background: transparent;
  }

  .prediction-hub-sheet--v20 .prediction-hub-sheet__form .prediction-scoreboard {
    border: 1px solid rgba(35, 30, 22, 0.075);
    border-radius: 1rem;
    padding: 0.74rem 0.58rem;
    background: #fcfaf5;
  }

  .prediction-hub-sheet--v20 .prediction-hub-sheet__form .prediction-score-team {
    gap: 0.36rem;
  }

  .prediction-hub-sheet--v20 .prediction-hub-sheet__form .prediction-score-team > strong {
    color: #625b52;
    font-size: 0.64rem;
  }

  .prediction-v20-insights {
    display: grid;
    gap: 0.56rem;
    margin: 0 0.72rem 0.68rem;
    border: 1px solid rgba(35, 30, 22, 0.075);
    border-radius: 1rem;
    padding: 0.66rem;
    background: #fffdf8;
  }

  .prediction-v20-insights__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(35, 30, 22, 0.065);
    border-radius: 0.78rem;
    background: #fff;
  }

  .prediction-v20-insights__summary > div {
    display: grid;
    min-width: 0;
    gap: 0.08rem;
    justify-items: center;
    padding: 0.52rem 0.2rem;
    text-align: center;
  }

  .prediction-v20-insights__summary > div + div {
    border-left: 1px solid rgba(35, 30, 22, 0.06);
  }

  .prediction-v20-insights__summary strong {
    color: #9c6209;
    font-size: 0.94rem;
    line-height: 1;
  }

  .prediction-v20-insights__summary small {
    max-width: 100%;
    overflow: hidden;
    color: #81796e;
    font-size: 0.49rem;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .prediction-v20-consensus {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem 0.4rem;
    align-items: end;
  }

  .prediction-v20-consensus > div {
    display: grid;
    min-width: 0;
    gap: 0.05rem;
    text-align: center;
  }

  .prediction-v20-consensus span {
    overflow: hidden;
    color: #797168;
    font-size: 0.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .prediction-v20-consensus strong {
    color: #201c17;
    font-size: 0.72rem;
  }

  .prediction-v20-consensus__bar {
    display: grid !important;
    grid-column: 1 / -1;
    grid-template-columns: auto auto auto;
    height: 0.3rem;
    overflow: hidden !important;
    border-radius: 999px;
    background: #ece7dc;
  }

  .prediction-v20-consensus__bar i {
    display: block;
    width: calc(var(--p, 0) * 1%);
    min-width: calc(var(--p, 0) * 1%);
    height: 100%;
    background: currentColor;
  }

  .prediction-v20-consensus__bar i:nth-child(1) { color: #b97a16; }
  .prediction-v20-consensus__bar i:nth-child(2) { color: #b7b0a6; }
  .prediction-v20-consensus__bar i:nth-child(3) { color: #4d79a7; }

  .prediction-v20-popular {
    display: flex;
    gap: 0.32rem;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .prediction-v20-popular::-webkit-scrollbar { display: none; }

  .prediction-v20-popular > span {
    flex: 0 0 auto;
    color: #9c6209;
    font-size: 0.52rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .prediction-v20-popular b {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.24rem;
    border: 1px solid rgba(196, 131, 25, 0.18);
    border-radius: 999px;
    padding: 0.26rem 0.46rem;
    color: #70480b;
    background: #fff8e9;
    font-size: 0.58rem;
  }

  .prediction-v20-popular b small {
    color: #8a8175;
    font-size: 0.48rem;
    font-weight: 700;
  }

  .prediction-v20-insights__empty {
    margin: 0;
    color: #80786e;
    font-size: 0.56rem;
    line-height: 1.35;
    text-align: center;
  }

  @media (max-width: 390px) {
    .community-v20-match__teams .fixture-team-logo,
    .community-v20-match__teams img {
      width: 2.9rem;
      height: 2.9rem;
    }

    .community-v20-match__bottom {
      grid-template-columns: max-content minmax(0, 1fr) auto;
    }

    .prediction-v20-insights {
      margin-inline: 0.55rem;
    }
  }

/* Reutilizado desde match-surfaces-v20-fixes.css */
.prediction-v20-consensus__bar {
    display: flex !important;
    gap: 0 !important;
  }

  .prediction-v20-consensus__bar i {
    width: auto !important;
    min-width: 0 !important;
    flex: var(--p, 0) 1 0;
  }
}
