/* =============================================================================
   Matchplay
   ========================================================================== */

.page .content > .frame:has(.tx-gkmbmp-pi1) {
  display: block;
}

.container-matchplay,
.gkmb_mpFooterPrint,
#matchplaydesktop {
  display: none;
}

#matchplaymobil {
  display: block;
  padding: 3em 0;
}

.gkmbmatchplay,
.gkmbmpRegListTable,
#matchplayframe {
  background-color: transparent;
}

.gkmbmpRegListTable td:first-child {
  display: none;
}

.gkmbmpRegListTable td:last-child {
  display: block;
}

.gkmbmpDrawListTable {
  border-collapse: collapse;
  margin-left: 0;
}

.gkmbmpDrawListTable td {
  vertical-align: middle;
}

.gkmbmpPlayerCell,
.gkmbmpWinnerCell,
.gkmbmpFreedraw,
.gkmbmpWinner,
.gkmbmpLoser,
.gkmbmpOpen {
  padding: 0 0.1em 0 0.2em;
}

.gkmbmpPlayerCell {
  font-size: 86%;
  border-bottom: 1px solid rgb(var(--c-neutral-lighter));
  background-color: rgb(var(--c-neutral-lightest));
}

.gkmbmpPlayerCell font {
  color: rgb(195, 0, 0);
}

.gkmbmpWinnerCell {
  font-size: 86%;
  color: rgb(var(--c-neutral-lightest));
  background-color: rgb(var(--c-primary));
  border-left: 5px solid transparent;
}

.gkmbmpFreedraw,
.gkmbmpLoser {
  border: 2px solid transparent;
  background-color: transparent;
}

.gkmbmpWinner {
  border: 2px solid transparent;
  background-color: rgb(var(--c-neutral-lightest));
}

.gkmbmpOpen {
  border: 2px solid transparent;
  background-color: rgb(var(--c-neutral-light));
}

.gkmbmpEmptyCell {
  background-color: transparent;
}

.gkmbmpSpacer {
  font-size: 0.5em;
}

.gkmbmpBottomLine {
  border-bottom: 1px solid rgb(var(--c-neutral-darker));
}

.gkmbmpRightLine {
  border-right: 1px solid rgb(var(--c-neutral-darker));
}

.gkmbmpTopLine {
  border-top: 1px solid rgb(var(--c-neutral-darker));
}

.gkmbmpPlayerIdCell {
  font-size: 86%;
  background-color: rgb(var(--c-neutral-lighter));
  border-bottom: 1px solid rgb(var(--c-neutral-lightest-2));
}

.gkmbmpDrawListHeader,
.gkmbmpRegListHeader,
.gkmbmpRegline {
  font-weight: var(--f-weight-b);
  color: rgb(var(--c-neutral-darker));
}

.gkmbmpDrawListHeader,
.gkmbmpRegListHeader {
  font-size: 0.9em;
}

.gkmbmpStatusline {
  margin: 0;
  padding-bottom: 1.6em;
  font-family: var(--f-family-2);
  font-weight: var(--f-weight-el);
  font-size: 125%;
  line-height: 120%;
  text-transform: uppercase;
  color: rgb(var(--c-neutral-darker));
}

.gkmbmpStatuslinePre,
.gkmbmpDetailsCell {
  font-weight: var(--f-weight-b);
}

.gkmbmpDetailsCell {
  margin: 0 0 1.6em;
  font-size: 0.8em;
}

.gkmbmpEmptyDeadlineCell,
.gkmbmpDeadlineCell {
  text-transform: uppercase;
  color: rgb(var(--c-neutral-lightest));
  background-color: rgb(var(--c-primary));
}

.gkmbmpPlayerHeadline {
  padding: 0 0.3em;
  color: rgb(var(--c-neutral-lightest));
  background-color: rgb(var(--c-primary));
  border-bottom: 1px solid transparent;
}

@media (min-width: 801px) {
  #matchplaymobil {
    display: none;
  }

  #matchplaydesktop {
    display: block;
  }
}
