html {
  --ag-touch-u: 1vmin;
  --ag-touch-iu: 1vw;
  --ag-touch-bu: 1dvh;
  --ag-touch-type-u: 1vmin;
  --ag-touch-icon-u: 1vmin;
}

/* Shared portrait-only gate for every Touch Unified page. */
.ag-touch-landscape-lock {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  place-items: center;
  padding:
    max(22px, env(safe-area-inset-top))
    max(22px, env(safe-area-inset-right))
    max(22px, env(safe-area-inset-bottom))
    max(22px, env(safe-area-inset-left));
  color: #fff7ea;
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.9) 0%, rgba(2, 4, 8, 0.98) 100%),
    url("./images/mobile.webp") center center / cover no-repeat,
    #020408;
  text-align: center;
  pointer-events: auto;
  isolation: isolate;
}

.ag-touch-landscape-lock::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 199, 121, 0.18) 0%, rgba(255, 199, 121, 0.06) 28%, rgba(255, 199, 121, 0) 56%),
    radial-gradient(ellipse at 50% 80%, rgba(95, 216, 255, 0.1) 0%, rgba(95, 216, 255, 0) 54%);
  backdrop-filter: blur(7px) saturate(0.86);
  -webkit-backdrop-filter: blur(7px) saturate(0.86);
}

html.ag-touch-landscape-locked,
body.ag-touch-landscape-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.ag-touch-landscape-locked .ag-touch-landscape-lock {
  display: grid;
}

body.ag-touch-landscape-locked .ag-touch-landscape-lock[aria-hidden="true"] {
  display: none;
}

.ag-touch-landscape-lock-core {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(76vw, 360px);
}

.ag-touch-landscape-phone {
  position: relative;
  width: 52px;
  height: 84px;
  border: 2px solid rgba(255, 221, 168, 0.88);
  border-radius: 13px;
  box-shadow:
    0 0 22px rgba(255, 176, 84, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-90deg);
  animation: agTouchRotateHint 1.8s ease-in-out infinite;
}

.ag-touch-landscape-phone::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 221, 168, 0.72);
  transform: translateX(-50%);
}

.ag-touch-landscape-lock-title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(18px, 5.2vw, 24px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255, 201, 124, 0.24),
    0 2px 8px rgba(0, 0, 0, 0.72);
}

.ag-touch-landscape-lock-text {
  max-width: 30ch;
  margin: 0;
  color: rgba(255, 239, 214, 0.84);
  font-size: clamp(12px, 3.8vw, 15px);
  line-height: 1.28;
  font-weight: 700;
}

@keyframes agTouchRotateHint {
  0%, 100% {
    transform: rotate(-90deg);
  }

  50% {
    transform: rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-touch-landscape-phone {
    animation: none;
    transform: rotate(0deg);
  }
}

/* Tournament player: scale the complete Touch Unified surface with the viewport. */
@media (min-width: 360px) and (max-width: 999.98px) {
  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) {
    --ag-tp-u: 1vmin;
    --ag-tp-x: 1vw;
    --ag-tp-y: 1dvh;
    width: 100vw;
    height: var(--ag-touch-visual-h, 100dvh) !important;
    min-height: var(--ag-touch-visual-h, 100dvh) !important;
    max-height: var(--ag-touch-visual-h, 100dvh);
    padding: 0 0 calc(var(--ag-touch-dock-height) - var(--ag-touch-dock-shoulder) + (var(--ag-tp-u) * 1.2)) !important;
    overflow: hidden !important;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace {
    width: 100vw;
    height: 100%;
    min-height: 0;
    padding:
      calc(var(--ag-tp-u) * 2.2)
      calc(var(--ag-tp-x) * 2.2)
      calc(var(--ag-tp-u) * 1.2);
    overflow: hidden;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-center {
    width: 100%;
    height: 100%;
    max-height: none;
    grid-template-rows: auto auto minmax(0, 1fr);
    border-width: calc(var(--ag-tp-u) * 0.16);
    border-radius: calc(var(--ag-tp-u) * 3.8);
    box-shadow:
      0 calc(var(--ag-tp-u) * 4.8) calc(var(--ag-tp-u) * 13) rgba(66, 43, 24, 0.30),
      inset 0 calc(var(--ag-tp-u) * 0.16) 0 rgba(255, 255, 255, 0.92);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-summary {
    grid-template-columns: minmax(0, 1fr) calc(var(--ag-tp-u) * 12);
    grid-template-rows: minmax(calc(var(--ag-tp-u) * 12), auto);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-summary-facts {
    display: none;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-summary-title {
    min-height: calc(var(--ag-tp-u) * 12);
    gap: calc(var(--ag-tp-u) * 0.45);
    padding: calc(var(--ag-tp-u) * 1.3) calc(var(--ag-tp-u) * 2.5);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-summary-title span {
    display: none;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-summary-title strong {
    font-size: calc(var(--ag-tp-u) * 3.15);
    line-height: 1.1;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-summary .ag-summary-round-badge {
    width: calc(var(--ag-tp-u) * 9.3);
    height: calc(var(--ag-tp-u) * 9.3);
    flex-basis: calc(var(--ag-tp-u) * 9.3);
    border-width: calc(var(--ag-tp-u) * 0.42);
    box-shadow:
      inset 0 0 0 calc(var(--ag-tp-u) * 0.65) rgba(255, 244, 205, 0.34),
      inset 0 calc(var(--ag-tp-u) * -2.1) calc(var(--ag-tp-u) * 3.8) rgba(117, 55, 10, 0.20),
      0 0 0 calc(var(--ag-tp-u) * 0.65) rgba(55, 38, 20, 0.78),
      0 calc(var(--ag-tp-u) * 2.1) calc(var(--ag-tp-u) * 4.7) rgba(0, 0, 0, 0.36);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-summary .ag-summary-round-badge::before {
    inset: calc(var(--ag-tp-u) * 1.05);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-summary .ag-summary-round-badge strong {
    font-size: calc(var(--ag-tp-u) * 3.7);
    letter-spacing: calc(var(--ag-tp-u) * -0.2);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-summary .ag-summary-round-badge span {
    margin-top: calc(var(--ag-tp-u) * 0.35);
    font-size: calc(var(--ag-tp-u) * 1.7);
    letter-spacing: calc(var(--ag-tp-u) * 0.28);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-center-head {
    min-height: calc(var(--ag-tp-u) * 12);
    padding: calc(var(--ag-tp-u) * 1.3) calc(var(--ag-tp-u) * 1.7);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-tabs {
    width: 100%;
    gap: calc(var(--ag-tp-u) * 1.1);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-tab {
    width: auto;
    min-height: calc(var(--ag-tp-u) * 9.1);
    flex: 1 1 0;
    padding: calc(var(--ag-tp-u) * 0.85) calc(var(--ag-tp-u) * 0.65);
    border-width: calc(var(--ag-tp-u) * 0.16);
    border-radius: calc(var(--ag-tp-u) * 1.75);
    font-size: calc(var(--ag-tp-u) * 2.25);
    box-shadow:
      inset 0 calc(var(--ag-tp-u) * 0.16) 0 rgba(255, 255, 255, 0.72),
      0 calc(var(--ag-tp-u) * 1.05) calc(var(--ag-tp-u) * 2.55) rgba(73, 49, 30, 0.10);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace :is(.ag-match-center-grid, .ag-tournament-table-view, .ag-match-history) {
    min-height: 0;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-center-grid {
    grid-template-rows: auto auto;
    align-content: start;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-matchup-stage {
    min-height: 0;
    grid-template-columns:
      minmax(0, 1fr)
      calc(var(--ag-tp-u) * 6.4)
      calc(var(--ag-tp-u) * 7.2)
      calc(var(--ag-tp-u) * 6.4)
      minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: calc(var(--ag-tp-u) * 0.9);
    padding: calc(var(--ag-tp-u) * 2.6) calc(var(--ag-tp-u) * 1.7);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-current-table-badge {
    width: calc(var(--ag-tp-u) * 20.5);
    height: calc(var(--ag-tp-u) * 6.8);
    flex-basis: calc(var(--ag-tp-u) * 20.5);
    flex-direction: row-reverse;
    gap: calc(var(--ag-tp-u) * 0.45);
    border-width: calc(var(--ag-tp-u) * 0.16);
    border-radius: 999px;
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    transform: translate(
      calc(var(--ag-tp-u) * -0.7),
      calc(var(--ag-tp-u) * -2.2)
    );
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-current-table-badge span {
    font-size: calc(var(--ag-tp-u) * 2.6);
    letter-spacing: calc(var(--ag-tp-u) * 0.08);
    line-height: 1;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-current-table-badge strong[data-current-table] {
    font-size: calc(var(--ag-tp-u) * 4.05);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-current-table-badge strong[data-current-table]::after {
    content: ".";
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-matchup-copy {
    gap: calc(var(--ag-tp-u) * 0.8);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-current-match .ag-matchup-copy strong {
    font-size: calc(var(--ag-tp-u) * 4.65) !important;
    line-height: 1;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-matchup-versus {
    display: grid;
    width: 100%;
    height: calc(var(--ag-tp-u) * 6.4);
    grid-column: 3;
    grid-row: 2;
    place-items: center;
    align-self: center;
    justify-self: center;
    font-size: calc(var(--ag-tp-u) * 5.8);
    line-height: 1;
    transform: translate(
      calc(var(--ag-tp-u) * -0.8),
      calc(var(--ag-tp-u) * 0.35)
    );
    text-shadow:
      0 calc(var(--ag-tp-u) * 0.16) 0 rgba(255, 255, 255, 0.74),
      0 0 calc(var(--ag-tp-u) * 3.8) rgba(184, 105, 40, 0.18);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-current-score {
    width: calc(var(--ag-tp-u) * 6.4);
    height: calc(var(--ag-tp-u) * 6.4);
    border-width: calc(var(--ag-tp-u) * 0.16);
    border-radius: calc(var(--ag-tp-u) * 1.4);
    font-size: calc(var(--ag-tp-u) * 3.25);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-matchup-player.is-self {
    grid-column: 1;
    grid-row: 2;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace [data-current-self-score] {
    grid-column: 2;
    grid-row: 2;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace [data-current-opponent-score] {
    grid-column: 4;
    grid-row: 2;
    transform: translateX(calc(var(--ag-tp-u) * 0.45));
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-matchup-player.is-opponent {
    grid-column: 5;
    grid-row: 2;
    transform: translateX(calc(var(--ag-tp-u) * -1.5));
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-start-control {
    width: 84%;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    margin-top: calc(var(--ag-tp-u) * 1.2);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-start-button {
    min-height: calc(var(--ag-tp-u) * 8.6);
    padding: 0 calc(var(--ag-tp-u) * 3);
    border-width: calc(var(--ag-tp-u) * 0.16);
    border-radius: calc(var(--ag-tp-u) * 2.5);
    font-size: calc(var(--ag-tp-u) * 2.45);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-start-control.is-cancellable .ag-match-start-button {
    min-height: calc(var(--ag-tp-u) * 13.2);
    padding-bottom: calc(var(--ag-tp-u) * 5.3);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-cancel-button {
    right: calc(var(--ag-tp-u) * 1.5);
    bottom: calc(var(--ag-tp-u) * 1.05);
    left: calc(var(--ag-tp-u) * 1.5);
    height: calc(var(--ag-tp-u) * 4.2);
    padding: 0 calc(var(--ag-tp-u) * 1.3);
    border-radius: calc(var(--ag-tp-u) * 1.4);
    font-size: calc(var(--ag-tp-u) * 1.75);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-current-match-foot {
    min-height: calc(var(--ag-tp-u) * 9.5);
    gap: calc(var(--ag-tp-u) * 3.8);
    padding: calc(var(--ag-tp-u) * 1.8) calc(var(--ag-tp-u) * 3);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-start-status {
    font-size: calc(var(--ag-tp-u) * 2.6);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace :is(.ag-table-view-head, .ag-match-history-head) {
    min-height: calc(var(--ag-tp-u) * 11.5);
    gap: calc(var(--ag-tp-u) * 3);
    padding: calc(var(--ag-tp-u) * 1.8) calc(var(--ag-tp-u) * 3);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace :is(.ag-table-view-head h2, .ag-match-history-head h2) {
    font-size: calc(var(--ag-tp-u) * 3.7);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-history-head > div {
    gap: calc(var(--ag-tp-u) * 0.8);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-history-head > div > span {
    font-size: calc(var(--ag-tp-u) * 2.1);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace :is(.ag-table-view-count, .ag-match-history-count) {
    min-width: calc(var(--ag-tp-u) * 6.5);
    width: auto;
    height: calc(var(--ag-tp-u) * 6.5);
    padding: 0 calc(var(--ag-tp-u) * 1.5);
    border-radius: calc(var(--ag-tp-u) * 1.8);
    font-size: calc(var(--ag-tp-u) * 2.15);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelStandings.is-multi-elimination [data-standings-count] {
    display: none !important;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelPairings.is-multi-elimination [data-pairings-count] {
    display: none !important;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelStandings.is-multi-elimination .ag-standing-name-content {
    width: 100%;
    gap: calc(var(--ag-tp-u) * 1.15);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelStandings.is-multi-elimination .ag-standings-table th {
    font-size: calc(var(--ag-tp-u) * 2.75);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelStandings.is-multi-elimination .ag-standings-table td {
    font-size: calc(var(--ag-tp-u) * 3.35);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelStandings.is-multi-elimination .ag-standings-table :is(th, td):nth-child(n + 3) {
    width: calc(var(--ag-tp-u) * 9.6);
    padding-inline: calc(var(--ag-tp-u) * 0.35);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelStandings.is-multi-elimination .ag-standing-name {
    font-size: calc(var(--ag-tp-u) * 3.55);
    font-weight: 950;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelStandings.is-multi-elimination .ag-standing-rank,
  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelStandings.is-multi-elimination .ag-standing-score {
    font-size: calc(var(--ag-tp-u) * 3.45);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelStandings.is-multi-elimination .ag-standing-self-marker {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    color: #d98519;
    font-size: calc(var(--ag-tp-u) * 3.75);
    line-height: 1;
    text-shadow:
      0 calc(var(--ag-tp-u) * 0.12) 0 rgba(255, 250, 222, 0.92),
      0 0 calc(var(--ag-tp-u) * 1.35) rgba(230, 151, 38, 0.42);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-data-table-scroll {
    margin: 0 calc(var(--ag-tp-u) * 2.5) calc(var(--ag-tp-u) * 2.5);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-data-table th {
    height: calc(var(--ag-tp-u) * 8.2);
    padding: 0 calc(var(--ag-tp-u) * 2.3);
    font-size: calc(var(--ag-tp-u) * 2.1);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-tournament-data-table td {
    height: calc(var(--ag-tp-u) * 9.1);
    padding: calc(var(--ag-tp-u) * 1.45) calc(var(--ag-tp-u) * 2.3);
    font-size: calc(var(--ag-tp-u) * 2.55);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-standing-score {
    font-size: calc(var(--ag-tp-u) * 3);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace :is(.ag-standings-table th:nth-child(1), .ag-standings-table td:nth-child(1)) {
    width: calc(var(--ag-tp-u) * 9.5);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace :is(.ag-standings-table th:nth-child(n + 3), .ag-standings-table td:nth-child(n + 3)) {
    width: calc(var(--ag-tp-u) * 12.5);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace :is(.ag-pairings-table th:nth-child(1), .ag-pairings-table td:nth-child(1)) {
    width: calc(var(--ag-tp-u) * 18);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-pairing-line {
    width: 100%;
    grid-template-columns:
      minmax(0, 1fr)
      calc(var(--ag-tp-u) * 6.7)
      calc(var(--ag-tp-u) * 2.7)
      calc(var(--ag-tp-u) * 6.7)
      minmax(0, 1fr);
    gap: calc(var(--ag-tp-u) * 0.9);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-pairing-inline-score {
    width: calc(var(--ag-tp-u) * 6.7);
    height: calc(var(--ag-tp-u) * 5.8);
    border-radius: calc(var(--ag-tp-u) * 1.4);
    font-size: calc(var(--ag-tp-u) * 2.6);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-pairing-separator {
    font-size: calc(var(--ag-tp-u) * 2.8);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-data-loading {
    height: calc(var(--ag-tp-y) * 22) !important;
    font-size: calc(var(--ag-tp-u) * 2.35) !important;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-history-list {
    padding:
      calc(var(--ag-tp-u) * 1.7)
      calc(var(--ag-tp-u) * 3.2)
      calc(var(--ag-tp-u) * 2.5);
    overflow-y: auto;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-my-matches-history .ag-match-history-list {
    min-height: calc(var(--ag-tp-y) * 8);
    max-height: calc(var(--ag-tp-y) * 34);
    padding-right: calc(var(--ag-tp-u) * 0.8) !important;
    padding-left: calc(var(--ag-tp-u) * 0.8) !important;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-history-match {
    grid-template-columns: calc(var(--ag-tp-u) * 15) minmax(0, 1fr) auto auto;
    gap: calc(var(--ag-tp-u) * 2.1);
    padding: calc(var(--ag-tp-u) * 2.3) calc(var(--ag-tp-u) * 2.1);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-player-history-match {
    grid-template-columns: calc(var(--ag-tp-u) * 12.5) minmax(0, 1fr) auto;
    gap: calc(var(--ag-tp-u) * 1.5);
    padding-right: calc(var(--ag-tp-u) * 0.4);
    padding-left: calc(var(--ag-tp-u) * 0.8);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-player-history-match .ag-history-match-round {
    display: grid;
    width: 100%;
    place-items: center;
    font-size: calc(var(--ag-tp-u) * 3.8) !important;
    font-weight: 950;
    text-align: center;
    transform: translateX(calc(var(--ag-tp-u) * -1.8));
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-history-player-matchup {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: calc(var(--ag-tp-u) * 1.4);
    row-gap: calc(var(--ag-tp-u) * 0.65);
    width: calc(100% + (var(--ag-tp-u) * 3.4));
    transform: translateX(calc(var(--ag-tp-u) * -3.4));
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-player-history-match .ag-history-match-player {
    min-width: 0;
    font-size: calc(var(--ag-tp-u) * 4) !important;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-history-player-matchup .ag-history-match-score {
    justify-self: center;
    font-size: calc(var(--ag-tp-u) * 4.1) !important;
    white-space: nowrap;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-player-history-match .ag-history-match-meta {
    font-size: calc(var(--ag-tp-u) * 2.7) !important;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-player-history-match .ag-history-match-review {
    justify-self: end;
    font-size: calc(var(--ag-tp-u) * 2.7) !important;
    transform: translateX(calc(var(--ag-tp-u) * 0.3));
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-history-match-round {
    font-size: calc(var(--ag-tp-u) * 2.1);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-history-match-copy {
    gap: calc(var(--ag-tp-u) * 0.75);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-history-match-copy strong {
    font-size: calc(var(--ag-tp-u) * 2.55);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-history-match-copy span {
    font-size: calc(var(--ag-tp-u) * 2.05);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-history-match-score {
    font-size: calc(var(--ag-tp-u) * 3.15);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-history-match-review {
    min-height: calc(var(--ag-tp-u) * 6.3);
    padding: 0 calc(var(--ag-tp-u) * 2.1);
    border-radius: calc(var(--ag-tp-u) * 1.8);
    font-size: calc(var(--ag-tp-u) * 2.1);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-round-history-controls {
    justify-content: flex-end;
    gap: 0 !important;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #agPanelHistory [data-history-round-count] {
    display: none !important;
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-round-history-picker {
    min-width: calc(var(--ag-tp-x) * 39);
    gap: calc(var(--ag-tp-u) * 0.8);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-round-history-picker > span {
    font-size: calc(var(--ag-tp-u) * 1.75);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-round-history-picker select {
    min-height: calc(var(--ag-tp-u) * 7.5);
    padding: 0 calc(var(--ag-tp-u) * 7) 0 calc(var(--ag-tp-u) * 2.3);
    border-radius: calc(var(--ag-tp-u) * 1.9);
    font-size: calc(var(--ag-tp-u) * 2.35);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-history-empty {
    gap: calc(var(--ag-tp-u) * 1.9);
    padding: calc(var(--ag-tp-u) * 5.8);
    border-radius: calc(var(--ag-tp-u) * 3.1);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-history-empty > span {
    width: calc(var(--ag-tp-u) * 8.8);
    height: calc(var(--ag-tp-u) * 8.8);
    border-radius: calc(var(--ag-tp-u) * 2.7);
    font-size: calc(var(--ag-tp-u) * 3.8);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-history-empty strong {
    font-size: calc(var(--ag-tp-u) * 2.75);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-match-history-empty p {
    max-width: calc(var(--ag-tp-x) * 58);
    font-size: calc(var(--ag-tp-u) * 2.3);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-match-tabs {
    gap: calc(var(--ag-tp-u) * 1.4);
    padding: calc(var(--ag-tp-u) * 1.7) calc(var(--ag-tp-u) * 2.5);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-match-tab {
    min-height: calc(var(--ag-tp-u) * 8.2);
    padding: 0 calc(var(--ag-tp-u) * 2.5);
    border-radius: calc(var(--ag-tp-u) * 2.1);
    font-size: calc(var(--ag-tp-u) * 2.15);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponents-head {
    min-height: calc(var(--ag-tp-u) * 12.5);
    gap: calc(var(--ag-tp-u) * 2.8);
    padding: calc(var(--ag-tp-u) * 1.9) calc(var(--ag-tp-u) * 2.9) calc(var(--ag-tp-u) * 1.5);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponents-head > div:first-child {
    gap: calc(var(--ag-tp-u) * 0.6);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponents-head > div:first-child span {
    font-size: calc(var(--ag-tp-u) * 1.9);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponents-head > div:first-child strong {
    font-size: calc(var(--ag-tp-u) * 3.05);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponents-tools {
    gap: calc(var(--ag-tp-u) * 1.6);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponent-search input {
    width: calc(var(--ag-tp-u) * 32);
    height: calc(var(--ag-tp-u) * 7.3);
    padding: 0 calc(var(--ag-tp-u) * 2.5);
    border-radius: calc(var(--ag-tp-u) * 2.1);
    font-size: calc(var(--ag-tp-u) * 2.35);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-invitation-status {
    min-height: calc(var(--ag-tp-u) * 3.4);
    padding: 0 calc(var(--ag-tp-u) * 2.9) calc(var(--ag-tp-u) * 1.7);
    font-size: calc(var(--ag-tp-u) * 2.15);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponent-list {
    max-height: calc(var(--ag-tp-y) * 40);
    gap: calc(var(--ag-tp-u) * 1.4);
    padding: 0 calc(var(--ag-tp-u) * 2.5) calc(var(--ag-tp-u) * 2.5);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponent-row {
    gap: calc(var(--ag-tp-u) * 2.1);
    padding:
      calc(var(--ag-tp-u) * 1.9)
      calc(var(--ag-tp-u) * 2.1)
      calc(var(--ag-tp-u) * 1.9)
      calc(var(--ag-tp-u) * 2.7);
    border-left-width: calc(var(--ag-tp-u) * 0.85);
    border-radius: calc(var(--ag-tp-u) * 2.3);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponent-identity {
    gap: calc(var(--ag-tp-u) * 0.4);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponent-identity strong {
    font-size: calc(var(--ag-tp-u) * 2.55);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponent-identity span {
    font-size: calc(var(--ag-tp-u) * 1.95);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponent-actions {
    gap: calc(var(--ag-tp-u) * 1.25);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponent-actions button {
    min-width: calc(var(--ag-tp-u) * 17.5);
    min-height: calc(var(--ag-tp-u) * 7.3);
    padding: 0 calc(var(--ag-tp-u) * 2.3);
    border-radius: calc(var(--ag-tp-u) * 1.9);
    font-size: calc(var(--ag-tp-u) * 1.95);
  }

  body.ag-tournament-player-page.ag-touch-unified:not(.ag-device-small) #tournamentPlayerWorkspace .ag-league-opponent-actions button.is-secondary {
    min-width: calc(var(--ag-tp-u) * 13.2);
  }
}

@media (min-width: 360px) and (max-width: 999.98px) {
  body.ag-profile-page.ag-touch-unified:not(.ag-device-small) .lobby-command-bar .ag-player-area {
    position: relative;
    justify-content: flex-end;
    padding-right: calc(var(--ag-touch-u) * 13.5);
  }

  body.ag-profile-page.ag-touch-unified:not(.ag-device-small) .lobby-command-bar .ag-logout-btn {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 3;
    width: calc(var(--ag-touch-u) * 11.5) !important;
    height: calc(var(--ag-touch-u) * 11.5) !important;
    min-width: calc(var(--ag-touch-u) * 11.5) !important;
    margin: 0;
    border-width: calc(var(--ag-touch-u) * 0.18);
    box-shadow:
      0 calc(var(--ag-touch-u) * 0.9) calc(var(--ag-touch-u) * 2.4) rgba(0, 0, 0, 0.32),
      0 0 calc(var(--ag-touch-u) * 2) rgba(255, 169, 60, 0.24),
      inset 0 calc(var(--ag-touch-u) * 0.14) 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-50%);
  }

  body.ag-profile-page.ag-touch-unified:not(.ag-device-small) .lobby-command-bar .ag-logout-icon {
    width: 64%;
    height: 64%;
    stroke-width: 2.7;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) {
    --ag-pro-u: 1vmin;
    --ag-pro-x: 1vw;
    --ag-pro-y: 1dvh;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html.ag-touch-unified:has(body.pro-tournament-page:not(.ag-device-small)),
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) :is(.ag-pro-topbar, .ag-lobby-mobile-dock, .ag-draft-card) {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-page {
    position: fixed;
    inset: 0;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: stretch;
    overflow: hidden;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-touch-exit {
    position: static;
    grid-area: exit;
    align-self: center;
    justify-self: end;
    z-index: 80;
    min-width: calc(var(--ag-pro-x) * 19);
    min-height: calc(var(--ag-pro-y) * 5.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--ag-pro-u) * 1.5);
    padding-inline: calc(var(--ag-pro-x) * 2.5);
    border: calc(var(--ag-pro-u) * 0.18) solid rgba(255, 216, 143, 0.64);
    border-radius: calc(var(--ag-pro-u) * 2.4);
    background: linear-gradient(145deg, rgba(47, 42, 36, 0.96), rgba(100, 62, 29, 0.96));
    color: #fff3d4;
    font-size: calc(var(--ag-pro-u) * 2.8);
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 calc(var(--ag-pro-y) * 1) calc(var(--ag-pro-u) * 3.5) rgba(0, 0, 0, 0.28);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-touch-exit > span:first-child {
    font-size: calc(var(--ag-pro-u) * 4.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-shell {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    align-self: stretch;
    justify-self: stretch;
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
    filter: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-control-surface {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    border: 0;
    border-radius: 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-control-content {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding:
      calc(env(safe-area-inset-top) + (var(--ag-pro-y) * 3.5))
      calc(var(--ag-pro-x) * 3)
      calc(env(safe-area-inset-bottom) + (var(--ag-pro-y) * 3));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-center {
    width: 100%;
    height: auto;
    min-height: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: calc(var(--ag-pro-y) * 2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-center::before,
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-grid::after {
    content: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-head,
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-grid,
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-center > :is(.ag-saved-tournaments, .ag-organizer-events) {
    width: 100%;
    min-width: 0;
    grid-column: 1;
    grid-row: auto;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "kicker exit" "heading exit";
    align-items: center;
    column-gap: calc(var(--ag-pro-x) * 2.5);
    row-gap: calc(var(--ag-pro-y) * 0.8);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-head > .ag-create-kicker {
    grid-area: kicker;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-head > h1 {
    min-width: 0;
    grid-area: heading;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-head h1 {
    font-size: calc(var(--ag-pro-u) * 5.8);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-create-kicker {
    font-size: calc(var(--ag-pro-u) * 2.5);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(calc(var(--ag-pro-y) * 24), auto));
    gap: calc(var(--ag-pro-y) * 2.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-form-active .ag-pro-command-grid {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-card {
    min-height: calc(var(--ag-pro-y) * 24);
    grid-template-columns: calc(var(--ag-pro-u) * 14) minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: calc(var(--ag-pro-u) * 2.4);
    padding: calc(var(--ag-pro-u) * 4);
    border-width: calc(var(--ag-pro-u) * 0.18);
    border-radius: calc(var(--ag-pro-u) * 3.5);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small):not(.ag-pro-form-active):not(.ag-tournament-management-active) .ag-pro-command-center {
    grid-template-rows: auto minmax(0, 1fr);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small):not(.ag-pro-form-active):not(.ag-tournament-management-active) .ag-pro-command-center > :is(.ag-saved-tournaments, .ag-organizer-events) {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-icon {
    width: calc(var(--ag-pro-u) * 12);
    height: calc(var(--ag-pro-u) * 12);
    border-radius: calc(var(--ag-pro-u) * 3.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-icon svg {
    width: calc(var(--ag-pro-u) * 6);
    height: calc(var(--ag-pro-u) * 6);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-copy {
    gap: calc(var(--ag-pro-y) * 0.6);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-copy strong {
    max-width: 82%;
    font-size: calc(var(--ag-pro-u) * 3.6);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-copy small {
    max-width: 82%;
    font-size: calc(var(--ag-pro-u) * 2.25);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-pro-command-art {
    right: calc(var(--ag-pro-x) * -8);
    width: calc(var(--ag-pro-u) * 34);
    height: calc(var(--ag-pro-u) * 34);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) :is(.ag-saved-tournaments, .ag-organizer-events) {
    min-height: calc(var(--ag-pro-y) * 32);
    gap: calc(var(--ag-pro-y) * 1.2);
    padding: calc(var(--ag-pro-u) * 3);
    border-width: calc(var(--ag-pro-u) * 0.18);
    border-radius: calc(var(--ag-pro-u) * 3.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) :is(.ag-saved-tournaments-heading, .ag-organizer-events-head h2) {
    font-size: calc(var(--ag-pro-u) * 3.25);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) :is(.ag-saved-tournaments-count, .ag-saved-refresh) {
    min-width: calc(var(--ag-pro-x) * 19);
    min-height: calc(var(--ag-pro-y) * 4.6);
    padding-inline: calc(var(--ag-pro-x) * 2);
    font-size: calc(var(--ag-pro-u) * 2.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-saved-tournaments-tools {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: calc(var(--ag-pro-x) * 1.5) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-saved-tournaments-tools > .ag-saved-tournaments-count {
    order: 1;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-saved-tournaments-tools > .ag-saved-refresh {
    order: 2;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) :is(.ag-saved-tournament-list, .ag-organizer-event-list) {
    max-height: calc(var(--ag-pro-y) * 34);
    gap: calc(var(--ag-pro-y) * 1.5);
    padding-right: calc(var(--ag-pro-x) * 1);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-pro-command-center > .ag-saved-tournaments {
    min-height: 0 !important;
    height: auto !important;
    align-self: start !important;
    grid-template-rows: auto auto !important;
    padding-right: calc(var(--ag-pro-u) * 1.4) !important;
    padding-left: calc(var(--ag-pro-u) * 1.4) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-saved-tournament-list {
    --ag-pro-saved-row-height: max(calc(var(--ag-pro-y) * 10), calc(var(--ag-pro-u) * 18));
    height: auto;
    max-height: calc(max(calc(var(--ag-pro-y) * 60), calc(var(--ag-pro-u) * 108)) + (var(--ag-pro-y) * 7.5));
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding-right: 0 !important;
    scrollbar-gutter: stable;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-saved-tournament-list:has(> .ag-saved-tournament-item:nth-child(7)) {
    overscroll-behavior-y: contain;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active :is(.ag-create-tournament-panel, .ag-saved-tournaments),
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active :is(.ag-create-tournament-panel, .ag-saved-tournaments) * {
    touch-action: pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-saved-tournament-list > .ag-saved-tournament-item {
    height: var(--ag-pro-saved-row-height);
    min-height: var(--ag-pro-saved-row-height);
    max-height: var(--ag-pro-saved-row-height);
    grid-template-columns: calc(var(--ag-pro-u) * 15) minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    gap: calc(var(--ag-pro-y) * 0.7) calc(var(--ag-pro-x) * 0.8) !important;
    padding-right: calc(var(--ag-pro-u) * 1.6) !important;
    padding-left: calc(var(--ag-pro-u) * 0.8) !important;
    overflow: hidden;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-saved-tournament-item > .ag-saved-tournament-logo {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center;
    transform: translateX(calc(var(--ag-pro-x) * -0.3)) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-saved-tournament-item > .ag-saved-tournament-name {
    width: 100%;
    min-width: 0;
    grid-column: 2 / 4 !important;
    grid-row: 1 !important;
    align-self: end;
    display: flex;
    flex-wrap: nowrap;
    transform: none !important;
    white-space: nowrap;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-saved-tournament-name > .ag-saved-tournament-title-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-saved-tournament-item > .ag-saved-tournament-details {
    min-width: 0;
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-saved-tournament-item > .ag-saved-tournament-actions {
    grid-column: 3 !important;
    grid-row: 2 !important;
    align-self: start;
    justify-self: end;
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: auto;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) :is(.ag-saved-tournament-item, .ag-organizer-event-card, .ag-saved-tournament-state) {
    min-height: calc(var(--ag-pro-y) * 10);
    padding: calc(var(--ag-pro-u) * 2.4);
    border-radius: calc(var(--ag-pro-u) * 2.5);
    font-size: calc(var(--ag-pro-u) * 2.5);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) :is(.ag-create-tournament-panel, .ag-event-create-panel) {
    width: 100%;
    min-width: 0;
    min-height: 100%;
    gap: calc(var(--ag-pro-y) * 2.2);
    padding: calc(var(--ag-pro-u) * 3.5);
    border-width: calc(var(--ag-pro-u) * 0.18);
    border-radius: calc(var(--ag-pro-u) * 3.8);
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-control-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding-top: calc(env(safe-area-inset-top) + (var(--ag-pro-y) * 2));
    padding-right: calc(var(--ag-pro-x) * 1.5);
    padding-left: calc(var(--ag-pro-x) * 1.5);
    gap: calc(var(--ag-pro-y) * 2.4) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-control-content {
    grid-template-rows: none !important;
    align-content: stretch !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-pro-command-center {
    display: block !important;
    flex: 0 0 auto !important;
    order: 2 !important;
    height: auto !important;
    min-height: 0 !important;
    grid-template-rows: auto !important;
    align-content: start !important;
    gap: calc(var(--ag-pro-y) * 2.4) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-pro-command-center > :is(.ag-pro-command-head, .ag-pro-command-grid, .ag-organizer-events) {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-title {
    display: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) !important;
    column-gap: calc(var(--ag-pro-x) * 2.2);
    align-items: start;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-fields > .ag-tournament-logo-control {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-items: start;
    transform: translateX(calc(var(--ag-pro-x) * 5));
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-fields > .ag-create-name-field {
    grid-column: 2 !important;
    grid-row: 1;
    width: calc(100% - (var(--ag-pro-x) * 5)) !important;
    margin: 0;
    transform: translateX(calc(var(--ag-pro-x) * 5)) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-fields > .ag-create-identity-row {
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1 !important;
    grid-row: 1;
    display: grid;
    grid-template-columns: calc(var(--ag-pro-u) * 17) minmax(0, 1fr);
    align-items: start;
    column-gap: calc(var(--ag-pro-x) * 4.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-identity-row > .ag-tournament-logo-control {
    grid-column: 1;
    grid-row: 1;
    justify-items: start;
    transform: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-identity-row > .ag-create-name-field {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    min-width: 0;
    margin: 0;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-fields > :not(.ag-tournament-logo-control):not(.ag-create-name-field) {
    grid-column: 1 / -1 !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-tournament-logo-picker {
    width: calc(var(--ag-pro-u) * 17);
    height: calc(var(--ag-pro-u) * 17);
    border-radius: calc(var(--ag-pro-u) * 3);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-tournament-logo-remove {
    width: calc(var(--ag-pro-u) * 17);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-field-label {
    font-size: calc(var(--ag-pro-u) * 3);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel :is(.ag-create-input, .ag-create-select, .ag-create-submit) {
    font-size: calc(var(--ag-pro-u) * 3.55);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-format-copy strong {
    font-size: calc(var(--ag-pro-u) * 3);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-format-copy small {
    font-size: calc(var(--ag-pro-u) * 2.5);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-tournament-logo-prompt strong {
    font-size: calc(var(--ag-pro-u) * 2.65);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-tournament-logo-prompt small,
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel :is(.ag-create-status, .ag-create-format-error) {
    font-size: calc(var(--ag-pro-u) * 2.35);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) :is(.ag-create-fields, .ag-event-create-fields, .ag-create-secondary-fields) {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: calc(var(--ag-pro-y) * 1.8);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) :is(.ag-create-input, .ag-create-select, .ag-create-submit) {
    min-height: calc(var(--ag-pro-y) * 6.5);
    border-radius: calc(var(--ag-pro-u) * 2.2);
    font-size: calc(var(--ag-pro-u) * 3.1);
  }

  /* Mobil turnuva formu masaustu sabit sutun ve negatif kaydirmalarini kullanmaz. */
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel {
    display: grid !important;
    position: relative !important;
    flex: 0 0 auto !important;
    order: 1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    height: auto !important;
    min-height: max-content !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    touch-action: pan-y;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel.is-collapsed {
    min-height: 0 !important;
    padding: calc(var(--ag-pro-u) * 2.2) calc(var(--ag-pro-u) * 3.2) !important;
    border-radius: calc(var(--ag-pro-u) * 3) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel.is-collapsed .ag-create-fields > :not(.ag-create-collapse-toggle) {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel.is-collapsed > .ag-small-create-back {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel.is-collapsed .ag-create-fields {
    display: block !important;
    min-height: calc(var(--ag-pro-y) * 6.2) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel > .ag-small-create-back {
    position: absolute;
    top: calc(var(--ag-pro-y) * 0.2);
    right: calc(var(--ag-pro-x) * 2.6);
    z-index: 12;
    display: inline-flex;
    height: calc(var(--ag-pro-y) * 4.5);
    min-height: calc(var(--ag-pro-y) * 4.5);
    align-items: center;
    justify-content: center;
    gap: calc(var(--ag-pro-u) * 0.8);
    padding: 0 calc(var(--ag-pro-x) * 3.15);
    border: calc(var(--ag-pro-u) * 0.16) solid rgba(255, 216, 143, 0.58);
    border-radius: calc(var(--ag-pro-u) * 2.2);
    background: linear-gradient(145deg, rgba(47, 42, 36, 0.96), rgba(100, 62, 29, 0.96));
    color: #fff3d4;
    box-shadow: 0 calc(var(--ag-pro-y) * 0.9) calc(var(--ag-pro-u) * 2.5) rgba(0, 0, 0, 0.22);
    font-size: calc(var(--ag-pro-u) * 2.55);
    font-weight: 950;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel > .ag-small-create-back .ag-small-create-back__arrow {
    font-size: calc(var(--ag-pro-u) * 3.4);
    line-height: 1;
    transform: translateY(calc(var(--ag-pro-y) * -0.08));
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-collapse-toggle {
    width: calc(var(--ag-pro-u) * 10);
    min-width: calc(var(--ag-pro-u) * 10);
    height: calc(var(--ag-pro-y) * 5);
    min-height: calc(var(--ag-pro-y) * 5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--ag-pro-x) * 1.3);
    justify-self: end;
    margin: calc(var(--ag-pro-y) * -0.6) 0 0 auto;
    padding: 0 calc(var(--ag-pro-x) * 2.2);
    border: calc(var(--ag-pro-u) * 0.16) solid rgba(255, 232, 176, 0.68);
    border-radius: calc(var(--ag-pro-u) * 2.2);
    background: linear-gradient(135deg, #ffe1a4 0%, #f2a33a 52%, #c86f17 100%);
    color: #211407;
    box-shadow:
      0 calc(var(--ag-pro-y) * 0.8) calc(var(--ag-pro-u) * 2.2) rgba(96, 48, 10, 0.22),
      inset 0 calc(var(--ag-pro-y) * 0.12) 0 rgba(255, 255, 255, 0.58);
    font-size: calc(var(--ag-pro-u) * 2.65);
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-collapse-label {
    display: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-collapse-arrow {
    font-size: calc(var(--ag-pro-u) * 4);
    line-height: 1;
    transform: translateY(calc(var(--ag-pro-y) * -0.15));
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel.is-collapsed .ag-create-collapse-toggle {
    width: 100%;
    min-width: 0;
    height: calc(var(--ag-pro-y) * 6.2);
    min-height: calc(var(--ag-pro-y) * 6.2);
    margin: 0;
    justify-self: stretch;
    border-radius: calc(var(--ag-pro-u) * 2.5);
    background: linear-gradient(145deg, rgba(47, 42, 36, 0.96), rgba(100, 62, 29, 0.96));
    color: #fff3d4;
    box-shadow:
      0 calc(var(--ag-pro-y) * 0.7) calc(var(--ag-pro-u) * 2.2) rgba(0, 0, 0, 0.22),
      inset 0 calc(var(--ag-pro-y) * 0.12) 0 rgba(255, 255, 255, 0.22);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel.is-collapsed .ag-create-collapse-label {
    display: inline;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel.is-collapsed .ag-create-collapse-arrow {
    transform: translateY(calc(var(--ag-pro-y) * 0.05));
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-fields {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: calc(var(--ag-pro-y) * 1.8) !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-fields > .ag-create-identity-row {
    width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    grid-template-columns: calc(var(--ag-pro-u) * 17) minmax(0, 1fr) !important;
    column-gap: calc(var(--ag-pro-x) * 4.5) !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-identity-row > :is(.ag-tournament-logo-control, .ag-create-name-field) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-secondary-fields {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: calc(var(--ag-pro-y) * 1.5) calc(var(--ag-pro-x) * 2) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-secondary-fields > .ag-field[hidden] {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-secondary-fields > .ag-field {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-format-field {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-format-toggle {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: calc(var(--ag-pro-x) * 1.5) !important;
    justify-content: stretch !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-format-option {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-format-option > span {
    min-height: calc(var(--ag-pro-y) * 11.5) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: calc(var(--ag-pro-y) * 0.7) !important;
    padding: calc(var(--ag-pro-u) * 1.5) !important;
    text-align: center !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-format-copy {
    justify-items: center;
    text-align: center;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-format-option--survival .ag-create-format-copy small {
    font-size: calc(var(--ag-pro-u) * 2.25);
    white-space: nowrap;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-format-symbol {
    order: 2;
    width: calc(var(--ag-pro-u) * 7.2);
    height: calc(var(--ag-pro-u) * 7.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel :is(.ag-create-submit, .ag-create-status) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: stretch !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-status {
    min-height: calc(var(--ag-pro-y) * 3.2);
    padding: 0 calc(var(--ag-pro-x) * 1.4);
    align-self: start;
    overflow: visible;
    white-space: normal;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel .ag-create-status[hidden] {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-pro-command-center > .ag-saved-tournaments {
    position: relative !important;
    z-index: 1 !important;
    margin-top: calc(var(--ag-pro-y) * 0.7) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-tournament-form-active .ag-create-tournament-panel :is(.ag-create-input, .ag-create-select) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }

  html.ag-touch-unified.ag-pro-create-keyboard-locked,
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-create-keyboard-locked {
    width: var(--ag-pro-locked-width) !important;
    min-width: var(--ag-pro-locked-width) !important;
    max-width: var(--ag-pro-locked-width) !important;
    height: var(--ag-pro-locked-height) !important;
    min-height: var(--ag-pro-locked-height) !important;
    max-height: var(--ag-pro-locked-height) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-create-keyboard-locked {
    --ag-pro-x: var(--ag-pro-locked-x);
    --ag-pro-y: var(--ag-pro-locked-y);
    --ag-pro-u: var(--ag-pro-locked-u);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-keyboard-scroll-active {
    --ag-pro-x: var(--ag-touch-iu);
    --ag-pro-y: var(--ag-touch-bu);
    --ag-pro-u: var(--ag-touch-u);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-pro-create-keyboard-locked :is(.ag-pro-page, .ag-pro-shell, .ag-control-surface, .ag-control-content) {
    height: var(--ag-pro-locked-height) !important;
    min-height: var(--ag-pro-locked-height) !important;
    max-height: var(--ag-pro-locked-height) !important;
  }

  html.ag-touch-unified.ag-pro-create-keyboard-locked {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pro-create-keyboard-locked {
    position: fixed !important;
    inset: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pro-create-keyboard-locked .ag-pro-page {
    position: fixed !important;
    inset: 0 !important;
    overflow: hidden !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-pro-touch-exit {
    display: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-top-title {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 70;
    min-height: calc(env(safe-area-inset-top) + (var(--ag-pro-y) * 14.2));
    display: grid;
    align-content: start;
    gap: calc(var(--ag-pro-y) * 0.8);
    padding:
      calc(env(safe-area-inset-top) + (var(--ag-pro-y) * 1))
      0
      0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-top-button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: calc(var(--ag-pro-y) * 5.7);
    height: calc(var(--ag-pro-y) * 5.7);
    gap: calc(var(--ag-pro-x) * 2);
    padding: 0 calc(var(--ag-pro-x) * 1.8) 0 calc(var(--ag-pro-x) * 18.5) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff8ea;
    font-size: calc(var(--ag-pro-u) * 3.45) !important;
    font-weight: 950;
    letter-spacing: calc(var(--ag-pro-u) * 0.04);
    text-transform: uppercase;
    text-shadow:
      0 calc(var(--ag-pro-u) * 0.18) 0 rgba(255, 255, 255, 0.42),
      0 calc(var(--ag-pro-u) * 0.42) 0 rgba(83, 88, 94, 0.72),
      0 calc(var(--ag-pro-u) * 0.75) 0 rgba(0, 0, 0, 0.82),
      0 calc(var(--ag-pro-u) * 1.8) calc(var(--ag-pro-u) * 3.2) rgba(0, 0, 0, 0.56);
    box-shadow: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-top-back {
    position: absolute;
    top: calc(env(safe-area-inset-top) + (var(--ag-pro-y) * 1.35));
    left: calc(var(--ag-pro-x) * 1.2);
    z-index: 3;
    width: calc(var(--ag-pro-x) * 15.5);
    height: calc(var(--ag-pro-y) * 5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--ag-pro-x) * 0.9);
    padding: 0 calc(var(--ag-pro-x) * 1.1);
    border: calc(var(--ag-pro-u) * 0.16) solid rgba(255, 216, 145, 0.58);
    border-radius: calc(var(--ag-pro-u) * 1.5);
    background: linear-gradient(180deg, rgba(101, 70, 39, 0.98), rgba(47, 31, 19, 0.99));
    color: #fff0ce;
    box-shadow:
      inset 0 calc(var(--ag-pro-y) * 0.12) 0 rgba(255, 255, 255, 0.28),
      0 calc(var(--ag-pro-y) * 0.4) calc(var(--ag-pro-u) * 1.2) rgba(0, 0, 0, 0.34);
    cursor: pointer;
    font-size: calc(var(--ag-pro-u) * 2.25);
    font-weight: 950;
    line-height: 1;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-top-back > span:first-child {
    font-size: calc(var(--ag-pro-u) * 3.6);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-top-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-top-caret {
    width: calc(var(--ag-pro-u) * 7.2);
    height: calc(var(--ag-pro-u) * 7.2);
    margin-left: auto;
    border-radius: calc(var(--ag-pro-u) * 2.1);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tabs {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.94fr) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    border: calc(var(--ag-pro-u) * 0.16) solid rgba(255, 212, 139, 0.42);
    border-radius: calc(var(--ag-pro-u) * 1.25);
    background:
      linear-gradient(180deg, rgba(232, 177, 116, 0.96) 0%, rgba(216, 153, 88, 0.94) 48%, rgba(194, 126, 64, 0.94) 100%);
    box-shadow:
      inset 0 calc(var(--ag-pro-y) * 0.12) 0 rgba(255, 244, 201, 0.34),
      inset 0 calc(var(--ag-pro-y) * -0.12) 0 rgba(118, 68, 28, 0.22),
      0 calc(var(--ag-pro-y) * 0.45) calc(var(--ag-pro-u) * 1.8) rgba(74, 39, 17, 0.24);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab {
    position: relative;
    min-width: 0;
    min-height: calc(var(--ag-pro-y) * 7.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--ag-pro-x) * 1.25);
    overflow: hidden;
    padding: calc(var(--ag-pro-y) * 0.55) calc(var(--ag-pro-x) * 1.05);
    border: 0;
    box-sizing: border-box;
    border-radius: 0;
    background: transparent;
    color: #1b1108;
    font-size: calc(var(--ag-pro-u) * 2.95);
    font-weight: 950;
    letter-spacing: calc(var(--ag-pro-u) * 0.02);
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 calc(var(--ag-pro-y) * 0.12) 0 rgba(255, 232, 183, 0.46);
    box-shadow: none;
    transform: translateY(0);
    transition:
      transform 150ms ease,
      border-color 150ms ease,
      background 150ms ease,
      color 150ms ease,
      box-shadow 150ms ease;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab::after {
    content: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab + .ag-management-mobile-tab {
    border-left: calc(var(--ag-pro-x) * 0.16) solid rgba(255, 226, 160, 0.58);
    box-shadow:
      inset calc(var(--ag-pro-x) * 0.08) 0 0 rgba(94, 45, 13, 0.22),
      calc(var(--ag-pro-x) * -0.08) 0 calc(var(--ag-pro-u) * 0.75) rgba(255, 226, 160, 0.20);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab-icon {
    width: calc(var(--ag-pro-u) * 5.7);
    height: calc(var(--ag-pro-u) * 5.7);
    flex: 0 0 calc(var(--ag-pro-u) * 5.7);
    display: grid;
    place-items: center;
    border: calc(var(--ag-pro-u) * 0.16) solid rgba(255, 232, 168, 0.86);
    border-radius: 50%;
    color: #fff0bf;
    background:
      radial-gradient(circle at 50% 42%, rgba(255, 234, 162, 0.42) 0%, rgba(255, 190, 82, 0.20) 38%, rgba(0, 0, 0, 0.00) 64%),
      linear-gradient(180deg, rgba(113, 64, 28, 0.96) 0%, rgba(55, 34, 19, 0.98) 100%);
    box-shadow:
      0 0 calc(var(--ag-pro-u) * 2.8) rgba(255, 218, 125, 0.54),
      0 0 calc(var(--ag-pro-u) * 5.8) rgba(255, 169, 46, 0.26),
      0 calc(var(--ag-pro-y) * 0.9) calc(var(--ag-pro-u) * 2.1) rgba(0, 0, 0, 0.26),
      inset 0 calc(var(--ag-pro-y) * 0.12) 0 rgba(255, 244, 200, 0.38),
      inset 0 0 0 calc(var(--ag-pro-u) * 0.16) rgba(255, 177, 62, 0.18);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab-icon svg {
    width: 62%;
    height: 62%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 calc(var(--ag-pro-u) * 0.65) rgba(255, 232, 158, 0.28));
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab-label {
    min-width: 0;
    white-space: normal;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab[data-management-tab="players"] .ag-management-mobile-tab-label {
    white-space: nowrap;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab.is-selected {
    background: rgba(55, 35, 20, 0.72);
    color: #fff7e7;
    text-shadow:
      0 0 calc(var(--ag-pro-u) * 1.15) rgba(255, 213, 123, 0.48),
      0 calc(var(--ag-pro-y) * 0.18) calc(var(--ag-pro-u) * 0.85) rgba(0, 0, 0, 0.52);
    box-shadow:
      0 0 calc(var(--ag-pro-u) * 2.6) rgba(255, 186, 67, 0.22),
      0 0 calc(var(--ag-pro-u) * 5.1) rgba(255, 139, 36, 0.13),
      inset 0 calc(var(--ag-pro-y) * 0.12) 0 rgba(255, 243, 202, 0.28),
      inset 0 calc(var(--ag-pro-y) * -0.12) 0 rgba(134, 71, 25, 0.40);
    transform: translateY(calc(var(--ag-pro-y) * -0.16));
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab.is-selected .ag-management-mobile-tab-icon {
    border-color: rgba(255, 222, 151, 0.86);
    color: #fff5cf;
    background:
      radial-gradient(circle at 50% 43%, rgba(255, 245, 182, 0.62) 0%, rgba(255, 199, 82, 0.32) 46%, rgba(0, 0, 0, 0.00) 70%),
      linear-gradient(180deg, rgba(94, 59, 28, 0.98) 0%, rgba(36, 29, 23, 1) 100%);
    box-shadow:
      0 0 calc(var(--ag-pro-u) * 3.1) rgba(255, 236, 164, 0.82),
      0 0 calc(var(--ag-pro-u) * 7.3) rgba(255, 178, 49, 0.54),
      0 0 calc(var(--ag-pro-u) * 10.4) rgba(255, 143, 34, 0.24),
      0 calc(var(--ag-pro-y) * 0.9) calc(var(--ag-pro-u) * 2.1) rgba(0, 0, 0, 0.34),
      inset 0 calc(var(--ag-pro-y) * 0.12) 0 rgba(255, 244, 204, 0.46),
      inset 0 0 0 calc(var(--ag-pro-u) * 0.16) rgba(255, 184, 64, 0.24);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab.is-selected .ag-management-mobile-tab-icon svg {
    filter:
      drop-shadow(0 0 calc(var(--ag-pro-u) * 0.42) rgba(255, 248, 212, 0.96))
      drop-shadow(0 0 calc(var(--ag-pro-u) * 1.25) rgba(255, 214, 111, 0.82))
      drop-shadow(0 0 calc(var(--ag-pro-u) * 2.45) rgba(255, 163, 40, 0.58));
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab.is-selected::after {
    content: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab:active:not(:disabled) {
    transform: translateY(calc(var(--ag-pro-y) * 0.12)) scale(0.985);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-mobile-tab:disabled {
    opacity: 0.68;
    filter: saturate(0.58);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-control-content {
    padding:
      calc(env(safe-area-inset-top) + (var(--ag-pro-y) * 15))
      calc(var(--ag-pro-x) * 2)
      calc(env(safe-area-inset-bottom) + (var(--ag-pro-y) * 2));
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active :is(.ag-management-workspace, .ag-management-body, .ag-management-pane) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active :is(.ag-player-entry-card, .ag-player-list-card, .ag-settings-card, .ag-pairings-card) {
    border-radius: calc(var(--ag-pro-u) * 1.35);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active {
    width: calc(100% - (var(--ag-pro-x) * 2)) !important;
    max-width: calc(100% - (var(--ag-pro-x) * 2)) !important;
    margin-top: calc(var(--ag-pro-y) * 16) !important;
    margin-right: auto !important;
    margin-bottom: calc(var(--ag-pro-y) * 16) !important;
    margin-left: auto !important;
    box-sizing: border-box;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active :is(.ag-pairings-card, .ag-pairings-list, .ag-multi-elimination-board, .ag-round-robin-board, .ag-multi-standings, .ag-multi-table-scroll, .ag-multi-zoom-content, .ag-multi-table) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-pairings-list {
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-standings {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-board > .ag-round-robin-score-panel {
    order: 1;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-board > .ag-round-robin-standings {
    order: 2;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-board {
    height: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: calc(var(--ag-pro-y) * 1.4) !important;
    padding: 0 calc(var(--ag-pro-x) * 0.8) calc(var(--ag-pro-y) * 0.4) 0 !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-board > :is(.ag-round-robin-score-panel, .ag-round-robin-standings) {
    gap: calc(var(--ag-pro-y) * 1.15) !important;
    padding: calc(var(--ag-pro-u) * 2.8) !important;
    border-width: calc(var(--ag-pro-u) * 0.16) !important;
    border-radius: calc(var(--ag-pro-u) * 3.2) !important;
    box-shadow: 0 calc(var(--ag-pro-y) * 1.25) calc(var(--ag-pro-u) * 4.5) rgba(82, 56, 25, 0.08), inset 0 calc(var(--ag-pro-u) * 0.16) 0 rgba(255, 255, 255, 0.78) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-board > .ag-round-robin-score-panel {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-board .ag-multi-section-head {
    min-height: calc(var(--ag-pro-u) * 8.2);
    gap: calc(var(--ag-pro-x) * 2.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-board .ag-multi-section-head h3 {
    min-height: calc(var(--ag-pro-u) * 8.2);
    padding: 0 calc(var(--ag-pro-x) * 3.4);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 9);
    font-size: calc(var(--ag-pro-u) * 2.8);
    box-shadow: inset 0 calc(var(--ag-pro-u) * 0.16) 0 rgba(255, 255, 255, 0.62), 0 calc(var(--ag-pro-y) * 0.65) calc(var(--ag-pro-u) * 2.7) rgba(82, 56, 25, 0.08);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-board .ag-multi-section-tools {
    gap: calc(var(--ag-pro-u) * 1.5);
    padding-left: calc(var(--ag-pro-x) * 2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-board .ag-multi-info-pill {
    min-height: calc(var(--ag-pro-u) * 7);
    padding: 0 calc(var(--ag-pro-x) * 2.4);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 9);
    font-size: calc(var(--ag-pro-u) * 2.35);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-ranking-help {
    width: calc(var(--ag-pro-u) * 7.4);
    height: calc(var(--ag-pro-u) * 7.4);
    flex-basis: calc(var(--ag-pro-u) * 7.4);
    border-width: calc(var(--ag-pro-u) * 0.16);
    font-size: calc(var(--ag-pro-u) * 3.2);
    box-shadow: inset 0 calc(var(--ag-pro-u) * 0.16) 0 rgba(255, 255, 255, 0.92), 0 calc(var(--ag-pro-y) * 0.45) calc(var(--ag-pro-u) * 1.8) rgba(93, 57, 17, 0.12);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active :is(
    .ag-round-robin-score-panel,
    .ag-round-robin-score-panel-body,
    .ag-round-robin-progress,
    .ag-round-robin-score-card,
    .ag-round-robin-score-line,
    .ag-round-robin-score-actions,
    .ag-round-robin-match-filters
  ) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-score-panel-body {
    gap: calc(var(--ag-pro-y) * 0.85);
    padding: calc(var(--ag-pro-y) * 0.9) 0 calc(var(--ag-pro-y) * 0.6);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-progress {
    padding: calc(var(--ag-pro-y) * 0.85) calc(var(--ag-pro-x) * 1.35) calc(var(--ag-pro-y) * 1);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 2.8);
    box-shadow: inset 0 calc(var(--ag-pro-u) * 0.16) 0 rgba(255, 255, 255, 0.94), 0 calc(var(--ag-pro-y) * 0.8) calc(var(--ag-pro-u) * 3.4) rgba(82, 56, 25, 0.07);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-progress-label {
    gap: calc(var(--ag-pro-x) * 2.4);
    margin-bottom: calc(var(--ag-pro-y) * 0.7);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-progress-label > span {
    font-size: calc(var(--ag-pro-u) * 2.15);
    letter-spacing: calc(var(--ag-pro-u) * 0.16);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-progress-label strong {
    font-size: calc(var(--ag-pro-u) * 2.75);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-progress-label small {
    margin-left: calc(var(--ag-pro-x) * 1.2);
    font-size: calc(var(--ag-pro-u) * 1.9);
    letter-spacing: calc(var(--ag-pro-u) * 0.06);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-progress-track {
    height: calc(var(--ag-pro-u) * 4.8);
    border-width: calc(var(--ag-pro-u) * 0.16);
    box-shadow: inset 0 calc(var(--ag-pro-y) * 0.25) calc(var(--ag-pro-u) * 1.1) rgba(0, 0, 0, 0.38), 0 calc(var(--ag-pro-u) * 0.16) 0 rgba(255, 255, 255, 0.78);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-progress-track::after {
    inset: calc(var(--ag-pro-u) * 0.16);
    background: repeating-linear-gradient(90deg, transparent 0 calc(var(--ag-pro-x) * 4.5), rgba(255, 255, 255, 0.13) calc(var(--ag-pro-x) * 4.5) calc(var(--ag-pro-x) * 4.75));
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-score-card {
    padding: calc(var(--ag-pro-y) * 0.75) calc(var(--ag-pro-x) * 1.2);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 3);
    box-shadow: inset 0 calc(var(--ag-pro-u) * 0.16) 0 rgba(255, 255, 255, 0.90), 0 calc(var(--ag-pro-y) * 1.35) calc(var(--ag-pro-u) * 5) rgba(82, 56, 25, 0.07);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-score-caption {
    margin-bottom: calc(var(--ag-pro-y) * 0.65);
    font-size: calc(var(--ag-pro-u) * 2.45);
    letter-spacing: calc(var(--ag-pro-u) * 0.14);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-score-line {
    grid-template-columns: minmax(0, 1fr) calc(var(--ag-pro-u) * 9.4) calc(var(--ag-pro-u) * 9.4) minmax(0, 1fr);
    gap: calc(var(--ag-pro-u) * 0.65);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active :is(.ag-round-robin-player-field, .ag-round-robin-score-field) {
    min-width: 0;
    gap: calc(var(--ag-pro-y) * 0.25);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active :is(.ag-round-robin-player-field, .ag-round-robin-score-field) > span {
    overflow: hidden;
    font-size: calc(var(--ag-pro-u) * 1.9);
    letter-spacing: calc(var(--ag-pro-u) * 0.03);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active :is(.ag-round-robin-player-field input, .ag-round-robin-score-field input) {
    min-width: 0;
    height: calc(var(--ag-pro-u) * 9.2);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 2.3);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-field input {
    padding-right: calc(var(--ag-pro-u) * 8.8);
    padding-left: calc(var(--ag-pro-x) * 2);
    font-size: calc(var(--ag-pro-u) * 2.4);
    text-overflow: ellipsis;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-score-field input {
    padding-right: calc(var(--ag-pro-u) * 0.5);
    padding-left: calc(var(--ag-pro-u) * 0.5);
    font-size: calc(var(--ag-pro-u) * 3.4);
    line-height: calc(var(--ag-pro-u) * 9.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-toggle {
    top: calc(var(--ag-pro-u) * 0.8);
    right: calc(var(--ag-pro-u) * 0.8);
    width: calc(var(--ag-pro-u) * 7.6);
    height: calc(var(--ag-pro-u) * 7.6);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-toggle svg {
    width: calc(var(--ag-pro-u) * 3);
    height: calc(var(--ag-pro-u) * 3);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-menu {
    top: calc(100% + (var(--ag-pro-y) * 0.6));
    max-height: calc(var(--ag-pro-y) * 27);
    padding: calc(var(--ag-pro-u) * 1.4);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 2.4);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-option {
    min-height: calc(var(--ag-pro-u) * 9);
    padding: calc(var(--ag-pro-y) * 0.8) calc(var(--ag-pro-x) * 2.4);
    border-radius: calc(var(--ag-pro-u) * 1.5);
    font-size: calc(var(--ag-pro-u) * 2.6);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-score-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: calc(var(--ag-pro-y) * 0.6);
    margin-top: calc(var(--ag-pro-y) * 0.65);
    padding-top: calc(var(--ag-pro-y) * 0.65);
    border-top-width: calc(var(--ag-pro-u) * 0.12);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(var(--ag-pro-x) * 0.8);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-filter {
    width: 100%;
    min-width: 0;
    min-height: calc(var(--ag-pro-u) * 7.8);
    padding-right: calc(var(--ag-pro-x) * 0.75);
    padding-left: calc(var(--ag-pro-x) * 0.75);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 2.1);
    font-size: calc(var(--ag-pro-u) * 2.05);
    letter-spacing: 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-filter span {
    min-width: calc(var(--ag-pro-u) * 4.8);
    height: calc(var(--ag-pro-u) * 4.8);
    padding: 0 calc(var(--ag-pro-x) * 1.1);
    font-size: calc(var(--ag-pro-u) * 2.1);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-score-save {
    width: 100%;
    min-width: 0;
    min-height: calc(var(--ag-pro-u) * 9.2);
    padding: 0 calc(var(--ag-pro-x) * 3.5);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 2.3);
    font-size: calc(var(--ag-pro-u) * 2.5);
    letter-spacing: calc(var(--ag-pro-u) * 0.08);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-standings .ag-multi-table :is(th, td) {
    height: calc(var(--ag-pro-u) * 9) !important;
    padding-right: calc(var(--ag-pro-x) * 0.75) !important;
    padding-left: calc(var(--ag-pro-x) * 0.75) !important;
    border-bottom-width: calc(var(--ag-pro-u) * 0.12);
    font-size: calc(var(--ag-pro-u) * 2.35);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-standings .ag-multi-table th {
    font-size: calc(var(--ag-pro-u) * 2.05);
    letter-spacing: calc(var(--ag-pro-u) * 0.08);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-standing-player-cell {
    gap: calc(var(--ag-pro-y) * 0.55);
    padding: calc(var(--ag-pro-y) * 0.35) 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-life {
    width: calc(var(--ag-pro-x) * 29);
    max-width: 100%;
    height: calc(var(--ag-pro-u) * 1.4);
    border-width: calc(var(--ag-pro-u) * 0.12);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list-panel {
    padding: calc(var(--ag-pro-u) * 2.5);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 3);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list-head {
    min-height: calc(var(--ag-pro-u) * 8.5);
    gap: calc(var(--ag-pro-x) * 2.4);
    padding: 0 calc(var(--ag-pro-x) * 0.5) calc(var(--ag-pro-y) * 0.9);
    border-bottom-width: calc(var(--ag-pro-u) * 0.12);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active :is(.ag-round-robin-match-list-head span, .ag-round-robin-match-list-head strong) {
    font-size: calc(var(--ag-pro-u) * 2.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list-head button {
    width: calc(var(--ag-pro-u) * 7.5);
    height: calc(var(--ag-pro-u) * 7.5);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 1.8);
    font-size: calc(var(--ag-pro-u) * 4.5);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list {
    max-height: calc(var(--ag-pro-y) * 35);
    padding: calc(var(--ag-pro-y) * 0.5) calc(var(--ag-pro-x) * 0.5) 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list-row {
    min-height: calc(var(--ag-pro-u) * 12);
    grid-template-columns: minmax(0, 1fr) calc(var(--ag-pro-x) * 20) minmax(0, 1fr);
    column-gap: calc(var(--ag-pro-x) * 2.2);
    row-gap: calc(var(--ag-pro-y) * 0.35);
    padding: calc(var(--ag-pro-y) * 0.6) 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list-row.has-edit-action {
    grid-template-columns: minmax(0, 1fr) calc(var(--ag-pro-x) * 20) minmax(0, 1fr) calc(var(--ag-pro-x) * 12);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list.is-player-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(var(--ag-pro-y) * 1.1);
    padding-top: calc(var(--ag-pro-y) * 0.9);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-match-column {
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 2.5);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-match-column-head {
    min-height: calc(var(--ag-pro-u) * 9);
    gap: calc(var(--ag-pro-x) * 1.8);
    padding: 0 calc(var(--ag-pro-x) * 2.2);
    border-bottom-width: calc(var(--ag-pro-u) * 0.12);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-match-column-head strong {
    font-size: calc(var(--ag-pro-u) * 2.05);
    letter-spacing: calc(var(--ag-pro-u) * 0.12);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-match-column-head span {
    min-width: calc(var(--ag-pro-u) * 5.5);
    height: calc(var(--ag-pro-u) * 5.5);
    padding: 0 calc(var(--ag-pro-x) * 1.1);
    font-size: calc(var(--ag-pro-u) * 2.1);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-player-match-column-body {
    max-height: calc(var(--ag-pro-y) * 34);
    padding: calc(var(--ag-pro-y) * 0.3) calc(var(--ag-pro-x) * 1.6);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-round-robin-player-detail-open {
    overflow: hidden !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-round-robin-player-detail-open .ag-control-content {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-player-detail-portal-host {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482900;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    pointer-events: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-player-detail-portal-host::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(12, 15, 19, 0.24);
    pointer-events: auto;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view:not([hidden]) {
    position: fixed !important;
    inset:
      calc(env(safe-area-inset-top) + (var(--ag-pro-y) * 1.6))
      calc(env(safe-area-inset-right) + (var(--ag-pro-x) * 1.5))
      calc(env(safe-area-inset-bottom) + (var(--ag-pro-y) * 1.6))
      calc(env(safe-area-inset-left) + (var(--ag-pro-x) * 1.5)) !important;
    z-index: 2147483000;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    box-sizing: border-box;
    padding:
      calc(var(--ag-pro-y) * 1.1)
      calc(var(--ag-pro-x) * 2.1)
      calc(var(--ag-pro-y) * 1.2);
    border: calc(var(--ag-pro-u) * 0.16) solid rgba(176, 113, 31, 0.3) !important;
    border-radius: calc(var(--ag-pro-u) * 2.4) !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 228, 168, 0.52), transparent 38%),
      linear-gradient(180deg, #fffdf7 0%, #f7efdf 100%);
    box-shadow:
      0 calc(var(--ag-pro-y) * 1.2) calc(var(--ag-pro-u) * 4.5) rgba(31, 23, 14, 0.28),
      inset 0 calc(var(--ag-pro-y) * 0.12) 0 rgba(255, 255, 255, 0.92) !important;
    overflow: hidden !important;
    isolation: isolate;
    pointer-events: auto;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view .ag-round-robin-match-list-head {
    justify-content: flex-start;
    min-height: calc(var(--ag-pro-u) * 11);
    padding: 0 0 calc(var(--ag-pro-y) * 1.1);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view .ag-round-robin-match-list-head > div {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: calc(var(--ag-pro-y) * 0.25);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view .ag-round-robin-match-list-head button.is-back-button {
    order: 1;
    width: auto;
    min-width: calc(var(--ag-pro-x) * 22);
    height: calc(var(--ag-pro-u) * 8.5);
    padding: 0 calc(var(--ag-pro-x) * 2.6);
    border-color: rgba(148, 87, 18, 0.58);
    border-radius: calc(var(--ag-pro-u) * 1.8);
    background: linear-gradient(180deg, #fff8e7, #edcf95);
    color: #684012;
    box-shadow:
      0 calc(var(--ag-pro-y) * 0.35) calc(var(--ag-pro-u) * 1.15) rgba(88, 53, 14, 0.18),
      inset 0 calc(var(--ag-pro-y) * 0.1) 0 rgba(255, 255, 255, 0.95);
    font-size: calc(var(--ag-pro-u) * 2.35);
    font-weight: 950;
    letter-spacing: calc(var(--ag-pro-u) * 0.08);
    text-shadow: 0 calc(var(--ag-pro-y) * 0.08) 0 rgba(255, 255, 255, 0.72);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view .ag-round-robin-match-list.is-player-columns {
    min-height: 0;
    max-height: none;
    align-content: start;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    padding: calc(var(--ag-pro-y) * 1.1) 0 calc(var(--ag-pro-y) * 1.5);
    touch-action: pan-y;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view .ag-round-robin-player-match-column-body {
    max-height: calc(var(--ag-pro-y) * 34);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-edit-toggle {
    min-height: calc(var(--ag-pro-u) * 6);
    padding: 0 calc(var(--ag-pro-x) * 1.6);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 1.4);
    font-size: calc(var(--ag-pro-u) * 1.75);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-unplayed-actions {
    width: min(calc(var(--ag-pro-x) * 43), 100%);
    gap: calc(var(--ag-pro-y) * 0.5);
    margin-top: calc(var(--ag-pro-y) * 0.4);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-unplayed-actions button {
    min-height: calc(var(--ag-pro-u) * 6.5);
    padding: 0 calc(var(--ag-pro-x) * 2.4);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 1.6);
    font-size: calc(var(--ag-pro-u) * 1.8);
    letter-spacing: calc(var(--ag-pro-u) * 0.05);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view .ag-round-robin-match-list-row.has-unplayed-actions {
    min-height: calc(var(--ag-pro-u) * 10.5);
    grid-template-columns:
      minmax(0, 1fr)
      calc(var(--ag-pro-x) * 9)
      minmax(0, 1fr)
      calc(var(--ag-pro-x) * 18.5);
    column-gap: calc(var(--ag-pro-x) * 1.2);
    row-gap: calc(var(--ag-pro-y) * 0.15);
    padding: calc(var(--ag-pro-y) * 0.55) 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view .ag-round-robin-match-list-row.has-unplayed-actions .ag-round-robin-match-list-meta {
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view .ag-round-robin-match-list-row.has-unplayed-actions .ag-round-robin-unplayed-actions {
    grid-column: 4;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    gap: calc(var(--ag-pro-y) * 0.35);
    margin-top: 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-round-robin-match-list-panel.is-player-detail-view .ag-round-robin-match-list-row.has-unplayed-actions .ag-round-robin-unplayed-actions button {
    width: 100%;
    min-height: calc(var(--ag-pro-u) * 5.3);
    padding: 0 calc(var(--ag-pro-x) * 0.25);
    border-radius: calc(var(--ag-pro-u) * 1.25);
    font-size: calc(var(--ag-pro-u) * 1.65);
    white-space: nowrap;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list-result.is-inline-editable {
    grid-template-columns: repeat(2, calc(var(--ag-pro-u) * 8));
    gap: calc(var(--ag-pro-u) * 1.5);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list-result.is-inline-editable input {
    width: calc(var(--ag-pro-u) * 8);
    height: calc(var(--ag-pro-u) * 7.2);
    padding: 0 calc(var(--ag-pro-u) * 0.5);
    border-width: calc(var(--ag-pro-u) * 0.16);
    font-size: calc(var(--ag-pro-u) * 3);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-inline-actions {
    gap: calc(var(--ag-pro-y) * 0.35);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-inline-actions button {
    width: calc(var(--ag-pro-x) * 12);
    min-height: calc(var(--ag-pro-u) * 5.5);
    padding: 0 calc(var(--ag-pro-x) * 0.7);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 1.4);
    font-size: calc(var(--ag-pro-u) * 1.55);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-match-list-more {
    min-height: calc(var(--ag-pro-u) * 8);
    margin-top: calc(var(--ag-pro-y) * 0.8);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 1.8);
    font-size: calc(var(--ag-pro-u) * 2);
    letter-spacing: calc(var(--ag-pro-u) * 0.12);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active :is(.ag-round-robin-match-list-player, .ag-round-robin-match-list-result strong) {
    font-size: calc(var(--ag-pro-u) * 2.55);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-ranking-popover {
    top: calc(var(--ag-pro-y) * 5.8);
    right: calc(var(--ag-pro-x) * 1.5);
    width: calc(100% - (var(--ag-pro-x) * 3));
    max-height: calc(var(--ag-pro-y) * 66);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 3.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-ranking-popover-head {
    min-height: calc(var(--ag-pro-u) * 11);
    gap: calc(var(--ag-pro-x) * 2.4);
    padding: calc(var(--ag-pro-y) * 1.1) calc(var(--ag-pro-x) * 2.8);
    border-bottom-width: calc(var(--ag-pro-u) * 0.12);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-ranking-popover-head span {
    font-size: calc(var(--ag-pro-u) * 2);
    letter-spacing: calc(var(--ag-pro-u) * 0.14);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-ranking-popover-head strong {
    font-size: calc(var(--ag-pro-u) * 3.7);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-ranking-popover-head button {
    width: calc(var(--ag-pro-u) * 7.5);
    height: calc(var(--ag-pro-u) * 7.5);
    flex-basis: calc(var(--ag-pro-u) * 7.5);
    border-width: calc(var(--ag-pro-u) * 0.16);
    border-radius: calc(var(--ag-pro-u) * 1.8);
    font-size: calc(var(--ag-pro-u) * 4.5);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-ranking-popover-body {
    gap: calc(var(--ag-pro-y) * 1.1);
    padding: calc(var(--ag-pro-y) * 1.4) calc(var(--ag-pro-x) * 3) calc(var(--ag-pro-y) * 1.7);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-ranking-popover-body :is(p, li, section > strong) {
    font-size: calc(var(--ag-pro-u) * 2.25);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-table-scroll {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    touch-action: pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-round-robin-standings > .ag-multi-table-scroll {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-panel-zoom {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-zoom-content {
    zoom: 1 !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-table {
    table-layout: fixed !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-table :is(th, td):first-child {
    width: 8% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-table :is(th, td):nth-child(2) {
    width: 44% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-table :is(th, td):nth-child(n + 3) {
    width: 12% !important;
    padding-right: calc(var(--ag-pro-x) * 0.4) !important;
    padding-left: calc(var(--ag-pro-x) * 0.4) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active :is(.ag-multi-rounds, .ag-multi-round-card, .ag-multi-match-table) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-rounds {
    padding-right: 0 !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-round-card > .ag-multi-table-scroll {
    width: calc(100% + (var(--ag-pro-x) * 3)) !important;
    max-width: none !important;
    margin-right: calc(var(--ag-pro-x) * -1.5) !important;
    margin-left: calc(var(--ag-pro-x) * -1.5) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table :is(th, td) {
    min-width: 0 !important;
    padding-right: calc(var(--ag-pro-x) * 0.3) !important;
    padding-left: calc(var(--ag-pro-x) * 0.3) !important;
    overflow: hidden;
    font-size: calc(var(--ag-pro-u) * 2.55) !important;
    text-overflow: ellipsis;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table :is(th, td):nth-child(1) {
    width: 7% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table .ag-multi-match-col--table {
    width: 7% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table .ag-multi-match-col--player {
    width: 29% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table .ag-multi-match-col--score {
    width: 11% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table .ag-multi-match-col--versus {
    width: 4% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table .ag-multi-match-col--actions {
    width: 9% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table td:nth-child(1) {
    padding-right: 0 !important;
    text-align: right !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table td:nth-child(1) .ag-multi-table-pill {
    transform: translateX(calc(var(--ag-pro-x) * -0.65));
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table :is(th, td):is(:nth-child(2), :nth-child(6)) {
    width: 29% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table td:is(:nth-child(2), :nth-child(6)) {
    padding-right: calc(var(--ag-pro-x) * 0.1) !important;
    padding-left: calc(var(--ag-pro-x) * 0.1) !important;
    text-overflow: clip !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table td:is(:nth-child(2), :nth-child(6)) .ag-multi-manual-player span {
    text-overflow: clip !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table :is(th, td):is(:nth-child(3), :nth-child(5)) {
    width: 11% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table :is(th, td):nth-child(4) {
    width: 4% !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table :is(th, td):nth-child(7) {
    width: 9% !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table .ag-match-score {
    width: 100% !important;
    max-width: calc(var(--ag-pro-x) * 9.5) !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table .ag-match-save-button {
    width: 100% !important;
    min-width: 0 !important;
    padding-right: calc(var(--ag-pro-x) * 0.4) !important;
    padding-left: calc(var(--ag-pro-x) * 0.4) !important;
    font-size: calc(var(--ag-pro-u) * 2) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-match-table > tbody > .ag-match-row > td.ag-multi-score-actions {
    position: relative !important;
    overflow: visible !important;
    padding-right: 0 !important;
    padding-left: calc(var(--ag-pro-x) * 0.45) !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-score-menu-button {
    width: calc(var(--ag-pro-x) * 7.2) !important;
    min-width: calc(var(--ag-pro-x) * 7.2) !important;
    height: calc(var(--ag-pro-u) * 6.2) !important;
    padding: 0 !important;
    border-radius: calc(var(--ag-pro-u) * 1.8) !important;
    font-size: calc(var(--ag-pro-u) * 4.2) !important;
    transform: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-score-actions > .ag-match-save-button:not([hidden]) {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 !important;
    font-size: calc(var(--ag-pro-u) * 1.65) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-match-row.is-score-editing .ag-multi-score-actions > .ag-match-save-button:not([hidden]) {
    width: calc(var(--ag-pro-x) * 9.2) !important;
    margin-left: calc(var(--ag-pro-x) * 0.7) !important;
    transform: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-score-menu {
    top: calc(50% + (var(--ag-pro-u) * 3.7)) !important;
    right: 0 !important;
    transform: none !important;
    min-width: calc(var(--ag-pro-x) * 22) !important;
    padding: calc(var(--ag-pro-u) * 1) !important;
    gap: calc(var(--ag-pro-u) * 0.8) !important;
    border-radius: calc(var(--ag-pro-u) * 2) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-match-row.is-score-editing .ag-multi-score-menu {
    right: calc(var(--ag-pro-x) * 9.9) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-multi-score-menu-option {
    min-height: calc(var(--ag-pro-u) * 6.2) !important;
    padding: 0 calc(var(--ag-pro-x) * 2) !important;
    border-radius: calc(var(--ag-pro-u) * 1.4) !important;
    font-size: calc(var(--ag-pro-u) * 2) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-score-delete-confirm-backdrop {
    z-index: 320 !important;
    padding: calc(var(--ag-pro-u) * 4) calc(var(--ag-pro-x) * 4) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small) .ag-score-delete-confirm-dialog {
    width: 100% !important;
    max-width: calc(var(--ag-pro-x) * 88) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-control-content {
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active :is(.ag-management-body, .ag-pairings-card, .ag-pairings-list, .ag-multi-elimination-board) {
    height: auto !important;
    max-height: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-pairings-list {
    overflow-y: visible !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-json-export {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-round-badge:not([hidden]) {
    position: fixed !important;
    top: auto !important;
    right: calc(var(--ag-pro-x) * 3) !important;
    bottom: calc(env(safe-area-inset-bottom) + (var(--ag-pro-y) * 2.2)) !important;
    left: auto !important;
    z-index: 240 !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) {
    width: calc(100% - (var(--ag-pro-x) * 2)) !important;
    max-width: calc(var(--ag-pro-x) * 94) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    min-height: calc(var(--ag-pro-y) * 82) !important;
    margin-bottom: calc(var(--ag-pro-y) * 9) !important;
    padding:
      calc(var(--ag-pro-y) * 2.2)
      calc(var(--ag-pro-x) * 3.2)
      calc(var(--ag-pro-y) * 2.8) !important;
    transform: translateY(calc(var(--ag-pro-y) * 9)) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-card-head {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-grid {
    width: min(100%, calc(var(--ag-pro-x) * 88)) !important;
    max-width: calc(var(--ag-pro-x) * 88) !important;
    min-width: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-height: calc(var(--ag-pro-y) * 76) !important;
    align-content: space-evenly !important;
    justify-content: center !important;
    justify-items: center !important;
    column-gap: calc(var(--ag-pro-x) * 2.4) !important;
    row-gap: calc(var(--ag-pro-y) * 1.15) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-card--league .ag-league-points-card {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active :is(.ag-settings-player-count, .ag-settings-loss-field, .ag-settings-duration-field, .ag-settings-required-options, .ag-settings-save-button, .ag-settings-start-button, .ag-settings-status) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100%;
    min-width: 0;
    justify-self: center !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-field--match-score {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    justify-self: stretch !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-field--table-count {
    grid-column: 2 !important;
    grid-row: auto !important;
    width: 100% !important;
    justify-self: stretch !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-input[name="matchScore"],
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-input[name="tableCount"] {
    width: min(100%, calc(var(--ag-pro-x) * 21)) !important;
    min-width: 0 !important;
    justify-self: center !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-required-options {
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: calc(var(--ag-pro-x) * 1.5) !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-choice-field {
    width: 100%;
    min-width: 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-choice-options {
    width: 82%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: calc(var(--ag-pro-x) * 0.8) !important;
    justify-self: center;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-choice-option span {
    min-height: calc(var(--ag-pro-y) * 4.95);
    padding: 0 calc(var(--ag-pro-x) * 1.1);
    border-radius: calc(var(--ag-pro-u) * 1.5);
    font-size: calc(var(--ag-pro-u) * 2.65);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-save-button {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 80;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-start-button {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 81;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active .ag-settings-status {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 82;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-grid {
    grid-auto-flow: row !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-player-count {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 1 !important;
    width: min(100%, calc(var(--ag-pro-x) * 48)) !important;
    justify-self: center !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-loss-field,
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-league-points-card {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 3 !important;
    width: 100% !important;
    justify-self: stretch !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-field--match-score {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 2 !important;
    width: min(100%, calc(var(--ag-pro-x) * 48)) !important;
    justify-self: center !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-field--table-count {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 4 !important;
    width: min(100%, calc(var(--ag-pro-x) * 48)) !important;
    justify-self: center !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-duration-field {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    order: 5 !important;
    width: min(100%, calc(var(--ag-pro-x) * 68)) !important;
    justify-self: center !important;
    transform: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-duration-grid {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-self: stretch !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-time-field,
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-time-field .ag-settings-input-unit {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-required-options {
    order: 6 !important;
    width: min(100%, calc(var(--ag-pro-x) * 58)) !important;
    justify-self: center !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-save-button {
    order: 7 !important;
    width: min(100%, calc(var(--ag-pro-x) * 62)) !important;
    justify-self: center !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--settings.is-active > .ag-settings-card:not([hidden]) .ag-settings-start-button {
    order: 8 !important;
    width: min(100%, calc(var(--ag-pro-x) * 62)) !important;
    justify-self: center !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players {
    width: calc(100% + (var(--ag-pro-x) * 4) - 12px);
    max-width: calc(100% + (var(--ag-pro-x) * 4) - 12px);
    height: auto !important;
    min-height: auto !important;
    margin-top: 0;
    margin-left: calc((var(--ag-pro-x) * -2) + 6px);
    padding: calc(var(--ag-pro-y) * 17.2) 0 0 !important;
    gap: calc(var(--ag-pro-y) * 1.5);
    grid-template-rows: auto auto;
    align-content: start;
    box-sizing: border-box;
    overflow: visible !important;
    overscroll-behavior-y: auto;
    touch-action: pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active :is(.ag-management-workspace, .ag-management-body) {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    overscroll-behavior-y: auto;
    touch-action: pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players :is(.ag-player-entry-card, .ag-player-list-card) {
    width: calc(100% - 12px) !important;
    max-width: calc(100% - 12px) !important;
    min-width: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box;
    justify-self: stretch;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-card {
    height: auto !important;
    min-height: 0 !important;
    align-self: start;
    overflow: hidden;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-entry-card {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0;
    align-self: start;
    padding:
      calc(var(--ag-pro-y) * 3.2)
      calc(var(--ag-pro-x) * 1.2)
      calc(var(--ag-pro-y) * 0.7);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-entry-head {
    left: calc(var(--ag-pro-x) * 3.2);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-entry-grid,
  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-entry-card.has-player-source-mode .ag-player-entry-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) !important;
    grid-auto-rows: auto;
    column-gap: calc(var(--ag-pro-x) * 1.2);
    row-gap: calc(var(--ag-pro-y) * 1.1);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-entry-grid > * {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-entry-card.has-player-source-mode .ag-player-source-field {
    width: 100%;
    grid-column: 1 / -1;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players [data-player-name-field] {
    width: 100%;
    grid-column: 1;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-entry-grid > label.ag-player-field {
    width: 100%;
    grid-column: 2;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players :is(.ag-player-add-button, .ag-player-list-save-button, .ag-player-entry-status) {
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1;
    grid-row: auto !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-entry-status {
    min-height: 0;
    margin: 0;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-entry-status:empty {
    display: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-import-button {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players :is(.ag-player-list-table, .ag-player-list-body) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-table {
    height: auto !important;
    grid-template-rows: auto auto;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-body {
    display: block !important;
    height: auto;
    max-height: none !important;
    overflow-y: visible !important;
    overscroll-behavior-y: auto;
    touch-action: pan-y !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(176, 111, 42, 0.82) rgba(78, 52, 34, 0.16);
    -webkit-overflow-scrolling: auto;
    contain: layout paint style;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-body.has-player-overflow {
    max-height: calc(var(--ag-pro-y) * 68) !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-body.is-virtualized {
    overflow-y: auto !important;
    contain: layout paint style;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-spacer {
    display: block;
    width: 100%;
    min-height: 0;
    pointer-events: none;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-row {
    min-height: calc(var(--ag-pro-y) * 4.5);
    margin: 0;
    contain: layout paint style;
    content-visibility: auto;
    contain-intrinsic-size: calc(var(--ag-pro-y) * 4.5);
    transition: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-row + .ag-player-list-row {
    margin-top: calc(var(--ag-pro-y) * 0.18);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-row::before {
    display: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-row:hover {
    box-shadow: none !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-body::-webkit-scrollbar {
    width: calc(var(--ag-pro-x) * 1.25);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-body::-webkit-scrollbar-track {
    background: rgba(78, 52, 34, 0.16);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players .ag-player-list-body::-webkit-scrollbar-thumb {
    border-radius: 50vmax;
    background: rgba(176, 111, 42, 0.82);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players :is(.ag-player-list-header, .ag-player-list-row) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 0.24fr) minmax(0, 1.7fr) minmax(0, 1fr) auto auto !important;
    padding-right: calc(var(--ag-pro-x) * 1.2);
    padding-left: calc(var(--ag-pro-x) * 1.2);
    box-sizing: border-box;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--players :is(.ag-player-list-header, .ag-player-list-row) > :nth-child(4) {
    display: none !important;
  }
}

@media (min-width: 360px) and (max-width: 999.98px) {
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-champion-screen {
    width: 100%;
    min-height: 64dvh;
    padding: 5dvh 10px 4dvh;
    border-radius: 16px;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-champion-screen::before {
    width: 82vw;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-champion-screen::after {
    width: 56vw;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-champion-content {
    gap: clamp(7px, 1.2dvh, 11px);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-champion-kicker {
    padding: 6px 12px;
    font-size: clamp(10px, 2.7vw, 12px);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-champion-trophy {
    width: clamp(94px, 27vw, 124px);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-champion-title {
    font-size: clamp(17px, 5vw, 23px);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-champion-name {
    font-size: clamp(30px, 9vw, 44px);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-champion-results-label {
    margin-top: 9px;
  }
}

@media (min-width: 360px) and (max-width: 999.98px) {
  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer.is-grid-prepared {
    padding: calc(var(--ag-touch-u) * 1.35);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawerContent.ag-lobby-tournament-grid-ready {
    display: block;
    height: 100%;
    overflow: hidden;
    container-type: inline-size;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawerContent.ag-lobby-tournament-grid-ready > :not(.ag-lobby-tournament-grid-dashboard):not(.ag-lobby-tournament-grid-detail) {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-dashboard,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(.ag-lobby-tournament-grid-dashboard, .ag-lobby-tournament-grid-detail)[hidden] {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-dashboard {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: calc(var(--ag-touch-u) * 1.7);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-entry {
    position: relative;
    isolation: isolate;
    display: grid;
    width: 100%;
    min-height: calc(var(--ag-touch-bu) * 11.8);
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.8);
    padding: calc(var(--ag-touch-u) * 1.15) calc(var(--ag-touch-u) * 1.6);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(255, 222, 156, 0.76);
    border-radius: calc(var(--ag-touch-u) * 2.65);
    background:
      radial-gradient(circle at 15% 24%, rgba(255, 247, 214, 0.54) 0%, rgba(255, 226, 148, 0.22) 28%, rgba(255, 226, 148, 0) 52%),
      radial-gradient(circle at 86% 72%, rgba(255, 158, 36, 0.30) 0%, rgba(177, 91, 22, 0.12) 34%, rgba(177, 91, 22, 0) 60%),
      linear-gradient(180deg, rgba(255, 246, 217, 0.18) 0%, rgba(255, 219, 145, 0.20) 30%, rgba(95, 50, 22, 0.08) 64%, rgba(158, 80, 26, 0.12) 100%),
      linear-gradient(180deg, #9b6640 0%, #bf8552 18%, #ffd88a 34%, #f5c470 50%, #bf7a3f 66%, #8a4f2d 82%, #b65e24 100%);
    color: #1f160b;
    font: inherit;
    text-align: left;
    text-transform: uppercase;
    box-shadow:
      0 calc(var(--ag-touch-u) * 3.8) calc(var(--ag-touch-u) * 8.2) rgba(77, 46, 16, 0.26),
      0 0 calc(var(--ag-touch-u) * 5.2) rgba(255, 185, 70, 0.22),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.82),
      inset 0 calc(var(--ag-touch-hairline) * -1) 0 rgba(135, 70, 18, 0.26);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-entry::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.24) 31%, rgba(255, 255, 255, 0) 46%),
      radial-gradient(circle at 88% 12%, rgba(255, 246, 202, 0.66), rgba(255, 246, 202, 0) 28%);
    opacity: 0.84;
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-entry:active {
    transform: translateY(calc(var(--ag-touch-u) * -0.2)) scale(0.99);
    border-color: rgba(255, 236, 185, 0.96);
    filter: saturate(1.06) brightness(1.02);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-mark {
    display: inline-flex;
    width: calc(var(--ag-touch-u) * 9);
    height: calc(var(--ag-touch-u) * 9);
    align-items: center;
    justify-content: center;
    border: var(--ag-touch-hairline) solid rgba(255, 229, 171, 0.66);
    border-radius: calc(var(--ag-touch-u) * 2.2);
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 225, 151, 0.22), rgba(255, 225, 151, 0) 48%),
      linear-gradient(145deg, #282722 0%, #17191b 58%, #30220f 100%);
    box-shadow:
      0 calc(var(--ag-touch-u) * 2.2) calc(var(--ag-touch-u) * 3.8) rgba(67, 38, 11, 0.28),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.20);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-mark img {
    position: relative;
    top: calc(var(--ag-touch-u) * -0.55);
    width: calc(var(--ag-touch-u) * 6.6);
    height: calc(var(--ag-touch-u) * 6.6);
    object-fit: contain;
    max-width: 100%;
    transform: none;
    filter: drop-shadow(0 0 calc(var(--ag-touch-u) * 1.25) rgba(255, 194, 93, 0.36));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-copy {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: calc(var(--ag-touch-u) * 0.65);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-kicker {
    width: max-content;
    min-height: calc(var(--ag-touch-u) * 3.7);
    display: inline-flex;
    align-items: center;
    padding-inline: calc(var(--ag-touch-u) * 1.45);
    border: var(--ag-touch-hairline) solid rgba(96, 57, 18, 0.26);
    border-radius: 50vmax;
    background: linear-gradient(135deg, rgba(49, 37, 23, 0.92), rgba(118, 70, 19, 0.88));
    color: #ffe1a7;
    font-size: calc(var(--ag-touch-type-u) * 1.7);
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1;
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.18);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-title {
    display: block;
    grid-column: 1;
    min-width: 0;
    color: #18110a;
    font-size: calc(var(--ag-touch-type-u) * 4.15);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    white-space: normal;
    text-transform: uppercase;
    text-shadow:
      0 var(--ag-touch-hairline) 0 rgba(255, 247, 222, 0.72),
      0 calc(var(--ag-touch-u) * 1.25) calc(var(--ag-touch-u) * 2.8) rgba(111, 59, 14, 0.18);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-action {
    grid-column: 1;
    justify-self: end;
    display: inline-flex;
    min-width: calc(var(--ag-touch-u) * 22);
    min-height: calc(var(--ag-touch-u) * 6.3);
    align-items: center;
    justify-content: center;
    gap: calc(var(--ag-touch-u) * 1.25);
    padding-inline: calc(var(--ag-touch-u) * 1.8);
    border: var(--ag-touch-hairline) solid rgba(255, 236, 186, 0.66);
    border-radius: 50vmax;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 226, 154, 0.24), rgba(255, 226, 154, 0) 54%),
      linear-gradient(145deg, #31291e 0%, #17191b 54%, #5a3213 100%);
    color: #fff0cf;
    font-size: calc(var(--ag-touch-type-u) * 1.8);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
    box-shadow:
      0 calc(var(--ag-touch-u) * 1.8) calc(var(--ag-touch-u) * 4) rgba(83, 45, 12, 0.28),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 244, 210, 0.22);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-pro-arrow {
    display: inline-flex;
    width: calc(var(--ag-touch-u) * 4.5);
    height: calc(var(--ag-touch-u) * 4.5);
    align-items: center;
    justify-content: center;
    border-radius: 50vmax;
    background: linear-gradient(135deg, #ffe4a6 0%, #f5ad43 55%, #dd8422 100%);
    color: #20160b;
    font-size: calc(var(--ag-touch-type-u) * 3.1);
    font-weight: 900;
    line-height: 1;
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.60);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-menu {
    display: flex;
    min-width: 0;
    min-height: 0;
    height: 100%;
    gap: calc(var(--ag-touch-u) * 1.6);
    padding-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-menu.is-pointer-dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-menu::-webkit-scrollbar {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-menu::before,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-menu::after {
    content: "";
    flex: 0 0 calc(8% - (var(--ag-touch-u) * 1.6));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: calc(var(--ag-touch-u) * 1.35);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-tile {
    position: relative;
    isolation: isolate;
    display: grid;
    flex: 0 0 84%;
    width: 84%;
    min-width: 84%;
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    align-self: stretch;
    gap: calc(var(--ag-touch-u) * 2.6);
    padding: calc(var(--ag-touch-u) * 3.2);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(255, 218, 153, 0.5);
    border-radius: calc(var(--ag-touch-u) * 2.7);
    background:
      radial-gradient(circle at 94% 8%, rgba(255, 224, 160, 0.24), transparent 36%),
      linear-gradient(145deg, rgba(112, 91, 70, 0.98), rgba(64, 54, 46, 0.98) 55%, rgba(39, 38, 37, 0.99));
    color: #fff1d5;
    font: inherit;
    text-align: left;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.2),
      inset 0 calc(var(--ag-touch-u) * -1.4) calc(var(--ag-touch-u) * 3.4) rgba(172, 81, 22, 0.12),
      0 calc(var(--ag-touch-u) * 0.9) calc(var(--ag-touch-u) * 2.1) rgba(0, 0, 0, 0.28);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-tile:active {
    transform: scale(0.98);
    filter: brightness(1.08);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-tile.is-carousel-active {
    border-color: rgba(255, 219, 151, 0.78);
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.24),
      inset 0 calc(var(--ag-touch-u) * -1.4) calc(var(--ag-touch-u) * 3.4) rgba(172, 81, 22, 0.15),
      0 calc(var(--ag-touch-u) * 1.2) calc(var(--ag-touch-u) * 3.1) rgba(0, 0, 0, 0.34);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-icon {
    display: grid;
    width: calc(var(--ag-touch-u) * 15.5);
    height: calc(var(--ag-touch-u) * 15.5);
    place-items: center;
    border: var(--ag-touch-hairline) solid rgba(255, 225, 168, 0.56);
    border-radius: calc(var(--ag-touch-u) * 2.15);
    background: linear-gradient(145deg, #ffd98d, #d9892d 62%, #9b5219);
    color: #26190d;
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.62);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-icon svg {
    width: 63%;
    height: 63%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-copy {
    display: grid;
    min-width: 0;
    gap: calc(var(--ag-touch-u) * 1.15);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-copy strong {
    font-size: calc(var(--ag-touch-type-u) * 3.6);
    font-weight: 950;
    line-height: 1.02;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-copy small {
    color: rgba(255, 232, 194, 0.73);
    font-size: calc(var(--ag-touch-type-u) * 2.05);
    font-weight: 800;
    line-height: 1.12;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-count {
    position: absolute;
    top: calc(var(--ag-touch-u) * 1.05);
    right: calc(var(--ag-touch-u) * 1.05);
    display: grid;
    min-width: calc(var(--ag-touch-u) * 4.2);
    height: calc(var(--ag-touch-u) * 4.2);
    place-items: center;
    padding-inline: calc(var(--ag-touch-u) * 0.75);
    border: var(--ag-touch-hairline) solid rgba(255, 228, 174, 0.5);
    border-radius: 50vmax;
    background: rgba(28, 25, 22, 0.86);
    color: #ffd681;
    font-size: calc(var(--ag-touch-type-u) * 1.55);
    font-weight: 950;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-count[hidden] {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-controls {
    display: grid;
    min-height: calc(var(--ag-touch-u) * 8.2);
    grid-template-columns: calc(var(--ag-touch-u) * 8.2) minmax(0, 1fr) calc(var(--ag-touch-u) * 8.2);
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.25);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-arrow {
    display: grid;
    width: calc(var(--ag-touch-u) * 8.2);
    height: calc(var(--ag-touch-u) * 8.2);
    place-items: center;
    padding: 0 0 calc(var(--ag-touch-u) * 0.45);
    border: var(--ag-touch-hairline) solid rgba(255, 225, 167, 0.58);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(124, 99, 74, 0.98), rgba(47, 42, 38, 0.99));
    color: #ffd680;
    font: 950 calc(var(--ag-touch-type-u) * 5.4) / 1 Arial, sans-serif;
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.2);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-arrow:active:not(:disabled) {
    transform: scale(0.94);
    filter: brightness(1.12);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-arrow:disabled {
    opacity: 0.28;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-dots {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: calc(var(--ag-touch-u) * 1.2);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-dot {
    display: block;
    width: calc(var(--ag-touch-u) * 1.7);
    height: calc(var(--ag-touch-u) * 1.7);
    border-radius: 50vmax;
    background: rgba(255, 229, 184, 0.28);
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.16);
    transition: width 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-dot.is-active {
    width: calc(var(--ag-touch-u) * 5.1);
    background: #f5b84e;
    box-shadow: 0 0 calc(var(--ag-touch-u) * 1.8) rgba(246, 181, 71, 0.48);
  }

  /* Player navigation uses the same split-shell language as the normal lobby panels. */
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel {
    position: relative;
    display: block;
    height: 100%;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-hint {
    position: absolute;
    top: 53%;
    z-index: 8;
    display: grid;
    width: calc(var(--ag-touch-u) * 7.4);
    height: calc(var(--ag-touch-u) * 12.5);
    place-items: center;
    border: var(--ag-touch-hairline) solid rgba(255, 218, 145, 0.48);
    border-radius: 50vmax;
    background:
      radial-gradient(circle at 50% 44%, rgba(255, 190, 75, 0.22), transparent 62%),
      linear-gradient(180deg, rgba(54, 48, 43, 0.92), rgba(26, 25, 24, 0.88));
    color: #ffc85e;
    opacity: 0.9;
    transform: translateY(-50%);
    box-shadow:
      0 0 calc(var(--ag-touch-u) * 2.5) rgba(244, 167, 52, 0.24),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.18);
    pointer-events: none;
    transition: opacity 180ms ease, filter 180ms ease;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-hint.is-left {
    left: calc(var(--ag-touch-u) * 0.4);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-hint.is-right {
    right: calc(var(--ag-touch-u) * 0.4);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-hint svg {
    width: 68%;
    height: 72%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 4.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 calc(var(--ag-touch-u) * 0.8) rgba(255, 190, 73, 0.5));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-carousel-hint.is-disabled {
    opacity: 0.16;
    filter: grayscale(0.55);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-tile {
    display: block;
    padding: calc(var(--ag-touch-u) * 1.35);
    border: var(--ag-touch-hairline) solid rgba(255, 246, 226, 0.42);
    border-radius: calc(var(--ag-touch-u) * 3.1);
    background:
      linear-gradient(145deg, #9a8877 0%, #766353 46%, #6b533e 100%);
    color: #fff1d8;
    cursor: pointer;
    container-type: inline-size;
    box-shadow:
      0 calc(var(--ag-touch-u) * 2.8) calc(var(--ag-touch-u) * 6.4) rgba(0, 0, 0, 0.22),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.42),
      inset 0 calc(var(--ag-touch-hairline) * -1) 0 rgba(255, 255, 255, 0.14);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-tile:active,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-tile.is-carousel-active {
    transform: none;
    filter: none;
    border-color: rgba(255, 246, 226, 0.42);
    box-shadow:
      0 calc(var(--ag-touch-u) * 2.8) calc(var(--ag-touch-u) * 6.4) rgba(0, 0, 0, 0.22),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.42),
      inset 0 calc(var(--ag-touch-hairline) * -1) 0 rgba(255, 255, 255, 0.14);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-tile:focus-visible {
    outline: calc(var(--ag-touch-hairline) * 2) solid rgba(255, 210, 126, 0.9);
    outline-offset: calc(var(--ag-touch-u) * -0.8);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-surface {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    grid-template-rows: calc(var(--ag-touch-u) * 10.2) minmax(0, 1fr);
    gap: calc(var(--ag-touch-u) * 1.5);
  }

  body.ag-touch-unified:not(.ag-device-small) :is(.ag-lobby-tournament-panel-header, .ag-lobby-tournament-panel-body) {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(255, 226, 174, 0.14);
    border-radius: calc(var(--ag-touch-u) * 2.25);
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.10),
      inset 0 calc(var(--ag-touch-u) * -1.7) calc(var(--ag-touch-u) * 3.5) rgba(142, 72, 28, 0.13);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-header {
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.2);
    padding: 0 calc(var(--ag-touch-u) * 2.1) 0 calc(var(--ag-touch-u) * 13.2);
    background-color: #241d1c;
    background-image: linear-gradient(180deg, #292728 0%, #222122 52%, #29201d 100%);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-header > strong {
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 244, 220, 0.94);
    font-size: calc(var(--ag-touch-type-u) * 3.35);
    font-weight: 950;
    letter-spacing: 0.035em;
    line-height: 1;
    text-overflow: ellipsis;
    text-shadow: 0 calc(var(--ag-touch-u) * 0.35) calc(var(--ag-touch-u) * 1.3) rgba(0, 0, 0, 0.42);
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: calc(var(--ag-touch-u) * 3.2);
    padding: calc(var(--ag-touch-u) * 4.2);
    background-color: #3f2d28;
    background-image:
      radial-gradient(ellipse at 50% 112%, rgba(255, 215, 148, 0.28), transparent 58%),
      linear-gradient(180deg, #352725 0%, #513326 54%, #60412c 100%);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-body > small {
    color: rgba(255, 232, 199, 0.84);
    font-size: calc(var(--ag-touch-type-u) * 2.4);
    font-weight: 850;
    line-height: 1.25;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-dice {
    position: absolute;
    top: calc(var(--ag-touch-u) * 1.5);
    left: calc(var(--ag-touch-u) * 3.6);
    z-index: 4;
    display: block;
    width: calc(var(--ag-touch-u) * 11.2);
    height: calc(var(--ag-touch-u) * 8.4);
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-dice img {
    position: absolute;
    display: block;
    width: calc(var(--ag-touch-u) * 6.45);
    height: calc(var(--ag-touch-u) * 6.45);
    object-fit: contain;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-dice img:first-child {
    top: calc(var(--ag-touch-u) * -1.35);
    left: 0;
    transform: rotate(-14deg);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-dice img:last-child {
    top: calc(var(--ag-touch-u) * 3.15);
    left: calc(var(--ag-touch-u) * 3.65);
    transform: rotate(11deg);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-body .ag-lobby-tournament-grid-icon {
    width: calc(var(--ag-touch-u) * 15.5);
    height: calc(var(--ag-touch-u) * 15.5);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f1b458;
    box-shadow: none;
    filter: drop-shadow(0 calc(var(--ag-touch-u) * 0.4) calc(var(--ag-touch-u) * 0.75) rgba(0, 0, 0, 0.34));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-panel-header .ag-lobby-tournament-grid-count {
    position: static;
    flex: 0 0 auto;
    min-width: calc(var(--ag-touch-u) * 5.1);
    height: calc(var(--ag-touch-u) * 5.1);
    margin-left: auto;
    border-color: rgba(255, 228, 174, 0.3);
    background: rgba(52, 44, 38, 0.84);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-tournament-panel-body {
    display: block;
    min-height: 0;
    padding: calc(var(--ag-touch-u) * 1.55);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-x pan-y;
    scrollbar-color: rgba(237, 174, 83, 0.82) rgba(49, 36, 31, 0.52);
    scrollbar-width: thin;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-memberships-list.turnuva-takvimi-liste,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-calendar-live-list {
    display: grid;
    width: 100%;
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    align-content: start;
    gap: calc(var(--ag-touch-u) * 1.25);
    padding: 0 !important;
    overflow: visible !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-memberships-list .turnuva-takvimi-kart,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-calendar-live-list .turnuva-takvimi-kart {
    width: 100%;
    min-height: calc(var(--ag-touch-u) * 12.8);
    margin: 0;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .ag-lobby-memberships-list .turnuva-takvimi-kart {
    display: grid;
    height: calc(var(--ag-touch-u) * 21.5) !important;
    min-height: calc(var(--ag-touch-u) * 21.5) !important;
    max-height: calc(var(--ag-touch-u) * 21.5) !important;
    grid-template-columns: minmax(0, 1fr) calc(var(--ag-touch-u) * 14.5) !important;
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    column-gap: calc(var(--ag-touch-u) * 1.35) !important;
    padding: calc(var(--ag-touch-u) * 0.8) calc(var(--ag-touch-u) * 0.9) !important;
    overflow: visible;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .turnuva-takvimi-tarih {
    position: absolute !important;
    top: 0 !important;
    left: calc(var(--ag-touch-u) * 1.15) !important;
    max-width: calc(100% - (var(--ag-touch-u) * 18.4));
    transform: translateY(-50%) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .ag-lobby-memberships-list {
    gap: calc(var(--ag-touch-u) * 4.1) !important;
    padding-top: calc(var(--ag-touch-u) * 2.35) !important;
    padding-bottom: calc(var(--ag-touch-u) * 1.2) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .turnuva-takvimi-icerik {
    grid-column: 1 !important;
    grid-row: 1;
    min-width: 0;
    height: 100%;
    align-content: start;
    justify-self: stretch;
    gap: calc(var(--ag-touch-u) * 0.55);
    padding-top: calc(var(--ag-touch-u) * 5.8);
    transform: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .turnuva-takvimi-ad,
  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .turnuva-takvimi-detay {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .turnuva-takvimi-meta {
    min-width: 0;
    align-content: start;
    gap: calc(var(--ag-touch-u) * 0.45);
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .turnuva-takvimi-ad {
    font-size: clamp(14px, 3.55cqi, 17px) !important;
    line-height: 1.08;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] :is(.turnuva-takvimi-rozet, .turnuva-takvimi-detay) {
    font-size: clamp(10.5px, 2.65cqi, 12.5px) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .turnuva-takvimi-gun {
    font-size: clamp(17px, 4.15cqi, 20px) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] :is(.turnuva-takvimi-ay, .turnuva-takvimi-yer) {
    font-size: clamp(11.5px, 2.85cqi, 13.5px) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .ag-participation-decision.is-entry-only {
    position: relative;
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1;
    width: calc(var(--ag-touch-u) * 14.5) !important;
    min-width: calc(var(--ag-touch-u) * 14.5) !important;
    height: calc(var(--ag-touch-u) * 14.5) !important;
    min-height: calc(var(--ag-touch-u) * 14.5) !important;
    justify-self: end;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0;
    border-radius: calc(var(--ag-touch-u) * 1.8);
    background: transparent;
    box-shadow: none;
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .ag-participation-decision.is-entry-only .ag-tournament-player-entry {
    position: absolute;
    inset: 0;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: calc(var(--ag-touch-u) * 1.1);
    border: var(--ag-touch-hairline) solid rgba(255, 232, 180, 0.78) !important;
    border-radius: inherit;
    background: linear-gradient(180deg, #f8cd7f 0%, #dc8c32 54%, #a84d1d 100%) !important;
    color: #281406 !important;
    font-size: clamp(11px, 2.75cqi, 13px) !important;
    font-weight: 950;
    line-height: 1.12;
    text-align: center;
    text-shadow: 0 var(--ag-touch-hairline) 0 rgba(255, 241, 205, 0.62);
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.58),
      inset 0 calc(var(--ag-touch-u) * -1.5) calc(var(--ag-touch-u) * 3) rgba(105, 38, 6, 0.16);
  }

  body.ag-touch-unified:not(.ag-device-small) [data-lobby-tournament-flow="joined"] .ag-participation-decision.is-entry-only .ag-tournament-player-entry::after {
    display: none;
    content: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournaments-panel {
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournaments-list {
    display: grid;
    width: 100%;
    align-content: start;
    gap: calc(var(--ag-touch-u) * 1.25);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-card {
    min-height: calc(var(--ag-touch-u) * 12.8);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form {
    display: grid;
    width: 100%;
    min-height: 100%;
    align-content: center;
    gap: calc(var(--ag-touch-u) * 2.1);
    padding: calc(var(--ag-touch-u) * 2.2);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-context,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-capacity {
    margin: 0;
    color: rgba(255, 225, 181, 0.82);
    font-size: calc(var(--ag-touch-type-u) * 2.05);
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-field {
    display: grid;
    gap: calc(var(--ag-touch-u) * 0.85);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-field > span,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-size legend {
    color: rgba(255, 238, 207, 0.88);
    font-size: calc(var(--ag-touch-type-u) * 1.8);
    font-weight: 900;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-field :is(input, select) {
    width: 100%;
    min-height: calc(var(--ag-touch-u) * 9.2);
    padding-inline: calc(var(--ag-touch-u) * 2.2);
    border: var(--ag-touch-hairline) solid rgba(255, 218, 155, 0.34);
    border-radius: calc(var(--ag-touch-u) * 2);
    outline: 0;
    background: linear-gradient(180deg, rgba(43, 38, 35, 0.98), rgba(29, 29, 29, 0.98));
    color: #fff0d2;
    font: 850 calc(var(--ag-touch-type-u) * 2.15) / 1 Montserrat, sans-serif;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-field :is(input, select):focus {
    border-color: rgba(255, 194, 91, 0.88);
    box-shadow: 0 0 calc(var(--ag-touch-u) * 2.4) rgba(240, 153, 45, 0.25);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-size {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(var(--ag-touch-u) * 1.2);
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-size legend {
    grid-column: 1 / -1;
    margin-bottom: calc(var(--ag-touch-u) * 0.8);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-size label {
    position: relative;
    display: block;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-size input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-size span {
    display: grid;
    min-height: calc(var(--ag-touch-u) * 8.2);
    place-items: center;
    border: var(--ag-touch-hairline) solid rgba(255, 222, 164, 0.32);
    border-radius: calc(var(--ag-touch-u) * 2);
    background: rgba(48, 42, 37, 0.8);
    color: rgba(255, 236, 203, 0.78);
    font-size: calc(var(--ag-touch-type-u) * 1.9);
    font-weight: 900;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-size input:checked + span {
    border-color: rgba(255, 212, 132, 0.82);
    background: linear-gradient(180deg, #f2ba61, #b96625);
    color: #29190d;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-submit {
    display: inline-flex;
    width: 100%;
    min-height: calc(var(--ag-touch-u) * 9.5);
    align-items: center;
    justify-content: center;
    gap: calc(var(--ag-touch-u) * 1.2);
    border: var(--ag-touch-hairline) solid rgba(255, 234, 187, 0.62);
    border-radius: calc(var(--ag-touch-u) * 2.2);
    background: linear-gradient(180deg, #ffd37e 0%, #e99732 52%, #b85e20 100%);
    color: #28170b;
    font: 950 calc(var(--ag-touch-type-u) * 2.15) / 1 Montserrat, sans-serif;
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.58);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-submit:disabled {
    opacity: 0.58;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-submit > span {
    font-size: calc(var(--ag-touch-type-u) * 3.4);
    line-height: 0.8;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-feedback {
    min-height: calc(var(--ag-touch-u) * 4.2);
    margin: 0;
    color: rgba(255, 232, 196, 0.78);
    font-size: calc(var(--ag-touch-type-u) * 1.7);
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-feedback[data-state="success"] {
    color: #86e5a4;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-feedback[data-state="error"] {
    color: #ff9d8d;
  }

  /* The two creation slides preserve the original tournament mode-card language. */
  body.ag-touch-unified:not(.ag-device-small) :is(
    [data-lobby-tournament-flow="survival"],
    [data-lobby-tournament-flow="knockout"]
  ) .ag-lobby-tournament-panel-dice,
  body.ag-touch-unified:not(.ag-device-small) :is(
    [data-lobby-tournament-flow="survival"],
    [data-lobby-tournament-flow="knockout"]
  ) .ag-lobby-tournament-panel-header {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(
    [data-lobby-tournament-flow="survival"],
    [data-lobby-tournament-flow="knockout"]
  ) .ag-lobby-tournament-panel-surface {
    grid-template-rows: minmax(0, 1fr);
  }

  body.ag-touch-unified:not(.ag-device-small) :is(
    [data-lobby-tournament-flow="survival"],
    [data-lobby-tournament-flow="knockout"]
  ) .ag-lobby-tournament-panel-body {
    padding: 0;
    background: linear-gradient(155deg, #fffdf7 0%, #fff8eb 48%, #e9decc 100%);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card.ag-lobby-tournament-create-form {
    display: grid;
    min-height: 100%;
    align-content: start;
    gap: 0;
    padding: 0 0 calc(var(--ag-touch-u) * 2.1);
    overflow: hidden;
    color: #3b4350;
    background: linear-gradient(155deg, #fffdf7 0%, #fff8eb 48%, #e9decc 100%);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-fullscreen-close {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-command {
    display: contents;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(.ag-lobby-create-fullscreen-kicker, .ag-lobby-create-fullscreen-heading, .ag-lobby-create-fullscreen-context, .ag-lobby-create-saved-panel) {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form:not(.is-fullscreen) .ag-lobby-mode-head { order: 1; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form:not(.is-fullscreen) .ag-lobby-mode-visual { order: 2; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form:not(.is-fullscreen) .ag-lobby-mode-copy { order: 3; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form:not(.is-fullscreen) .ag-lobby-mode-fields { order: 4; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form:not(.is-fullscreen) .ag-lobby-tournament-create-submit { order: 5; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form:not(.is-fullscreen) .ag-lobby-tournament-create-feedback { order: 6; }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card.ag-lobby-tournament-create-form:not(.is-fullscreen) .ag-lobby-mode-fields {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card.ag-lobby-tournament-create-form:not(.is-fullscreen) .ag-lobby-tournament-create-feedback {
    display: none;
  }

  body.ag-touch-unified.ag-lobby-create-flow-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.ag-touch-unified.ag-lobby-tournament-management-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-management-shell {
    position: fixed;
    inset: 0;
    z-index: 2147483500;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 15%, rgba(245, 178, 82, 0.18), transparent 36%),
      #151515;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-management-shell[hidden] {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-management-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #151515;
    opacity: 0;
    transition: opacity 160ms ease;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-management-shell.is-ready .ag-lobby-tournament-management-frame {
    opacity: 1;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-management-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: calc(var(--ag-touch-u) * 3);
    padding: calc(var(--ag-touch-u) * 5);
    color: #ffe7b4;
    background:
      radial-gradient(circle at 50% 42%, rgba(221, 137, 39, 0.22), transparent 34%),
      linear-gradient(160deg, #342c27 0%, #201e1c 48%, #4a3223 100%);
    font-size: calc(var(--ag-touch-type-u) * 2.15);
    font-weight: 950;
    letter-spacing: 0.04em;
    text-align: center;
    transition: opacity 140ms ease, visibility 140ms ease;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-management-shell.is-ready .ag-lobby-tournament-management-loading {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-management-spinner {
    width: calc(var(--ag-touch-u) * 10);
    height: calc(var(--ag-touch-u) * 10);
    border: calc(var(--ag-touch-hairline) * 2) solid rgba(255, 226, 169, 0.22);
    border-top-color: #f4aa3c;
    border-radius: 50%;
    animation: ag-lobby-management-spin 700ms linear infinite;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-management-shell.has-error .ag-lobby-tournament-management-spinner {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-management-cancel {
    position: absolute;
    top: max(calc(var(--ag-touch-u) * 3), env(safe-area-inset-top));
    right: max(calc(var(--ag-touch-u) * 3), env(safe-area-inset-right));
    display: grid;
    width: calc(var(--ag-touch-u) * 9);
    height: calc(var(--ag-touch-u) * 9);
    place-items: center;
    padding: 0 0 calc(var(--ag-touch-u) * 0.45);
    border: var(--ag-touch-hairline) solid rgba(255, 224, 168, 0.48);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(91, 64, 42, 0.98), rgba(45, 34, 27, 0.98));
    color: #ffe6b3;
    font: 800 calc(var(--ag-touch-type-u) * 4.8) / 1 Arial, sans-serif;
  }

  @keyframes ag-lobby-management-spin {
    to { transform: rotate(1turn); }
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card.ag-lobby-tournament-create-form.is-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000;
    display: grid;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    align-content: stretch;
    padding: 0 0 max(calc(var(--ag-touch-u) * 3), env(safe-area-inset-bottom)) !important;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 50% 110%, rgba(216, 134, 48, 0.22), transparent 48%),
      linear-gradient(160deg, #fffdf7 0%, #f8eddc 52%, #ddc5a5 100%);
    box-shadow: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-create-fullscreen-close {
    position: fixed;
    top: max(calc(var(--ag-touch-u) * 3), env(safe-area-inset-top));
    right: calc(var(--ag-touch-u) * 3);
    z-index: 2;
    display: grid;
    width: calc(var(--ag-touch-u) * 9.2);
    height: calc(var(--ag-touch-u) * 9.2);
    place-items: center;
    padding: 0 0 calc(var(--ag-touch-u) * 0.55);
    border: var(--ag-touch-hairline) solid rgba(255, 221, 162, 0.68);
    border-radius: 50%;
    background: linear-gradient(155deg, #61442d, #2b2724);
    color: #ffe7ba;
    font: 850 calc(var(--ag-touch-type-u) * 5.1) / 1 Arial, sans-serif;
    box-shadow:
      0 calc(var(--ag-touch-u) * 1.2) calc(var(--ag-touch-u) * 3.2) rgba(0, 0, 0, 0.28),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.22);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-mode-head {
    min-height: calc(var(--ag-touch-u) * 24);
    padding:
      max(calc(var(--ag-touch-u) * 5.2), env(safe-area-inset-top))
      calc(var(--ag-touch-u) * 14.5)
      calc(var(--ag-touch-u) * 4)
      calc(var(--ag-touch-u) * 4.2);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-mode-head :is(.ag-lobby-tournament-create-size, .ag-lobby-mode-fixed-size),
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen :is(.ag-lobby-mode-visual, .ag-lobby-mode-copy) {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-mode-fields {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: calc(var(--ag-touch-u) * 2.5);
    padding: calc(var(--ag-touch-u) * 6) calc(var(--ag-touch-u) * 4.2) calc(var(--ag-touch-u) * 3.5);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-tournament-create-field:last-child {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-tournament-create-field > span {
    margin-bottom: calc(var(--ag-touch-u) * 1.5);
    color: #5c4938;
    font-size: calc(var(--ag-touch-type-u) * 2.55);
    font-weight: 950;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-tournament-create-field input {
    min-height: calc(var(--ag-touch-u) * 12.5);
    padding-inline: calc(var(--ag-touch-u) * 3);
    border-color: rgba(146, 91, 34, 0.42);
    border-radius: calc(var(--ag-touch-u) * 2.5);
    background: rgba(255, 255, 255, 0.9);
    font-size: calc(var(--ag-touch-type-u) * 2.7);
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.9),
      0 calc(var(--ag-touch-u) * 1.4) calc(var(--ag-touch-u) * 3.6) rgba(101, 61, 28, 0.12);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-tournament-create-submit {
    width: auto;
    min-height: calc(var(--ag-touch-u) * 11.5);
    margin: 0 calc(var(--ag-touch-u) * 4.2);
    font-size: calc(var(--ag-touch-type-u) * 2.35);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-tournament-create-feedback {
    display: block;
    min-height: calc(var(--ag-touch-u) * 5.2);
    padding: calc(var(--ag-touch-u) * 1.2) calc(var(--ag-touch-u) * 4.2) 0;
    font-size: calc(var(--ag-touch-type-u) * 1.9);
  }

  /* Full-screen creation mirrors tournament.html: creation command first, saved list below. */
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card.ag-lobby-tournament-create-form.is-fullscreen {
    display: flex;
    flex-direction: column;
    gap: calc(var(--ag-touch-u) * 2.2);
    padding:
      max(calc(var(--ag-touch-u) * 2.6), env(safe-area-inset-top))
      0
      max(calc(var(--ag-touch-u) * 3), env(safe-area-inset-bottom)) !important;
    background:
      radial-gradient(circle at 50% 112%, rgba(203, 127, 49, 0.2), transparent 46%),
      linear-gradient(160deg, #342c27 0%, #201e1c 42%, #5a3d28 100%);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-create-command {
    --cmd-accent-rgb: 222, 117, 20;
    --cmd-deep-rgb: 131, 61, 18;
    position: relative;
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr);
    gap: calc(var(--ag-touch-u) * 1.6);
    margin: 0 calc(var(--ag-touch-u) * 3);
    padding: calc(var(--ag-touch-u) * 3.2);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(var(--cmd-accent-rgb), 0.5);
    border-radius: calc(var(--ag-touch-u) * 3.4);
    background:
      linear-gradient(90deg, rgba(222, 117, 20, 0.24), rgba(222, 117, 20, 0.08) 28%, rgba(222, 117, 20, 0) 58%),
      radial-gradient(circle at 92% 50%, rgba(245, 149, 36, 0.5), rgba(222, 117, 20, 0.18) 29%, rgba(222, 117, 20, 0) 54%),
      linear-gradient(135deg, rgba(255, 255, 249, 0.98), rgba(255, 241, 221, 0.97) 48%, rgba(226, 126, 23, 0.76));
    box-shadow:
      inset calc(var(--ag-touch-u) * 1.05) 0 0 #101822,
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.94),
      0 calc(var(--ag-touch-u) * 2.4) calc(var(--ag-touch-u) * 5.4) rgba(0, 0, 0, 0.22);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-mode-head {
    display: grid;
    min-height: 0;
    gap: calc(var(--ag-touch-u) * 0.65);
    padding: calc(var(--ag-touch-u) * 0.8) calc(var(--ag-touch-u) * 12) calc(var(--ag-touch-u) * 1.2) calc(var(--ag-touch-u) * 1.4);
    background: transparent;
    box-shadow: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-mode-head > :is(.ag-lobby-mode-kicker, .ag-lobby-mode-title) {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-create-fullscreen-kicker {
    display: block;
    color: #b65f17;
    font-size: calc(var(--ag-touch-type-u) * 1.85);
    font-weight: 950;
    line-height: 1;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-create-fullscreen-heading {
    display: block;
    margin: 0;
    color: #252b36;
    font-size: calc(var(--ag-touch-type-u) * 4.15);
    font-weight: 950;
    line-height: 0.98;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-create-fullscreen-context {
    display: block;
    margin: 0;
    color: rgba(50, 61, 70, 0.68);
    font-size: calc(var(--ag-touch-type-u) * 1.8);
    font-weight: 850;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-mode-fields {
    display: grid;
    gap: 0;
    padding: 0 calc(var(--ag-touch-u) * 1.4);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-tournament-create-field > span {
    margin-bottom: calc(var(--ag-touch-u) * 1.1);
    color: #6b4a2a;
    font-size: calc(var(--ag-touch-type-u) * 2.1);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-tournament-create-field input {
    min-height: calc(var(--ag-touch-u) * 10.2);
    border-radius: calc(var(--ag-touch-u) * 2.2);
    font-size: calc(var(--ag-touch-type-u) * 2.35);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-tournament-create-submit {
    min-height: calc(var(--ag-touch-u) * 9.4);
    margin: 0 calc(var(--ag-touch-u) * 1.4);
    border-radius: calc(var(--ag-touch-u) * 2.2);
    font-size: calc(var(--ag-touch-type-u) * 2.15);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-tournament-create-feedback {
    min-height: calc(var(--ag-touch-u) * 3.6);
    padding: 0 calc(var(--ag-touch-u) * 1.4);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-create-form.is-fullscreen .ag-lobby-create-saved-panel {
    display: grid;
    flex: 1 1 auto;
    min-height: calc(var(--ag-touch-u) * 34);
    grid-template-rows: auto minmax(0, 1fr);
    margin: 0 calc(var(--ag-touch-u) * 3);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(186, 142, 81, 0.42);
    border-radius: calc(var(--ag-touch-u) * 3.2);
    background: linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(239, 231, 217, 0.94) 54%, rgba(202, 171, 128, 0.86));
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.74),
      0 calc(var(--ag-touch-u) * 2.4) calc(var(--ag-touch-u) * 5.2) rgba(0, 0, 0, 0.22);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-head {
    display: flex;
    min-height: calc(var(--ag-touch-u) * 9);
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--ag-touch-u) * 2);
    padding: calc(var(--ag-touch-u) * 1.7) calc(var(--ag-touch-u) * 2.6);
    border-bottom: var(--ag-touch-hairline) solid rgba(133, 91, 43, 0.22);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-head h3 {
    margin: 0;
    color: #252b36;
    font-size: calc(var(--ag-touch-type-u) * 2.65);
    font-weight: 950;
    line-height: 1;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-head > span {
    display: grid;
    min-width: calc(var(--ag-touch-u) * 6.5);
    min-height: calc(var(--ag-touch-u) * 5.2);
    place-items: center;
    border: var(--ag-touch-hairline) solid rgba(120, 76, 31, 0.24);
    border-radius: 50vmax;
    background: rgba(255, 255, 255, 0.58);
    color: rgba(37, 43, 54, 0.78);
    font-size: calc(var(--ag-touch-type-u) * 1.9);
    font-weight: 950;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list {
    display: grid;
    min-height: 0;
    align-content: start;
    gap: calc(var(--ag-touch-u) * 1.35);
    padding: calc(var(--ag-touch-u) * 1.7);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(220, 139, 38, 0.82) rgba(42, 34, 27, 0.34);
    scrollbar-width: thin;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .ag-lobby-created-tournament-card {
    display: grid;
    min-height: calc(var(--ag-touch-u) * 13.2);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.2);
    padding: calc(var(--ag-touch-u) * 1.25) calc(var(--ag-touch-u) * 1.5) calc(var(--ag-touch-u) * 1.25) calc(var(--ag-touch-u) * 2.5);
    border: var(--ag-touch-hairline) solid rgba(144, 151, 156, 0.46);
    border-radius: calc(var(--ag-touch-u) * 2.1);
    background:
      linear-gradient(90deg, rgba(151, 158, 163, 0.12), rgba(255, 255, 255, 0.6) 38%),
      linear-gradient(180deg, rgba(250, 250, 247, 0.88), rgba(255, 255, 255, 0.7));
    box-shadow:
      inset calc(var(--ag-touch-u) * 0.7) 0 0 rgba(141, 149, 154, 0.86),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.82);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .ag-lobby-created-tournament-card.is-survival {
    border-color: rgba(245, 149, 36, 0.38);
    background:
      linear-gradient(90deg, rgba(245, 149, 36, 0.14), rgba(255, 255, 255, 0.66) 42%),
      linear-gradient(180deg, rgba(255, 255, 251, 0.92), rgba(255, 255, 255, 0.72));
    box-shadow: inset calc(var(--ag-touch-u) * 0.7) 0 0 rgba(245, 149, 36, 0.72);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .ag-lobby-created-tournament-card.is-league {
    border-color: rgba(145, 76, 43, 0.42);
    background:
      linear-gradient(90deg, rgba(181, 103, 61, 0.15), rgba(255, 255, 255, 0.66) 44%),
      linear-gradient(180deg, rgba(255, 252, 249, 0.92), rgba(255, 255, 255, 0.72));
    box-shadow: inset calc(var(--ag-touch-u) * 0.7) 0 0 rgba(145, 76, 43, 0.74);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .ag-lobby-created-tournament-copy {
    display: grid;
    min-width: 0;
    align-items: start;
    gap: calc(var(--ag-touch-u) * 0.45);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .ag-lobby-created-tournament-copy strong {
    overflow: hidden;
    color: #252b36;
    font-size: calc(var(--ag-touch-type-u) * 2.5);
    font-weight: 950;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .ag-lobby-created-tournament-info {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .ag-lobby-created-tournament-format {
    display: inline-flex;
    width: fit-content;
    min-height: calc(var(--ag-touch-u) * 3.9);
    align-items: center;
    justify-content: center;
    padding-inline: calc(var(--ag-touch-u) * 1.3);
    border: var(--ag-touch-hairline) solid rgba(144, 151, 156, 0.28);
    border-radius: 50vmax;
    background: rgba(244, 246, 246, 0.8);
    color: #4f5962;
    font-size: calc(var(--ag-touch-type-u) * 1.75);
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .is-survival .ag-lobby-created-tournament-format {
    border-color: rgba(245, 149, 36, 0.3);
    background: rgba(255, 239, 204, 0.82);
    color: #7a3f08;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .is-league .ag-lobby-created-tournament-format {
    border-color: rgba(145, 76, 43, 0.28);
    background: rgba(239, 203, 177, 0.72);
    color: #6f361f;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .ag-lobby-created-tournament-copy small {
    min-width: 0;
    overflow: hidden;
    color: rgba(51, 61, 72, 0.7);
    font-size: calc(var(--ag-touch-type-u) * 1.7);
    font-weight: 850;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list .ag-lobby-created-tournament-actions {
    display: flex;
    align-items: center;
    gap: calc(var(--ag-touch-u) * 0.75);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-create-saved-list :is(.ag-lobby-created-tournament-manage, .ag-lobby-created-tournament-delete) {
    min-height: calc(var(--ag-touch-u) * 6.7);
    padding-inline: calc(var(--ag-touch-u) * 1.35);
    border-radius: 50vmax;
    font-size: calc(var(--ag-touch-type-u) * 1.85);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-created-tournament-delete {
    border: var(--ag-touch-hairline) solid rgba(255, 218, 174, 0.46);
    background: linear-gradient(180deg, #9a5540, #663326);
    color: #fff0db;
    font-weight: 950;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-head {
    position: relative;
    display: block;
    min-height: calc(var(--ag-touch-u) * 21.2);
    padding: calc(var(--ag-touch-u) * 3.05) calc(var(--ag-touch-u) * 3.25) calc(var(--ag-touch-u) * 2.55);
    background:
      radial-gradient(circle at 82% 12%, rgba(255, 194, 92, 0.22), transparent 34%),
      linear-gradient(160deg, #292d31 0%, #1b2024 54%, #6a3b18 100%);
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.22),
      inset 0 calc(var(--ag-touch-u) * -2.7) calc(var(--ag-touch-u) * 5.5) rgba(255, 187, 88, 0.13),
      inset 0 calc(var(--ag-touch-hairline) * -1) 0 rgba(214, 151, 66, 0.52);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-kicker {
    display: block;
    margin-bottom: calc(var(--ag-touch-u) * 0.65);
    color: rgba(255, 232, 190, 0.84);
    font-size: calc(var(--ag-touch-type-u) * 1.65);
    font-weight: 950;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-title {
    margin: 0;
    color: #fff8ea;
    font-size: calc(var(--ag-touch-type-u) * 4.1);
    font-weight: 950;
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow: 0 calc(var(--ag-touch-u) * 0.5) calc(var(--ag-touch-u) * 1.3) rgba(0, 0, 0, 0.48);
    text-transform: uppercase;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-head .ag-lobby-tournament-create-size {
    display: flex;
    gap: calc(var(--ag-touch-u) * 1.1);
    margin-top: calc(var(--ag-touch-u) * 2.05);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-head .ag-lobby-tournament-create-size span,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-fixed-size {
    display: inline-flex;
    min-height: calc(var(--ag-touch-u) * 6.25);
    align-items: center;
    justify-content: center;
    padding: 0 calc(var(--ag-touch-u) * 2.45);
    border: var(--ag-touch-hairline) solid rgba(255, 208, 131, 0.4);
    border-radius: 50vmax;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 244, 222, 0.84);
    font-size: calc(var(--ag-touch-type-u) * 1.8);
    font-weight: 950;
    line-height: 1;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-head .ag-lobby-tournament-create-size input:checked + span,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-fixed-size {
    border-color: rgba(255, 202, 111, 0.84);
    background: linear-gradient(135deg, #ffd68a, #ec9b32);
    color: #24170a;
    box-shadow: 0 calc(var(--ag-touch-u) * 1.15) calc(var(--ag-touch-u) * 3) rgba(213, 127, 31, 0.28);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-fixed-size {
    margin-top: calc(var(--ag-touch-u) * 2.05);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-visual {
    position: relative;
    display: grid;
    min-height: calc(var(--ag-touch-u) * 27.4);
    place-items: center;
    padding: calc(var(--ag-touch-u) * 2.1) calc(var(--ag-touch-u) * 2.5);
    border-bottom: var(--ag-touch-hairline) solid rgba(170, 120, 56, 0.16);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket {
    --ag-lobby-bracket-line: rgba(170, 120, 56, 0.62);
    --ag-lobby-bracket-row: calc(var(--ag-touch-u) * 4.6);
    --ag-lobby-bracket-gap: calc(var(--ag-touch-u) * 1.5);
    --ag-lobby-bracket-link: calc(var(--ag-touch-u) * 6.3);
    --ag-lobby-bracket-half: calc(var(--ag-touch-u) * 3.15);
    --ag-lobby-bracket-col-1: calc(var(--ag-touch-u) * 19);
    --ag-lobby-bracket-col-2: calc(var(--ag-touch-u) * 16);
    --ag-lobby-bracket-col-3: calc(var(--ag-touch-u) * 13);
    position: relative;
    display: grid;
    width: calc(var(--ag-lobby-bracket-col-1) + var(--ag-lobby-bracket-link) + var(--ag-lobby-bracket-col-2) + var(--ag-lobby-bracket-link) + var(--ag-lobby-bracket-col-3));
    max-width: 100%;
    min-height: calc((var(--ag-lobby-bracket-row) * 4) + (var(--ag-lobby-bracket-gap) * 3));
    grid-template-columns: var(--ag-lobby-bracket-col-1) var(--ag-lobby-bracket-link) var(--ag-lobby-bracket-col-2) var(--ag-lobby-bracket-link) var(--ag-lobby-bracket-col-3);
    grid-template-rows: repeat(4, var(--ag-lobby-bracket-row));
    row-gap: var(--ag-lobby-bracket-gap);
    align-items: center;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) var(--ag-lobby-bracket-col-1) 10% / var(--ag-lobby-bracket-half) var(--ag-touch-hairline) no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) var(--ag-lobby-bracket-col-1) 36.6% / var(--ag-lobby-bracket-half) var(--ag-touch-hairline) no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) calc(var(--ag-lobby-bracket-col-1) + var(--ag-lobby-bracket-half)) 10% / var(--ag-touch-hairline) 26.6% no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) calc(var(--ag-lobby-bracket-col-1) + var(--ag-lobby-bracket-half)) 23.3% / var(--ag-lobby-bracket-half) var(--ag-touch-hairline) no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) var(--ag-lobby-bracket-col-1) 63.3% / var(--ag-lobby-bracket-half) var(--ag-touch-hairline) no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) var(--ag-lobby-bracket-col-1) 90% / var(--ag-lobby-bracket-half) var(--ag-touch-hairline) no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) calc(var(--ag-lobby-bracket-col-1) + var(--ag-lobby-bracket-half)) 63.3% / var(--ag-touch-hairline) 26.7% no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) calc(var(--ag-lobby-bracket-col-1) + var(--ag-lobby-bracket-half)) 76.6% / var(--ag-lobby-bracket-half) var(--ag-touch-hairline) no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) calc(var(--ag-lobby-bracket-col-1) + var(--ag-lobby-bracket-link) + var(--ag-lobby-bracket-col-2)) 23.3% / var(--ag-lobby-bracket-half) var(--ag-touch-hairline) no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) calc(var(--ag-lobby-bracket-col-1) + var(--ag-lobby-bracket-link) + var(--ag-lobby-bracket-col-2)) 76.6% / var(--ag-lobby-bracket-half) var(--ag-touch-hairline) no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) calc(var(--ag-lobby-bracket-col-1) + var(--ag-lobby-bracket-link) + var(--ag-lobby-bracket-col-2) + var(--ag-lobby-bracket-half)) 23.3% / var(--ag-touch-hairline) 53.3% no-repeat,
      linear-gradient(var(--ag-lobby-bracket-line), var(--ag-lobby-bracket-line)) calc(var(--ag-lobby-bracket-col-1) + var(--ag-lobby-bracket-link) + var(--ag-lobby-bracket-col-2) + var(--ag-lobby-bracket-half)) 50% / var(--ag-lobby-bracket-half) var(--ag-touch-hairline) no-repeat;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket::before {
    content: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-lines path {
    fill: none;
    stroke: var(--ag-lobby-bracket-line);
    stroke-width: max(1px, var(--ag-touch-hairline));
    stroke-linecap: square;
    stroke-linejoin: miter;
    vector-effect: non-scaling-stroke;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-col {
    display: contents;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-slot {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    min-height: var(--ag-lobby-bracket-row);
    align-items: center;
    padding: 0 calc(var(--ag-touch-u) * 1.35);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(170, 120, 56, 0.25);
    border-radius: calc(var(--ag-touch-u) * 1.25);
    background: linear-gradient(180deg, #fff, #f2eadc);
    color: #3b4350;
    font-size: calc(var(--ag-touch-type-u) * 1.5);
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-slot.is-seed-1 { grid-column: 1; grid-row: 1; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-slot.is-seed-2 { grid-column: 1; grid-row: 2; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-slot.is-seed-3 { grid-column: 1; grid-row: 3; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-slot.is-seed-4 { grid-column: 1; grid-row: 4; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-slot.is-semi-1 { grid-column: 3; grid-row: 1 / span 2; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-slot.is-semi-2 { grid-column: 3; grid-row: 3 / span 2; }
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-bracket-slot.is-final { grid-column: 5; grid-row: 2 / span 2; }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-league {
    display: grid;
    width: min(calc(var(--ag-touch-u) * 68), 100%);
    gap: calc(var(--ag-touch-u) * 1.35);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-league-row {
    display: grid;
    min-height: calc(var(--ag-touch-u) * 7.4);
    grid-template-columns: calc(var(--ag-touch-u) * 13) minmax(0, 1fr) auto;
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.45);
    padding: calc(var(--ag-touch-u) * 1.1) calc(var(--ag-touch-u) * 1.4);
    border: var(--ag-touch-hairline) solid rgba(170, 120, 56, 0.2);
    border-radius: calc(var(--ag-touch-u) * 2);
    background: linear-gradient(180deg, #fff, #f4ecdf);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-league-row > span {
    display: grid;
    min-height: calc(var(--ag-touch-u) * 4.2);
    place-items: center;
    border-radius: 50vmax;
    background: linear-gradient(135deg, #ffe3a9, #d99335);
    color: #21170c;
    font-size: calc(var(--ag-touch-type-u) * 1.55);
    font-weight: 950;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-league-row > i {
    height: calc(var(--ag-touch-u) * 1.35);
    border-radius: 50vmax;
    background: linear-gradient(90deg, #d39335, #d39335 var(--fill), #d9cdbb var(--fill));
    box-shadow: inset 0 var(--ag-touch-hairline) calc(var(--ag-touch-u) * 0.45) rgba(82, 56, 25, 0.2);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-league-row > small {
    color: #4b5565;
    font-size: calc(var(--ag-touch-type-u) * 1.5);
    font-weight: 850;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-copy {
    display: grid;
    gap: calc(var(--ag-touch-u) * 1.25);
    padding: calc(var(--ag-touch-u) * 2.2) calc(var(--ag-touch-u) * 3.2) calc(var(--ag-touch-u) * 1.2);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-copy > p {
    margin: 0;
    color: #596271;
    font-size: calc(var(--ag-touch-type-u) * 1.75);
    font-weight: 700;
    line-height: 1.35;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-specs {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--ag-touch-u) * 0.9);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-specs > span {
    display: inline-flex;
    min-height: calc(var(--ag-touch-u) * 4.4);
    align-items: center;
    padding: 0 calc(var(--ag-touch-u) * 1.45);
    border: var(--ag-touch-hairline) solid rgba(170, 120, 56, 0.2);
    border-radius: 50vmax;
    background: rgba(255, 255, 255, 0.68);
    color: #565f6b;
    font-size: calc(var(--ag-touch-type-u) * 1.45);
    font-weight: 900;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-fields {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr);
    gap: calc(var(--ag-touch-u) * 1.35);
    padding: calc(var(--ag-touch-u) * 1.3) calc(var(--ag-touch-u) * 3.2);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card .ag-lobby-tournament-create-field > span {
    color: #596271;
    font-size: calc(var(--ag-touch-type-u) * 1.55);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card .ag-lobby-tournament-create-field :is(input, select) {
    min-height: calc(var(--ag-touch-u) * 7.5);
    padding-inline: calc(var(--ag-touch-u) * 1.65);
    border-color: rgba(170, 120, 56, 0.3);
    border-radius: calc(var(--ag-touch-u) * 1.55);
    background: rgba(255, 255, 255, 0.82);
    color: #303843;
    font-size: calc(var(--ag-touch-type-u) * 1.75);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card .ag-lobby-tournament-create-submit {
    width: auto;
    min-height: calc(var(--ag-touch-u) * 7.8);
    margin: calc(var(--ag-touch-u) * 1.3) calc(var(--ag-touch-u) * 3.2) 0;
    border-radius: 50vmax;
    background: linear-gradient(135deg, #fff1c9 0%, #f5b354 48%, #d98a2b 100%);
    font-size: calc(var(--ag-touch-type-u) * 1.75);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card[data-tournament-mode="knockout"] .ag-lobby-tournament-create-submit {
    border-color: rgba(111, 119, 126, 0.34);
    background:
      radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.5), transparent 28%),
      linear-gradient(135deg, #f5f3ee 0%, #c9cbc9 48%, #8b9296 100%);
    color: #252b30;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card .ag-lobby-tournament-create-feedback {
    min-height: calc(var(--ag-touch-u) * 3.6);
    padding: calc(var(--ag-touch-u) * 0.65) calc(var(--ag-touch-u) * 3.2) 0;
    color: #69717b;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card .ag-lobby-tournament-create-feedback[data-state="success"] {
    color: #16763b;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mode-card .ag-lobby-tournament-create-feedback[data-state="error"] {
    color: #b43b2e;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(
    [data-lobby-tournament-flow="ongoing"],
    [data-lobby-tournament-flow="scheduled"]
  ) .ag-lobby-tournament-calendar-live-list {
    gap: calc(var(--ag-touch-u) * 4.1) !important;
    padding-bottom: calc(var(--ag-touch-u) * 1.2) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(
    [data-lobby-tournament-flow="ongoing"],
    [data-lobby-tournament-flow="scheduled"]
  ) .ag-lobby-tournament-calendar-live-list .turnuva-takvimi-kart {
    min-height: calc(var(--ag-touch-u) * 15.8);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: calc(var(--ag-touch-u) * 1.4);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-head {
    display: grid;
    min-height: calc(var(--ag-touch-u) * 10.2);
    grid-template-columns: calc(var(--ag-touch-u) * 8.7) minmax(0, 1fr) calc(var(--ag-touch-u) * 8.7);
    align-items: center;
    padding: calc(var(--ag-touch-u) * 0.75);
    border: var(--ag-touch-hairline) solid rgba(255, 218, 145, 0.44);
    border-radius: 50vmax;
    background: linear-gradient(180deg, rgba(82, 72, 62, 0.98), rgba(35, 33, 31, 0.99));
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.18);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-head h2 {
    margin: 0;
    color: #fff0d0;
    font-size: calc(var(--ag-touch-type-u) * 2.8);
    font-weight: 950;
    line-height: 1;
    text-align: center;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-back {
    display: grid;
    width: calc(var(--ag-touch-u) * 8.1);
    height: calc(var(--ag-touch-u) * 8.1);
    place-items: center;
    padding: 0 0 calc(var(--ag-touch-u) * 0.35);
    border: var(--ag-touch-hairline) solid rgba(255, 226, 168, 0.58);
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd985, #d68325 70%, #9c4f13);
    color: #25170b;
    font: 950 calc(var(--ag-touch-type-u) * 5.5) / 1 Arial, sans-serif;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body {
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(237, 174, 83, 0.88) rgba(38, 33, 30, 0.66);
    scrollbar-width: thin;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body > :is(.ag-lobby-memberships-panel, #ana-akis-panel, .ag-lobby-created-tournaments-panel) {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    transform: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body > .ag-lobby-memberships-panel {
    padding: calc(var(--ag-touch-u) * 1.25) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body > .ag-lobby-memberships-panel > .universal-panel-surface,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body > #ana-akis-panel > .universal-panel-surface {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body .ag-lobby-memberships-panel :is(.universal-panel-content, .universal-panel-body) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body .ag-lobby-memberships-list.turnuva-takvimi-liste {
    min-height: calc(var(--ag-touch-bu) * 19) !important;
    max-height: calc(var(--ag-touch-bu) * 61) !important;
    overflow-y: auto !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body > #ana-akis-panel {
    overflow: hidden !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body #ana-akis-panel :is(.universal-panel-content, .turnuva-takvimi-body, .turnuva-takvimi-yerlesim, .turnuva-takvimi-uyelik-panelleri) {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body #ana-akis-panel .universal-panel-content {
    display: block !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body #ana-akis-panel .turnuva-takvimi-header,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body #ana-akis-panel .turnuva-takvimi-uyelik-sekmeleri {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body #ana-akis-panel .turnuva-takvimi-body {
    padding: calc(var(--ag-touch-u) * 1.25) !important;
    overflow: hidden !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail[data-grid-view="ongoing"] #turnuvaTakvimiUyelikPanel-ongoing,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail[data-grid-view="scheduled"] #turnuvaTakvimiUyelikPanel-scheduled {
    display: block !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail[data-grid-view="ongoing"] #turnuvaTakvimiUyelikPanel-scheduled,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail[data-grid-view="scheduled"] #turnuvaTakvimiUyelikPanel-ongoing {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-detail-body #ana-akis-panel .turnuva-takvimi-liste {
    height: 100% !important;
    max-height: none !important;
    overflow-y: auto !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-created-tournaments-panel {
    padding: calc(var(--ag-touch-u) * 1.1);
    border: var(--ag-touch-hairline) solid rgba(255, 218, 153, 0.48);
    border-radius: calc(var(--ag-touch-u) * 2.8);
    background:
      radial-gradient(circle at 50% 110%, rgba(204, 105, 36, 0.22), transparent 48%),
      linear-gradient(160deg, rgba(105, 91, 78, 0.98), rgba(53, 48, 44, 0.99));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-created-tournaments-list {
    display: grid;
    gap: calc(var(--ag-touch-u) * 1.3);
    align-content: start;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-created-tournament-card {
    display: grid;
    min-height: calc(var(--ag-touch-u) * 12.6);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.5);
    padding: calc(var(--ag-touch-u) * 1.6) calc(var(--ag-touch-u) * 1.8);
    border: var(--ag-touch-hairline) solid rgba(255, 219, 157, 0.42);
    border-radius: calc(var(--ag-touch-u) * 2.2);
    background: linear-gradient(145deg, rgba(151, 112, 77, 0.96), rgba(87, 69, 56, 0.98));
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.18);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-created-tournament-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: calc(var(--ag-touch-u) * 0.75);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-created-tournament-copy {
    display: grid;
    min-width: 0;
    gap: calc(var(--ag-touch-u) * 0.85);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-created-tournament-copy strong {
    overflow: hidden;
    color: #fff1d4;
    font-size: calc(var(--ag-touch-type-u) * 2.45);
    font-weight: 950;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-created-tournament-copy small {
    overflow: hidden;
    color: rgba(255, 229, 187, 0.75);
    font-size: calc(var(--ag-touch-type-u) * 1.55);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-created-tournament-manage {
    min-height: calc(var(--ag-touch-u) * 7.1);
    padding-inline: calc(var(--ag-touch-u) * 2.2);
    border: var(--ag-touch-hairline) solid rgba(255, 232, 182, 0.64);
    border-radius: calc(var(--ag-touch-u) * 1.7);
    background: linear-gradient(180deg, #f4bf68, #b96824);
    color: #28170a;
    font-size: calc(var(--ag-touch-type-u) * 1.7);
    font-weight: 950;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournaments-list {
    gap: calc(var(--ag-touch-u) * 1.25);
    padding: calc(var(--ag-touch-u) * 0.35);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-card {
    position: relative;
    min-height: calc(var(--ag-touch-u) * 14.2);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: calc(var(--ag-touch-u) * 1.25);
    padding: calc(var(--ag-touch-u) * 1.05) calc(var(--ag-touch-u) * 1.5) calc(var(--ag-touch-u) * 1.05) calc(var(--ag-touch-u) * 2.7);
    overflow: hidden;
    border-color: rgba(144, 151, 156, 0.46);
    border-radius: calc(var(--ag-touch-u) * 2.1);
    background:
      linear-gradient(90deg, rgba(151, 158, 163, 0.12), rgba(255, 255, 255, 0.6) 38%),
      radial-gradient(circle at 6% 0%, rgba(230, 231, 228, 0.38), rgba(230, 231, 228, 0) 42%),
      linear-gradient(180deg, rgba(250, 250, 247, 0.82), rgba(255, 255, 255, 0.6));
    color: #252b36;
    box-shadow:
      inset calc(var(--ag-touch-u) * 0.7) 0 0 rgba(141, 149, 154, 0.86),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.82),
      0 0 0 var(--ag-touch-hairline) rgba(151, 158, 163, 0.1);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-card::before {
    content: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-card.is-survival {
    border-color: rgba(245, 149, 36, 0.38);
    background:
      linear-gradient(90deg, rgba(245, 149, 36, 0.14) 0%, rgba(245, 149, 36, 0.045) 24%, rgba(255, 255, 255, 0.66) 42%),
      radial-gradient(circle at 6% 0%, rgba(255, 216, 150, 0.32), rgba(255, 216, 150, 0) 42%),
      linear-gradient(180deg, rgba(255, 255, 251, 0.9), rgba(255, 255, 255, 0.68));
    box-shadow:
      inset calc(var(--ag-touch-u) * 0.7) 0 0 rgba(245, 149, 36, 0.72),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.76),
      0 0 0 var(--ag-touch-hairline) rgba(245, 149, 36, 0.08);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-card.is-survival::before {
    border-color: rgba(194, 105, 18, 0.95);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-card.is-league {
    border-color: rgba(145, 76, 43, 0.42);
    background:
      linear-gradient(90deg, rgba(181, 103, 61, 0.15) 0%, rgba(181, 103, 61, 0.05) 26%, rgba(255, 255, 255, 0.66) 44%),
      radial-gradient(circle at 6% 0%, rgba(224, 157, 116, 0.28), rgba(224, 157, 116, 0) 42%),
      linear-gradient(180deg, rgba(255, 252, 249, 0.9), rgba(255, 255, 255, 0.68));
    box-shadow:
      inset calc(var(--ag-touch-u) * 0.7) 0 0 rgba(145, 76, 43, 0.74),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.76),
      0 0 0 var(--ag-touch-hairline) rgba(145, 76, 43, 0.09);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-card.is-league::before {
    border-color: rgba(145, 76, 43, 0.95);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-format {
    display: inline-flex;
    width: fit-content;
    min-width: 0;
    min-height: calc(var(--ag-touch-u) * 4.15);
    align-items: center;
    justify-content: center;
    padding: 0 calc(var(--ag-touch-u) * 1.4);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(144, 151, 156, 0.28);
    border-radius: 50vmax;
    background: rgba(244, 246, 246, 0.8);
    color: #4f5962;
    font-size: calc(var(--ag-touch-type-u) * 2.05);
    font-weight: 950;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .is-survival .ag-lobby-created-tournament-format {
    border-color: rgba(245, 149, 36, 0.3);
    background: rgba(255, 239, 204, 0.82);
    color: #7a3f08;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .is-league .ag-lobby-created-tournament-format {
    border-color: rgba(145, 76, 43, 0.28);
    background: rgba(239, 203, 177, 0.72);
    color: #6f361f;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-copy {
    align-content: start;
    align-items: start;
    gap: calc(var(--ag-touch-u) * 0.5);
    text-align: left;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-copy strong {
    color: #252b36;
    font-size: calc(var(--ag-touch-type-u) * 3.05);
    line-height: 1.05;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-info {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.05);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-copy small {
    min-width: 0;
    color: rgba(51, 61, 72, 0.7);
    font-size: calc(var(--ag-touch-type-u) * 2.05);
    line-height: 1.05;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-manage {
    align-self: center;
    min-height: calc(var(--ag-touch-u) * 6.9);
    padding-inline: calc(var(--ag-touch-u) * 1.7);
    border-radius: 50vmax;
    background: linear-gradient(135deg, #f8b64d, #d88118);
    font-size: calc(var(--ag-touch-type-u) * 2.1);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-flow-slide .ag-lobby-created-tournament-delete {
    align-self: center;
    min-height: calc(var(--ag-touch-u) * 6.9);
    padding-inline: calc(var(--ag-touch-u) * 1.55);
    border-radius: 50vmax;
    font-size: calc(var(--ag-touch-type-u) * 2.1);
  }

  body.ag-touch-unified:not(.ag-device-small) :is(.ag-lobby-created-tournament-manage, .ag-lobby-created-tournament-delete)[aria-disabled="true"] {
    opacity: 0.48;
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-grid-empty {
    display: grid;
    min-height: calc(var(--ag-touch-bu) * 18);
    place-items: center;
    margin: 0;
    padding: calc(var(--ag-touch-u) * 2.5);
    border: var(--ag-touch-hairline) dashed rgba(255, 221, 164, 0.3);
    border-radius: calc(var(--ag-touch-u) * 2.2);
    color: rgba(255, 236, 205, 0.78);
    font-size: calc(var(--ag-touch-type-u) * 2.15);
    font-weight: 850;
    line-height: 1.3;
    text-align: center;
  }
}

.ag-tournament-panel-carousel-nav {
  display: none;
}

.ag-tournament-touch-page-carousel {
  display: none;
}

.ag-tournament-touch-grid-dashboard,
.ag-tournament-touch-grid-detail {
  display: none;
}

@media (min-width: 360px) and (max-width: 999.98px) {
  @keyframes ag-touch-friends-search-drop {
    from {
      transform: translateY(calc(var(--ag-touch-u) * -1.2));
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes ag-touch-friends-panel-drop {
    from {
      transform: translateY(calc(var(--ag-touch-u) * -2.1)) scaleY(0.94);
      opacity: 0;
    }
    to {
      transform: translateY(0) scaleY(1);
      opacity: 1;
    }
  }

  @keyframes ag-touch-match-lens-scan {
    0%, 100% {
      transform: translate(0, 0);
    }
    35% {
      transform: translate(calc(var(--ag-touch-u) * 0.45), calc(var(--ag-touch-u) * -0.15));
    }
    70% {
      transform: translate(calc(var(--ag-touch-u) * -0.3), calc(var(--ag-touch-u) * 0.3));
    }
  }

  @keyframes ag-touch-dock-panel-enter {
    from {
      opacity: 0;
      transform: translate3d(0, 5%, 0) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
  }

  html.ag-touch-unified:not([data-ag-viewport-bucket="small"]) {
    --ag-touch-edge: calc(var(--ag-touch-iu) * 3.2);
    --ag-touch-main-gap: var(--lobby-edge, calc(var(--ag-touch-iu) * 0.9));
    --ag-touch-gap: calc(var(--ag-touch-u) * 2.65);
    --ag-touch-content-max: calc(var(--ag-touch-iu) * 94);
    --ag-touch-header-height: clamp(calc(var(--ag-touch-bu) * 8.2), calc(var(--ag-touch-bu) * 10.85), calc(var(--ag-touch-u) * 25.8));
    --lobby-header-height: var(--ag-touch-header-height);
    --ag-lobby-header-height: var(--ag-touch-header-height);
    --ag-lobby-header-total: calc(var(--ag-touch-header-height) + var(--ag-lobby-safe-top, 0vmin));
    --ag-touch-panel-radius: calc(var(--ag-touch-u) * 3.2);
    --ag-touch-hairline: calc(var(--ag-touch-u) * 0.16);
    --ag-touch-font-xxs: calc(var(--ag-touch-type-u) * 1.72);
    --ag-touch-font-xs: calc(var(--ag-touch-type-u) * 2.05);
    --ag-touch-font-sm: calc(var(--ag-touch-type-u) * 2.45);
    --ag-touch-font-md: calc(var(--ag-touch-type-u) * 2.9);
    --ag-touch-font-lg: calc(var(--ag-touch-type-u) * 3.55);
    --ag-touch-font-xl: calc(var(--ag-touch-type-u) * 4.35);
    --ag-touch-icon-xs: calc(var(--ag-touch-icon-u) * 5.2);
    --ag-touch-icon-sm: calc(var(--ag-touch-icon-u) * 6.6);
    --ag-touch-icon-md: calc(var(--ag-touch-icon-u) * 8.4);
    --ag-touch-control-h: calc(var(--ag-touch-u) * 11.8);
    --ag-touch-control-sm-h: calc(var(--ag-touch-u) * 8.8);
    height: auto;
    min-height: 100%;
    overflow-y: auto;
  }

  body.ag-touch-unified:not(.ag-device-small) {
    --lobby-header-height: var(--ag-touch-header-height);
    --ag-lobby-header-height: var(--ag-touch-header-height);
    --ag-lobby-mobile-dock-height: calc(var(--ag-touch-u) * 24.6);
    --ag-touch-dock-height: calc(var(--ag-touch-u) * 24.6);
    --ag-touch-dock-shoulder: calc(var(--ag-touch-dock-height) * 0.28);
    --ag-touch-dock-corner: calc(var(--ag-touch-dock-height) * 0.32);
    --ag-touch-dock-bottom: calc(var(--ag-touch-u) * 0);
    --ag-touch-dock-inline: calc(var(--ag-touch-iu) * 0);
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto !important;
    scroll-padding-top: var(--ag-touch-header-height);
    scroll-padding-bottom: calc(var(--ag-touch-dock-height) + var(--ag-touch-dock-bottom) + (var(--ag-touch-u) * 3));
    padding-bottom: calc(var(--ag-touch-dock-height) + var(--ag-touch-dock-bottom) + (var(--ag-touch-u) * 3));
    -webkit-overflow-scrolling: touch;
  }

  body.ag-touch-unified:not(.ag-device-small)[data-game-world] {
    grid-template-rows: var(--ag-touch-header-height) minmax(0, 1fr) !important;
    height: var(--ag-touch-visual-h, 100dvh) !important;
    min-height: var(--ag-touch-visual-h, 100dvh);
    overflow-y: hidden !important;
    overscroll-behavior-y: none;
  }

  body.ag-touch-unified:not(.ag-device-small)[data-game-world] .ana-akis-shell {
    height: calc(
      var(--ag-touch-visual-h, 100dvh)
      - var(--ag-lobby-header-total, var(--ag-touch-header-height))
      - var(--ag-touch-dock-height)
      + var(--ag-touch-dock-shoulder)
    );
    max-height: calc(
      var(--ag-touch-visual-h, 100dvh)
      - var(--ag-lobby-header-total, var(--ag-touch-header-height))
      - var(--ag-touch-dock-height)
      + var(--ag-touch-dock-shoulder)
    );
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 0 !important;
    scroll-padding-top: var(--ag-touch-gap);
    scroll-padding-bottom: var(--ag-touch-gap);
    -webkit-overflow-scrolling: touch;
  }

  body.ag-touch-unified:not(.ag-device-small) .lobby-command-bar {
    --ag-touch-logout-size: calc(var(--ag-touch-u) * 7.45);
    height: var(--ag-touch-header-height) !important;
    min-height: var(--ag-touch-header-height) !important;
    gap: var(--ag-touch-gap);
    padding-left: max(var(--ag-touch-edge), env(safe-area-inset-left, 0));
    padding-right: max(var(--ag-touch-edge), env(safe-area-inset-right, 0vmin));
    overflow: visible;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-banner-tournament-center {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .lobby-command-left {
    gap: calc(var(--ag-touch-u) * 1.35);
  }

  body.ag-touch-unified:not(.ag-device-small) .lobby-brand {
    position: relative;
    z-index: 4;
    gap: calc(var(--ag-touch-u) * 1.55);
    max-width: none;
    overflow: visible;
    margin-left: calc(var(--ag-touch-edge) * -0.54);
    transform: translate(
      calc(var(--ag-touch-u) * -2.85),
      calc(var(--ag-touch-u) * -2.35)
    );
    pointer-events: auto;
    touch-action: manipulation;
  }

  body.ag-touch-unified:not(.ag-device-small) .lobby-brand-logo {
    position: relative;
    z-index: 2;
    width: calc(var(--ag-touch-icon-u) * 13.05);
    height: calc(var(--ag-touch-icon-u) * 8.4);
    padding: 0 !important;
    object-position: left center;
    transform: translate(
      calc(var(--ag-touch-u) * 2.25),
      calc(var(--ag-touch-u) * -1.85)
    ) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .lobby-brand-text {
    font-size: calc(var(--ag-touch-type-u) * 4.28);
    min-width: max-content;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    transform: translate(
      calc(var(--ag-touch-u) * 1.12),
      calc(var(--ag-touch-u) * -2.55)
    );
  }

  body.ag-touch-unified:not(.ag-device-small) .lobby-brand-actions {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0vmin) + (var(--ag-touch-u) * 0.72));
    right: calc(env(safe-area-inset-right, 0vmin) + min(1vw, 0.55dvh));
    z-index: 36;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    margin-left: 0;
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .lobby-brand-actions .ag-logout-btn {
    width: var(--ag-touch-logout-size);
    height: var(--ag-touch-logout-size);
    flex-basis: var(--ag-touch-logout-size);
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .lobby-brand-actions .ag-logout-icon {
    width: 122%;
    height: 122%;
    overflow: visible;
    stroke-width: 3.05;
    transform: scale(1.22);
    transform-origin: center;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-area {
    margin-right: 0;
    max-width: none;
    overflow: visible;
    gap: calc(var(--ag-touch-u) * 1.85);
    transform: translate(calc(var(--ag-touch-u) * 2.05), calc(var(--ag-touch-u) * 3.75));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-notification-btn {
    order: 0;
    width: calc(var(--ag-touch-u) * 9.25);
    height: calc(var(--ag-touch-u) * 9.25);
    flex-basis: calc(var(--ag-touch-u) * 9.25);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-notification-icon {
    font-size: calc(var(--ag-touch-type-u) * 4.28);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip {
    display: contents !important;
    width: auto;
    min-width: 0;
    min-height: 0;
    max-width: none;
    flex: initial;
    gap: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    isolation: auto;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip::before,
  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip::after {
    content: none;
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip .ag-chip-menu-btn {
    order: 3;
    width: calc(var(--ag-touch-u) * 9.75);
    min-width: calc(var(--ag-touch-u) * 9.75);
    height: calc(var(--ag-touch-u) * 9.75);
    min-height: calc(var(--ag-touch-u) * 9.75);
    flex: 0 0 calc(var(--ag-touch-u) * 9.75);
    border-radius: calc(var(--ag-touch-u) * 1.35);
    border-color: rgba(255, 221, 157, 0.36);
    background:
      linear-gradient(180deg, rgba(255, 239, 207, 0.22), rgba(199, 128, 56, 0.14)),
      rgba(31, 28, 24, 0.18);
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.18),
      0 calc(var(--ag-touch-u) * 1.25) calc(var(--ag-touch-u) * 2.4) rgba(0, 0, 0, 0.34),
      0 calc(var(--ag-touch-u) * 0.35) calc(var(--ag-touch-u) * 0.8) rgba(255, 190, 96, 0.14);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip .ag-chip-menu-btn span {
    width: calc(var(--ag-touch-u) * 5.75);
    height: calc(var(--ag-touch-u) * 0.86);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-area > .ag-language-switch {
    position: relative;
    order: 5;
    width: calc(var(--ag-touch-u) * 11.7);
    height: calc(var(--ag-touch-u) * 7.45);
    flex: 0 0 calc(var(--ag-touch-u) * 11.7);
    margin-left: 0;
    padding: calc(var(--ag-touch-u) * 0.55);
    transform: translateX(min(0.16vw, 0.09dvh));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-area > .ag-language-switch[hidden] {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-tournament-mobile-language {
    display: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .tournament-page {
    grid-template-rows: auto auto auto auto !important;
    align-content: start !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .tournament-page > .ag-premium-management-entry {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left {
    display: block !important;
    position: relative !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: start !important;
    overflow: hidden !important;
    touch-action: pan-y;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) {
    width: 100% !important;
    transition:
      transform 280ms cubic-bezier(0.22, 0.8, 0.3, 1),
      opacity 200ms ease !important;
    will-change: transform, opacity;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel):not(.is-carousel-active) {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    z-index: 1 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel).is-carousel-before {
    transform: translate3d(-12%, 0, 0) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel).is-carousel-after {
    transform: translate3d(12%, 0, 0) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel).is-carousel-active {
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-panel-carousel-nav {
    position: relative;
    z-index: 4;
    display: grid;
    width: min(82%, 360px);
    min-height: calc(var(--ag-touch-u) * 10.5);
    grid-template-columns: calc(var(--ag-touch-u) * 9) minmax(0, 1fr) calc(var(--ag-touch-u) * 9);
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.2);
    margin: calc(var(--ag-touch-u) * 1.15) auto 0;
    padding: calc(var(--ag-touch-u) * 0.7) calc(var(--ag-touch-u) * 1.1);
    border: var(--ag-touch-hairline) solid rgba(255, 218, 145, 0.4);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(64, 58, 50, 0.94), rgba(28, 29, 29, 0.96));
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.14),
      0 calc(var(--ag-touch-u) * 0.8) calc(var(--ag-touch-u) * 1.8) rgba(0, 0, 0, 0.3);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-panel-carousel-arrow {
    display: grid;
    width: calc(var(--ag-touch-u) * 8.2);
    height: calc(var(--ag-touch-u) * 8.2);
    place-items: center;
    padding: 0 0 calc(var(--ag-touch-u) * 0.8);
    border: var(--ag-touch-hairline) solid rgba(255, 226, 168, 0.55);
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd985, #d68325 70%, #9c4f13);
    color: #26170b;
    font: 950 calc(var(--ag-touch-type-u) * 6.2) / 1 Arial, sans-serif;
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.55);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-panel-carousel-arrow:disabled {
    opacity: 0.3;
    filter: grayscale(0.4);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-panel-carousel-state {
    display: grid;
    min-width: 0;
    place-items: center;
    gap: calc(var(--ag-touch-u) * 0.5);
    text-align: center;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-panel-carousel-state strong {
    overflow: hidden;
    color: #fff0cf;
    font-size: calc(var(--ag-touch-type-u) * 2.25);
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-panel-carousel-state small {
    color: rgba(255, 230, 186, 0.62);
    font-size: calc(var(--ag-touch-type-u) * 1.45);
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-panel-carousel-dots {
    display: flex;
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.1);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-panel-carousel-dots button {
    width: calc(var(--ag-touch-u) * 1.55);
    height: calc(var(--ag-touch-u) * 1.55);
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 230, 186, 0.3);
    transition: width 180ms ease, background 180ms ease;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-panel-carousel-dots button.is-active {
    width: calc(var(--ag-touch-u) * 4.8);
    background: #f7b94f;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .tournament-page {
    display: block !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-carousel {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  body.ag-mobile-app-page-tournament.ag-knockout-draft-active .ag-tournament-touch-page-carousel {
    display: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-touch-grid-active:not(.ag-knockout-draft-active) .tournament-page {
    display: block !important;
    padding:
      calc(var(--ag-touch-bu) * 10.3)
      calc(var(--ag-touch-iu) * 1.8)
      calc(var(--ag-touch-dock-height) + (var(--ag-touch-bu) * 2)) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-touch-grid-active:not(.ag-knockout-draft-active) .tournament-page > :is(.ag-tournament-hub, .ag-tournament-mode-grid, .ag-player-tournaments-panel) {
    display: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-touch-grid-active:not(.ag-knockout-draft-active) .ag-tournament-touch-grid-dashboard:not([hidden]),
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-touch-grid-active:not(.ag-knockout-draft-active) .ag-tournament-touch-grid-detail:not([hidden]) {
    display: block;
  }

  body.ag-mobile-app-page-tournament.ag-knockout-draft-active :is(.ag-tournament-touch-grid-dashboard, .ag-tournament-touch-grid-detail) {
    display: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard {
    width: 100%;
    min-width: 0;
    padding-top: calc(var(--ag-touch-bu) * 1.15);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard > .ag-premium-management-entry {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 calc(var(--ag-touch-u) * 2) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard .ag-premium-management-button {
    min-height: calc(var(--ag-touch-bu) * 11.8);
    gap: calc(var(--ag-touch-u) * 1.8);
    padding: calc(var(--ag-touch-u) * 1.15) calc(var(--ag-touch-u) * 1.6);
    border-width: var(--ag-touch-hairline);
    border-radius: calc(var(--ag-touch-u) * 2.65);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard .ag-premium-management-mark {
    width: calc(var(--ag-touch-u) * 9);
    height: calc(var(--ag-touch-u) * 9);
    border-width: var(--ag-touch-hairline);
    border-radius: calc(var(--ag-touch-u) * 2.2);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard .ag-premium-management-mark img {
    position: relative;
    top: calc(var(--ag-touch-u) * -0.55);
    width: calc(var(--ag-touch-u) * 6.6);
    height: calc(var(--ag-touch-u) * 6.6);
    max-width: 100%;
    transform: none;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard .ag-premium-management-copy {
    gap: calc(var(--ag-touch-u) * 0.65);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard .ag-premium-management-kicker {
    min-height: calc(var(--ag-touch-u) * 3.7);
    padding-inline: calc(var(--ag-touch-u) * 1.45);
    border-width: var(--ag-touch-hairline);
    border-radius: 50vmax;
    font-size: calc(var(--ag-touch-type-u) * 1.7);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard .ag-premium-management-title {
    font-size: calc(var(--ag-touch-type-u) * 4.15);
    line-height: 1;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard .ag-premium-management-action {
    min-width: calc(var(--ag-touch-u) * 22);
    min-height: calc(var(--ag-touch-u) * 6.3);
    gap: calc(var(--ag-touch-u) * 1.25);
    padding-inline: calc(var(--ag-touch-u) * 1.8);
    border-width: var(--ag-touch-hairline);
    border-radius: 50vmax;
    font-size: calc(var(--ag-touch-type-u) * 1.8);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-dashboard .ag-premium-management-arrow {
    width: calc(var(--ag-touch-u) * 4.5);
    height: calc(var(--ag-touch-u) * 4.5);
    font-size: calc(var(--ag-touch-type-u) * 3.1);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-menu {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(var(--ag-touch-u) * 1.8);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-tile {
    position: relative;
    isolation: isolate;
    display: grid;
    min-width: 0;
    min-height: calc(var(--ag-touch-bu) * 14.8);
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
    gap: calc(var(--ag-touch-u) * 0.85);
    padding: calc(var(--ag-touch-u) * 2.2);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(255, 218, 153, 0.5);
    border-radius: calc(var(--ag-touch-u) * 3);
    background:
      radial-gradient(circle at 92% 8%, rgba(255, 224, 160, 0.25), transparent 35%),
      linear-gradient(145deg, rgba(111, 91, 70, 0.97), rgba(62, 53, 46, 0.98) 54%, rgba(38, 38, 37, 0.99));
    color: #fff1d5;
    text-align: left;
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.22),
      inset 0 calc(var(--ag-touch-u) * -1.8) calc(var(--ag-touch-u) * 3.8) rgba(172, 81, 22, 0.13),
      0 calc(var(--ag-touch-u) * 1.2) calc(var(--ag-touch-u) * 2.5) rgba(0, 0, 0, 0.3);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-tile::after {
    content: "›";
    position: absolute;
    right: calc(var(--ag-touch-u) * 1.7);
    bottom: calc(var(--ag-touch-u) * 1.25);
    color: #ffc75f;
    font: 950 calc(var(--ag-touch-type-u) * 5.2) / 1 Arial, sans-serif;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-tile:active {
    transform: scale(0.98);
    filter: brightness(1.08);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-icon {
    display: grid;
    width: calc(var(--ag-touch-u) * 9.4);
    height: calc(var(--ag-touch-u) * 9.4);
    place-items: center;
    border: var(--ag-touch-hairline) solid rgba(255, 225, 168, 0.55);
    border-radius: calc(var(--ag-touch-u) * 2.3);
    background: linear-gradient(145deg, #ffd98d, #d9892d 62%, #9b5219);
    color: #26190d;
    box-shadow: inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.62);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-icon svg {
    width: 64%;
    height: 64%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-tile strong {
    max-width: calc(100% - (var(--ag-touch-u) * 2));
    font-size: calc(var(--ag-touch-type-u) * 2.65);
    font-weight: 950;
    line-height: 1.05;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-tile small {
    padding-right: calc(var(--ag-touch-u) * 3.5);
    color: rgba(255, 232, 194, 0.7);
    font-size: calc(var(--ag-touch-type-u) * 1.62);
    font-weight: 800;
    line-height: 1.15;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail {
    width: 100%;
    min-width: 0;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-head {
    display: grid;
    min-height: calc(var(--ag-touch-u) * 11);
    grid-template-columns: calc(var(--ag-touch-u) * 10) minmax(0, 1fr) calc(var(--ag-touch-u) * 10);
    align-items: center;
    margin-bottom: calc(var(--ag-touch-u) * 1.5);
    padding: calc(var(--ag-touch-u) * 0.8);
    border: var(--ag-touch-hairline) solid rgba(255, 218, 145, 0.42);
    border-radius: 50vmax;
    background: linear-gradient(180deg, rgba(70, 63, 54, 0.96), rgba(31, 31, 30, 0.98));
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-back {
    display: grid;
    width: calc(var(--ag-touch-u) * 8.5);
    height: calc(var(--ag-touch-u) * 8.5);
    place-items: center;
    padding: 0 0 calc(var(--ag-touch-u) * 0.4);
    border: var(--ag-touch-hairline) solid rgba(255, 226, 168, 0.55);
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd985, #d68325 70%, #9c4f13);
    color: #25170b;
    font: 950 calc(var(--ag-touch-type-u) * 5.6) / 1 Arial, sans-serif;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-title {
    margin: 0;
    color: #fff0d0;
    font-size: calc(var(--ag-touch-type-u) * 2.9);
    font-weight: 950;
    line-height: 1;
    text-align: center;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
    padding: calc(var(--ag-touch-u) * 1.35) !important;
    border-width: var(--ag-touch-hairline) !important;
    border-radius: calc(var(--ag-touch-u) * 2.8) !important;
    container-type: inline-size;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) > .universal-panel-surface {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    --universal-panel-header-height: calc(var(--ag-touch-u) * 7.3);
    --universal-panel-gap: calc(var(--ag-touch-u) * 1.8);
    border-width: var(--ag-touch-hairline) !important;
    border-radius: calc(var(--ag-touch-u) * 3.1) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) :is(.universal-panel-content, .universal-panel-body) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) .universal-panel-content {
    display: grid !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    overflow: visible !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body :is(.ag-lobby-memberships-body, .ag-created-tournaments-body) {
    display: block !important;
    padding: calc(var(--ag-touch-u) * 1.15) calc(var(--ag-touch-u) * 2.4) 0 !important;
    overflow: visible !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body :is(.ag-lobby-memberships-list.turnuva-takvimi-liste, .ag-saved-tournaments-list) {
    height: auto !important;
    min-height: calc(var(--ag-touch-u) * 15.5) !important;
    max-height: 52dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body .ag-lobby-memberships-list.turnuva-takvimi-liste {
    gap: calc(var(--ag-touch-u) * 2.1) !important;
    padding-top: calc(var(--ag-touch-u) * 1.15) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body .ag-lobby-memberships-list > .turnuva-takvimi-kart {
    height: calc(var(--ag-touch-u) * 13.2) !important;
    min-height: calc(var(--ag-touch-u) * 13.2) !important;
    max-height: calc(var(--ag-touch-u) * 13.2) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body .ag-saved-tournaments-list {
    gap: calc(var(--ag-touch-u) * 1.55) !important;
    padding: 0 calc(var(--ag-touch-u) * 0.45) calc(var(--ag-touch-u) * 0.45) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body .ag-saved-tournament-row {
    min-height: calc(var(--ag-touch-u) * 15) !important;
    grid-template-columns: calc(var(--ag-touch-u) * 16.4) minmax(0, 1fr) auto !important;
    gap: calc(var(--ag-touch-u) * 1.35) calc(var(--ag-touch-u) * 2) !important;
    padding: calc(var(--ag-touch-u) * 1.8) calc(var(--ag-touch-u) * 2) calc(var(--ag-touch-u) * 1.8) calc(var(--ag-touch-u) * 6.4) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail-body > #ana-akis-panel {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 66dvh !important;
    min-height: calc(var(--ag-touch-bu) * 57) !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail[data-grid-view="ongoing"] #ana-akis-panel .turnuva-takvimi-bolum:not(.is-ongoing),
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail[data-grid-view="scheduled"] #ana-akis-panel .turnuva-takvimi-bolum.is-ongoing,
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-tournament-touch-grid-detail:is([data-grid-view="ongoing"], [data-grid-view="scheduled"]) #ana-akis-panel .turnuva-takvimi-ayirici {
    display: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-carousel .ag-tournament-panel-carousel-nav {
    position: sticky;
    top: calc(var(--ag-touch-u) * 0.8);
    width: 94%;
    margin: 0 auto calc(var(--ag-touch-u) * 1.35);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-carousel-stage {
    position: relative;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    touch-action: pan-y;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide {
    display: block;
    width: 100%;
    min-width: 0;
    transition:
      transform 300ms cubic-bezier(0.22, 0.8, 0.3, 1),
      opacity 220ms ease;
    will-change: transform, opacity;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide:not(.is-carousel-active) {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide.is-carousel-before {
    transform: translate3d(-10%, 0, 0);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide.is-carousel-after {
    transform: translate3d(10%, 0, 0);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide.is-carousel-active {
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide > :is(
    .ag-premium-management-entry,
    .ag-lobby-memberships-panel,
    .ag-created-tournaments-panel,
    .ag-tournament-mode-grid,
    #ana-akis-panel
  ) {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide > .ag-tournament-mode-grid {
    display: grid !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide > #ana-akis-panel {
    height: 66dvh !important;
    min-height: calc(var(--ag-touch-bu) * 57) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) > .universal-panel-surface {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) :is(.universal-panel-content, .universal-panel-body) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) .universal-panel-content {
    display: grid !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    overflow: visible !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide .ag-lobby-memberships-body,
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide .ag-created-tournaments-body {
    display: block !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-touch-page-slide :is(.ag-lobby-memberships-list.turnuva-takvimi-liste, .ag-saved-tournaments-list) {
    height: auto !important;
    min-height: calc(var(--ag-touch-u) * 15.5) !important;
    max-height: 52dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel),
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) > .universal-panel-surface,
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) .universal-panel-content,
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) .universal-panel-body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) > .universal-panel-surface {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left > :is(.ag-lobby-memberships-panel, .ag-created-tournaments-panel) .universal-panel-content {
    display: grid !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    overflow: visible !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left .ag-lobby-memberships-body {
    display: block !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub-left .ag-lobby-memberships-list.turnuva-takvimi-liste,
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-created-tournaments-panel .ag-saved-tournaments-list {
    height: auto !important;
    min-height: calc(var(--ag-touch-u) * 15.5) !important;
    max-height: 52dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-created-tournaments-panel .ag-created-tournaments-body {
    display: block !important;
    padding-bottom: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) :is(.ag-created-tournaments-panel .ag-saved-empty, .ag-tournament-hub-left .ag-tournament-memberships-empty) {
    min-height: 0 !important;
    padding-block: calc(var(--ag-touch-u) * 3.2) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .tournament-page > .ag-tournament-mode-grid {
    grid-row: 3 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small):not(.ag-knockout-draft-active) .ag-tournament-hub #ana-akis-panel {
    grid-row: 4 !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-area > .ag-language-switch .ag-language-trigger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(var(--ag-touch-u) * 2.15);
    grid-template-rows: 1fr;
    align-items: center;
    column-gap: calc(var(--ag-touch-u) * 0.42);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-area > .ag-language-switch .ag-language-current {
    width: calc(var(--ag-touch-u) * 5.75);
    height: calc(var(--ag-touch-u) * 5.75);
    font-size: calc(var(--ag-touch-type-u) * 2.05);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-area > .ag-language-switch .ag-language-arrow {
    width: calc(var(--ag-touch-u) * 1.32);
    height: calc(var(--ag-touch-u) * 1.32);
    margin-top: 0;
    border-right-width: calc(var(--ag-touch-u) * 0.34);
    border-bottom-width: calc(var(--ag-touch-u) * 0.34);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-area > .ag-language-switch.is-open .ag-language-arrow {
    margin-top: 0;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip-main {
    display: flex !important;
    order: 2;
    min-width: max-content;
    flex: 0 0 auto;
    flex-direction: column;
    gap: calc(var(--ag-touch-u) * 0.34);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip-name {
    font-size: calc(var(--ag-touch-type-u) * 3.54);
    line-height: 1;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip-sub {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip-avatar {
    order: 1;
    width: calc(var(--ag-touch-icon-u) * 7.65);
    height: calc(var(--ag-touch-icon-u) * 7.65);
    font-size: calc(var(--ag-touch-type-u) * 2.08);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-chip-btn {
    order: 4;
    min-height: calc(var(--ag-touch-u) * 8.45);
    padding:
      calc(var(--ag-touch-u) * 1.35)
      calc(var(--ag-touch-u) * 2.35);
    font-size: calc(var(--ag-touch-type-u) * 2.12);
  }

  body.ag-touch-unified:not(.ag-device-small) :is(
    .ag-notification-btn,
    .ag-player-chip-avatar,
    .ag-chip-menu-btn
  ) {
    flex: 0 0 auto;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-panel {
    box-sizing: border-box;
    z-index: 999;
    display: grid;
    gap: calc(var(--ag-touch-u) * 1.15);
    padding: calc(var(--ag-touch-u) * 1.45);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(255, 211, 126, 0.62);
    border-radius: calc(var(--ag-touch-u) * 1.65);
    background:
      linear-gradient(180deg, rgba(33, 38, 48, 0.98), rgba(13, 15, 19, 0.98)),
      radial-gradient(circle at 16% 0%, rgba(255, 203, 105, 0.18), transparent 46%),
      rgba(12, 14, 18, 0.98);
    box-shadow:
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 246, 221, 0.24),
      0 calc(var(--ag-touch-u) * 2.7) calc(var(--ag-touch-u) * 5.8) rgba(0, 0, 0, 0.52),
      0 0 calc(var(--ag-touch-u) * 2.2) rgba(255, 190, 88, 0.14);
    color: #f8fafc;
    -webkit-backdrop-filter: blur(calc(var(--ag-touch-u) * 2.35)) saturate(145%);
    backdrop-filter: blur(calc(var(--ag-touch-u) * 2.35)) saturate(145%);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-panel.ag-player-menu-panel--touch-overlay {
    position: fixed !important;
    min-width: 0 !important;
    max-width: calc(100vw - (var(--ag-touch-edge) * 2)) !important;
    max-height: calc(var(--ag-touch-visual-h, 100dvh) - var(--ag-touch-header-height) - (var(--ag-touch-u) * 2.4)) !important;
    overflow-y: auto;
    transform: none !important;
    isolation: isolate;
    pointer-events: auto;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-panel[hidden] {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-worlds {
    display: none !important;
    gap: calc(var(--ag-touch-u) * 0.85);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-world,
  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-profile {
    box-sizing: border-box;
    display: flex;
    width: auto;
    min-height: calc(var(--ag-touch-u) * 7.35);
    margin: 0;
    align-items: center;
    justify-content: center;
    gap: calc(var(--ag-touch-u) * 0.65);
    padding:
      calc(var(--ag-touch-u) * 1.15)
      calc(var(--ag-touch-u) * 1.45);
    border: var(--ag-touch-hairline) solid rgba(255, 216, 143, 0.34);
    border-radius: calc(var(--ag-touch-u) * 1.2);
    background:
      linear-gradient(180deg, rgba(69, 76, 91, 0.84), rgba(29, 34, 43, 0.9)),
      rgba(255, 255, 255, 0.055);
    color: #f8fafc;
    font-size: calc(var(--ag-touch-type-u) * 2.06);
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-world small {
    font-size: calc(var(--ag-touch-type-u) * 1.36);
    font-weight: 800;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-world.is-active,
  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-profile:focus-visible {
    border-color: rgba(255, 224, 149, 0.86);
    background:
      linear-gradient(180deg, rgba(255, 209, 111, 0.95), rgba(178, 104, 31, 0.92)),
      rgba(255, 255, 255, 0.08);
    color: #211507;
    text-shadow: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-world.is-coming-soon {
    border-color: rgba(148, 163, 184, 0.42);
    background:
      linear-gradient(180deg, rgba(43, 51, 63, 0.82), rgba(22, 27, 35, 0.9)),
      rgba(148, 163, 184, 0.05);
    color: #cbd5e1;
    opacity: 1;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-soon {
    padding:
      calc(var(--ag-touch-u) * 0.28)
      calc(var(--ag-touch-u) * 0.58);
    border-radius: calc(var(--ag-touch-u) * 0.75);
    background: rgba(255, 209, 111, 0.92);
    color: #241606;
    font-size: calc(var(--ag-touch-type-u) * 1.18);
    line-height: 1;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-stats {
    box-sizing: border-box;
    display: grid;
    gap: calc(var(--ag-touch-u) * 0.52);
    width: auto;
    margin: 0;
    padding:
      calc(var(--ag-touch-u) * 1.25)
      calc(var(--ag-touch-u) * 1.1);
    border: var(--ag-touch-hairline) solid rgba(125, 211, 252, 0.26);
    border-radius: calc(var(--ag-touch-u) * 1.15);
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(8, 11, 17, 0.94)),
      rgba(125, 211, 252, 0.05);
    text-align: center;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-record {
    color: #ffffff;
    font-size: calc(var(--ag-touch-type-u) * 2.65);
    line-height: 1;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-player-menu-winrate {
    color: #bae6fd;
    font-size: calc(var(--ag-touch-type-u) * 1.65);
    line-height: 1.1;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(button, input, select, textarea) {
    font-size: var(--ag-touch-font-sm);
  }

  body.ag-touch-unified:not(.ag-device-small) :is(
    .merkez-gradient-panel,
    .ag-lens-inline-wrap,
    #mac-arayanlar-panel,
    #acik-masalar-panel,
    .ag-lobby-memberships-panel,
    #ana-akis-panel,
    #agSocialDrawer
  ) {
    scroll-margin-top: calc(var(--ag-touch-header-height) + (var(--ag-touch-gap) * 1.15));
    scroll-margin-bottom: calc(var(--ag-touch-dock-height) + var(--ag-touch-dock-bottom) + var(--ag-touch-gap));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lens-inline-wrap {
    width: 70%;
    height: var(--lobby-lens-height);
    max-height: 20dvh;
    aspect-ratio: auto;
    container-type: normal;
    justify-self: start;
    margin-inline: 0;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lens-inline-wrap .ag-lens-cta-copy {
    max-width: 60%;
    transform: translate(3%, 10%);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lens-inline-wrap .ag-lens-action-row {
    transform: translate(4%, 20%);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-feedback-launcher {
    grid-column: 1 !important;
    grid-row: 3 !important;
    position: relative !important;
    inset: auto !important;
    align-self: start !important;
    justify-self: end !important;
    width: 27% !important;
    height: var(--lobby-lens-height) !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    place-items: center;
    gap: 0 !important;
    margin: 0 !important;
    padding: 8% !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-feedback-launcher::before {
    content: "SORUN / ÖNERİ BİLDİR";
    position: absolute;
    top: 8%;
    left: 50%;
    z-index: 1;
    width: 92%;
    color: rgba(255, 240, 211, 0.92);
    font-size: calc(var(--ag-touch-type-u) * 1.55);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.62);
    transform: translateX(-50%);
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-feedback-launcher__copy,
  body.ag-touch-unified:not(.ag-device-small) .ag-feedback-launcher__arrow {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-feedback-launcher__mascot {
    width: calc(var(--lobby-lens-height) * 0.58);
    height: calc(var(--lobby-lens-height) * 0.58);
    max-width: none;
    max-height: none;
    aspect-ratio: 1;
    place-self: center;
    transform: translateY(-18%);
  }

  body.ag-touch-unified:not(.ag-device-small):is(
    .ag-lobby-seekers-open,
    .ag-lobby-tables-open,
    .ag-lobby-tournament-open,
    .ag-lobby-profile-open,
    .ag-lobby-chat-open
  ) {
    overflow: hidden !important;
  }

  body.ag-touch-unified:not(.ag-device-small):is(
    .ag-lobby-seekers-open,
    .ag-lobby-tables-open,
    .ag-lobby-tournament-open,
    .ag-lobby-profile-open,
    .ag-lobby-chat-open
  ) .ana-akis-shell {
    overflow: hidden !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ana-akis-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 128;
    visibility: hidden;
    opacity: 0;
    background:
      radial-gradient(circle at 50% 100%, rgba(104, 65, 31, 0.16), transparent 54%),
      rgba(3, 5, 7, 0.66);
    pointer-events: none;
    transition:
      opacity 240ms cubic-bezier(.16, 1, .3, 1),
      visibility 0s linear 240ms;
  }

  body.ag-touch-unified:not(.ag-device-small):is(
    .ag-lobby-seekers-open,
    .ag-lobby-tables-open,
    .ag-lobby-tournament-open,
    .ag-lobby-profile-open,
    .ag-lobby-chat-open
  ) .ana-akis-shell::before {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel) {
    --ag-dock-panel-lower-extension: 2dvh;
    position: fixed !important;
    top: calc(var(--ag-lobby-visual-viewport-offset-top, 0dvh) + 0.5%) !important;
    right: 0.7% !important;
    bottom: calc(var(--ag-touch-dock-height) + var(--ag-lobby-safe-bottom, 0dvh) - var(--ag-dock-panel-lower-extension)) !important;
    left: 0.7% !important;
    z-index: 131;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: calc(var(--ag-touch-u) * 1.2) !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
    transform: translate3d(0, 5%, 0) scale(0.98) !important;
    transform-origin: 50% 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
      opacity 180ms ease-out,
      transform 280ms cubic-bezier(.16, 1, .3, 1),
      visibility 0s linear 280ms;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel).is-dock-preparing {
    visibility: visible !important;
    will-change: transform, opacity;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel).is-dock-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1) !important;
    transition-delay: 0s;
    animation: ag-touch-dock-panel-enter 280ms cubic-bezier(.16, 1, .3, 1) both;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer {
    --ag-tournament-drawer-lower-extension: 3.5dvh;
    position: fixed;
    top: calc(var(--ag-lobby-visual-viewport-offset-top, 0dvh) + 0.5%);
    right: 0.7%;
    bottom: calc(var(--ag-touch-dock-height) + var(--ag-lobby-safe-bottom, 0dvh) + 0.5% - var(--ag-tournament-drawer-lower-extension));
    left: 0.7%;
    z-index: 131;
    display: grid;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: calc(var(--ag-touch-u) * 1.2);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(255, 218, 150, 0.52);
    border-radius: calc(var(--ag-touch-u) * 3.2);
    background:
      radial-gradient(circle at 50% 112%, rgba(216, 119, 40, 0.20), transparent 48%),
      linear-gradient(155deg, rgba(57, 59, 60, 0.98), rgba(27, 30, 32, 0.99) 54%, rgba(50, 31, 22, 0.99));
    box-shadow:
      0 calc(var(--ag-touch-u) * 3.8) calc(var(--ag-touch-u) * 8.25) rgba(0, 0, 0, 0.34),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.22),
      inset 0 calc(var(--ag-touch-u) * -0.18) 0 rgba(255, 190, 104, 0.12);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 5%, 0) scale(0.98);
    transform-origin: 50% 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
      opacity 180ms ease-out,
      transform 280ms cubic-bezier(.16, 1, .3, 1),
      visibility 0s linear 280ms;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer.is-dock-preparing {
    visibility: visible;
    will-change: transform, opacity;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer.is-dock-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0s;
    animation: ag-touch-dock-panel-enter 280ms cubic-bezier(.16, 1, .3, 1) both;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer[hidden] {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-tournament-drawer__content {
    display: grid;
    min-width: 0;
    min-height: 0;
    height: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: calc(var(--ag-touch-u) * 1.3);
    overflow: hidden;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer > .ag-lobby-tournament-drawer__content > .turnuva-merkezi-buton {
    position: relative;
    z-index: 3;
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    width: calc(100% - 2.2cqi);
    min-width: 0;
    min-height: 10cqi;
    justify-self: center;
    flex: 0 0 auto;
    padding-inline: 3.4cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer > .ag-lobby-tournament-drawer__content > .turnuva-merkezi-buton .turnuva-merkezi-buton-text {
    font-size: clamp(15px, 3.8cqi, 19px);
    line-height: 1;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer > .ag-lobby-tournament-drawer__content > .turnuva-merkezi-buton .turnuva-merkezi-buton-icon {
    position: absolute;
    top: 50%;
    left: 3.4cqi;
    display: grid;
    width: clamp(25px, 6.2cqi, 31px);
    height: clamp(25px, 6.2cqi, 31px);
    place-items: center;
    color: #4a2108;
    transform: translateY(-50%);
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer > .ag-lobby-tournament-drawer__content > .turnuva-merkezi-buton .turnuva-merkezi-buton-icon svg {
    width: 100%;
    height: 100%;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    filter: drop-shadow(0 1px 0 rgba(255, 239, 196, 0.58));
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer > .ag-lobby-tournament-drawer__content > .turnuva-merkezi-buton .turnuva-merkezi-buton-arrow {
    font-size: clamp(17px, 4.15cqi, 21px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer :is(.ag-lobby-memberships-panel, #ana-akis-panel) {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    justify-self: stretch !important;
    transform: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .ag-lobby-memberships-panel {
    grid-column: 1 !important;
    grid-row: 2 !important;
    height: 22dvh !important;
    max-height: 36dvh !important;
    align-self: start !important;
  }

  body.ag-touch-unified:not(.ag-device-small)[data-tournament-membership-rows="2"] #agLobbyTournamentDrawer .ag-lobby-memberships-panel {
    height: 29dvh !important;
  }

  body.ag-touch-unified:not(.ag-device-small)[data-tournament-membership-rows="3"] #agLobbyTournamentDrawer .ag-lobby-memberships-panel {
    height: 36dvh !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer #ana-akis-panel {
    grid-column: 1 !important;
    grid-row: 3 !important;
    height: 100% !important;
    max-height: none !important;
    align-self: stretch !important;
    overflow: hidden !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer #ana-akis-panel .turnuva-merkezi-buton {
    display: inline-flex;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer #ana-akis-panel .universal-panel-surface,
  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer #ana-akis-panel .universal-panel-content {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer #ana-akis-panel .universal-panel-content {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    row-gap: 1.4cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer #ana-akis-panel .turnuva-takvimi-header {
    display: contents;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer #ana-akis-panel .turnuva-takvimi-header .universal-panel-title {
    grid-row: 1;
    width: 100%;
    min-height: 8.1cqi;
    margin: 0;
    align-items: center;
    padding-right: 1.7cqi;
    padding-left: 9.7cqi;
    overflow: hidden;
    border: 1px solid rgba(255, 226, 174, 0.14);
    border-radius: var(--universal-panel-split-radius);
    background-color: #241d1c;
    background-image: linear-gradient(180deg, #292728 0%, #222122 52%, #29201d 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.10),
      inset 0 -10px 22px rgba(142, 72, 28, 0.13);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer #ana-akis-panel .turnuva-merkezi-buton {
    grid-row: 2;
    width: calc(100% - 3.4cqi);
    min-width: 0;
    min-height: 8.2cqi;
    justify-self: center;
    padding-inline: 3cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer #ana-akis-panel .turnuva-takvimi-body {
    grid-row: 2;
    height: 100% !important;
    min-height: 0 !important;
    padding-top: 1.8cqi;
    overflow: hidden !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer :is(.universal-panel-content, .universal-panel-body, .turnuva-takvimi-body, .turnuva-takvimi-yerlesim) {
    min-height: 0;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .universal-panel-title {
    font-size: clamp(15px, 3.7cqi, 18px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-merkezi-buton-text {
    font-size: clamp(12px, 3cqi, 14px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-merkezi-buton-arrow {
    font-size: clamp(14px, 3.45cqi, 17px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-takvimi-ad {
    font-size: clamp(12px, 3.05cqi, 15px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-takvimi-rozet,
  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-takvimi-detay {
    font-size: clamp(9px, 2.25cqi, 11px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-takvimi-gun {
    font-size: clamp(15px, 3.6cqi, 17px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-takvimi-ay {
    font-size: clamp(11px, 2.65cqi, 13px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-takvimi-yer {
    font-size: clamp(10px, 2.4cqi, 12px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-takvimi-uyelik-sekme {
    font-size: clamp(12px, 3cqi, 14px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .turnuva-takvimi-uyelik-sekme-sayi {
    font-size: clamp(10px, 2.45cqi, 12px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .ag-lobby-memberships-panel .ag-participation-decision-state,
  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .ag-lobby-memberships-panel .ag-participation-button {
    font-size: clamp(9px, 2.2cqi, 10.5px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .ag-lobby-memberships-panel .ag-participation-decision.is-entry-only .ag-tournament-player-entry {
    font-size: clamp(11px, 2.65cqi, 13px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .ag-lobby-memberships-panel .ag-participation-decision.is-entry-only .ag-tournament-player-entry::after {
    font-size: clamp(9px, 2.2cqi, 11px);
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .ag-lobby-memberships-body {
    padding-top: 0.45cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #agLobbyTournamentDrawer .ag-lobby-memberships-list.turnuva-takvimi-liste {
    padding-top: 0.8cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel) .universal-panel-surface,
  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel) .universal-panel-content {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel) .universal-panel-content {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel) .universal-panel-body {
    height: 100% !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    overscroll-behavior: contain;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masalar-header .universal-panel-title {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel {
    --ag-open-tables-search-height: calc(var(--ag-touch-iu) * 8.8);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .universal-panel-surface {
    --universal-panel-gap: calc(var(--ag-open-tables-search-height) + (var(--ag-touch-iu) * 2));
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .universal-panel-content {
    grid-template-rows: var(--universal-panel-header-height) minmax(0, 1fr);
    row-gap: var(--universal-panel-gap);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel > .acik-masalar-arama {
    position: absolute;
    top: calc(var(--ag-seekers-surface-inset) + var(--universal-panel-header-height) + var(--ag-touch-iu));
    right: 6px;
    left: 6px;
    z-index: 10;
    width: auto;
    height: var(--ag-open-tables-search-height);
    flex: none;
    grid-template-columns: var(--ag-touch-icon-xs) minmax(0, 1fr);
    gap: calc(var(--ag-touch-u) * 1.15);
    padding-inline: calc(var(--ag-touch-u) * 1.85);
    border-radius: calc(var(--ag-touch-u) * 1.65);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel > .acik-masalar-arama svg {
    width: calc(var(--ag-touch-icon-u) * 4.2);
    height: calc(var(--ag-touch-icon-u) * 4.2);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel > .acik-masalar-arama input {
    font-size: 16px;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .universal-panel-body {
    gap: 1.15cqi;
    padding: 1.4cqi 1.15cqi 2cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masalar-ozet {
    padding-inline: 0.45cqi;
    font-size: clamp(11px, 2.8cqi, 13px);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masalar-listesi {
    gap: 1.15cqi;
    padding-right: 2.25cqi;
    scrollbar-width: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masalar-listesi::-webkit-scrollbar {
    display: none;
    width: 0;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masalar-scrollbar {
    top: 0.45cqi;
    right: 0.25cqi;
    bottom: 0.45cqi;
    width: 1.35cqi;
    border-width: 0.12cqi;
    background: rgba(48, 31, 22, 0.44);
    box-shadow:
      inset 0 0 1.4cqi rgba(0, 0, 0, 0.34),
      0 0 1.25cqi rgba(255, 197, 112, 0.15);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masalar-scrollbar-thumb {
    min-height: 8cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masalar-satir {
    min-height: 11.6cqi;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.45cqi;
    padding: 1.25cqi 1.45cqi;
    border-color: rgba(255, 229, 184, 0.50);
    border-radius: 1.8cqi;
    background:
      linear-gradient(100deg, rgba(237, 215, 181, 0.34), rgba(172, 119, 76, 0.48) 54%, rgba(222, 157, 88, 0.42)),
      rgba(83, 61, 47, 0.90);
    box-shadow:
      inset 0 0.18cqi 0 rgba(255, 255, 255, 0.24),
      inset 0 -1.5cqi 3.2cqi rgba(87, 45, 20, 0.14),
      0 1.15cqi 2.25cqi rgba(35, 20, 13, 0.20);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masalar-satir:nth-child(even) {
    background:
      linear-gradient(100deg, rgba(246, 226, 194, 0.38), rgba(184, 132, 87, 0.50) 54%, rgba(231, 171, 103, 0.44)),
      rgba(91, 67, 51, 0.92);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masalar-satir .acik-masa-code {
    min-width: 11.8cqi;
    min-height: 5.5cqi;
    padding-inline: 1.3cqi;
    border-color: rgba(255, 236, 198, 0.54);
    border-radius: 1.15cqi;
    background: rgba(73, 48, 34, 0.54);
    font-size: clamp(11px, 2.9cqi, 14px);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masa-oyuncular {
    gap: 1cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masa-oyuncular strong {
    color: #fff7e8;
    font-size: clamp(12px, 3.15cqi, 15px);
    line-height: 1.08;
    text-shadow: 0 0.18cqi 0.45cqi rgba(48, 24, 12, 0.42);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masa-oyuncular i {
    font-size: 1.75cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masa-skor {
    gap: 0.75cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masa-skor-kutusu {
    width: 5.9cqi;
    height: 5.9cqi;
    border-width: 0.12cqi;
    border-radius: 1cqi;
    background: linear-gradient(180deg, #fff0bd, #d5903d 62%, #a45124);
    color: #321709;
    font-size: clamp(12px, 3.1cqi, 15px);
    text-shadow: 0 0.12cqi 0 rgba(255, 247, 216, 0.52);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masa-vs {
    color: #ffe09a;
    font-size: clamp(15px, 3.9cqi, 19px);
    text-shadow:
      0 0.18cqi 0.55cqi rgba(62, 28, 10, 0.62),
      0 0 1.1cqi rgba(255, 187, 79, 0.24);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .acik-masa-izle {
    min-width: 11.5cqi;
    min-height: 7.1cqi;
    padding-inline: 1.65cqi;
    border-color: rgba(255, 239, 202, 0.80);
    border-radius: 1.25cqi;
    background: linear-gradient(180deg, #f5c97a, #ca7933 58%, #9b4f24);
    color: #2f170a;
    font-size: clamp(10px, 2.65cqi, 13px);
    text-shadow: 0 0.12cqi 0 rgba(255, 244, 211, 0.54);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel.is-keyboard-layout-locked {
    top: var(--ag-open-tables-focus-top) !important;
    bottom: auto !important;
    height: var(--ag-open-tables-focus-height) !important;
    --universal-panel-header-height: var(--ag-open-tables-focus-header-height);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel.is-keyboard-layout-locked .universal-panel-surface {
    --universal-panel-header-height: var(--ag-open-tables-focus-header-height);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel.is-keyboard-layout-locked .acik-masalar-header {
    gap: var(--ag-open-tables-focus-header-gap);
    padding-left: var(--ag-open-tables-focus-header-padding-left);
    padding-right: var(--ag-open-tables-focus-header-padding-right);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel.is-keyboard-layout-locked .universal-panel-title {
    gap: var(--ag-open-tables-focus-title-gap);
    padding-left: var(--ag-open-tables-focus-title-padding-left);
    font-size: var(--ag-open-tables-focus-title-font-size);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel.is-keyboard-layout-locked > .universal-panel-title-dice {
    top: var(--ag-open-tables-focus-dice-top);
    left: var(--ag-open-tables-focus-dice-left);
    width: var(--ag-open-tables-focus-dice-width);
    height: var(--ag-open-tables-focus-dice-height);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel.is-keyboard-layout-locked > .universal-panel-title-dice img:first-child {
    top: var(--ag-open-tables-focus-dice-0-top);
    left: var(--ag-open-tables-focus-dice-0-left);
    width: var(--ag-open-tables-focus-dice-0-width);
    height: var(--ag-open-tables-focus-dice-0-height);
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel.is-keyboard-layout-locked > .universal-panel-title-dice img:last-child {
    top: var(--ag-open-tables-focus-dice-1-top);
    left: var(--ag-open-tables-focus-dice-1-left);
    width: var(--ag-open-tables-focus-dice-1-width);
    height: var(--ag-open-tables-focus-dice-1-height);
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel) {
    --ag-seekers-surface-inset: 1.25cqi;
    --universal-panel-header-height: min(8.1cqi, 4dvh);
    --universal-panel-gap: min(2cqi, 1dvh);
    bottom: calc(var(--ag-touch-dock-height) + var(--ag-lobby-safe-bottom, 0dvh) - var(--ag-dock-panel-lower-extension)) !important;
    padding: 1.25cqi !important;
    border-width: 0.12cqi;
    border-radius: 3.2cqi;
    box-shadow:
      0 4.15cqi 9.7cqi rgba(0, 0, 0, 0.22),
      inset 0 0.12cqi 0 rgba(255, 255, 255, 0.48),
      inset 0 -0.12cqi 0 rgba(255, 255, 255, 0.16);
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel)::after {
    right: 4.15cqi;
    bottom: 0;
    left: 4.15cqi;
    height: 0.46cqi;
    border-radius: 100cqi;
    box-shadow: 0 0 2.75cqi rgba(255, 190, 104, 0.28);
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel) .universal-panel-surface {
    --universal-panel-header-height: min(8.1cqi, 4dvh);
    --universal-panel-gap: min(2cqi, 1dvh);
    --universal-panel-split-radius: min(2.8cqi, 1.4dvh);
    --ag-seekers-split-diameter: min(5.6cqi, 2.8dvh);
    --ag-seekers-mask-edge: calc(var(--universal-panel-split-radius) - 0.12cqi);
    inset: var(--ag-seekers-surface-inset) !important;
    width: auto !important;
    height: auto !important;
    border-width: 0.12cqi;
    border-radius: 3.2cqi;
    box-shadow:
      inset 0 0.12cqi 0 rgba(255, 255, 255, 0.16),
      inset 0 3.2cqi 5.5cqi rgba(0, 0, 0, 0.12),
      inset 0 -4.15cqi 7.4cqi rgba(255, 211, 142, 0.09);
    -webkit-mask:
      linear-gradient(#000 0 0) 0 0 / 100% calc(var(--universal-panel-header-height) - var(--universal-panel-split-radius)) no-repeat,
      linear-gradient(#000 0 0) var(--universal-panel-split-radius) calc(var(--universal-panel-header-height) - var(--universal-panel-split-radius)) / calc(100% - var(--ag-seekers-split-diameter)) var(--universal-panel-split-radius) no-repeat,
      radial-gradient(circle at 100% 0, #000 0 var(--ag-seekers-mask-edge), transparent var(--universal-panel-split-radius)) 0 calc(var(--universal-panel-header-height) - var(--universal-panel-split-radius)) / var(--universal-panel-split-radius) var(--universal-panel-split-radius) no-repeat,
      radial-gradient(circle at 0 0, #000 0 var(--ag-seekers-mask-edge), transparent var(--universal-panel-split-radius)) 100% calc(var(--universal-panel-header-height) - var(--universal-panel-split-radius)) / var(--universal-panel-split-radius) var(--universal-panel-split-radius) no-repeat,
      linear-gradient(#000 0 0) 0 calc(var(--universal-panel-header-height) + var(--universal-panel-gap) + var(--universal-panel-split-radius)) / 100% calc(100% - var(--universal-panel-header-height) - var(--universal-panel-gap) - var(--universal-panel-split-radius)) no-repeat,
      linear-gradient(#000 0 0) var(--universal-panel-split-radius) calc(var(--universal-panel-header-height) + var(--universal-panel-gap)) / calc(100% - var(--ag-seekers-split-diameter)) var(--universal-panel-split-radius) no-repeat,
      radial-gradient(circle at 100% 100%, #000 0 var(--ag-seekers-mask-edge), transparent var(--universal-panel-split-radius)) 0 calc(var(--universal-panel-header-height) + var(--universal-panel-gap)) / var(--universal-panel-split-radius) var(--universal-panel-split-radius) no-repeat,
      radial-gradient(circle at 0 100%, #000 0 var(--ag-seekers-mask-edge), transparent var(--universal-panel-split-radius)) 100% calc(var(--universal-panel-header-height) + var(--universal-panel-gap)) / var(--universal-panel-split-radius) var(--universal-panel-split-radius) no-repeat;
    mask:
      linear-gradient(#000 0 0) 0 0 / 100% calc(var(--universal-panel-header-height) - var(--universal-panel-split-radius)) no-repeat,
      linear-gradient(#000 0 0) var(--universal-panel-split-radius) calc(var(--universal-panel-header-height) - var(--universal-panel-split-radius)) / calc(100% - var(--ag-seekers-split-diameter)) var(--universal-panel-split-radius) no-repeat,
      radial-gradient(circle at 100% 0, #000 0 var(--ag-seekers-mask-edge), transparent var(--universal-panel-split-radius)) 0 calc(var(--universal-panel-header-height) - var(--universal-panel-split-radius)) / var(--universal-panel-split-radius) var(--universal-panel-split-radius) no-repeat,
      radial-gradient(circle at 0 0, #000 0 var(--ag-seekers-mask-edge), transparent var(--universal-panel-split-radius)) 100% calc(var(--universal-panel-header-height) - var(--universal-panel-split-radius)) / var(--universal-panel-split-radius) var(--universal-panel-split-radius) no-repeat,
      linear-gradient(#000 0 0) 0 calc(var(--universal-panel-header-height) + var(--universal-panel-gap) + var(--universal-panel-split-radius)) / 100% calc(100% - var(--universal-panel-header-height) - var(--universal-panel-gap) - var(--universal-panel-split-radius)) no-repeat,
      linear-gradient(#000 0 0) var(--universal-panel-split-radius) calc(var(--universal-panel-header-height) + var(--universal-panel-gap)) / calc(100% - var(--ag-seekers-split-diameter)) var(--universal-panel-split-radius) no-repeat,
      radial-gradient(circle at 100% 100%, #000 0 var(--ag-seekers-mask-edge), transparent var(--universal-panel-split-radius)) 0 calc(var(--universal-panel-header-height) + var(--universal-panel-gap)) / var(--universal-panel-split-radius) var(--universal-panel-split-radius) no-repeat,
      radial-gradient(circle at 0 100%, #000 0 var(--ag-seekers-mask-edge), transparent var(--universal-panel-split-radius)) 100% calc(var(--universal-panel-header-height) + var(--universal-panel-gap)) / var(--universal-panel-split-radius) var(--universal-panel-split-radius) no-repeat;
  }

  body.ag-touch-unified:not(.ag-device-small) #acik-masalar-panel .universal-panel-surface {
    --universal-panel-gap: calc(var(--ag-open-tables-search-height) + (var(--ag-touch-iu) * 2));
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel) .universal-panel-surface::before {
    padding: 0.46cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(#mac-arayanlar-panel, #acik-masalar-panel) .universal-panel-surface::after {
    box-shadow:
      inset 0 0 0 0.12cqi rgba(255, 255, 255, 0.035),
      inset 0 5.1cqi 7.85cqi rgba(0, 0, 0, 0.11),
      inset 0 -4.15cqi 6.45cqi rgba(0, 0, 0, 0.085),
      inset 0 4.6cqi 5.55cqi rgba(255, 255, 255, 0.014);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .universal-panel-header {
    gap: min(2.5cqi, 1.25dvh);
    padding-inline: min(3.55cqi, 1.75dvh);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .universal-panel-content {
    grid-template-rows: var(--universal-panel-header-height) minmax(0, 1fr);
    row-gap: var(--universal-panel-gap);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .universal-panel-title {
    gap: min(1.8cqi, 0.9dvh);
    padding-left: min(9.2cqi, 4.5dvh);
    font-size: clamp(1.45dvh, 3.8cqi, 2.05dvh);
    text-shadow: 0 0.46cqi 1.85cqi rgba(0, 0, 0, 0.42);
    transform: translateY(8%);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel > .universal-panel-title-dice {
    top: min(3.05cqi, 1.5dvh);
    left: min(2.8cqi, 1.35dvh);
    width: min(11.2cqi, 5.5dvh);
    height: min(6.35cqi, 3.15dvh);
    transform: translateY(6%);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel > .universal-panel-title-dice img {
    width: min(6.45cqi, 3.2dvh);
    height: min(6.45cqi, 3.2dvh);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel > .universal-panel-title-dice img:first-child {
    top: max(-2.8cqi, -1.375dvh);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel > .universal-panel-title-dice img:last-child {
    left: min(3.67cqi, 1.82dvh);
    top: min(2.28cqi, 1.125dvh);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .universal-panel-body {
    gap: 1.85cqi;
    padding: 2cqi 1.4cqi 3.2cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayanlar-ozet {
    gap: 1.85cqi;
    padding-inline: 0.46cqi;
    font-size: clamp(1.2dvh, 2.65cqi, 1.6dvh);
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayanlar-listesi {
    min-height: 0;
    max-height: 100%;
    gap: 1.6cqi;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.46cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayanlar-listesi::-webkit-scrollbar {
    width: 1.35cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayanlar-listesi::-webkit-scrollbar-track,
  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayanlar-listesi::-webkit-scrollbar-thumb {
    border-radius: 100cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayan-kart {
    min-height: 13.4cqi;
    grid-template-columns: 8.7cqi minmax(0, 1fr) auto;
    gap: 2.3cqi;
    padding: 2.05cqi 2.55cqi;
    border-width: 0.12cqi;
    border-radius: 2.3cqi;
    box-shadow:
      inset 0 0.12cqi 0 rgba(255, 255, 255, 0.10),
      inset 0 -2.75cqi 4.6cqi rgba(0, 0, 0, 0.16),
      0 2.1cqi 4.15cqi rgba(0, 0, 0, 0.24);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayan-avatar {
    width: 8.7cqi;
    height: 8.7cqi;
    border-width: 0.12cqi;
    font-size: clamp(1.15dvh, 2.55cqi, 1.55dvh);
    text-shadow: 0 0.23cqi 0 rgba(255, 239, 196, 0.5);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel :is(.mac-arayan-main, .mac-arayan-side) {
    gap: 1.3cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayan-name {
    font-size: clamp(1.65dvh, 3.8cqi, 2.25dvh);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayan-meta {
    gap: 1.05cqi;
    flex-wrap: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayan-meta span,
  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .arena-bot-seeker-score {
    min-width: 0;
    flex: 0 1 auto;
    min-height: 4.85cqi;
    padding-inline: 1.8cqi;
    border-width: 0.12cqi;
    border-radius: 100cqi;
    font-size: clamp(1.2dvh, 2.7cqi, 1.65dvh);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .arena-bot-seeker-scores {
    gap: 1.1cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .arena-bot-seeker-score {
    width: 7.8cqi;
    min-width: 7.8cqi;
    height: 6.8cqi;
    min-height: 6.8cqi;
    flex-basis: 7.8cqi;
    padding: 0;
    font-size: clamp(1.5dvh, 3.3cqi, 2dvh);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayan-davet {
    min-width: 14.6cqi;
    min-height: 8.7cqi;
    padding-inline: 3cqi;
    border-width: 0.12cqi;
    border-radius: 1.85cqi;
    box-shadow:
      inset 0 0.12cqi 0 rgba(255, 255, 255, 0.56),
      inset 0 -1.6cqi 2.75cqi rgba(87, 30, 4, 0.20),
      0 1.85cqi 3.2cqi rgba(0, 0, 0, 0.34),
      0 0 0 0.12cqi rgba(59, 24, 5, 0.16);
    font-size: clamp(1.2dvh, 2.9cqi, 1.7dvh);
    text-shadow: 0 0.23cqi 0 rgba(255, 239, 196, 0.46);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayan-davet:hover,
  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayan-davet:focus-visible {
    transform: translateY(-0.23cqi);
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayan-davet:focus-visible {
    outline-width: 0.46cqi;
    outline-offset: 0.46cqi;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .mac-arayanlar-bos {
    min-height: 16.6cqi;
    border-width: 0.12cqi;
    border-radius: 2.3cqi;
    font-size: clamp(1.15dvh, 2.55cqi, 1.55dvh);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer {
    position: fixed;
    top: calc(var(--ag-lobby-visual-viewport-offset-top, 0dvh) + 0.5%);
    right: 0.7%;
    bottom: calc(var(--ag-touch-dock-height) + var(--ag-lobby-safe-bottom, 0dvh) + 0.5%);
    left: 0.7%;
    z-index: 131;
    display: grid;
    max-height: none;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(246, 189, 91, 0.66);
    border-radius: calc(var(--ag-touch-u) * 4.1) calc(var(--ag-touch-u) * 4.1) calc(var(--ag-touch-u) * 2.3) calc(var(--ag-touch-u) * 2.3);
    background:
      radial-gradient(circle at 88% 112%, rgba(223, 126, 35, 0.24), transparent 48%),
      linear-gradient(155deg, rgba(49, 52, 53, 0.97), rgba(25, 29, 31, 0.98) 56%, rgba(43, 28, 20, 0.98));
    box-shadow:
      0 calc(var(--ag-touch-u) * -3.65) calc(var(--ag-touch-u) * 8.2) rgba(0, 0, 0, 0.34),
      0 0 0 var(--ag-touch-hairline) rgba(255, 229, 177, 0.08),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, 0.22);
    opacity: 0;
    transform: translateY(4%) scale(0.985);
    transform-origin: 50% 100%;
    transition: opacity 170ms ease, transform 190ms cubic-bezier(.22, .8, .24, 1);
    backdrop-filter: blur(calc(var(--ag-touch-u) * 5)) saturate(1.32);
    -webkit-backdrop-filter: blur(calc(var(--ag-touch-u) * 5)) saturate(1.32);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer[hidden] {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer.is-open {
    opacity: 1;
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__account-strip,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--ag-touch-hairline) solid rgba(255, 221, 158, 0.14);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(218, 125, 37, 0.1));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__account-strip {
    min-height: calc(var(--ag-touch-u) * 10.4);
    flex-direction: row !important;
    justify-content: flex-start;
    gap: 2%;
    padding: 1% 2%;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__account-line {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-logout {
    display: inline-flex;
    flex: 0 0 auto;
    order: 1;
    align-items: center;
    margin-left: auto;
    gap: calc(var(--ag-touch-u) * 1.4);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-logout .ag-logout-btn {
    width: calc(var(--ag-touch-u) * 8);
    height: calc(var(--ag-touch-u) * 8);
    min-width: 0;
    padding: 0;
    border-radius: 50%;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__header {
    min-height: calc(var(--ag-touch-u) * 11);
    padding: 1.5% 2.5%;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__header > span {
    display: grid;
    gap: calc(var(--ag-touch-u) * 0.45);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__header small {
    color: rgba(238, 196, 128, 0.62);
    font-size: calc(var(--ag-touch-type-u) * 1.55);
    font-weight: 900;
    letter-spacing: 0.18em;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__header strong {
    color: #fff3dd;
    font-size: calc(var(--ag-touch-type-u) * 3);
    font-weight: 950;
    letter-spacing: 0.045em;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__close {
    display: grid;
    width: calc(var(--ag-touch-u) * 8);
    height: calc(var(--ag-touch-u) * 8);
    place-items: center;
    padding: 0;
    border: var(--ag-touch-hairline) solid rgba(255, 222, 165, 0.34);
    border-radius: 50%;
    background: rgba(255, 239, 209, 0.08);
    color: #ffe6ba;
    font-size: calc(var(--ag-touch-type-u) * 4.4);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__content {
    display: grid;
    min-height: 0;
    align-content: start;
    gap: 2%;
    overflow-y: auto;
    padding: 2.5%;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer .ag-player-chip {
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: calc(var(--ag-touch-u) * 13.2);
    grid-template-columns: calc(var(--ag-touch-u) * 10.5) minmax(0, 1fr) auto;
    gap: 2.5%;
    align-items: center;
    padding: 1.5% 2.5%;
    border: var(--ag-touch-hairline) solid rgba(255, 220, 155, 0.24);
    border-radius: calc(var(--ag-touch-u) * 3.2);
    background: rgba(5, 10, 14, 0.34);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer .ag-player-chip-avatar {
    width: calc(var(--ag-touch-u) * 10.5);
    height: calc(var(--ag-touch-u) * 10.5);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__account-strip > .ag-player-chip {
    display: grid !important;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
    flex: 1 1 auto;
    order: 0;
    grid-template-columns: calc(var(--ag-touch-u) * 8) minmax(0, 1fr);
    gap: calc(var(--ag-touch-u) * 1.7);
    align-items: center;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__account-strip > .ag-player-chip .ag-player-chip-avatar {
    width: calc(var(--ag-touch-u) * 8);
    height: calc(var(--ag-touch-u) * 8);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__account-strip > .ag-player-chip .ag-player-chip-main {
    min-width: 0;
    text-align: left;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__account-strip > .ag-player-chip .ag-player-chip-name {
    overflow: hidden;
    color: #fff2db;
    font-size: calc(var(--ag-touch-type-u) * 2.65);
    font-weight: 950;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer__account-strip > .ag-player-chip :is(.ag-player-chip-sub, .ag-player-chip-btn, .ag-chip-menu-btn) {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer .ag-chip-menu-btn {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer .ag-player-menu-panel {
    position: static !important;
    inset: auto !important;
    display: grid;
    width: 100% !important;
    gap: 2%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer .ag-player-menu-panel[hidden],
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer .ag-player-menu-worlds {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer .ag-player-menu-profile,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-profile-drawer .ag-player-menu-stats {
    width: 100%;
    margin: 0;
  }

  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel,
  body.ag-touch-unified:not(.ag-device-small) #mac-arayanlar-panel .universal-panel-surface {
    overflow: visible;
  }

  body.ag-touch-unified:not(.ag-device-small) #ana-akis-panel {
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel {
    --ag-touch-main-panel-fixed-height: max(
      calc(var(--ag-touch-u) * 86),
      calc(var(--ag-touch-visual-h, 100dvh) - var(--ag-lobby-header-total, var(--ag-touch-header-height)) - var(--ag-touch-dock-height) + var(--ag-touch-dock-shoulder) - (var(--ag-touch-main-gap) * 0.45) - 24.5dvh)
    );
    height: var(--ag-touch-main-panel-fixed-height) !important;
    min-height: var(--ag-touch-main-panel-fixed-height) !important;
    max-height: var(--ag-touch-main-panel-fixed-height) !important;
    margin-top: calc(var(--ag-touch-main-gap) * 0.15) !important;
    margin-bottom: var(--ag-touch-main-gap) !important;
    padding-bottom: calc(var(--ag-touch-u) * 4.6) !important;
    overflow: hidden;
    border-bottom-left-radius: var(--ag-touch-panel-radius) !important;
    border-bottom-right-radius: var(--ag-touch-panel-radius) !important;
    background:
      radial-gradient(ellipse at 50% 100%, rgba(255, 226, 166, 0.26) 0%, rgba(255, 186, 86, 0.18) 28%, rgba(184, 84, 22, 0.08) 54%, rgba(184, 84, 22, 0) 78%),
      linear-gradient(180deg, rgba(8, 14, 22, 0.34) 0%, rgba(22, 31, 42, 0.26) 18%, rgba(62, 58, 57, 0.18) 48%, rgba(122, 80, 42, 0.30) 100%),
      linear-gradient(180deg, rgba(6, 10, 18, 0.18) 0%, rgba(255, 255, 255, 0.025) 40%, rgba(255, 255, 255, 0.10) 100%) !important;
    background-color: rgba(18, 23, 30, 0.58) !important;
    box-shadow:
      0 0 calc(var(--ag-touch-u) * 7.2) rgba(255, 137, 38, 0.30),
      0 0 calc(var(--ag-touch-u) * 16.4) rgba(255, 118, 24, 0.18),
      inset 0 calc(var(--ag-touch-u) * 0.18) 0 rgba(255, 255, 255, 0.22),
      inset 0 calc(var(--ag-touch-u) * 3.1) calc(var(--ag-touch-u) * 5.15) rgba(0, 0, 0, 0.16),
      inset 0 calc(var(--ag-touch-u) * -4.1) calc(var(--ag-touch-u) * 7.2) rgba(255, 211, 142, 0.18),
      0 calc(var(--ag-touch-u) * 3.8) calc(var(--ag-touch-u) * 8.25) rgba(0, 0, 0, 0.32) !important;
    backdrop-filter: blur(calc(var(--ag-touch-u) * 3.45)) saturate(1.45);
    -webkit-backdrop-filter: blur(calc(var(--ag-touch-u) * 3.45)) saturate(1.45);
    transform: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel::after {
    inset: 0 !important;
    background:
      linear-gradient(180deg, rgba(8, 14, 22, 0.12) 0%, rgba(16, 24, 34, 0.07) 12%, rgba(82, 34, 6, 0) 28%),
      linear-gradient(180deg, rgba(126, 48, 10, 0) 0%, rgba(126, 48, 10, 0.08) 26%, rgba(190, 78, 18, 0.23) 50%, rgba(236, 126, 38, 0.40) 70%, rgba(255, 226, 166, 0.56) 92%),
      radial-gradient(ellipse at 50% 92%, rgba(255, 224, 168, 0.30) 0%, rgba(248, 180, 82, 0.24) 22%, rgba(226, 112, 32, 0.15) 42%, rgba(168, 66, 14, 0.08) 58%, rgba(112, 42, 8, 0) 76%),
      linear-gradient(180deg, rgba(255, 196, 94, 0) 0%, rgba(226, 112, 32, 0.016) 34%, rgba(226, 112, 32, 0.030) 64%, rgba(255, 196, 94, 0.045) 92%),
      radial-gradient(ellipse at 50% 80%, rgba(255, 236, 190, 0.060) 0%, rgba(238, 142, 50, 0.040) 32%, rgba(180, 70, 14, 0) 64%),
      linear-gradient(180deg, rgba(68, 78, 92, 0.030) 0%, rgba(132, 142, 154, 0.034) 30%, rgba(194, 202, 212, 0.050) 62%, rgba(230, 234, 240, 0.075) 92%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.16) 88%) !important;
    backdrop-filter: blur(calc(var(--ag-touch-u) * 0.68)) saturate(1.03);
    -webkit-backdrop-filter: blur(calc(var(--ag-touch-u) * 0.68)) saturate(1.03);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel,
  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-panel {
    overflow: visible;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel {
    align-content: start;
    row-gap: 7.5%;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel > .rakip-bul-grup:first-child {
    width: 100%;
    row-gap: 7%;
    margin-top: 3.5%;
    transform: translateY(20%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel > .rakip-bul-grup:first-child .rakip-bul-etiket {
    position: static;
    justify-self: center;
    margin: 0;
    font-size: calc(var(--ag-touch-type-u) * 3.6);
    transform: translateY(-30%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .skor-secim {
    width: 86%;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1.8%;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .skor-chip {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
    font-size: calc(var(--ag-touch-type-u) * 3.6);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .rakip-bul-grup-mod {
    width: 100%;
    margin-top: 0;
    left: 0;
    transform: translateY(52%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .mod-secim {
    width: 74%;
    gap: 3%;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .mod-chip {
    min-height: calc(var(--ag-touch-u) * 10.8);
    gap: 3%;
    padding-inline: 4%;
    font-size: calc(var(--ag-touch-type-u) * 3.2);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .mod-chip-icon,
  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .mod-chip-image {
    width: calc(var(--ag-touch-icon-u) * 4.8);
    height: calc(var(--ag-touch-icon-u) * 4.8);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .mod-chip-icon-flash {
    width: calc(var(--ag-touch-icon-u) * 5.2);
    height: calc(var(--ag-touch-icon-u) * 5.2);
    font-size: calc(var(--ag-touch-icon-u) * 5.2);
  }

  /* Keep the create-table score and match-duration controls comfortably legible
     in the normal touch profile without changing the small-screen layout. */
  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-panel {
    --masa-score-cell: clamp(30px, calc(var(--ag-touch-u) * 7.8), 40px);
    --masa-score-frame: clamp(36px, calc(var(--ag-touch-u) * 9), 46px);
    --masa-score-choice-cell: clamp(38px, calc(var(--ag-touch-u) * 9.9), 49px);
    --masa-score-choice-frame: clamp(44px, calc(var(--ag-touch-u) * 11.2), 55px);
    --masa-score-choice-gap: clamp(2px, calc(var(--ag-touch-u) * 0.55), 4px);
    --masa-step-cell: calc(var(--masa-score-choice-cell) * 0.92);
    --masa-time-value: calc(var(--masa-score-choice-cell) * 1.28);
    --masa-time-control-height: calc(var(--masa-score-choice-cell) * 0.92);
    --masa-small-gap: clamp(2px, calc(var(--ag-touch-u) * 0.55), 3px);
    --masa-time-control: calc(
      var(--masa-step-cell)
      + var(--masa-step-cell)
      + var(--masa-time-value)
      + var(--masa-small-gap)
      + var(--masa-small-gap)
    );
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-form {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    row-gap: 6%;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-form > .masa-ac-alan {
    position: relative;
    left: auto;
    width: 100%;
    grid-template-columns: 18% minmax(0, 1fr);
    column-gap: 1.4%;
    align-items: center;
    justify-self: stretch;
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-form > .masa-ac-alan:nth-child(2) {
    grid-template-columns: 22% minmax(0, 1fr);
    transform: translateY(20%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-form > .masa-ac-alan:first-child {
    grid-template-columns: 22% minmax(0, 1fr);
    transform: translateY(10%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-form .rakip-bul-etiket {
    max-width: 8ch;
    margin: 0;
    justify-self: end;
    font-size: clamp(12px, calc(var(--ag-touch-type-u) * 2.7), 15px);
    line-height: 0.98;
    text-align: right;
    white-space: normal;
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-form > .masa-ac-alan:nth-child(2) > .rakip-bul-etiket {
    justify-self: start;
    font-size: clamp(12px, calc(var(--ag-touch-type-u) * 2.7), 15px);
    text-align: left;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-form > .masa-ac-alan:first-child > .rakip-bul-etiket {
    justify-self: start;
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-skor-carousel {
    width: calc(
      var(--masa-score-choice-cell) + var(--masa-score-choice-gap)
      + var(--masa-score-choice-cell) + var(--masa-score-choice-gap)
      + var(--masa-score-choice-cell) + var(--masa-score-choice-gap)
      + var(--masa-score-choice-cell) + var(--masa-score-choice-gap)
      + var(--masa-score-choice-cell) + var(--masa-score-choice-gap)
      + var(--masa-score-choice-cell) + var(--masa-score-choice-gap)
    );
    max-width: 100%;
    justify-self: start;
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-skor-carousel .masa-skor-cam {
    height: var(--masa-score-choice-frame);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-skor-carousel .masa-skor-liste {
    gap: var(--masa-score-choice-gap);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-panel .masa-skor-nav {
    font-size: clamp(14px, calc(var(--ag-touch-type-u) * 3.1), 19px);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-skor-carousel .masa-skor-rakam {
    width: var(--masa-score-choice-cell);
    height: var(--masa-score-choice-cell);
    flex-basis: var(--masa-score-choice-cell);
    border-radius: clamp(7px, calc(var(--ag-touch-u) * 2), 12px);
    font-size: clamp(16px, calc(var(--ag-touch-type-u) * 3.45), 21px);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-skor-carousel .masa-skor-rakam-active {
    font-size: clamp(20px, calc(var(--ag-touch-type-u) * 4.4), 26px);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .sure-inputlari {
    width: auto;
    grid-template-columns: repeat(2, var(--masa-time-control));
    align-items: center;
    justify-content: start;
    justify-self: start;
    gap: 1.4%;
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel :is(
    .sure-kontrol:first-child,
    .sure-kontrol + .sure-kontrol
  ) {
    transform: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .sure-step,
  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .sure-deger,
  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .sure-kontrol-editing .sure-deger {
    height: var(--masa-time-control-height);
    min-height: var(--masa-time-control-height);
    border-radius: clamp(7px, calc(var(--ag-touch-u) * 2), 12px);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-panel .sure-step {
    font-size: clamp(17px, calc(var(--ag-touch-type-u) * 3.75), 22px);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .sure-deger {
    column-gap: clamp(3px, calc(var(--ag-touch-u) * 0.8), 5px);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .sure-sayi {
    font-size: clamp(17px, calc(var(--ag-touch-type-u) * 3.6), 20px);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .sure-birim {
    font-size: clamp(10px, calc(var(--ag-touch-type-u) * 2.2), 13px);
    transform: translateX(clamp(1px, calc(var(--ag-touch-u) * 0.35), 2px));
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .sure-input {
    font-size: clamp(14px, calc(var(--ag-touch-type-u) * 3), 18px);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-switchler {
    --ag-touch-table-switch-width: clamp(44px, calc(var(--ag-touch-u) * 11.2), 54px);
    --ag-touch-table-switch-height: clamp(25px, calc(var(--ag-touch-u) * 6.4), 31px);
    --ag-touch-table-switch-knob: clamp(19px, calc(var(--ag-touch-u) * 4.9), 24px);
    --ag-touch-table-switch-inset: 2px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    justify-items: center;
    align-items: center;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 1.5%;
    margin-top: 0;
    transform: translate(1.1%, 45%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-switch {
    flex-direction: column;
    justify-self: center;
    min-height: clamp(38px, calc(var(--ag-touch-u) * 9.5), 46px);
    gap: clamp(2px, calc(var(--ag-touch-u) * 0.6), 4px);
    margin-inline: 0;
    font-size: clamp(11px, calc(var(--ag-touch-type-u) * 2.7), 14px);
    text-align: center;
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-switch .ag-touch-label-suffix {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-switch-ray {
    width: var(--ag-touch-table-switch-width);
    height: var(--ag-touch-table-switch-height);
    border-width: 1px;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-switch-dugme {
    top: var(--ag-touch-table-switch-inset);
    left: var(--ag-touch-table-switch-inset);
    width: var(--ag-touch-table-switch-knob);
    height: var(--ag-touch-table-switch-knob);
    transform: translateX(calc(
      var(--ag-touch-table-switch-width)
      - var(--ag-touch-table-switch-knob)
      - var(--ag-touch-table-switch-inset)
      - var(--ag-touch-table-switch-inset)
    ));
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-switch-active .masa-switch-dugme {
    transform: translateX(0);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-panel .masa-aksiyon-grup {
    width: 82%;
    min-height: calc(var(--ag-touch-u) * 11.2);
    transform: translateY(85%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .masa-ac-panel .masa-aksiyon-buton {
    padding-inline: 2%;
    font-size: calc(var(--ag-touch-type-u) * 3.45);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .hemen-oyna-buton {
    position: absolute;
    top: 77.25%;
    left: 50%;
    margin: 0;
    font-size: calc(var(--ag-touch-type-u) * 4.3);
    transform: translate(-50%, -50%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .hemen-oyna-buton::before,
  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .hemen-oyna-buton::after {
    width: 24.5%;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .hemen-oyna-buton::before {
    right: calc(100% + 1.4%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .hemen-oyna-buton::after {
    left: calc(100% + 1.4%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .hemen-oyna-buton::before,
  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .rakip-bul-panel .hemen-oyna-buton::after {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .akis-bilgi-kutusu {
    display: grid !important;
    bottom: -4% !important;
    width: 98%;
    gap: 0.5%;
    margin: 0;
    padding: 1.4% 2.5%;
    transform: translateX(-50%);
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .akis-bilgi-kutusu p {
    font-size: calc(var(--ag-touch-type-u) * 2.75);
    line-height: 1.15;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ana-akis-butonlari {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    column-gap: clamp(8px, calc(var(--ag-touch-u) * 2.2), 14px) !important;
    width: 100% !important;
    margin-top: calc(var(--ag-touch-u) * 0.4) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ana-akis-buton {
    container-type: inline-size;
    min-width: 0 !important;
    min-height: clamp(40px, calc(var(--ag-touch-u) * 10.4), 48px) !important;
    padding-block: calc(var(--ag-touch-u) * 0.75) !important;
    border-radius: calc(var(--ag-touch-u) * 2.6) !important;
    font-size: inherit !important;
    transform: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ana-akis-buton:is(:hover, :focus-visible, :active) {
    transform: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ana-akis-buton .ana-akis-buton-yazi {
    display: block !important;
    width: 100% !important;
    font-size: 12.3cqi !important;
    line-height: 1 !important;
    text-align: center !important;
    transform: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ana-akis-buton[data-settings-target="rakip"] .ana-akis-buton-yazi {
    transform: translateX(calc(var(--ag-touch-u) * 2.45)) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ana-akis-buton[data-settings-target="rakip"] {
    padding-left: calc(var(--ag-touch-u) * 9) !important;
    padding-right: calc(var(--ag-touch-u) * 1.2) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ana-akis-buton[data-settings-target="masa"] {
    padding-left: calc(var(--ag-touch-u) * 11) !important;
    padding-right: calc(var(--ag-touch-u) * 1.2) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ag-hero-match-visual {
    left: calc(var(--ag-touch-u) * 0.25) !important;
    width: calc(var(--ag-touch-icon-u) * 8.8) !important;
    height: calc(var(--ag-touch-icon-u) * 8.2) !important;
    transform: translateY(-50%) scale(0.86) !important;
    transform-origin: left center !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ag-hero-match-visual__plate {
    transform: scale(0.9) !important;
    transform-origin: 42% 52% !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ag-hero-match-visual__lens {
    left: calc(var(--ag-touch-icon-u) * 5.15) !important;
    top: calc(var(--ag-touch-icon-u) * 3.75) !important;
    width: calc(var(--ag-touch-icon-u) * 4.45) !important;
    height: calc(var(--ag-touch-icon-u) * 4.45) !important;
    border-width: calc(var(--ag-touch-u) * 0.48) !important;
    animation: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ag-hero-match-visual.ag-match-people-searching .ag-hero-match-visual__lens {
    animation: ag-touch-match-lens-scan 1.55s ease-in-out infinite !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ag-hero-match-visual__lens-handle {
    left: calc(var(--ag-touch-icon-u) * 3.55) !important;
    top: calc(var(--ag-touch-icon-u) * 3.18) !important;
    width: calc(var(--ag-touch-icon-u) * 3.35) !important;
    height: calc(var(--ag-touch-u) * 0.82) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ag-hero-board-visual {
    left: calc(var(--ag-touch-u) * -0.2) !important;
    width: calc(var(--ag-touch-icon-u) * 10.2) !important;
    height: calc(var(--ag-touch-icon-u) * 8.5) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #merkez-gradient-panel .ana-akis-buton[data-settings-target="masa"] .ana-akis-buton-yazi {
    transform: translateX(calc(var(--ag-touch-u) * 0.85)) !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer {
    --ag-touch-chat-wing: calc(var(--ag-touch-u) * 10.45);
    --ag-touch-chat-closed-bar: calc(var(--ag-touch-u) * 10.1);
    --ag-touch-chat-open-bar: calc(var(--ag-touch-u) * 17.35);
    --ag-touch-chat-bar: var(--ag-touch-chat-closed-bar);
    --ag-touch-chat-drop-inset: calc(var(--ag-touch-chat-wing) * -0.08);
    --ag-touch-chat-search-top: calc(var(--ag-touch-chat-closed-bar) + (var(--ag-touch-u) * 1.05));
    --ag-touch-chat-search-h: calc(var(--ag-touch-u) * 9.15);
    --ag-touch-chat-content-top: calc(var(--ag-touch-chat-search-top) + var(--ag-touch-chat-search-h) + (var(--ag-touch-u) * 1.35));
    width: min(calc(var(--ag-touch-iu) * 94), calc(var(--ag-touch-bu) * 78));
    height: var(--ag-touch-chat-closed-bar);
    min-height: var(--ag-touch-chat-closed-bar);
    margin-inline: auto;
    transform: translateY(calc(var(--ag-touch-u) * -1.45));
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer::after {
    content: "";
    position: absolute;
    top: calc(var(--ag-touch-chat-closed-bar) + (var(--ag-touch-u) * 0.45));
    right: var(--ag-touch-chat-drop-inset);
    left: var(--ag-touch-chat-drop-inset);
    z-index: 1;
    height: min(
      66dvh,
      calc(
        var(--ag-touch-visual-h, 100dvh)
        - var(--ag-lobby-header-total, var(--ag-touch-header-height))
        - var(--ag-touch-dock-height)
        - (var(--ag-touch-u) * 11.5)
      )
    );
    min-height: calc(var(--ag-touch-u) * 58);
    border: var(--ag-touch-hairline) solid rgba(255, 221, 157, .36);
    border-radius:
      calc(var(--ag-touch-u) * 1.4)
      calc(var(--ag-touch-u) * 1.4)
      calc(var(--ag-touch-u) * 2.4)
      calc(var(--ag-touch-u) * 2.4);
    background:
      radial-gradient(circle at 84% 110%, rgba(236, 137, 38, .38), transparent 50%),
      linear-gradient(160deg, rgba(23, 30, 37, .995), rgba(30, 31, 35, .995) 52%, rgba(56, 36, 23, .995));
    box-shadow:
      0 calc(var(--ag-touch-u) * 3.6) calc(var(--ag-touch-u) * 9.4) rgba(0, 0, 0, .46),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, .10);
    transform: translateY(calc(var(--ag-touch-u) * -2.1)) scaleY(0.94);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open::after {
    transform: translateY(0) scaleY(1);
    opacity: 1;
    animation: ag-touch-friends-panel-drop 260ms cubic-bezier(.22, .82, .22, 1) both;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open {
    --ag-touch-chat-bar: var(--ag-touch-chat-open-bar);
    z-index: 38;
    height: var(--ag-touch-chat-closed-bar);
    min-height: var(--ag-touch-chat-closed-bar);
    max-height: var(--ag-touch-chat-closed-bar);
    transform: translateY(calc(var(--ag-touch-u) * -1.45));
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-drawer-shell {
    width: calc(100% - (var(--ag-touch-chat-wing) * 2));
    height: var(--ag-touch-chat-bar);
    margin-left: var(--ag-touch-chat-wing);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer:not(.is-open) .ag-social-drawer-shell {
    overflow: visible;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-social-drawer-shell {
    height: var(--ag-touch-chat-closed-bar);
    overflow: visible;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-chat-drawer-toolbar {
    display: grid;
    height: var(--ag-touch-chat-closed-bar);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: 0;
    overflow: visible;
    padding:
      calc(var(--ag-touch-u) * 1.05)
      calc(var(--ag-touch-u) * 1.35);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-chat-drawer-toolbar {
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding:
      calc(var(--ag-touch-u) * 1.05)
      calc(var(--ag-touch-u) * 1.35);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-desktop-title {
    display: grid;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns:
      calc(var(--ag-touch-u) * 7.4)
      minmax(0, 1fr)
      calc(var(--ag-touch-u) * 2.8);
    align-items: center;
    gap: calc(var(--ag-touch-u) * 1.15);
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff2dc;
    cursor: pointer;
    font: 900 calc(var(--ag-touch-type-u) * 3.05) / 1 'Montserrat', sans-serif;
    letter-spacing: .035em;
    text-align: left;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-desktop-title svg {
    width: calc(var(--ag-touch-u) * 6.9);
    height: calc(var(--ag-touch-u) * 5.4);
    fill: rgba(192, 120, 49, .28);
    stroke: #d7a35f;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-desktop-chevron {
    width: calc(var(--ag-touch-u) * 2.05);
    height: calc(var(--ag-touch-u) * 2.05);
    border-right: calc(var(--ag-touch-u) * 0.45) solid #f3d7a4;
    border-bottom: calc(var(--ag-touch-u) * 0.45) solid #f3d7a4;
    transform: translateY(calc(var(--ag-touch-u) * -0.38)) rotate(45deg);
    transition: transform 180ms ease;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-desktop-title[aria-expanded="true"] .ag-social-desktop-chevron {
    transform: translateY(calc(var(--ag-touch-u) * 0.38)) rotate(225deg);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-chat-player-search {
    position: absolute;
    top: var(--ag-touch-chat-search-top);
    right: var(--ag-touch-chat-drop-inset);
    left: var(--ag-touch-chat-drop-inset);
    z-index: 12;
    width: auto;
    height: var(--ag-touch-chat-search-h);
    transform: translateY(calc(var(--ag-touch-u) * -1.2));
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 220ms cubic-bezier(.22, .82, .22, 1);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer:not(.is-open) .ag-chat-player-search {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-chat-player-search {
    display: grid;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    animation: ag-touch-friends-search-drop 220ms cubic-bezier(.22, .82, .22, 1) both;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-drawer-content {
    position: absolute;
    top: var(--ag-touch-chat-content-top);
    right: var(--ag-touch-chat-drop-inset);
    left: var(--ag-touch-chat-drop-inset);
    z-index: 11;
    height: min(
      52dvh,
      calc(
        var(--ag-touch-visual-h, 100dvh)
        - var(--ag-lobby-header-total, var(--ag-touch-header-height))
        - var(--ag-touch-dock-height)
        - (var(--ag-touch-u) * 30.5)
      )
    );
    min-height: calc(var(--ag-touch-u) * 40);
    transform: translateY(calc(var(--ag-touch-u) * -2.1)) scaleY(0.94);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    border: 0;
    border-top: var(--ag-touch-hairline) solid rgba(255, 224, 164, .13);
    border-radius: 0 0 calc(var(--ag-touch-u) * 1.8) calc(var(--ag-touch-u) * 1.8);
    background: transparent;
    box-shadow: none;
    transition:
      opacity 190ms ease,
      transform 240ms cubic-bezier(.22, .82, .22, 1);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-social-drawer-content {
    transform: translateY(0) scaleY(1);
    opacity: 1;
    pointer-events: auto;
    animation: ag-touch-friends-panel-drop 260ms cubic-bezier(.22, .82, .22, 1) both;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer::after,
  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open::after {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-social-drawer-shell {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: calc(100% - (var(--ag-touch-chat-wing) * 1.2));
    height: min(
      66dvh,
      calc(
        var(--ag-touch-visual-h, 100dvh)
        - var(--ag-lobby-header-total, var(--ag-touch-header-height))
        - var(--ag-touch-dock-height)
        - (var(--ag-touch-u) * 11.5)
      )
    );
    min-height: calc(var(--ag-touch-u) * 58);
    margin-left: calc(var(--ag-touch-chat-wing) * 0.6);
    grid-template-rows: auto minmax(0, 1fr);
    overflow: visible;
    border: var(--ag-touch-hairline) solid rgba(255, 221, 157, .38);
    border-top: 0;
    border-radius: 0 0 calc(var(--ag-touch-u) * 2.4) calc(var(--ag-touch-u) * 2.4);
    background:
      radial-gradient(circle at 84% 110%, rgba(236, 137, 38, .40), transparent 50%),
      linear-gradient(160deg, rgba(24, 31, 39, .995), rgba(31, 33, 39, .995) 52%, rgba(58, 38, 24, .995));
    box-shadow:
      0 calc(var(--ag-touch-u) * 3.6) calc(var(--ag-touch-u) * 9.4) rgba(0, 0, 0, .46),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, .12);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-chat-drawer-toolbar {
    height: calc(var(--ag-touch-u) * 19.35);
    grid-template-rows:
      calc(var(--ag-touch-u) * 7.15)
      var(--ag-touch-chat-search-h);
    gap: calc(var(--ag-touch-u) * 0.9);
    padding:
      calc(var(--ag-touch-u) * 1.05)
      calc(var(--ag-touch-u) * 1.35)
      calc(var(--ag-touch-u) * 1.05);
    overflow: visible;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-chat-player-search {
    position: static;
    width: 100%;
    height: 100%;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    animation: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-social-drawer-content {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border-top: var(--ag-touch-hairline) solid rgba(255, 224, 164, .13);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-empty,
  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-chat-empty,
  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-player-finder__status {
    color: rgba(255, 241, 216, .74);
    font-weight: 850;
    text-shadow: 0 calc(var(--ag-touch-u) * 0.34) calc(var(--ag-touch-u) * 0.9) rgba(0, 0, 0, .64);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-search input,
  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-chat-composer input {
    color: #fff4df;
    text-shadow: none;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-search input::placeholder,
  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-chat-composer input::placeholder {
    color: rgba(255, 241, 216, .62);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-presence-control {
    position: absolute;
    top: 0;
    left: calc(-1 * var(--ag-touch-chat-wing));
    z-index: 9;
    width: var(--ag-touch-chat-wing);
    height: calc(var(--ag-touch-chat-closed-bar) * 0.82);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-presence-handle {
    --ag-presence-dot-size: calc(var(--ag-touch-u) * 1.85);
    --ag-presence-dot-inner-ring: calc(var(--ag-touch-u) * 0.38);
    --ag-presence-dot-color-ring: calc(var(--ag-touch-u) * 0.55);
    --ag-presence-dot-glow: calc(var(--ag-touch-u) * 1.35);
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 0;
    border-right: 0;
    border-radius: 999vmin 0 0 999vmin;
    background:
      radial-gradient(circle at 68% 28%, rgba(255, 235, 187, .30), transparent 36%),
      linear-gradient(180deg, #d7872e, #8e461b);
    box-shadow:
      calc(var(--ag-touch-u) * -1.75) calc(var(--ag-touch-u) * 1.25) calc(var(--ag-touch-u) * 4.1) rgba(0, 0, 0, .34),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, .24);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-handle {
    top: 0;
    right: 0;
    width: var(--ag-touch-chat-wing);
    height: calc(var(--ag-touch-chat-closed-bar) * 0.82);
    place-items: center;
    padding: 0;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-social-handle {
    right: calc(var(--ag-touch-chat-wing) * -0.4);
    z-index: 15;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-handle svg {
    width: calc(var(--ag-touch-u) * 5.25);
    height: calc(var(--ag-touch-u) * 5.25);
    stroke-width: 1.65;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open {
    position: fixed !important;
    top: calc(var(--ag-lobby-visual-viewport-offset-top, 0dvh) + 0.5%) !important;
    right: 0.7% !important;
    bottom: calc(var(--ag-touch-dock-height) + var(--ag-lobby-safe-bottom, 0dvh) + 0.5%) !important;
    left: 0.7% !important;
    z-index: 131 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-social-drawer-shell {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: var(--ag-touch-hairline) solid rgba(255, 221, 157, .38);
    border-radius: calc(var(--ag-touch-u) * 3.4) calc(var(--ag-touch-u) * 3.4) calc(var(--ag-touch-u) * 2.2) calc(var(--ag-touch-u) * 2.2);
    background:
      radial-gradient(circle at 86% 108%, rgba(222, 137, 56, .30), transparent 49%),
      linear-gradient(160deg, rgba(112, 101, 90, .995), rgba(83, 76, 72, .995) 54%, rgba(104, 69, 45, .995));
    box-shadow:
      0 calc(var(--ag-touch-u) * 3.2) calc(var(--ag-touch-u) * 8.2) rgba(0, 0, 0, .34),
      inset 0 var(--ag-touch-hairline) 0 rgba(255, 255, 255, .18);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-chat-drawer-toolbar {
    padding-right: 11.5%;
    border-bottom: var(--ag-touch-hairline) solid rgba(255, 226, 176, .20);
    background:
      linear-gradient(180deg, rgba(92, 84, 76, .96), rgba(69, 65, 62, .96));
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-social-drawer-content {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-top-color: rgba(255, 226, 176, .18);
    background:
      linear-gradient(180deg, rgba(94, 85, 77, .74), rgba(112, 76, 50, .72));
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-presence-control {
    display: none !important;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-presence-handle {
    border: var(--ag-touch-hairline) solid rgba(255, 221, 157, .36);
    border-radius: 50%;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-search {
    border-color: rgba(255, 229, 184, .26);
    background: rgba(61, 57, 53, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-friends {
    border-right-color: rgba(255, 226, 176, .20);
    background:
      linear-gradient(180deg, rgba(88, 81, 75, .88), rgba(75, 66, 60, .90));
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-conversation {
    background:
      radial-gradient(circle at 88% 106%, rgba(211, 126, 48, .24), transparent 48%),
      linear-gradient(180deg, rgba(96, 89, 82, .82), rgba(102, 72, 52, .84));
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-friend {
    border-color: rgba(255, 226, 176, .22);
    background: rgba(255, 244, 222, .075);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-friend-copy strong {
    font-size: calc(var(--ag-touch-type-u) * 2.75);
    line-height: 1.08;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-friend:hover,
  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-friend:focus-visible,
  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-social-friend.is-active {
    background: linear-gradient(90deg, rgba(240, 168, 80, .34), rgba(255, 231, 188, .10));
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-player-finder {
    background:
      radial-gradient(circle at 88% 110%, rgba(218, 132, 52, .28), transparent 48%),
      linear-gradient(155deg, rgba(91, 84, 77, .98), rgba(76, 69, 65, .98) 55%, rgba(103, 68, 46, .98));
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-chat-composer {
    border-top-color: rgba(255, 226, 176, .20);
    background: rgba(87, 60, 43, .42);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-chat-composer input {
    border-color: rgba(255, 226, 176, .24);
    background: rgba(72, 58, 49, .68);
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer .ag-chat-composer :is(input, button):disabled {
    filter: none;
    opacity: .62;
  }

  body.ag-touch-unified:not(.ag-device-small) #agSocialDrawer.is-open .ag-social-handle {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mobile-dock {
    position: fixed;
    right: var(--ag-touch-dock-inline);
    bottom: var(--ag-touch-dock-bottom);
    left: var(--ag-touch-dock-inline);
    z-index: 132;
    display: grid !important;
    height: var(--ag-touch-dock-height);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: calc(var(--ag-touch-u) * 0.44);
    padding:
      calc(var(--ag-touch-u) * 2.25)
      calc(var(--ag-touch-u) * 1.18)
      calc(var(--ag-touch-u) * 1.02);
    border: 0;
    border-radius:
      var(--ag-touch-dock-corner)
      var(--ag-touch-dock-corner)
      calc(var(--ag-touch-u) * 0)
      calc(var(--ag-touch-u) * 0);
    isolation: isolate;
    overflow: visible;
    pointer-events: auto !important;
    touch-action: manipulation;
    background: transparent;
    box-shadow: none;
    clip-path: none;
    -webkit-clip-path: none;
    transform: translateZ(0);
    transition:
      opacity 180ms ease,
      transform 220ms cubic-bezier(.22, .82, .22, 1),
      visibility 0s linear;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mobile-dock::before,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mobile-dock::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mobile-dock::before {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-glass {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius:
      var(--ag-touch-dock-corner)
      var(--ag-touch-dock-corner)
      0
      0;
    border-top: calc(var(--ag-touch-u) * 0.16) solid rgba(255, 237, 204, 0.34);
    border-bottom: calc(var(--ag-touch-u) * 0.16) solid rgba(255, 237, 204, 0.42);
    background:
      linear-gradient(90deg, rgba(255, 251, 238, 0.32), rgba(255, 225, 178, 0.18) 28%, rgba(126, 141, 142, 0.14) 66%, rgba(255, 236, 203, 0.26)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(235, 229, 216, 0.11) 48%, rgba(104, 112, 110, 0.18));
    box-shadow:
      0 calc(var(--ag-touch-u) * 2.1) calc(var(--ag-touch-u) * 6.2) rgba(17, 20, 20, 0.22),
      inset 0 calc(var(--ag-touch-u) * 0.18) 0 rgba(255, 255, 255, 0.32),
      inset 0 calc(var(--ag-touch-u) * -0.16) 0 rgba(255, 190, 104, 0.16);
    backdrop-filter: blur(calc(var(--ag-touch-u) * 4.8)) saturate(1.28);
    -webkit-backdrop-filter: blur(calc(var(--ag-touch-u) * 4.8)) saturate(1.28);
    clip-path: inset(var(--ag-touch-dock-shoulder) 0 0 round var(--ag-touch-dock-corner) var(--ag-touch-dock-corner) 0 0);
    -webkit-clip-path: inset(var(--ag-touch-dock-shoulder) 0 0 round var(--ag-touch-dock-corner) var(--ag-touch-dock-corner) 0 0);
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mobile-dock::after {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-shape-outline {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-shape-surface {
    fill: rgba(255, 255, 255, 0.075);
    stroke: none;
    filter:
      drop-shadow(0 calc(var(--ag-touch-u) * -0.18) calc(var(--ag-touch-u) * 0.92) rgba(255, 237, 204, 0.18))
      drop-shadow(0 calc(var(--ag-touch-u) * 0.84) calc(var(--ag-touch-u) * 2.2) rgba(17, 20, 20, 0.22));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-shape-sheen {
    fill: rgba(255, 255, 255, 0.085);
    stroke: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-shape-outline__glow {
    fill: none;
    stroke: url(#agLobbyDockContourGold);
    stroke-width: calc(var(--ag-touch-u) * 1.44);
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.33;
    vector-effect: non-scaling-stroke;
    filter:
      blur(calc(var(--ag-touch-u) * 0.08))
      drop-shadow(0 0 calc(var(--ag-touch-u) * 0.86) rgba(255, 184, 70, 0.43));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-shape-outline__base {
    fill: none;
    stroke: url(#agLobbyDockContourGold);
    stroke-width: calc(var(--ag-touch-u) * 0.42);
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 calc(var(--ag-touch-u) * 0.62) rgba(255, 190, 82, 0.40));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-shape-outline__shine {
    fill: none;
    stroke: rgba(255, 248, 220, 0.92);
    stroke-width: calc(var(--ag-touch-u) * 0.28);
    stroke-linecap: round;
    stroke-dasharray: 8 240;
    vector-effect: non-scaling-stroke;
    stroke-dashoffset: -32;
    animation: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item {
    position: relative;
    z-index: 4;
    display: grid;
    min-width: 0;
    min-height: calc(var(--ag-touch-dock-height) * 0.78);
    grid-template-rows: calc(var(--ag-touch-dock-height) * 0.46) minmax(0, auto);
    place-items: center;
    gap: calc(var(--ag-touch-u) * 0.78);
    padding: calc(var(--ag-touch-u) * 0.22);
    border: 0;
    border-radius: calc(var(--ag-touch-u) * 2.4);
    outline: 0;
    pointer-events: auto !important;
    background: transparent;
    color: rgba(255, 239, 212, 0.70);
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transform: translateY(calc(var(--ag-touch-u) * 3.85)) scale(1);
    transition:
      color 180ms ease,
      transform 190ms cubic-bezier(.2, .82, .22, 1),
      filter 180ms ease;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item::before {
    content: "";
    position: absolute;
    inset: calc(var(--ag-touch-u) * 0.18);
    z-index: -1;
    border-radius: inherit;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 226, 160, 0.16), transparent 54%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0));
    opacity: 0;
    transform: scale(0.92);
    transition:
      opacity 190ms ease,
      transform 210ms cubic-bezier(.2, .82, .22, 1);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item:active {
    transform: translateY(calc(var(--ag-touch-u) * 4.15)) scale(0.97);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item:focus-visible {
    box-shadow: inset 0 0 0 calc(var(--ag-touch-u) * 0.34) rgba(255, 226, 164, 0.84);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active {
    color: #ffe0a3;
    filter: none;
    transform: translateY(calc(var(--ag-touch-u) * 1.72));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active::before {
    opacity: 0;
    transform: scale(0.92);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-icon {
    position: relative;
    display: grid;
    width: calc(var(--ag-touch-icon-u) * 8.25);
    height: calc(var(--ag-touch-icon-u) * 8.25);
    place-items: center;
    border: calc(var(--ag-touch-u) * 0.16) solid rgba(255, 224, 164, 0.52);
    border-radius: 50%;
    background:
      radial-gradient(circle at 34% 12%, rgba(255, 251, 232, 0.22), rgba(255, 231, 184, 0.09) 38%, rgba(255, 255, 255, 0.035) 64%),
      rgba(255, 236, 196, 0.085);
    color: rgba(255, 246, 229, 0.92);
    transform: translateY(calc(var(--ag-touch-u) * -0.10));
    box-shadow:
      inset 0 calc(var(--ag-touch-u) * 0.16) 0 rgba(255, 255, 255, 0.16),
      0 0 0 calc(var(--ag-touch-u) * 0.12) rgba(255, 219, 143, 0.46),
      0 calc(var(--ag-touch-u) * 0.62) calc(var(--ag-touch-u) * 1.5) rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(calc(var(--ag-touch-u) * 1.45)) saturate(1.16);
    -webkit-backdrop-filter: blur(calc(var(--ag-touch-u) * 1.45)) saturate(1.16);
    transition:
      width 190ms cubic-bezier(.2, .82, .22, 1),
      height 190ms cubic-bezier(.2, .82, .22, 1),
      transform 190ms cubic-bezier(.2, .82, .22, 1),
      background 190ms ease,
      color 190ms ease,
      box-shadow 190ms ease,
      border-color 190ms ease;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-icon::after {
    content: "";
    position: absolute;
    inset: calc(var(--ag-touch-u) * -0.18);
    border-radius: inherit;
    background: conic-gradient(from 220deg, rgba(255, 209, 120, 0), rgba(255, 236, 177, 0.58), rgba(255, 151, 43, 0), rgba(255, 209, 120, 0));
    opacity: 0;
    transform: rotate(0deg);
    transition: opacity 180ms ease;
    animation: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-icon svg {
    position: relative;
    z-index: 1;
    width: calc(var(--ag-touch-icon-u) * 7.35);
    height: calc(var(--ag-touch-icon-u) * 7.35);
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: calc(var(--ag-touch-u) * 0.64);
    stroke-linecap: round;
    stroke-linejoin: round;
    filter:
      drop-shadow(0 calc(var(--ag-touch-u) * 0.13) 0 rgba(75, 38, 10, 0.58))
      drop-shadow(0 0 calc(var(--ag-touch-u) * 0.62) rgba(255, 197, 100, 0.18));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-dock-svg-fill {
    fill: rgba(255, 239, 207, 0.10);
    stroke: currentColor;
    stroke-width: calc(var(--ag-touch-u) * 0.64);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-dock-svg-line {
    fill: none;
    stroke: currentColor;
    stroke-width: calc(var(--ag-touch-u) * 0.72);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-dock-svg-accent {
    fill: rgba(255, 209, 121, 0.16);
    stroke: #ffe7b8;
    stroke-width: calc(var(--ag-touch-u) * 0.68);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-dock-svg-spark {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active .ag-lobby-dock-icon {
    width: calc(var(--ag-touch-icon-u) * 11.25);
    height: calc(var(--ag-touch-icon-u) * 11.25);
    transform: translateY(calc(var(--ag-touch-u) * -0.92));
    border-color: rgba(255, 232, 173, 0.86);
    background:
      radial-gradient(circle at 32% 10%, #fff7df 0%, #ffd992 34%, #f5a742 72%, #8d4c15 100%);
    color: #281304;
    box-shadow:
      inset 0 calc(var(--ag-touch-u) * 0.18) 0 rgba(255, 255, 255, 0.62),
      0 calc(var(--ag-touch-u) * 1.15) calc(var(--ag-touch-u) * 2.4) rgba(0, 0, 0, 0.28),
      0 0 calc(var(--ag-touch-u) * 2.6) rgba(255, 174, 53, 0.26),
      0 calc(var(--ag-touch-u) * 0.36) calc(var(--ag-touch-u) * 1.4) rgba(255, 165, 52, 0.22);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active .ag-lobby-dock-icon::after {
    opacity: 0.52;
    animation: ag-touch-dock-icon-orbit 720ms cubic-bezier(.16, 1, .3, 1) 1;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active .ag-lobby-dock-icon svg {
    width: calc(var(--ag-touch-icon-u) * 9.25);
    height: calc(var(--ag-touch-icon-u) * 9.25);
    stroke-width: calc(var(--ag-touch-u) * 0.78);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active .ag-dock-svg-fill {
    fill: rgba(67, 34, 9, 0.16);
    stroke: #2e1605;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active .ag-dock-svg-line {
    stroke: #2a1304;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active .ag-dock-svg-accent {
    fill: rgba(255, 255, 255, 0.28);
    stroke: #fff6cf;
    filter: drop-shadow(0 0 calc(var(--ag-touch-u) * 0.62) rgba(255, 249, 218, 0.74));
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active .ag-dock-svg-spark {
    display: none;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-label {
    position: relative;
    display: block;
    min-width: 0;
    max-width: 100%;
    color: currentColor;
    font-size: calc(var(--ag-touch-type-u) * 1.62);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: 0;
    text-align: center;
    text-shadow: 0 calc(var(--ag-touch-u) * 0.13) calc(var(--ag-touch-u) * 0.34) rgba(0, 0, 0, 0.52);
    transform: translateY(calc(var(--ag-touch-u) * -0.82));
    white-space: nowrap;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item.is-active .ag-lobby-dock-label::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: calc(var(--ag-touch-u) * -0.76);
    left: 18%;
    height: calc(var(--ag-touch-u) * 0.28);
    border-radius: 999em;
    background: linear-gradient(90deg, rgba(255, 177, 53, 0), #ffd678 25%, #fff2c0 52%, #f5aa45 78%, rgba(255, 177, 53, 0));
    box-shadow:
      0 calc(var(--ag-touch-u) * -0.45) calc(var(--ag-touch-u) * 1.0) rgba(255, 190, 76, 0.50),
      0 calc(var(--ag-touch-u) * -1.05) calc(var(--ag-touch-u) * 2.0) rgba(255, 154, 42, 0.22);
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-chat-live {
    position: absolute;
    top: calc(var(--ag-touch-u) * 0.15);
    left: calc(var(--ag-touch-u) * 0.15);
    z-index: 3;
    width: calc(var(--ag-touch-u) * 1.65);
    height: calc(var(--ag-touch-u) * 1.65);
    border: calc(var(--ag-touch-u) * 0.18) solid rgba(224, 255, 234, 0.9);
    border-radius: 50%;
    background: #55df86;
    box-shadow:
      0 0 0 calc(var(--ag-touch-u) * 0.36) rgba(21, 31, 27, 0.78),
      0 0 calc(var(--ag-touch-u) * 1.5) rgba(85, 223, 134, 0.8);
    animation: ag-touch-dock-live-pulse 2.2s ease-in-out infinite;
  }

  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-chat-badge,
  body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-count-badge {
    position: absolute;
    top: calc(var(--ag-touch-u) * -0.72);
    right: calc(var(--ag-touch-u) * -0.72);
    z-index: 4;
    display: grid;
    min-width: calc(var(--ag-touch-u) * 3.4);
    height: calc(var(--ag-touch-u) * 3.4);
    place-items: center;
    padding: 0 calc(var(--ag-touch-u) * 0.72);
    border: calc(var(--ag-touch-u) * 0.34) solid #281914;
    border-radius: 999em;
    background: linear-gradient(180deg, #ff7065, #c9342e);
    color: #fff;
    box-shadow:
      0 0 0 calc(var(--ag-touch-u) * 0.13) rgba(255, 220, 170, 0.24),
      0 0 calc(var(--ag-touch-u) * 1.55) rgba(255, 75, 65, 0.58);
    font-size: calc(var(--ag-touch-type-u) * 1.55);
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
    animation: ag-touch-dock-badge-pulse 1.9s ease-in-out infinite;
  }

  body.ag-touch-unified:not(.ag-device-small) :is(.ag-lobby-dock-chat-live, .ag-lobby-dock-chat-badge, .ag-lobby-dock-count-badge)[hidden] {
    display: none !important;
  }

  body.ag-touch-unified.ag-lobby-keyboard-open:not(.ag-device-small) .ag-lobby-mobile-dock {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(var(--ag-touch-dock-height) + var(--ag-touch-dock-bottom)));
    transition:
      opacity 120ms ease,
      transform 170ms ease,
      visibility 0s linear 170ms;
  }

  body.ag-touch-unified.ag-lobby-keyboard-open:not(.ag-device-small) #agSocialDrawer.is-open {
    bottom: calc(var(--ag-lobby-safe-bottom, 0dvh) + 0.5%) !important;
  }

  body.ag-touch-unified.ag-arena-lens-camera-open .ag-lobby-mobile-dock {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(calc(100% + var(--ag-lobby-safe-bottom, 0px))) !important;
    transition:
      opacity 120ms ease,
      transform 170ms ease,
      visibility 0s linear 170ms;
  }

  body.ag-touch-unified.ag-arena-lens-camera-open .ag-banner-tournament-center {
    display: none !important;
  }

  body.ag-touch-unified #agCameraModal {
    z-index: 1000 !important;
  }

  body.ag-touch-unified .ag-camera-modal-card {
    grid-template-rows: 60dvh minmax(0, 1fr);
  }

  body.ag-touch-unified .ag-camera-container {
    background: #000;
  }

  body.ag-touch-unified .ag-flash-overlay {
    z-index: 1;
  }

  /* Tournament management settings fill the touch viewport with a 5px edge. */
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .tournament-page {
    padding: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-draft-layer {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active :is(.ag-control-surface, .ag-tournament-workspace, .ag-tournament-workspace-body, .ag-management-pane--settings) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-self: stretch !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active :is(.ag-control-surface, .ag-tournament-workspace) {
    border: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-control-surface {
    min-height: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-tournament-workspace {
    height: 100% !important;
    margin: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-tournament-workspace-body {
    height: 100% !important;
    padding:
      calc(var(--ag-pro-y) * 0.35)
      calc(var(--ag-pro-x) * 1.15)
      calc(var(--ag-pro-y) * 0.75) !important;
    overflow-x: hidden !important;
    scroll-padding-bottom: calc(var(--ag-pro-y) * 0.75);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-management-pane--settings {
    position: relative !important;
    height: 100% !important;
    overflow-x: hidden !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-card {
    position: absolute !important;
    inset: calc(var(--ag-pro-y) * 0.35) 0 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    gap: calc(var(--ag-pro-y) * 1.35);
    margin: 0 !important;
    padding:
      calc(var(--ag-pro-y) * 3.6)
      calc(var(--ag-pro-x) * 2.25)
      calc(var(--ag-pro-y) * 1.5);
    overflow: visible;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-card-head {
    top: calc(var(--ag-pro-y) * -0.35);
    left: calc(var(--ag-pro-x) * 2.25);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-title {
    min-height: calc(var(--ag-pro-y) * 4.25);
    padding-inline: calc(var(--ag-pro-x) * 3.6);
    font-size: calc(var(--ag-pro-u) * 2.7);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: calc(var(--ag-pro-y) * 1.65) calc(var(--ag-pro-x) * 2.25);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active :is(.ag-settings-field, .ag-settings-duration-field, .ag-settings-time-field) {
    width: 100%;
    min-width: 0;
    gap: calc(var(--ag-pro-y) * 0.95);
    grid-template-rows: calc(var(--ag-pro-y) * 2.1) calc(var(--ag-pro-y) * 6.4);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-duration-field {
    grid-column: 1 / -1;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-grid:not(.is-multi) .ag-settings-field--table-count {
    width: calc(50% - (var(--ag-pro-x) * 1.1));
    grid-column: 1 / -1;
    justify-self: center;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-duration-grid {
    width: 100%;
    min-width: 0;
    gap: calc(var(--ag-pro-x) * 2.25);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-time-field {
    grid-template-rows: calc(var(--ag-pro-y) * 6.4);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-label {
    font-size: calc(var(--ag-pro-u) * 2.35);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active :is(.ag-settings-input, .ag-settings-select, .ag-settings-player-count-value) {
    width: 100% !important;
    min-width: 0 !important;
    min-height: calc(var(--ag-pro-y) * 6.4);
    height: calc(var(--ag-pro-y) * 6.4);
    font-size: calc(var(--ag-pro-u) * 3.45);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-time-field .ag-settings-input-unit {
    width: 100%;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-player-count-value {
    font-size: calc(var(--ag-pro-u) * 5.2);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-input-unit > span {
    font-size: calc(var(--ag-pro-u) * 2.65);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-required-options {
    width: min(100%, calc(var(--ag-pro-x) * 86)) !important;
    justify-self: center !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-required-options [data-required-tournament-setting] {
    width: 100% !important;
    gap: calc(var(--ag-pro-y) * 0.7) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-required-options [data-required-tournament-setting] .ag-settings-choice-label {
    display: block !important;
    font-size: calc(var(--ag-pro-u) * 2.6) !important;
    line-height: 1 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-required-options [data-required-tournament-setting] .ag-settings-choice-options {
    width: 100% !important;
    gap: calc(var(--ag-pro-x) * 1.5) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-required-options [data-required-tournament-setting] .ag-settings-choice-option {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-required-options [data-required-tournament-setting] .ag-settings-choice-option span,
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-required-options [data-required-tournament-setting] .ag-settings-choice-option input:checked + span {
    min-height: calc(var(--ag-pro-y) * 6.2) !important;
    height: calc(var(--ag-pro-y) * 6.2) !important;
    padding: 0 calc(var(--ag-pro-x) * 2.4) !important;
    border-width: calc(var(--ag-pro-u) * 0.18) !important;
    border-radius: calc(var(--ag-pro-u) * 1.9) !important;
    font-size: calc(var(--ag-pro-u) * 2.85) !important;
    line-height: 1 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-visibility-field {
    display: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active :is(.ag-settings-save-button, .ag-settings-start-button) {
    width: 100% !important;
    min-width: 0 !important;
    height: calc(var(--ag-pro-y) * 6.4);
    padding-inline: calc(var(--ag-pro-x) * 2.25);
    justify-self: stretch;
    font-size: calc(var(--ag-pro-u) * 2.55);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-grid.is-multi .ag-settings-save-button {
    grid-column: 1 / -1 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-save-button,
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-settings-pane-active .ag-settings-start-button {
    grid-column: 1 / -1 !important;
  }

  /* Tournament management: only the pairings tab owns vertical scrolling. */
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-tournament-workspace-body {
    padding:
      calc(var(--ag-pro-y) * 0.85)
      calc(var(--ag-pro-x) * 1.15)
      calc(var(--ag-pro-y) * 1.7) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(225, 145, 47, 0.82) rgba(53, 39, 30, 0.38);
    scroll-padding-bottom: calc(var(--ag-pro-y) * 1.7);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-bracket-score-box {
    font-size: clamp(17px, 4.6vw, 19px) !important;
    font-weight: 1000 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active :is(
    .ag-management-pane[data-management-pane="pairings"],
    .ag-management-pane[data-management-pane="pairings"] .ag-management-pane-card,
    .ag-management-pane[data-management-pane="pairings"] [data-pairings-list]
  ) {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-board {
    min-height: 0 !important;
    align-items: start;
    gap: calc(var(--ag-pro-y) * 2);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-lobby-embedded .ag-management-embedded-finish-round {
    display: none !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-lobby-embedded.ag-tournament-management-active.ag-pairings-pane-active .ag-management-embedded-finish-round {
    position: absolute;
    top: max(calc(var(--ag-pro-y) * 0.85), env(safe-area-inset-top));
    right: calc(var(--ag-pro-x) * 18);
    z-index: 2147482000;
    display: inline-flex !important;
    width: calc(var(--ag-pro-x) * 19.5);
    min-width: calc(var(--ag-pro-x) * 19.5);
    min-height: calc(var(--ag-pro-y) * 3.25);
    align-items: center;
    justify-content: center;
    padding: 0 calc(var(--ag-pro-x) * 1.55);
    border-color: rgba(255, 224, 168, 0.58);
    background: linear-gradient(180deg, #f7c46c 0%, #dd8b2c 58%, #9c5419 100%);
    color: #261506;
    font-size: calc(var(--ag-pro-u) * 1.95);
    font-weight: 950;
    line-height: 1;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 8px 20px rgba(0, 0, 0, 0.28);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-lobby-embedded.ag-tournament-management-active.ag-pairings-pane-active .ag-management-embedded-tournament-name {
    right: calc(var(--ag-pro-x) * 39);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-dialog {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: max(10px, 3vw);
    background:
      radial-gradient(circle at 50% 42%, rgba(255, 187, 73, 0.18), transparent 34%),
      rgba(12, 10, 8, 0.76);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(5px);
    transition: opacity 160ms ease;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-dialog.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-panel {
    width: min(94vw, 430px);
    display: grid;
    justify-items: center;
    gap: clamp(10px, 3vw, 15px);
    padding: clamp(16px, 5vw, 24px);
    border: 1px solid rgba(255, 206, 127, 0.56);
    border-radius: clamp(14px, 4vw, 20px);
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 210, 127, 0.22), transparent 40%),
      linear-gradient(135deg, rgba(35, 25, 14, 0.99), rgba(12, 11, 10, 0.99));
    box-shadow:
      0 30px 78px rgba(0, 0, 0, 0.48),
      0 0 40px rgba(255, 178, 64, 0.16),
      inset 0 1px 0 rgba(255, 238, 196, 0.20);
    transform: translateY(10px) scale(0.98);
    transition: transform 160ms ease;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-dialog.is-visible .ag-round-countdown-panel {
    transform: translateY(0) scale(1);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-title {
    margin: 0;
    color: #fff0c8;
    font-size: clamp(18px, 5vw, 23px);
    font-weight: 950;
    line-height: 1;
    text-align: center;
    text-shadow: 0 0 16px rgba(255, 190, 78, 0.38);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-timer {
    width: clamp(88px, 27vw, 116px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 216, 144, 0.62);
    border-radius: 50%;
    background: radial-gradient(circle at 45% 34%, #fff0b8 0%, #f2b24e 32%, #9c5d21 68%, #2b1a0c 100%);
    color: #211407;
    box-shadow:
      0 0 36px rgba(255, 190, 82, 0.46),
      inset 0 2px 0 rgba(255, 250, 225, 0.70),
      inset 0 -18px 24px rgba(52, 29, 12, 0.36);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-timer strong {
    align-self: end;
    font-size: clamp(44px, 13vw, 56px);
    font-weight: 950;
    line-height: 0.86;
    text-shadow: 0 2px 0 rgba(255, 236, 188, 0.62);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-timer small {
    align-self: start;
    margin-top: 4px;
    color: rgba(36, 21, 5, 0.72);
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-message {
    display: grid;
    gap: 6px;
    color: rgba(255, 239, 211, 0.80);
    font-size: clamp(12px, 3.4vw, 14px);
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-message strong {
    color: #ffe4ab;
    font-size: clamp(15px, 4.2vw, 18px);
    font-weight: 950;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-button {
    min-width: 0;
    min-height: clamp(36px, 10vw, 42px);
    padding: 0 10px;
    border-radius: 999px;
    font: inherit;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 950;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-button.is-cancel {
    border: 1px solid rgba(255, 224, 168, 0.25);
    background: rgba(255, 255, 255, 0.10);
    color: #fff0d1;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-button.is-confirm {
    border: 1px solid rgba(255, 220, 155, 0.58);
    background: linear-gradient(135deg, #ffd98b 0%, #f2ab3d 48%, #dc8a23 100%);
    color: #20160b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small) .ag-round-countdown-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    filter: grayscale(0.3);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-section {
    width: 100%;
    max-width: 100%;
    min-height: 0 !important;
    grid-template-rows: auto auto !important;
    gap: calc(var(--ag-pro-y) * 1);
    padding: calc(var(--ag-pro-u) * 1.35);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-round-card {
    width: 100%;
    max-width: 100%;
    padding: calc(var(--ag-pro-y) * 0.85) calc(var(--ag-pro-x) * 0.9);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-rounds:not(.has-round-history) {
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-round-history {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: calc(var(--ag-pro-x) * 1.55);
    padding:
      calc(var(--ag-pro-y) * 0.15)
      calc(var(--ag-pro-x) * 0.7)
      calc(var(--ag-pro-y) * 0.7);
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(225, 145, 47, 0.82) rgba(53, 39, 30, 0.32);
    scroll-snap-type: inline proximity;
    touch-action: pan-x;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-round-history::-webkit-scrollbar {
    height: calc(var(--ag-pro-y) * 0.55);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-round-history::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(53, 39, 30, 0.32);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-round-history::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, #d8892b, #f3bd64);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-round-pill {
    flex: 0 0 auto;
    scroll-snap-align: end;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-round-pill.is-active-round:not(.is-selected) {
    border-color: rgba(234, 164, 64, 0.78);
    color: #8a5518;
    box-shadow: inset 0 0 0 1px rgba(244, 182, 86, 0.22);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
    font-size: clamp(9px, 2.45vw, 11px);
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-pairings-list:not(.is-multi-elimination-flow),
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-management-pane[data-management-pane="pairings"] .ag-pairings-list:not(.is-multi-elimination-flow) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active .ag-management-pane--pairings.is-active .ag-pairings-list:not(.is-multi-elimination-flow) .ag-bracket-tree:not(.ag-bracket-tree--multi),
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-management-pane[data-management-pane="pairings"] .ag-pairings-list:not(.is-multi-elimination-flow) .ag-bracket-tree:not(.ag-bracket-tree--multi) {
    width: max-content !important;
    max-width: none !important;
    min-width: max-content !important;
    touch-action: pan-x pan-y !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table :is(th, td) {
    padding-inline: calc(var(--ag-pro-x) * 0.45) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table th {
    font-size: clamp(7px, 2.05vw, 9px) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table :is(th, td):first-child {
    width: 7% !important;
    padding-inline: calc(var(--ag-pro-x) * 0.25) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table :is(th, td):nth-child(2),
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table :is(th, td):nth-child(6) {
    width: auto !important;
    min-width: 0 !important;
    padding-inline: calc(var(--ag-pro-x) * 0.65) !important;
    font-size: clamp(9px, 2.55vw, 11px) !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table :is(th, td):nth-child(3),
  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table :is(th, td):nth-child(5) {
    width: 11% !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table :is(th, td):nth-child(4) {
    width: 4% !important;
    padding: 0 !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table :is(th, td):last-child {
    width: 9% !important;
    padding-inline: calc(var(--ag-pro-x) * 0.25) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-table .ag-bracket-score-box {
    width: 100% !important;
    min-width: 0 !important;
    height: calc(var(--ag-pro-y) * 4.55) !important;
    min-height: calc(var(--ag-pro-y) * 4.55) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-actions {
    width: 100%;
    display: grid;
    gap: calc(var(--ag-pro-x) * 0.45);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-match-action {
    width: 100%;
    min-height: calc(var(--ag-pro-y) * 2.7);
    padding: 0 calc(var(--ag-pro-x) * 0.25);
    border-radius: calc(var(--ag-pro-u) * 0.95);
    font-size: calc(var(--ag-pro-u) * 1.35);
    line-height: 1;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-standings {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-standings .ag-multi-table {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-standings .ag-multi-table :is(th, td):first-child {
    width: 8% !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-standings .ag-multi-table :is(th, td):nth-child(2) {
    width: 44% !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-standings .ag-multi-table :is(th, td):nth-child(n + 3) {
    width: 12% !important;
    padding-inline: calc(var(--ag-pro-x) * 0.45);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-standings .ag-multi-table th {
    height: calc(var(--ag-pro-y) * 5.1) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-multi-standings .ag-multi-table td {
    height: calc(var(--ag-pro-y) * 6.25) !important;
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-tournament-workspace-body::-webkit-scrollbar {
    width: calc(var(--ag-pro-x) * 1.35);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-tournament-workspace-body::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(53, 39, 30, 0.38);
  }

  body.ag-mobile-app-page-tournament.ag-touch-unified:not(.ag-device-small).ag-tournament-management-active.ag-pairings-pane-active .ag-tournament-workspace-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #f2b457, #b76620);
  }

  body.pro-tournament-page.ag-touch-unified.ag-tournament-management-active .ag-management-pane--pairings.is-active [data-pairings-list]:not(.is-multi-elimination-flow),
  body.ag-mobile-app-page-tournament.ag-touch-unified.ag-tournament-management-active.ag-pairings-pane-active .ag-management-pane[data-management-pane="pairings"] [data-pairings-list]:not(.is-multi-elimination-flow) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: auto visible !important;
    overflow-x: scroll !important;
    overflow-y: visible !important;
    overscroll-behavior-x: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified.ag-tournament-management-active .ag-management-pane--pairings.is-active [data-pairings-list]:not(.is-multi-elimination-flow) .ag-bracket-tree:not(.ag-bracket-tree--multi),
  body.ag-mobile-app-page-tournament.ag-touch-unified.ag-tournament-management-active.ag-pairings-pane-active .ag-management-pane[data-management-pane="pairings"] [data-pairings-list]:not(.is-multi-elimination-flow) .ag-bracket-tree:not(.ag-bracket-tree--multi) {
    width: max-content !important;
    max-width: none !important;
    min-width: max-content !important;
    transform: translateZ(0);
    touch-action: pan-x pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified.ag-tournament-management-active .ag-management-pane--pairings.is-active [data-pairings-list]:not(.is-multi-elimination-flow) :is(.ag-bracket-round, .ag-round-card, .ag-match-row),
  body.ag-mobile-app-page-tournament.ag-touch-unified.ag-tournament-management-active.ag-pairings-pane-active .ag-management-pane[data-management-pane="pairings"] [data-pairings-list]:not(.is-multi-elimination-flow) :is(.ag-bracket-round, .ag-round-card, .ag-match-row) {
    touch-action: pan-x pan-y !important;
  }

  body.pro-tournament-page.ag-touch-unified.ag-tournament-management-active .ag-management-pane--pairings.is-active [data-pairings-list]:not(.is-multi-elimination-flow).is-pinch-zooming,
  body.ag-mobile-app-page-tournament.ag-touch-unified.ag-tournament-management-active.ag-pairings-pane-active .ag-management-pane[data-management-pane="pairings"] [data-pairings-list]:not(.is-multi-elimination-flow).is-pinch-zooming {
    scroll-behavior: auto !important;
    touch-action: none !important;
    user-select: none !important;
  }

  @keyframes ag-touch-dock-light-sweep {
    0%, 100% {
      opacity: 0.42;
      transform: scaleX(0.62);
    }

    48%, 58% {
      opacity: 0.88;
      transform: scaleX(1);
    }
  }

  @keyframes ag-touch-dock-contour-flow {
    to {
      stroke-dashoffset: -248;
    }
  }

  @keyframes ag-touch-dock-icon-orbit {
    to {
      transform: rotate(360deg);
    }
  }

  @keyframes ag-touch-dock-live-pulse {
    0%, 100% {
      box-shadow:
        0 0 0 calc(var(--ag-touch-u) * 0.36) rgba(21, 31, 27, 0.78),
        0 0 calc(var(--ag-touch-u) * 1.1) rgba(85, 223, 134, 0.58);
    }

    50% {
      box-shadow:
        0 0 0 calc(var(--ag-touch-u) * 0.36) rgba(21, 31, 27, 0.78),
        0 0 calc(var(--ag-touch-u) * 2.0) rgba(85, 223, 134, 0.94);
    }
  }

  @keyframes ag-touch-dock-badge-pulse {
    0%, 100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.08);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mobile-dock,
    body.ag-touch-unified:not(.ag-device-small) .ag-lobby-mobile-dock::after,
    body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-item,
    body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-icon,
    body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-icon::after,
    body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-shape-outline__shine,
    body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-chat-live,
    body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-count-badge,
    body.ag-touch-unified:not(.ag-device-small) .ag-lobby-dock-chat-badge {
      animation: none !important;
      transition: none !important;
    }
  }
}
