@layer custom {
  body.home {
    height: auto;
    min-height: 100vh;
    display: block;
    overflow: visible;
  }
  body.home .home-logo {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    flex: none;
  }
  body.home .home-poster {
    width: 5.5rem;
    max-height: 8rem;
    object-fit: cover;
    flex: none;
  }
  body.next {
    line-height: normal;
  }
  body.next #idle {
    font-size: 3rem;
    color: #3072AB;
    font-weight: 700;
    line-height: 1;
    z-index: 20;
    background-color: #333;
  }
  body.next #idle .info {
    padding: 20px 0;
  }
  body.next #idle .info .logo {
    max-height: 30vh;
    width: auto;
    object-fit: contain;
  }
  body.next #idle .info .name {
    font-size: 4rem;
    margin-top: 10vh;
  }
  body.next #idle .info .tournament-name {
    font-size: 7rem;
    color: white;
  }
  body.next #idle .info .countdown {
    position: absolute;
    bottom: 5vh;
    left: 0;
    right: 0;
    font-size: 3.5rem;
    color: white;
    font-weight: normal;
  }
  body.next #idle .info .countdown .countdown-value {
    font-size: 4rem;
    color: #E3001B;
    font-weight: 900;
  }
  body.next header {
    background-color: #333;
    z-index: 10;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6);
  }
  body.next header .tournament-name {
    color: white;
    font-size: 4rem;
    align-self: center;
    padding: 0 20px;
    padding-left: 20px;
  }
  body.next header .logo {
    max-height: 12vh;
    height: 100%;
    width: auto;
    object-fit: contain;
  }
  body.next .hall-name {
    font-size: 10vh;
    text-transform: uppercase;
    margin: 20px 0;
  }
  body.next .hall:first-child {
    background: #bbdefb;
    color: #3072AB;
  }
  body.next .hall {
    background: #ffe0b2;
    color: #e65100;
  }
  body.next .hall {
    font-family: "Lato", Arial, sans-serif;
    height: 88vh;
    width: 100%;
    position: relative;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
  }
  body.next .hall .match-number {
    position: absolute;
    font-size: 80vh;
    font-weight: 800;
    text-shadow: 10px 10px 20px rgba(0, 0, 0, 0.6);
    line-height: 1;
    width: 100%;
    line-height: 1;
    left: 0;
    top: auto;
    text-align: center;
  }
  body.next .hall .estimated {
    position: absolute;
    bottom: 2vh;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 7vh;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.35);
    z-index: 5;
  }
  body.next .hall .estimated.state-advance {
    color: #2e7d32;
  }
  body.next .hall .estimated.state-delay {
    color: #c62828;
  }
  body.next .hall .estimated.state-ontime {
    color: #1565c0;
  }
  body.next .hall .court {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 0vh;
    font-size: 15vh;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.35);
    z-index: 5;
  }
  body.next .hall.named .match-number {
    font-size: 50vh;
  }
  body.next #error {
    z-index: 1000;
    color: #ff0000;
  }
  body.next .server-error {
    z-index: 1000;
    font-size: 4vh;
    font-weight: bold;
    line-height: 1.2;
    padding: 1vh 0;
  }
  body.control {
    line-height: normal;
    background-color: var(--bs-bg-2);
    color: #333;
    font-family: "Robot", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
  body.control header {
    width: 100%;
    height: 6vh;
    flex: 0 0 6vh;
    background-color: #333;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 100%;
    z-index: 10;
    align-items: center;
  }
  body.control header .tournament-name {
    color: white;
    font-size: 3vh;
    padding: 0 20px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.control header .logo {
    height: 80%;
    margin-left: 20px;
  }
  body.control header .header-switches {
    justify-self: end;
  }
  body.control header .theme-toggle {
    color: white;
    font-size: 2vh;
    padding-right: 20px;
  }
  body.control .server-error {
    flex: 0 0 auto;
    width: 100%;
    padding: 6px 0;
    text-align: center;
    font-weight: bold;
    z-index: 15;
  }
  body.control #echeancier-error {
    display: none;
    flex: 0 0 auto;
    width: 100%;
    padding: 6px 0;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background-color: #c62828;
    z-index: 15;
  }
  body.control .courts {
    display: grid;
    grid-template: repeat(3, 1fr)/repeat(3, 1fr);
    margin: 0;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }
  body.control .courts .court-empty {
    margin: 2px;
  }
  body.control .courts .control-container,
  body.control .courts .temperature-container {
    --bs-shadow-strength: 4;
  }
  body.control .courts .court-empty,
  body.control .courts .court-container {
    background-color: #b0cad7;
  }
  [data-bs-theme=dark] body.control .courts .court-empty,
  [data-bs-theme=dark] body.control .courts .court-container {
    background-color: #4f5b61;
  }
  body.control .courts .court-container {
    color: #fff;
  }
  body.control .courts .court-container.hall-secondary {
    background-color: #ffa726;
  }
  [data-bs-theme=dark] body.control .courts .court-container.hall-secondary {
    background-color: #734b11;
  }
  body.control .courts .court-container {
    text-align: center;
    padding: 10px;
    margin: 2px;
    position: relative;
    min-height: 0;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body.control .courts .court-container * {
    box-sizing: content-box;
  }
  body.control .courts .court-container.active .court .match-number-container {
    display: block;
  }
  [data-bs-theme=dark] body.control .courts .court-container:not(.missing) .court .court-number-container {
    color: #fff;
  }
  body.control .courts .court-container.missing .court .court-number-container {
    color: #e53935;
    font-weight: normal;
  }
  body.control .courts .court-container .court-lines {
    display: block;
    aspect-ratio: 1340/610;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }
  [data-bs-theme=dark] body.control .courts .court-container .court-lines {
    filter: brightness(0.6);
  }
  [data-bs-theme=dark] body.control .courts .court-container .court-lines.warmup {
    filter: none;
  }
  body.control .courts .court-container .court {
    position: absolute;
    top: 0;
    left: 5px;
    right: 5px;
    bottom: 0;
    display: flex;
    container-type: inline-size;
  }
  body.control .courts .court-container .court .court-left,
  body.control .courts .court-container .court .court-right,
  body.control .courts .court-container .court .court-center {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  body.control .courts .court-container .court .court-left,
  body.control .courts .court-container .court .court-right {
    width: 35%;
    justify-content: center;
    gap: 2vh;
  }
  body.control .courts .court-container .court .court-center {
    flex-grow: 1;
    min-width: 0;
    justify-content: space-between;
    margin: 2vh 0;
  }
  body.control .courts .court-container .court .court-number-container {
    text-align: center;
    font-weight: bold;
    font-size: 1.4vw;
    color: #424242;
    margin-top: 5px;
    display: block !important;
  }
  body.control .courts .court-container .court .match-number-container {
    display: none;
    text-align: center;
    font-size: 0.65vw;
    color: #424242;
  }
  body.control .courts .court-container .court .match-number-container .match-number {
    font-weight: 800;
    font-family: "Lato", Arial, sans-serif;
    font-size: 2vw;
    line-height: 2vw;
  }
  body.control .courts .court-container .court .serie-container {
    text-align: center;
    color: #616161;
  }
  body.control .courts .court-container .court .serie-container .serie {
    font-size: 0.8vw;
    font-weight: bold;
  }
  body.control .courts .court-container .court .serie-container .step {
    font-size: 0.7vw;
  }
  [data-bs-theme=dark] body.control .courts .court-container .court .match-number-container {
    color: #fff;
  }
  [data-bs-theme=dark] body.control .courts .court-container .court .serie-container {
    color: #e0e0e0;
  }
  body.control .courts .court-container .court .live-score {
    background: rgba(255, 255, 255, 0.5);
    width: 100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1px;
    padding: 1px;
  }
  body.control .courts .court-container .court .live-score .score {
    display: none;
    padding: 3px 0;
    color: #EF7E07;
    background: #000;
  }
  body.control .courts .court-container .court .live-score .score.score-high {
    font-weight: bold;
  }
  body.control .courts .court-container .court .duration {
    font-size: 1.2vw;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
  }
  body.control .courts .court-container .court .duration.warmup {
    color: #ff9800;
  }
  body.control .courts .court-container .court .match-progress {
    display: flex;
    align-items: stretch;
    align-self: center;
    width: 50cqw;
    flex: 0 0 auto;
    height: 15px;
    max-height: 15px;
    margin: 4px 0 0;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #fff;
    border-radius: 4px;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
    overflow: hidden;
  }
  body.control .courts .court-container .court .match-progress div {
    height: 100%;
  }
  body.control .courts .court-container .court .match-progress .match-progress-warmup {
    background-color: #ffeb3b;
  }
  body.control .courts .court-container .court .match-progress .match-progress-elapsed {
    background-color: #4caf50;
  }
  body.control .courts .court-container .court .match-progress .match-progress-overtime {
    background-color: #e53935;
  }
  body.control .courts .court-container .court .player-container {
    font-size: 0.9vw;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 0.1vw;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    border: 1px solid transparent;
  }
  body.control .courts .court-container .court .player-container.with-logo {
    border-radius: 2vw 4px 4px 2vw;
  }
  body.control .courts .court-container .court .player-container .logo {
    flex: 0 0 auto;
    width: 2vw;
    height: 2vw;
    border: 1px solid #616161;
    padding: 2px;
    border-radius: 100%;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.7);
  }
  body.control .courts .court-container .court .player-container .player {
    min-width: 0;
    flex: 0 1 auto;
    flex-grow: 1;
    padding: 4px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #424242;
    white-space: nowrap;
  }
  body.control .courts .court-container .court .player-container .player .name {
    font-size: 0.9vw;
  }
  body.control .courts .court-container .court .player-container .player .info {
    font-size: 0.6vw;
    color: #616161;
    font-weight: normal;
  }
  body.control .courts .court-container .court .singles {
    justify-content: center;
  }
  body.control .courts .court-container .court .singles .player2 {
    display: none;
  }
  body.control .courts .court-container:not([data-orientation=v]) .court .court-right .player-container {
    flex-direction: row-reverse;
  }
  body.control .courts .court-container:not([data-orientation=v]) .court .court-right .player-container.with-logo {
    border-radius: 4px 2vw 2vw 4px;
  }
  body.control .courts .court-container[data-orientation=v] .court-lines {
    aspect-ratio: 610/1340;
  }
  body.control .courts .court-container[data-orientation=v] .court {
    flex-direction: column;
  }
  body.control .courts .court-container[data-orientation=v] .court .court-left,
  body.control .courts .court-container[data-orientation=v] .court .court-right {
    width: 100%;
    height: 35%;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 0;
    align-items: center;
  }
  body.control .courts .court-container[data-orientation=v] .court .court-left .player,
  body.control .courts .court-container[data-orientation=v] .court .court-right .player {
    /*flex: 1 1 50%;
    max-width: 50%;*/
    min-width: 0;
  }
  body.control .courts .court-container[data-orientation=v] .court .court-left .player .name,
  body.control .courts .court-container[data-orientation=v] .court .court-right .player .name {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.1;
  }
  body.control .courts .court-container[data-orientation=v] .court .court-left .player .info,
  body.control .courts .court-container[data-orientation=v] .court .court-right .player .info {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.control .courts .court-container[data-orientation=v] .court .court-center {
    margin: 10px 2vw;
  }
  body.control .courts .court-container[data-orientation=v] .court .match-number-container {
    font-size: 0.9vw;
  }
  body.control .courts .court-container[data-orientation=v] .court .match-number-container .match-number {
    display: inline;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
  }
  body.control .courts .court-container[data-orientation=v] .court .serie-container .serie {
    font-size: 0.6vw;
    font-weight: normal;
    display: inline;
  }
  body.control .courts .court-container[data-orientation=v] .court .serie-container .step {
    font-size: 0.6vw;
    font-weight: normal;
    display: inline;
  }
  body.control .courts .court-container[data-orientation=v] .court .player1 {
    margin-top: 0;
  }
  body.control .courts .court-container[data-orientation=v] .court .player2 {
    margin-bottom: 0;
  }
  body.control .courts .control-container {
    color: var(--bs-fg-body);
    text-align: center;
    margin: 2px;
    padding: 2px;
    position: relative;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    overflow: hidden;
  }
  body.control .courts .control-container.control-row {
    flex-direction: row;
  }
  body.control .courts .control-container.control-row .control-top {
    flex: 0 0 40%;
    width: auto;
    height: 128px;
  }
  body.control .courts .control-container.control-row .schedule-card {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  body.control .courts .control-container.multi-hall .control-tabs {
    flex: 0 0 auto;
    justify-content: center;
    --bs-nav-link-padding-y: .125rem;
    font-size: 13px;
  }
  body.control .courts .control-container.multi-hall .control-tabs .series-pending-dot {
    font-size: 8px;
  }
  body.control .courts .control-container.multi-hall .control-tab-content {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  body.control .courts .control-container.multi-hall .control-tab-content > .tab-pane.active {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  body.control .courts .control-container.multi-hall .control-tab-content > .control-tab-series.active {
    flex-direction: row;
  }
  body.control .courts .control-container.multi-hall .next-match-container .next-match-number-container {
    height: 60px;
  }
  body.control .courts .control-container.multi-hall .next-match-container .next-match-number-container .next-match-number {
    font-size: 60px;
  }
  body.control .courts .control-container.multi-hall .rotation-container {
    flex: 0 0 auto;
  }
  body.control .courts .control-container.multi-hall .rotation-container .rotation-header {
    margin-bottom: 4px;
  }
  body.control .courts .control-container.multi-hall .rotation-container .rotation-hall-name {
    font-size: 12px;
    font-weight: var(--bs-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-fg-2);
  }
  body.control .courts .control-container.multi-hall .rotation-container .state {
    margin: 0;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }
  body.control .courts .control-container.multi-hall .rotation-container .state .state-estimated,
  body.control .courts .control-container.multi-hall .rotation-container .state .state-countdown {
    font-size: 15px;
  }
  body.control .courts .control-container.multi-hall .rotation-container .rotation .rotation-court {
    padding: 2px 4px;
  }
  body.control .courts .control-container.multi-hall .rotation-container .rotation .rotation-court .rotation-num {
    margin: 0 0 2px;
    line-height: 12px;
  }
  body.control .courts .control-container.multi-hall .rotation-container .rotation .rotation-court.next {
    margin: -3px;
  }
  body.control .courts .control-container.multi-hall .rotation-container .rotation .rotation-court.next .rotation-num {
    font-size: 15px;
    line-height: 15px;
    margin: 2px 0 2px;
  }
  body.control .courts .control-container .next-match-container,
  body.control .courts .control-container .series-container,
  body.control .courts .control-container .schedule-card {
    padding: 4px 8px;
  }
  body.control .courts .control-container .next-match-title,
  body.control .courts .control-container .series-title {
    font-size: 12px;
    font-weight: var(--bs-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
  }
  body.control .courts .control-container .next-match-block {
    white-space: nowrap;
    cursor: help;
  }
  body.control .courts .control-container .control-top {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    gap: 6px;
  }
  body.control .courts .control-container .schedule-card {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    justify-content: space-around;
  }
  body.control .courts .control-container .series-container {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
  }
  body.control .courts .control-container .series-container .series-title {
    text-align: center;
  }
  body.control .courts .control-container .series-container .series-list {
    flex: 1 1 auto;
    min-height: 0;
    contain: size;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  body.control .courts .control-container .series-container .series-empty {
    margin: auto;
    font-size: 12px;
    font-style: italic;
    color: var(--bs-fg-3);
  }
  body.control .courts .control-container .series-container .series-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 8px;
    border-radius: var(--bs-radius-3);
    font-size: 13px;
    line-height: 20px;
  }
  body.control .courts .control-container .series-container .series-item .series-name {
    font-weight: bold;
    white-space: nowrap;
  }
  body.control .courts .control-container .series-container .series-item .series-pdf {
    color: inherit;
    font-size: 14px;
    line-height: 1;
  }
  body.control .courts .control-container .series-container .series-item .series-pdf:hover {
    opacity: 0.75;
  }
  body.control .courts .control-container .series-container .series-item .series-time {
    white-space: nowrap;
    opacity: 0.85;
  }
  body.control .courts .control-container .series-container .series-item .series-action {
    margin-left: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }
  body.control .courts .control-container .series-container .series-item .series-displayed-btn {
    --bs-btn-min-height: 0;
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: .5rem;
    --bs-btn-font-size: 12px;
    --bs-btn-line-height: 18px;
    font-weight: bold;
  }
  body.control .courts .control-container .next-match-container {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
  }
  body.control .courts .control-container .next-match-container .next-match-number-container {
    font-family: "Lato", Arial, sans-serif;
    font-weight: 800;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    height: 84px;
    width: 100%;
    position: relative;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
  }
  body.control .courts .control-container .next-match-container .next-match-number-container .next-match-number {
    position: absolute;
    font-size: 84px;
    line-height: 1;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: center;
  }
  body.control .courts .control-container .next-match-container .next-match-number-container .next-match-number.next-match-none {
    font-size: 40px;
  }
  body.control .courts .control-container .competition-info {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: var(--bs-fg-2);
    margin: 2px 0;
  }
  body.control .courts .control-container .competition-info .info-row {
    display: flex;
    justify-content: center;
    gap: 16px;
  }
  body.control .courts .control-container .competition-info .value {
    font-weight: bold;
    color: var(--bs-fg-body);
  }
  body.control .courts .control-container .competition-info .value.duration-longer {
    color: var(--bs-danger-fg);
  }
  body.control .courts .control-container .competition-info .value.duration-shorter {
    color: var(--bs-success-fg);
  }
  body.control .courts .control-container .competition-info .value-planned {
    font-style: italic;
    color: var(--bs-fg-3);
  }
  body.control .courts .control-container .competition-info .tournament-progress {
    --bs-progress-height: 12px;
    --bs-progress-bg: var(--bs-bg-4);
    width: 50%;
    align-self: center;
  }
  body.control .courts .control-container .rotation-container {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  body.control .courts .control-container .rotation-container .state {
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
  }
  body.control .courts .control-container .rotation-container .state .state-estimated {
    font-size: 18px;
    font-weight: bold;
  }
  body.control .courts .control-container .rotation-container .state .state-estimated.state-advance {
    color: var(--bs-success-fg);
  }
  body.control .courts .control-container .rotation-container .state .state-estimated.state-delay {
    color: var(--bs-danger-fg);
  }
  body.control .courts .control-container .rotation-container .state .state-estimated.state-ontime {
    color: var(--bs-primary-fg);
  }
  body.control .courts .control-container .rotation-container .state .state-brute {
    font-size: 11px;
    color: var(--bs-fg-3);
  }
  body.control .courts .control-container .rotation-container .state .state-countdown {
    font-size: 18px;
    font-weight: bold;
    color: var(--bs-primary-fg);
  }
  body.control .courts .control-container .rotation-container .rotation {
    display: flex;
    margin: 0 3px;
    width: auto;
    font-size: 10px;
  }
  body.control .courts .control-container .rotation-container .rotation .start {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px 0 0;
    font-weight: bold;
    font-size: 14px;
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;
    border: 1px solid var(--bs-border-color);
    border-right: none;
    overflow: hidden;
    background-color: var(--bs-bg-3);
    padding: 4px;
    line-height: 10px;
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court .rotation-num {
    font-weight: bold;
    font-size: 14px;
    margin: 3px 0 3px;
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court:nth-child(2) {
    border-radius: var(--bs-radius-3) 0 0 var(--bs-radius-3);
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court:last-child {
    border-right: 1px solid var(--bs-border-color);
    border-radius: 0 var(--bs-radius-3) var(--bs-radius-3) 0;
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.next {
    background-color: var(--bs-primary-bg);
    color: var(--bs-primary-contrast);
    margin: -5px;
    border: 0;
    z-index: 10;
    border-radius: var(--bs-radius-5);
    box-shadow: var(--bs-box-shadow);
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.next .rotation-num {
    font-size: 16px;
    margin: 8px 0 8px;
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.next .rotation-step {
    opacity: 0.85;
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.in-progress {
    background-color: var(--bs-primary-bg-subtle);
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.ended {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-fg-3);
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.wo {
    background-color: var(--bs-orange-500);
    color: var(--bs-white);
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.blocked {
    background-color: var(--bs-danger-bg-subtle);
    color: var(--bs-danger-fg);
    cursor: help;
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.blocked.next {
    background-color: var(--bs-danger-bg);
    color: var(--bs-danger-contrast);
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.future {
    background-color: var(--bs-bg-body);
  }
  body.control .courts .control-container .rotation-container .rotation .rotation-court.inactive {
    background-color: var(--bs-bg-3);
    color: transparent;
  }
  body.control .courts .control-container .rotation-container .rotation-end {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: bold;
    font-size: 1vw;
    color: var(--bs-primary-fg);
    text-align: center;
    padding: 0 10px;
  }
  body.control .courts .control-container .rotation-container .rotation-end.rotation-not-started {
    color: var(--bs-success-fg);
  }
  body.control .courts .temperature-container {
    color: var(--bs-fg-body);
    margin: 2px;
    padding: 2px;
    box-sizing: border-box;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    position: relative;
  }
  body.control .courts .temperature-container .temperature-status {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 8px;
    font-size: 0.7vw;
    line-height: 1.2;
  }
  body.control .courts .temperature-container .temperature-status .temperature-status-time {
    font-weight: var(--bs-font-weight-semibold);
  }
  body.control .courts .temperature-container .temperature-status .temperature-status-message {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.control .courts .temperature-container .temperature-status .temperature-status-icons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  body.control .courts .temperature-container .temperature-status .temperature-led,
  body.control .courts .temperature-container .temperature-status .temperature-battery {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: help;
  }
  body.control .courts .temperature-container .temperature-status .temperature-battery-text {
    font-weight: bold;
  }
  body.control .courts .temperature-container.has-co2 .temperature-graphs .temperature-graph-wrapper {
    flex: 4 1 0;
  }
  body.control .courts .temperature-container.has-co2 .temperature-graphs .temperature-graph-wrapper:nth-child(n+2) {
    flex: 3 1 0;
  }
  body.control .courts .temperature-container .temperature-cards {
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
  }
  body.control .courts .temperature-container .temperature-cards .temperature-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 3px 6px;
    text-align: center;
  }
  body.control .courts .temperature-container .temperature-cards .temperature-card .temperature-card-label {
    font-size: 0.7vw;
    font-weight: var(--bs-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-fg-3);
  }
  body.control .courts .temperature-container .temperature-cards .temperature-card .temperature-card-value {
    font-size: 1.3vw;
    font-weight: bold;
    line-height: 1.15;
  }
  body.control .courts .temperature-container .temperature-cards .temperature-card .temperature-card-minmax {
    font-size: 0.6vw;
    color: var(--bs-fg-3);
  }
  body.control .courts .temperature-container .temperature-graphs {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  body.control .courts .temperature-container .temperature-graphs .temperature-graph-wrapper {
    flex: 6 1 0;
    min-height: 0;
    width: 100%;
    overflow: hidden;
  }
  body.control .courts .temperature-container .temperature-graphs .temperature-graph-wrapper:nth-child(2) {
    flex: 4 1 0;
  }
  body.control .courts .temperature-container .temperature-graphs .temperature-graph-wrapper canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--bs-bg-body);
    border-color: var(--bs-border-color);
    color: var(--bs-fg-3);
  }
  body.suivi {
    height: auto;
    min-height: 100vh;
    display: block;
    overflow: visible;
  }
  body.suivi .form-field:has(> .ts-wrapper) {
    grid-template-columns: minmax(0, 1fr);
  }
  body.suivi .ts-wrapper {
    min-width: 0;
  }
  body.suivi .ts-wrapper .ts-control {
    min-height: var(--bs-btn-input-min-height);
    padding: calc(var(--bs-btn-input-padding-y) - 2px) var(--bs-btn-input-padding-x);
    background-color: var(--bs-btn-input-bg);
    color: var(--bs-btn-input-fg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-radius-5);
    box-shadow: var(--bs-box-shadow-inset);
    font-size: inherit;
    line-height: inherit;
  }
  body.suivi .ts-wrapper .ts-control input {
    color: inherit;
  }
  body.suivi .ts-wrapper .ts-control input::placeholder {
    color: var(--bs-fg-3);
  }
  body.suivi .ts-wrapper.focus .ts-control {
    border-color: var(--bs-primary-base);
    outline: var(--bs-focus-ring);
    outline-offset: var(--bs-focus-ring-offset, 0);
  }
  body.suivi .ts-wrapper.single .ts-control {
    padding-right: 3.5rem;
    flex-wrap: nowrap;
  }
  body.suivi .ts-wrapper.single .ts-control > .item {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  body.suivi .ts-wrapper.single .ts-control > input {
    min-width: 1rem;
  }
  body.suivi .ts-wrapper.single .ts-dropdown {
    width: max-content !important;
    min-width: 100%;
    max-width: min(34rem, 100vw - 2rem);
  }
  body.suivi .ts-wrapper .clear-button {
    color: var(--bs-fg-3);
  }
  body.suivi .ts-wrapper.multi .ts-control > .item {
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-fg-emphasis);
    border: 0;
    border-radius: var(--bs-radius-3);
    padding: 0.125rem 0.375rem;
  }
  body.suivi .ts-wrapper.plugin-remove_button .item .remove {
    border-left-color: currentColor;
    color: inherit;
  }
  body.suivi .ts-dropdown {
    background-color: var(--bs-bg-body);
    color: var(--bs-fg-body);
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-radius-5);
    box-shadow: var(--bs-box-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15));
    margin-top: 0.25rem;
    overflow: hidden;
  }
  body.suivi .ts-dropdown .option,
  body.suivi .ts-dropdown .no-results {
    padding: 0.375rem 0.75rem;
  }
  body.suivi .ts-dropdown .active {
    background-color: var(--bs-bg-2);
    color: inherit;
  }
  body.suivi .ts-dropdown .highlight {
    background: var(--bs-primary-bg-subtle);
    color: inherit;
    border-radius: 2px;
  }
  body.suivi .club-logo-xs, body.suivi .club-logo-md, body.suivi .club-logo-sm img, body.suivi .club-logo {
    box-sizing: border-box;
    aspect-ratio: 1;
    padding: 2px;
    border: 1px solid #616161;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    object-fit: contain;
  }
  body.suivi .club-logo {
    width: 3rem;
    padding: 3px;
  }
  body.suivi .club-logo-sm {
    flex: 0 0 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body.suivi .club-logo-sm img {
    width: 100%;
  }
  body.suivi .club-logo-md {
    width: 2rem;
  }
  body.suivi .club-logo-xs {
    width: 1.375rem;
    padding: 1px;
    vertical-align: middle;
    margin-inline-end: 0.25rem;
  }
  body.suivi .player-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "identity series stats";
    align-items: center;
    gap: 0.5rem 1rem;
  }
  @media (width < 768px) {
    body.suivi .player-header {
      grid-template-columns: 1fr auto;
      grid-template-areas: "series series" "identity stats";
    }
  }
  body.suivi .player-identity {
    grid-area: identity;
  }
  body.suivi .player-series {
    grid-area: series;
  }
  body.suivi .player-stats {
    grid-area: stats;
    justify-self: end;
  }
  body.suivi .hall-day-label {
    min-width: 13rem;
  }
  body.suivi .match-meta {
    width: 6rem;
  }
  body.admin {
    height: auto;
    min-height: 100vh;
    display: block;
    overflow: visible;
  }
  body.admin .thermo-graph-themed {
    display: block;
    width: 100%;
    height: 150px;
    background-color: var(--bs-bg-body);
    border-color: var(--bs-border-color);
    color: var(--bs-fg-3);
  }
  body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    /*	padding: 20px;*/
    padding: 0;
    background-color: #f5f5f5;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
  }
  /*
  body::before {
  	content: '';
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	background-color: rgba(255, 255, 255, 0.8);
  	z-index: 0;
  }
  */
  .thermo-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 5;
  }
  .brand-logo {
    font-size: 3rem;
  }
}
/*# sourceMappingURL=app.css.map */