/* Bobbies App 1.0.2 — uitsluitend de app-pagina.
 * Mijn Bobbies: deelnemersberichten blijven op de gewone website beschikbaar.
 * Stand: mobiel drie kolommen zonder horizontale schuifbalk.
 */
.bobbies-app-my-bobbies .bpe-my-tabs .bpe-my-tab[data-tab="berichten"],
.bobbies-app-my-bobbies .bpe-my-panel[data-panel="berichten"] {
  display: none !important;
}

@media screen and (max-width: 900px) {
  .app-router-pool,
  .app-router-pool :is(.giro-new-stand-app,.tour-new-stand-app,.vuelta-new-stand-app,.feminin-new-stand-app),
  .app-router-pool .bpe-standings-clean,
  .app-router-pool .bpe-stand-table-card {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* De app heeft al een eigen titel 'Stand'. */
  .app-router-pool .bpe-standings-clean .bpe-standings-heading {
    display: none !important;
  }
  .app-router-pool .bpe-standings-clean .bpe-standings-topbar {
    margin: 0 0 10px !important;
    gap: 8px !important;
  }
  .app-router-pool .bpe-standings-clean .bpe-stand-table-toolbar {
    padding: 9px 8px !important;
  }
  .app-router-pool .bpe-standings-clean .bpe-nav {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }
  .app-router-pool .bpe-standings-clean .bpe-stage-select {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* De Engine forceert op de site min-width:640/760px. Alleen in de app
   * overschrijven we die breedte en verbergen we de tussenkolommen. */
  html[data-bpe-theme] .app-router-pool .bpe-standings-clean .bpe-stand-wrap,
  .app-router-pool .bpe-standings-clean .bpe-stand-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }
  html[data-bpe-theme] .app-router-pool .bpe-standings-clean .bpe-stand-wrap table,
  .app-router-pool .bpe-standings-clean .bpe-stand-wrap table {
    display: table !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  /* Totaalstand: positie | team | totaal. Dagklassement heeft al 3 kolommen. */
  html[data-bpe-theme] .app-router-pool .bpe-standings-clean:not(.bpe-stand-mode-day) .bpe-stand-wrap :is(th,td).bpe-move,
  .app-router-pool .bpe-standings-clean:not(.bpe-stand-mode-day) .bpe-stand-wrap :is(th,td).bpe-move,
  html[data-bpe-theme] .app-router-pool .bpe-standings-clean:not(.bpe-stand-mode-day) .bpe-stand-wrap :is(th,td).bpe-score:not(:last-child),
  .app-router-pool .bpe-standings-clean:not(.bpe-stand-mode-day) .bpe-stand-wrap :is(th,td).bpe-score:not(:last-child) {
    display: none !important;
  }

  html[data-bpe-theme] .app-router-pool .bpe-standings-clean .bpe-stand-wrap :is(th,td),
  .app-router-pool .bpe-standings-clean .bpe-stand-wrap :is(th,td) {
    box-sizing: border-box !important;
    padding: 9px 5px !important;
    font-size: .88rem !important;
    line-height: 1.3 !important;
    vertical-align: middle !important;
  }
  html[data-bpe-theme] .app-router-pool .bpe-standings-clean .bpe-stand-wrap :is(th,td).bpe-pos,
  .app-router-pool .bpe-standings-clean .bpe-stand-wrap :is(th,td).bpe-pos {
    width: 35px !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  html[data-bpe-theme] .app-router-pool .bpe-standings-clean .bpe-stand-wrap :is(th,td).bpe-team,
  .app-router-pool .bpe-standings-clean .bpe-stand-wrap :is(th,td).bpe-team {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: left !important;
  }
  html[data-bpe-theme] .app-router-pool .bpe-standings-clean .bpe-stand-wrap :is(th,td).bpe-score:last-child,
  .app-router-pool .bpe-standings-clean .bpe-stand-wrap :is(th,td).bpe-score:last-child {
    width: 74px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
  }
  /* Dagklassement: de derde kolom toont de dagscore. */
  html[data-bpe-theme] .app-router-pool .bpe-standings-clean.bpe-stand-mode-day .bpe-stand-wrap :is(th,td).bpe-score:last-child,
  .app-router-pool .bpe-standings-clean.bpe-stand-mode-day .bpe-stand-wrap :is(th,td).bpe-score:last-child {
    width: 84px !important;
  }
}
