/*
FUTSALSCORE 1.0.2 — WEBSITE LAYOUT
Load after style.css. Only desktop browser rules (>=601px, excluding .capacitor).
Native app values remain in style.css until their separate review.
Competition values are intentionally separate: never merge their selectors.
Editing map and validation commands: docs/layout-1.0.2/README.md.
*/
/* Desktop home: align next-round team names with the other summary blocks. */
@media (min-width: 601px) {
  body:not(.capacitor) .hub-next-round .next-team {
    font-size: 14px;
  }
  body:not(.capacitor) .hub-next-round .next-vs .time-undetermined {
    font-size: 12px !important;
    display: block;
    width: 100%;
    max-width: 64px;
    margin-inline: auto;
    text-align: center;
    line-height: 1.25 !important;
  }
  body:not(.capacitor) .hub-next-round .next-match .match-date {
    font-size: 14px;
  }
}
@media (min-width: 601px) {
  /* FICHA DE JOGO — CABECALHO COM ESPACO ESTAVEL PARA DUAS LINHAS */
  body:not(.capacitor) #match-sheet-modal .mt {
    font-size: 15px;
  }
  body:not(.capacitor) #match-sheet-modal .match-sheet-sub {
    font-size: 13px;
  }
  body:not(.capacitor) #match-sheet-modal .match-sheet-score .sheet-team-name {
    font-size: 15px !important;
  }
  body:not(.capacitor) #match-sheet-modal .match-sheet-score strong {
    font-size: 22px !important;
  }
  body:not(.capacitor) .match-sheet-score:not(.video-match-summary) {
    min-height: 60px;
    padding: 6px 8px !important;
    align-items: center !important;
  }
  body:not(.capacitor)
    .match-sheet-score:not(.video-match-summary)
    .sheet-team-name {
    min-height: 2.4em;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }
  /* CABECALHO — CONTEUDO DOS DROPDOWNS DE COMPETICAO / EPOCA */
  body:not(.capacitor) .dd-panel .dd-grp {
    font-size: 10px;
  }
  body:not(.capacitor) .dd-panel .dd-btn {
    font-size: 12.5px;
  }
  /* Cup home has its own values, independent of league refinements. */
  /* SUPERTACA — INICIO */
  body:not(.capacitor) .supercup-home-panel .jnav-num {
    font-size: 17px;
  }
  body:not(.capacitor) .supercup-home-panel .jnav-date {
    font-size: 12px;
  }
  body:not(.capacitor) .supercup-home-panel .jnav-st {
    font-size: 10.5px;
  }
  body:not(.capacitor) .supercup-home-panel .jnav-btn {
    font-size: 12px;
  }
  body:not(.capacitor) .supercup-home-panel .hub-match {
    grid-template-columns: 26px minmax(0, 1fr) 76px minmax(0, 1fr) 122px;
    gap: 10px;
  }
  body:not(.capacitor) .supercup-home-panel .hub-t {
    font-size: 15px;
  }
  body:not(.capacitor) .supercup-home-panel .hub-t .tl-wrap {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
  }
  body:not(.capacitor) .supercup-home-panel .hub-score.played {
    font-size: 15px !important;
  }
  body:not(.capacitor) .supercup-home-panel .j-time {
    font-size: 15px !important;
  }
  body:not(.capacitor) .supercup-home-panel .match-meta .match-date {
    font-size: 14px;
  }
  body:not(.capacitor) .supercup-home-panel .match-meta .match-sheet-btn {
    font-size: 11px;
  }
  body:not(.capacitor) .supercup-home-panel .hub-score-wrap > .last-edit-label {
    font-size: 11px !important;
  }
  body:not(.capacitor) .supercup-home-panel .j-time .time-undetermined {
    display: block;
    width: 76px;
    max-width: 76px;
    margin: 0 auto;
    padding: 0 4px;
    box-sizing: border-box;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center;
  }
  /* SUPERTACA — FASES */
  body:not(.capacitor) .supercup-phases-panel .cup-ph-name {
    font-size: 17px;
  }
  body:not(.capacitor) .supercup-phases-panel .cup-ph-date {
    font-size: 12px;
  }
  body:not(.capacitor) .supercup-phases-panel .cup-ph-st {
    font-size: 10.5px;
  }
  body:not(.capacitor) .supercup-phases-panel .jnav-btn {
    font-size: 12px;
  }
  body:not(.capacitor) .supercup-phases-panel .hub-match {
    grid-template-columns: 26px minmax(0, 1fr) 76px minmax(0, 1fr) 122px;
    gap: 10px;
  }
  body:not(.capacitor) .supercup-phases-panel .hub-t {
    font-size: 15px;
  }
  body:not(.capacitor) .supercup-phases-panel .hub-t .tl-wrap {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
  }
  body:not(.capacitor) .supercup-phases-panel .hub-score.played {
    font-size: 15px !important;
  }
  body:not(.capacitor) .supercup-phases-panel .j-time {
    font-size: 15px !important;
  }
  body:not(.capacitor) .supercup-phases-panel .match-meta .match-date {
    font-size: 14px;
  }
  body:not(.capacitor) .supercup-phases-panel .match-meta .match-sheet-btn {
    font-size: 11px;
  }
  body:not(.capacitor)
    .supercup-phases-panel
    .hub-score-wrap
    > .last-edit-label {
    font-size: 11px !important;
  }
  body:not(.capacitor) .supercup-phases-panel .j-time .time-undetermined {
    display: block;
    width: 76px;
    max-width: 76px;
    margin: 0 auto;
    padding: 0 4px;
    box-sizing: border-box;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center;
  }
  body:not(.capacitor) .supercup-phases-panel .cup-ph-hd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
  }
  body:not(.capacitor) .supercup-phases-panel .cup-ph-hd > div,
  body:not(.capacitor) .supercup-phases-panel .cup-ph-st {
    transform: translateX(-48px);
  }
  body:not(.capacitor) .supercup-phases-panel .cup-ph-name {
    font-weight: 900;
    letter-spacing: -0.5px;
  }
  body:not(.capacitor) .supercup-phases-panel .cup-ph-date {
    margin-top: 1px;
  }
  body:not(.capacitor) .supercup-phases-panel .cup-ph-st {
    display: block;
    margin-top: 3px;
    letter-spacing: 1.5px;
  }
  /* SUPERTACA — QUADRO */
  body:not(.capacitor) .supercup-bracket-panel .cup-ph-name {
    font-size: 17px;
  }
  body:not(.capacitor) .supercup-bracket-panel .cup-ph-date {
    font-size: 12px;
  }
  body:not(.capacitor) .supercup-bracket-panel .cup-ph-st {
    font-size: 10.5px;
  }
  body:not(.capacitor) .supercup-bracket-panel .jnav-btn {
    font-size: 12px;
  }
  body:not(.capacitor) .supercup-bracket-panel .hub-match {
    grid-template-columns: 26px minmax(0, 1fr) 76px minmax(0, 1fr) 122px;
    gap: 10px;
  }
  body:not(.capacitor) .supercup-bracket-panel .hub-t {
    font-size: 15px;
  }
  body:not(.capacitor) .supercup-bracket-panel .hub-t .tl-wrap {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
  }
  body:not(.capacitor) .supercup-bracket-panel .hub-score.played {
    font-size: 15px !important;
  }
  body:not(.capacitor) .supercup-bracket-panel .j-time {
    font-size: 15px !important;
  }
  body:not(.capacitor) .supercup-bracket-panel .match-meta .match-date {
    font-size: 14px;
  }
  body:not(.capacitor) .supercup-bracket-panel .match-meta .match-sheet-btn {
    font-size: 11px;
  }
  body:not(.capacitor)
    .supercup-bracket-panel
    .hub-score-wrap
    > .last-edit-label {
    font-size: 11px !important;
  }
  body:not(.capacitor) .supercup-bracket-panel .j-time .time-undetermined {
    display: block;
    width: 76px;
    max-width: 76px;
    margin: 0 auto;
    padding: 0 4px;
    box-sizing: border-box;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center;
  }
  body:not(.capacitor) .supercup-bracket-panel .cup-ph-hd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
  }
  body:not(.capacitor) .supercup-bracket-panel .cup-ph-hd > div,
  body:not(.capacitor) .supercup-bracket-panel .cup-ph-st {
    transform: translateX(-48px);
  }
  body:not(.capacitor) .supercup-bracket-panel .cup-ph-name {
    font-weight: 900;
    letter-spacing: -0.5px;
  }
  body:not(.capacitor) .supercup-bracket-panel .cup-ph-date {
    margin-top: 1px;
  }
  body:not(.capacitor) .supercup-bracket-panel .cup-ph-st {
    display: block;
    margin-top: 3px;
    letter-spacing: 1.5px;
  }
  /* SUPERTACA — MARCADORES */
  body:not(.capacitor) .supercup-scorers-panel .top-scorers-table th {
    font-size: 13px;
  }
  body:not(.capacitor) .supercup-scorers-panel .top-scorers-table td {
    font-size: 15px;
  }
  body:not(.capacitor)
    .supercup-scorers-panel
    .top-scorers-table
    :is(.scorer-player-link, .t-btn) {
    font-size: 13.5px;
  }
  body:not(.capacitor) .supercup-scorers-panel .top-scorers-table .pos {
    font-size: 12px;
    width: 24px;
    height: 24px;
  }
  /* TACA — MARCADORES */
  body:not(.capacitor) .cup-scorers-panel .top-scorers-table th {
    font-size: 13px;
  }
  body:not(.capacitor) .cup-scorers-panel .top-scorers-table td {
    font-size: 15px;
  }
  body:not(.capacitor)
    .cup-scorers-panel
    .top-scorers-table
    :is(.scorer-player-link, .t-btn) {
    font-size: 13.5px;
  }
  body:not(.capacitor) .cup-scorers-panel .top-scorers-table .pos {
    font-size: 12px;
    width: 24px;
    height: 24px;
  }
  /* TACA — FASES */
  body:not(.capacitor) .cup-phases-panel .hub-t {
    font-size: 13px;
  }
  body:not(.capacitor) .cup-phases-panel .hub-score.played {
    font-size: 14px !important;
  }
  body:not(.capacitor) .cup-phases-panel .j-time {
    font-size: 13px !important;
  }
  body:not(.capacitor) .cup-phases-panel .match-meta .match-date {
    font-size: 11px;
  }
  body:not(.capacitor) .cup-phases-panel .cup-ph-date {
    font-size: 11px;
  }
  body:not(.capacitor) .cup-phases-panel .j-time .time-undetermined {
    display: block;
    width: 76px;
    max-width: 76px;
    margin: 0 auto;
    padding: 0 4px;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    box-sizing: border-box;
    text-align: center;
  }
  /* TACA — QUADRO */
  body:not(.capacitor) .cup-bracket-panel .hub-match {
    grid-template-columns: 26px minmax(0, 1fr) 76px minmax(0, 1fr) 122px;
    gap: 10px;
  }
  body:not(.capacitor) .cup-bracket-panel .hub-t {
    font-size: 15px;
  }
  body:not(.capacitor) .cup-bracket-panel .hub-t .tl-wrap {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
  }
  body:not(.capacitor) .cup-bracket-panel .hub-score.played {
    font-size: 15px !important;
  }
  body:not(.capacitor) .cup-bracket-panel .j-time {
    font-size: 15px !important;
  }
  body:not(.capacitor) .cup-bracket-panel .match-meta .match-date {
    font-size: 14px;
  }
  body:not(.capacitor) .cup-bracket-panel .match-meta .match-sheet-btn {
    font-size: 11px;
  }
  body:not(.capacitor) .cup-bracket-panel .cup-ph-name {
    font-size: 17px;
  }
  body:not(.capacitor) .cup-bracket-panel .cup-ph-date {
    font-size: 12px;
  }
  body:not(.capacitor) .cup-bracket-panel .cup-ph-st {
    font-size: 10.5px;
  }
  body:not(.capacitor) .cup-bracket-panel .j-time .time-undetermined {
    display: block;
    width: 76px;
    max-width: 76px;
    margin: 0 auto;
    padding: 0 4px;
    box-sizing: border-box;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center;
  }
  /* TACA — INICIO */
  body:not(.capacitor) .cup-home-panel .jnav-num {
    font-size: 17px;
  }
  body:not(.capacitor) .cup-home-panel .jnav-date {
    font-size: 12px;
  }
  body:not(.capacitor) .cup-home-panel .jnav-st {
    font-size: 10.5px;
  }
  body:not(.capacitor) .cup-home-panel .jnav-btn {
    font-size: 12px;
  }
  body:not(.capacitor) .cup-home-panel .hub-match {
    grid-template-columns: 26px minmax(0, 1fr) 76px minmax(0, 1fr) 122px;
    gap: 10px;
  }
  body:not(.capacitor) .cup-home-panel .hub-t {
    font-size: 15px;
  }
  body:not(.capacitor) .cup-home-panel .hub-t .tl-wrap {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
  }
  body:not(.capacitor) .cup-home-panel .hub-score.played {
    font-size: 15px !important;
  }
  body:not(.capacitor) .cup-home-panel .j-time {
    font-size: 15px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  body:not(.capacitor) .cup-home-panel .cup-match-center,
  body:not(.capacitor) .cup-home-panel .hub-score.timeslot {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  body:not(.capacitor) .cup-home-panel .j-time .time-undetermined {
    display: block;
    width: 76px;
    max-width: 76px;
    margin: 0 auto;
    padding: 0 4px;
    box-sizing: border-box;
    font-size: 12px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center;
  }
  body:not(.capacitor) .cup-home-panel .match-meta .match-date {
    font-size: 14px;
  }
  body:not(.capacitor) .cup-home-panel .match-meta .match-sheet-btn {
    font-size: 11px;
  }
  /* INICIO — RODAPE ADMIN (FOLGA / EXPORTACAO) */
  body:not(.capacitor) .hub-round-footer.has-export {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  body:not(.capacitor) .hub-round-footer.has-export > .hub-bye {
    flex: 1;
    min-width: 0;
    padding-top: 6px;
    padding-bottom: 10px;
  }
  body:not(.capacitor)
    .hub-round-footer.has-export
    > div:last-child:not(.hub-bye) {
    margin-left: auto;
    flex-shrink: 0;
  }
  /* EQUIPA — INFO / DADOS */
  body:not(.capacitor) .info-row .info-lbl {
    font-size: 12px;
  }
  body:not(.capacitor) .info-row .info-val {
    font-size: 14px;
  }
  /* EQUIPA — INFO / ESTATISTICAS */
  body:not(.capacitor) .team-stats-cards .scard-lbl {
    font-size: 12px;
  }
  body:not(.capacitor) .team-stats-cards .scard-p {
    font-size: 11.5px;
  }
  body:not(.capacitor) .team-stats-cards :is(.scard-n, .scard-v) {
    font-size: 13px;
  }
  body:not(.capacitor) .team-stats-cards .scard-v {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    white-space: nowrap;
  }
  /* EQUIPA — CABECALHO E SEPARADORES */
  body:not(.capacitor) .td-title {
    font-size: 19px;
  }
  /* EQUIPA — JOGOS */
  body:not(.capacitor) .mr :is(.th, .ta) {
    font-size: 12.5px;
  }
  body:not(.capacitor) .mr .sc {
    font-size: 14px;
  }
  body:not(.capacitor) .mr .sc.pend {
    font-size: 12px;
  }
  body:not(.capacitor) .mr .sc.schedule-state {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 4px;
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-align: center;
  }
  body:not(.capacitor) .mr .sc.schedule-state-long {
    font-size: 9px;
  }
  body:not(.capacitor) .mr .jt {
    font-size: 11px;
  }
  /* EQUIPA — PLANTEL E LEGENDAS */
  body:not(.capacitor) .t-tab {
    font-size: 14px;
  }
  body:not(.capacitor) .tsl {
    font-size: 12px;
  }
  body:not(.capacitor) .cromo-grp-hd {
    font-size: 11px;
  }
  body:not(.capacitor) .cromo-ps {
    font-size: 12px;
  }
  /* COMUNIDADE — CABECALHO */
  body:not(.capacitor) .community-heading h1 {
    font-size: 31px;
  }
  body:not(.capacitor) .community-heading > .community-meta {
    font-size: 14px;
  }
  body:not(.capacitor) .community-heading .community-brand img {
    width: 160px;
  }
  /* EQUIPAS — CARTOES */
  body:not(.capacitor) .t-grid .t-name {
    font-size: 15px;
    line-height: 1.2;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body:not(.capacitor) .t-grid .t-card-logo .tl-wrap {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
  }
  body:not(.capacitor) .t-grid .t-stats {
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3px 4px;
  }
  body:not(.capacitor) .t-grid .t-stats > span {
    white-space: nowrap;
  }
  body:not(.capacitor) .t-grid .t-stats > span + span::before {
    content: "·";
    color: var(--sub);
    margin-right: 4px;
    font-weight: 400;
  }
  /* CAMPEONATO — CLASSIFICACAO COMPLETA */
  body:not(.capacitor) .standings-played-summary {
    font-size: 13px !important;
  }
  body:not(.capacitor) .standings-main th {
    font-size: 13px;
  }
  body:not(.capacitor) .standings-main td {
    font-size: 15px;
  }
  body:not(.capacitor) .standings-main td.pts {
    font-size: 17px;
  }
  body:not(.capacitor) .standings-main .t-btn {
    font-size: 13.5px;
  }
  body:not(.capacitor) .standings-main .pos {
    font-size: 12px;
    width: 24px;
    height: 24px;
  }
  body:not(.capacitor) .standings-main .tl-wrap {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
  }
  /* MARCADORES — VALORES BASE DO SITE */
  body:not(.capacitor) .top-scorers-table th {
    font-size: 13px;
  }
  body:not(.capacitor) .top-scorers-table td {
    font-size: 15px;
  }
  body:not(.capacitor) .top-scorers-table :is(.scorer-player-link, .t-btn) {
    font-size: 13.5px;
  }
  body:not(.capacitor) .top-scorers-table .pos {
    font-size: 12px;
    width: 24px;
    height: 24px;
  }
  /* CAMPEONATO — CALENDARIO */
  body:not(.capacitor) .j-card .j-dt {
    font-size: 11px;
  }
  body:not(.capacitor) .j-card .mrow {
    grid-template-columns: 18px minmax(0, 1fr) 52px minmax(0, 1fr) 94px;
  }
  body:not(.capacitor) .j-card .tm {
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  body:not(.capacitor) .j-card .scell {
    font-size: 14px;
  }
  body:not(.capacitor) .j-card .scell .j-time {
    font-size: 13px;
  }
  body:not(.capacitor) .j-card .scell.timeslot {
    min-width: 0;
  }
  body:not(.capacitor) .j-card .scell.timeslot .j-time {
    width: 100%;
    min-width: 0;
  }
  body:not(.capacitor) .j-card .scell .time-undetermined {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 2px;
    font-size: 9px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
    text-align: center;
  }
  body:not(.capacitor) .j-card .match-date {
    font-size: 11px;
  }
  body:not(.capacitor) .j-card .bye-row {
    font-size: 11px;
  }
  body:not(.capacitor) .j-card .tm-folga {
    font-size: 11px;
  }
  /* INICIO — DATA E BOTAO DA FICHA */
  body:not(.capacitor) .hub-match > .match-meta .match-date {
    font-size: 14px;
  }
  body:not(.capacitor) .hub-match .match-meta .match-sheet-btn {
    font-size: 11px;
  }
}
/* Mobile only: expand each score edge by two pixels without moving the grid. */
@media(max-width:600px){
 body:not(.capacitor) .hub-match .hub-sw .hub-score.played{width:calc(100% + 4px)!important;max-width:calc(100% + 4px)!important;margin:0 -2px!important;position:relative;left:0;padding:3px 4px!important;font-variant-numeric:tabular-nums;white-space:nowrap}
 body:not(.capacitor) .hub-match .hub-sw .hub-score.played.score-double{font-size:12px!important;letter-spacing:-.2px}
}
@media(max-width:380px){body:not(.capacitor) .hub-match .hub-sw .hub-score.played.score-double{font-size:10px!important;letter-spacing:-.4px}}
@media(max-width:380px){body:not(.capacitor) .hub-match .hub-sw .hub-score.played.score-double{word-spacing:-3px}}
/* Current-round unknown kickoff must fit inside its existing centre column. */
@media (min-width:601px){
 body:not(.capacitor) .hub-match > .hub-sw .j-time .time-undetermined{display:block;width:100%;max-width:100%;box-sizing:border-box;font-size:12px!important;line-height:1.25!important;text-align:center}
}
