:root {
  color-scheme: light;
  --pc-border: #dfe5ef;
  --pc-muted: #687386;
  --pc-ink: #142033;
  --pc-surface: #f5f7fb;
  --pc-accent: #0d6efd;
  --pc-sidebar-width: 268px;
  --pc-sidebar-rail: 76px;
  --pc-shadow: 0 18px 45px rgba(20, 32, 51, 0.12);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  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);
}

.pc-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: 62px;
  border-bottom: 1px solid var(--pc-border);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.pc-brand {
  color: var(--pc-ink);
}

.pc-brand-mark {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(13, 110, 253, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, #eaf1ff, #fff);
  color: #0a58ca;
  font-weight: 700;
  box-shadow: inset 0 -1px 0 rgba(13, 110, 253, 0.12);
}

.pc-layout {
  display: block;
}

.pc-sidebar {
  display: none;
}

.pc-main {
  min-width: 0;
}

.pc-page {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 1.25rem;
}

.pc-section {
  padding: 1.25rem 0;
}

.pc-card {
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.pc-auth-card {
  max-width: 440px;
  margin: 0 auto;
}

.pc-muted {
  color: var(--pc-muted);
}

.pc-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.05rem;
  padding: 0.58rem 0.7rem;
  border-radius: 8px;
  color: #334057;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.pc-nav-link:hover,
.pc-nav-link:focus {
  background: #f0f5ff;
  color: #0a58ca;
  transform: translateX(2px);
}

.pc-nav-link.active {
  background: linear-gradient(135deg, #0d6efd, #245bd8);
  color: #6f42c1;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.22);
}

.pc-nav-link.active::before {
  position: absolute;
  left: -0.65rem;
  width: 0.25rem;
  height: 1.65rem;
  border-radius: 999px;
  background: #0d6efd;
  content: "";
}

.pc-nav-section {
  margin: 1.2rem 0 0.45rem;
  padding: 0 0.7rem;
  color: var(--pc-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pc-icon {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(13, 110, 253, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #0a58ca;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  flex: 0 0 auto;
}

.pc-nav-link.active .pc-icon {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  --bs-btn-color: #6f42c1;
  color: #6f42c1;
}

.pc-nav-copy {
  display: grid;
  min-width: 0;
}

.pc-nav-label {
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.pc-nav-description {
  color: var(--pc-muted);
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
}

.pc-nav-link.active .pc-nav-description {
  color: rgba(255, 255, 255, 0.78);
}

.pc-mobile-menu .offcanvas-body {
  padding-top: 0.5rem;
}

.pc-mobile-menu {
  --bs-offcanvas-width: min(88vw, 330px);
}

.pc-mobile-menu .offcanvas-header {
  border-bottom: 1px solid var(--pc-border);
}

.pc-menu-subtitle {
  color: var(--pc-muted);
  font-size: 0.82rem;
}

.pc-menu-button {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
}

.pc-menu-button span {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: #263247;
}

.pc-menu-button span + span {
  margin-top: 3px;
}

.pc-menu-pin {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
  color: #344055;
  font-weight: 800;
}

.pc-pin-icon {
  position: relative;
  display: inline-block;
  width: 0.95rem;
  height: 0.95rem;
  transform: rotate(-28deg);
}

.pc-pin-icon::before {
  position: absolute;
  top: 0.05rem;
  left: 0.3rem;
  width: 0.35rem;
  height: 0.62rem;
  border: 2px solid currentColor;
  border-radius: 0.28rem 0.28rem 0.08rem 0.08rem;
  content: "";
}

.pc-pin-icon::after {
  position: absolute;
  top: 0.67rem;
  left: 0.45rem;
  width: 2px;
  height: 0.35rem;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.pc-menu-pin:hover,
.pc-menu-pin:focus {
  border-color: rgba(13, 110, 253, 0.42);
  color: #0a58ca;
}

.pc-menu-pin.is-pinned {
  border-color: rgba(13, 110, 253, 0.42);
  background: #eaf1ff;
  color: #0a58ca;
}

.pc-user-button {
  display: inline-flex;
  align-items: center;
  max-width: min(36vw, 280px);
  gap: 0.45rem;
  border: 1px solid var(--pc-border);
  background: #fff;
  color: #263247;
}

.pc-user-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-user-dot,
.pc-status-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #23a36d;
  box-shadow: 0 0 0 3px rgba(35, 163, 109, 0.12);
}

.pc-account-menu {
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  box-shadow: var(--pc-shadow);
}

.pc-footer {
  color: var(--pc-muted);
  font-size: 0.875rem;
}

.pc-sidebar-panel {
  margin-bottom: 1rem;
  padding: 0.9rem;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #edf4ff);
}

.pc-sidebar-kicker {
  color: var(--pc-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pc-sidebar-title {
  margin-top: 0.2rem;
  font-weight: 800;
  white-space: nowrap;
}

.pc-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.75rem;
  color: var(--pc-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .pc-layout {
    display: grid;
    grid-template-columns: var(--pc-sidebar-width) minmax(0, 1fr);
    transition: grid-template-columns 180ms ease;
  }

  body.pc-menu-autohide .pc-layout {
    grid-template-columns: var(--pc-sidebar-rail) minmax(0, 1fr);
  }

  .pc-sidebar {
    position: sticky;
    top: 62px;
    z-index: 1020;
    display: block;
    width: var(--pc-sidebar-width);
    height: calc(100vh - 62px);
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--pc-border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    padding: 1rem;
    transition: width 180ms ease, box-shadow 180ms ease;
  }

  body.pc-menu-autohide .pc-sidebar {
    width: var(--pc-sidebar-rail);
  }

  body.pc-menu-autohide .pc-sidebar:hover,
  body.pc-menu-autohide .pc-sidebar:focus-within {
    width: var(--pc-sidebar-width);
    box-shadow: var(--pc-shadow);
  }

  body.pc-menu-autohide .pc-sidebar:not(:hover):not(:focus-within) .pc-nav-copy,
  body.pc-menu-autohide .pc-sidebar:not(:hover):not(:focus-within) .pc-sidebar-footer {
    opacity: 0;
    pointer-events: none;
  }

  body.pc-menu-autohide .pc-sidebar:not(:hover):not(:focus-within) .pc-nav-section,
  body.pc-menu-autohide .pc-sidebar:not(:hover):not(:focus-within) .pc-sidebar-panel,
  body.pc-menu-autohide .pc-sidebar:not(:hover):not(:focus-within) .pc-sidebar-footer {
    display: none;
  }

  body.pc-menu-autohide .pc-sidebar:not(:hover):not(:focus-within) .pc-nav-link {
    justify-content: center;
    padding-right: 0.55rem;
    padding-left: 0.55rem;
  }

  body.pc-menu-autohide .pc-sidebar:not(:hover):not(:focus-within) .pc-nav-link.active::before {
    left: -0.45rem;
  }

  .pc-menu-pin {
    display: inline-grid;
  }

  .pc-page {
    padding: 2rem;
  }
}
.game-tips-icon {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #fff;
}

.game-tips-playfield {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #111827;
}

.game-tips-playfield img {
  display: block;
  width: 100%;
  height: auto;
}

.game-tips-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.game-tips-mark {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  border-style: solid;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
  transform-origin: center;
}

.game-tips-mark span {
  padding: 0.1rem;
}

.game-tip-card {
  overflow-wrap: anywhere;
}

/* Drawer-first navigation: no pinned desktop sidebar. */
.pc-layout {
  display: block;
}

.pc-sidebar,
.pc-sidebar[hidden] {
  display: none !important;
}

.pc-topbar {
  gap: 0.5rem;
}

.pc-brand-name {
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.75rem;
}

.pc-sign-in-button {
  min-width: 4.75rem;
  border-radius: 6px;
  font-weight: 700;
}

.pc-member-button {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  background-image: url('/xp/assets/images/icon/pop_bump_blue50.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

.pc-member-button:hover,
.pc-member-button:focus {
  --bs-btn-color: #0d6efd;
  background-color: transparent;
  background-image: url('/xp/assets/images/icon/pop_bump_blue50.png');
  color: #0d6efd;
  filter: brightness(1.08);
}

.pc-member-button:active,
.pc-member-button.show {
  --bs-btn-color: #c90000;
  background-color: transparent;
  background-image: url('/xp/assets/images/icon/pop_bump_blue50.png');
  color: #c90000;
}

.pc-member-button span {
  color: inherit;
}

.pc-member-button::after {
  display: none;
}

.pc-member-menu {
  min-width: 10rem;
  border-color: var(--pc-border);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.18);
}

.pc-drawer-account {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  background: #f8fbff;
  color: #263247;
  font-size: 0.9rem;
}

.pc-drawer-account span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-mobile-menu {
  --bs-offcanvas-width: min(88vw, 340px);
}

.pc-menu-pin {
  display: none !important;
}

@media (min-width: 992px) {
  .pc-layout {
    display: block;
  }

  body.pc-menu-autohide .pc-layout {
    display: block;
  }

  .pc-sidebar,
  body.pc-menu-autohide .pc-sidebar,
  body.pc-menu-autohide .pc-sidebar:hover,
  body.pc-menu-autohide .pc-sidebar:focus-within {
    display: none !important;
    width: 0;
    box-shadow: none;
  }

  .pc-page {
    padding: 2rem;
  }
}

@media (max-width: 575.98px) {
  .pc-topbar {
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
  }

  .pc-brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .pc-brand-name {
    display: none;
  }

  .pc-top-actions {
    gap: 0.3rem;
    margin-left: 0.4rem;
  }

  .pc-member-button,
  .pc-menu-button {
    width: 2.1rem;
    height: 2.1rem;
  }
}
.pc-club-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pc-club-logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  max-height: 140px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}
.pc-club-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}
.pc-event-banner-wrap {
  overflow: hidden;
  border-radius: 8px;
  background: #f8fbff;
}

.pc-event-banner {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.pc-event-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pc-event-info {
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .pc-event-heading {
    flex-direction: column;
  }
}
