/* Member page migration: keep oldSite generated controls usable inside pcWeb chrome. */
body.member-old-page.bxfPurple {
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 28rem),
    linear-gradient(180deg, #fff 0, var(--pc-surface) 18rem);
  color: var(--pc-ink);
}

.member-legacy-shell {
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #46036f;
  color: yellow;
  box-shadow: var(--pc-shadow);
  overflow: hidden;
}

.member-legacy-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 0, 0.32);
  background: rgba(0, 0, 0, 0.18);
}

.member-legacy-toolbar h1 {
  color: #fff3a6;
}

.pz-club-join-dlg {
  background: #46036f;
  color: yellow;
}

.pz-club-join-dlg .modal-header {
  background: #000;
  border-bottom-color: yellowgreen;
}

.pz-club-join-dlg .modal-title {
  color: #fff3a6;
}

.pz-club-join-dlg .modal-body {
  background: #46036f;
}

.pz-club-join-dlg .form-label {
  color: yellowgreen;
  font-weight: 700;
}

.pz-club-join-close {
  min-width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid yellowgreen;
  border-radius: 50%;
  color: yellowgreen;
  background: #160022;
  font-weight: 800;
  line-height: 1;
}

.pz-club-join-close:hover,
.pz-club-join-close:focus {
  color: #fff3a6;
  border-color: #fff3a6;
  background: #2b0042;
}
.member-legacy-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
}

.member-legacy-actions .bfxChkbx {
  margin-top: 0;
}

#adm-div-switch .form-select {
  min-width: 8.5rem;
}

.member-legacy-body {
  padding: 1rem;
  min-height: 28rem;
}

.member-legacy-body a {
  color: #9edcff;
}

.member-legacy-body hr {
  opacity: 1;
}

.member-legacy-body .table {
  --bs-table-color: #172033;
  --bs-table-bg: #fff;
  --bs-table-striped-bg: #eef4ff;
  --bs-table-hover-bg: #dcecff;
}

.member-legacy-body .input-group-prepend,
.member-legacy-body .input-group-append,
.bxfDlg2 .input-group-prepend,
.bxfDlg2 .input-group-append {
  display: flex;
}

.member-legacy-body .input-group-prepend .input-group-text,
.member-legacy-body .input-group-append .input-group-text,
.bxfDlg2 .input-group-prepend .input-group-text,
.bxfDlg2 .input-group-append .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.member-legacy-body .glyphicon {
  display: inline-block;
  min-width: 1em;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}


.member-legacy-body .pzIcon-plus,
.member-legacy-body .pzIcon-minus {
  display: inline-block;
  width: 1.35rem;
  height: 1.35rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: -0.2em;
}

.member-legacy-body .pzIcon-plus {
  background-image: url('/xp/assets/images/icon16/plus24.png');
}

.member-legacy-body .pzIcon-minus {
  background-image: url('/xp/assets/images/icon16/minus24.png');
}

.member-legacy-body .glyphicon-plus::before { content: '+'; }
.member-legacy-body .glyphicon-minus::before { content: '-'; }
.member-legacy-body .glyphicon-refresh::before { content: 'R'; }
.member-legacy-body .glyphicon-remove::before { content: 'x'; }
.member-legacy-body .glyphicon-pencil::before { content: 'E'; }
.member-legacy-body .glyphicon-trash::before { content: 'D'; }
.member-legacy-body .glyphicon-play::before { content: '>'; }
.member-legacy-body .glyphicon-question-sign::before { content: '?'; }
.member-legacy-body .glyphicon-search {
  position: relative;
  width: 1em;
  height: 1em;
}
.member-legacy-body .glyphicon-search::before {
  content: '';
  position: absolute;
  left: 0.12em;
  top: 0.08em;
  width: 0.58em;
  height: 0.58em;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.member-legacy-body .glyphicon-search::after {
  content: '';
  position: absolute;
  left: 0.64em;
  top: 0.66em;
  width: 0.42em;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
.member-legacy-body .bfxGridFilterBtn {
  min-width: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.member-legacy-body .bfxGridFilterBtn:hover,
.member-legacy-body .bfxGridFilterBtn:focus {
  color: #fff;
  background-color: #5c636a;
  border-color: #565e64;
}

.glList {}
.glListbxfHdr { width: 100%; display: flex; justify-content: space-between; margin: 7px 0; }
.glHdr { width: 100%; display: flex; justify-content: space-between; margin: 7px 0; }
.glHdrL { display: flex; flex-direction: row; width: auto; gap: 7px; }
.glHdrR { display: flex; flex-direction: row; width: auto; gap: 7px; }
.glBodyxx { width: 100%; display: flex; flex-direction: row; margin: 0; }
.glBodyLxx { display: flex; flex-direction: column; width: auto; gap: 7px; }
.glBody { width: 100%; margin: 0; }
.glBodyR { width: auto; margin: 3px; }
.glBodyRx { display: flex; flex-direction: column; width: auto; gap: 7px; }

.vidBox { background: #444; padding: 0; width: 640px; height: 400px; min-height: 400px; position: relative; }
.vidBoxX2 { background: #444; padding: 0; width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.vidBoxX3 { background: #444; padding: 0; width: 960px; height: 600px; min-height: 600px; position: relative; }

.divGame { text-align: center; padding-top: 5px; width: 110px; float: left; height: 167px; }
.divGameRes { text-align: center; padding-top: 5px; width: 100px; float: left; height: 167px; }
.divClub { text-align: center; padding-top: 5px; width: 100%; max-width: 370px; float: left; min-height: 154px; margin: 0 12px 14px 0; }
.clubPic { width: 100%; max-width: 360px; aspect-ratio: 60 / 19; height: auto; object-fit: cover; display: block; margin: 0 auto; }
@media (min-width: 768px) {
  .divClub { width: calc(50% - 12px); max-width: none; margin: 0 24px 16px 0; }
  .divClub:nth-child(2n) { margin-right: 0; }
  .clubPic { max-width: 100%; }
}
@media (min-width: 1100px) {
  .divClub { width: 370px; max-width: 370px; margin: 0 24px 16px 0; }
  .divClub:nth-child(2n) { margin-right: 24px; }
  .clubPic { max-width: 360px; }
}
.clubName { font-weight: bold; }
.clubYear { color: grey; float: right; font-size: 11px; }
.labelX { text-align: left; padding-left: 5px; padding-right: 5px; font-size: 12px; line-height: 12px; position: relative; margin-top: 5px; }
.myBtn2 { position: absolute; top: -22px; left: 84px; z-index: 100; padding: 1px 4px; color: white; vertical-align: middle; outline: none; width: 24px; text-align: center; font-size: .9em; }
.myBtn2:focus { outline: none; box-shadow: none; }
.myBtn1 { position: absolute; top: -114px; left: 0; z-index: 100; padding: 1px 4px; color: white; vertical-align: middle; outline: none; width: 30px; text-align: center; }
.myBtn1:focus { outline: none; box-shadow: none; }
.labelX > tag:hover { display: block; }
.gameName { font-weight: bold; }
.gameMeta { display: flex; align-items: baseline; justify-content: space-between; gap: 0.35rem; color: grey; font-size: 11px; }
.gameMfr { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gameYear { flex: 0 0 auto; }
.gameTarget { color: grey; float: right; font-size: 11px; }
.divGame .pp-frame-blue:hover { box-shadow: 0 0 15px rgb(185, 87, 87); border: 2px solid #ce1717; }
.divEnd { clear: both; }
#dContent { display: flex; flex-direction: column; }

@media (max-width: 767.98px) {
  .member-legacy-toolbar { align-items: flex-start; flex-direction: column; }
  .member-legacy-actions { justify-content: flex-start; margin-left: 0; }
  .member-legacy-body { padding: 0.75rem; overflow-x: auto; }
  .vidBox, .vidBoxX3 { width: 100%; height: 56vw; min-height: 260px; }
}

@media (max-width: 767.98px) {
  body.member-old-page .pc-page,
  body.member-old-page .pc-section {
    padding: 0;
  }

  body.member-old-page .member-legacy-toolbar {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  body.member-old-page .member-legacy-shell {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.member-old-page .member-legacy-body {
    padding: 0;
  }

  body.member-old-page #dTourns.pp-frame-blue {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

body.xpin-memb-page .pc-page {
  width: 100%;
  padding: 0;
}

body.xpin-memb-page .pc-section {
  padding: 0;
}

body.xpin-memb-page .member-legacy-shell {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.xpin-memb-page .member-legacy-body {
  padding: 0;
  min-height: 0;
}
.tourn-page .member-legacy-body {
  min-height: 34rem;
}

.tourn-page #adm-tests .pc-card {
  color: #111827;
}

.tourn-page #adm-tests .form-label,
.tourn-page #adm-tests h2 {
  color: #111827;
}

.tourn-game-wheel {
  min-height: 12rem;
}
.tourn-games-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin: 0 0 0.75rem;
  color: #fff56d;
}

.tourn-games-switch {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.tourn-games-switch .bfxChkbx {
  margin: 0;
}

.tourn-games-body {
  min-height: 12rem;
}

.tourn-game-pic {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.tourn-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
}

.tourn-modal-dialog {
  width: min(28rem, 100%);
  padding: 1rem;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--pc-ink);
}
.tourn-icon-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-height: 36px;
}

.tourn-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.tourn-icon-btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tourn-menu-whl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.tourn-menu-whl > div,
.tourn-menu-whl .bxlkCtl,
.tourn-menu-whl .bxlkCtls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.tourn-menu-whl .myXItem_100 {
  flex: 0 0 auto;
}
.tourn-adm-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
}

.tourn-adm-menu > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}
.tourn-adm-form-title {
  position: relative;
  padding-right: 8.5rem;
}

.tourn-adm-form-title #adm-mode-switch {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.85rem;
}

.tourn-adm-form-title #adm-mode-switch .bfxChkbx {
  margin-top: 0;
}
#tournSettings_Form .bxfRow {
  flex-wrap: wrap;
}

#tournSettings_Form .bxfRow > .input-group,
#tournSettings_Form .bxfRow > .bxfReadonlyLbl {
  flex: 0 1 calc(50% - 0.25rem);
  width: calc(50% - 0.25rem);
  max-width: calc(50% - 0.25rem);
}

@media (max-width: 767.98px) {
  #tournSettings_Form .bxfRow > .input-group,
  #tournSettings_Form .bxfRow > .bxfReadonlyLbl {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
}
.tourn-dashboard {
  display: grid;
  gap: 0.9rem;
  color: #fffbe8;
}

.tourn-dash-banner {
  width: min(700px, 100%);
  min-height: 100px;
  aspect-ratio: 7 / 1;
  border: 1px solid rgba(158, 220, 255, 0.7);
  border-radius: 8px;
  overflow: hidden;
  background-color: #101525;
  background-position: center;
  background-size: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.tourn-dash-banner-shade {
  min-height: 100px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(90deg, rgba(8, 11, 24, 0.68), rgba(8, 11, 24, 0.12));
}

.tourn-dash-title {
  color: #fff56d;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.tourn-dash-controls,
.tourn-dash-status-row,
.tourn-dash-section-head,
.tourn-dash-round-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.tourn-dash-controls {
  justify-content: flex-end;
}

.tourn-dash-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border: 1px solid rgba(158, 220, 255, 0.72);
  border-radius: 8px;
  background: #102136;
}

.tourn-dash-icon-btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tourn-dash-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 245, 109, 0.5);
  border-radius: 8px;
  color: #fff56d;
  background: rgba(20, 34, 54, 0.9);
}

.tourn-dash-status-row {
  justify-content: flex-start;
}

.tourn-dash-status,
.tourn-dash-tag {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.tourn-dash-status {
  border: 1px solid rgba(255, 245, 109, 0.7);
  color: #171a24;
  background: #fff56d;
}

.tourn-dash-status:disabled {
  opacity: 1;
}

.tourn-dash-tag {
  border: 1px solid rgba(158, 220, 255, 0.75);
  color: #d7f4ff;
  background: #102136;
}

.tourn-dash-status-select {
  max-width: 12rem;
}

.tourn-dash-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 0.65rem;
}

.tourn-dash-metric {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 0.55rem;
  border: 1px solid rgba(158, 220, 255, 0.62);
  border-radius: 8px;
  color: #fff;
  background: #102136;
  text-align: center;
}

.tourn-dash-metric:hover,
.tourn-dash-icon-btn:hover {
  border-color: #fff56d;
  background: #173552;
}

.tourn-dash-metric span {
  color: #9edcff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tourn-dash-metric strong {
  color: #fff56d;
  font-size: 1.7rem;
  line-height: 1;
}

.tourn-dash-rounds {
  padding: 0.9rem;
  border: 1px solid rgba(158, 220, 255, 0.42);
  border-radius: 8px;
  background: rgba(8, 11, 24, 0.32);
}

.tourn-dash-section-head {
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.tourn-dash-section-title {
  color: #fff56d;
  font-size: 1.05rem;
  font-weight: 800;
}

.tourn-dash-active-round {
  color: #d7f4ff;
  font-size: 0.92rem;
}

.tourn-dash-round-table th,
.tourn-dash-round-table td {
  white-space: nowrap;
}

.tourn-dash-round-table tbody tr {
    cursor: pointer;
}

.tourn-dash-round-icon {
    width: 20px;
    height: 20px;
    margin-left: 6px;
    vertical-align: -4px;
}

.tourn-dash-empty {
  padding: 1rem;
  border: 1px solid rgba(255, 245, 109, 0.55);
  border-radius: 8px;
  color: #fff56d;
  background: rgba(8, 11, 24, 0.32);
}

@media (max-width: 767.98px) {
  .tourn-dash-controls {
    justify-content: flex-start;
  }

  .tourn-dash-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tourn-dash-metric strong {
    font-size: 1.4rem;
  }
}

#addPlayersTpTop {
  align-items: center;
}

#addPlayersTpTop .bxfRow:first-child {
  flex: 0 0 auto;
}

#addPlayersTpSummary {
  align-self: center;
  min-width: 220px;
  gap: 2px;
}

.addp-player-summary-name {
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.35rem 0;
}

.addp-player-summary-line {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0;
}

#addPlayersTpEdit .bxfRow {
  max-width: 100%;
}

.addp-player-summary-id {
  font-size: 0.6rem;
  line-height: 1.2;
  margin: 0;
}

#addPlayersTpEdit .input-group-text {
  width: 70px;
  justify-content: flex-start;
}

#addPlayersTpEdit .bxfPreLabel {
  min-width: 70px;
}

.addp-select-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1;
}

.addp-select-all-btn:not(:disabled) {
  cursor: pointer;
}

.addp-select-all-btn:disabled {
  opacity: 0.35;
}

