.club-hero::before {
  background:
    linear-gradient(120deg, rgba(7, 6, 5, 0.95) 16%, rgba(7, 6, 5, 0.7) 48%, rgba(7, 6, 5, 0.95) 100%),
    var(--hero-image) center/cover no-repeat;
}

#club-access-panel,
#public-domain-movies,
#movie-studio-game {
  scroll-margin-top: 6rem;
}

.club-intro {
  align-items: stretch;
  gap: 1rem;
}

.club-access-layout {
  padding-top: 0.4rem;
}

.club-access-grid {
  align-items: stretch;
  gap: 1rem;
}

.club-access-note {
  min-height: 100%;
}

.club-access-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.club-note {
  min-height: 100%;
}

.club-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.club-option-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 14, 11, 0.88);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  min-height: 100%;
}

.club-option-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(240, 213, 156, 0.18), rgba(255, 255, 255, 0), rgba(200, 164, 99, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.club-option-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.club-option-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(7, 6, 5, 0), rgba(7, 6, 5, 0.92));
}

.club-option-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.club-option-card:hover .club-option-card__media img {
  transform: scale(1.04);
}

.club-option-card__body {
  display: grid;
  gap: 0.62rem;
  padding: 1rem;
}

.club-option-card__title {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.9vw, 1.95rem);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.club-option-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  text-wrap: pretty;
}

.club-option-card--quiet {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)),
    rgba(15, 12, 10, 0.8);
}

.club-auth-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 1.1rem;
  align-items: center;
  overflow: hidden;
  padding: 1.25rem;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(200, 164, 99, 0.16);
  background:
    linear-gradient(135deg, rgba(200, 164, 99, 0.1), transparent 35%),
    rgba(10, 8, 6, 0.9);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

.club-auth-card--entry {
  min-height: 100%;
}

.club-auth-card h2 {
  margin: 0.6rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.club-auth-card p {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  text-wrap: pretty;
}

.club-auth-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 164, 99, 0.14);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.club-auth-status[data-state="success"],
.club-auth-status[data-state="ready"] {
  color: var(--gold-bright);
  border-color: rgba(240, 213, 156, 0.28);
  background: rgba(200, 164, 99, 0.09);
}

.club-auth-status[data-state="setup"],
.club-auth-status[data-state="warning"] {
  color: #e7c984;
}

.club-auth-status[data-state="error"] {
  color: #ffc8c8;
  border-color: rgba(255, 120, 120, 0.28);
  background: rgba(255, 120, 120, 0.08);
}

.club-auth-card__side {
  display: grid;
  gap: 0.9rem;
}

.club-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.club-auth-actions .button {
  min-width: 9.5rem;
}

.club-auth-actions .button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.club-auth-profile,
.club-auth-setup {
  border-radius: 18px;
  border: 1px solid rgba(200, 164, 99, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.9rem;
}

.club-auth-profile {
  display: grid;
  gap: 0.25rem;
  text-align: right;
}

.club-auth-profile strong {
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.club-auth-profile span:last-child,
.club-auth-setup p {
  color: var(--muted);
  font-size: 0.9rem;
}

.club-auth-surface {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(200, 164, 99, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(12, 10, 8, 0.9);
}

.club-auth-surface[hidden] {
  display: none;
}

.club-auth-surface__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.club-auth-surface__title {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.club-auth-surface__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-wrap: pretty;
}

.club-auth-surface__dismiss {
  flex: none;
  appearance: none;
  padding: 0.72rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 164, 99, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.club-auth-surface__dismiss:hover,
.club-auth-surface__dismiss:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(240, 213, 156, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.club-auth-form {
  display: grid;
  gap: 0.9rem;
}

.club-auth-field {
  display: grid;
  gap: 0.42rem;
}

.club-auth-field span {
  color: var(--gold-bright);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.club-auth-input {
  width: 100%;
  padding: 0.88rem 0.98rem;
  border-radius: 16px;
  border: 1px solid rgba(200, 164, 99, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.club-auth-input::placeholder {
  color: rgba(245, 236, 220, 0.38);
}

.club-auth-input:focus {
  transform: translateY(-1px);
  border-color: rgba(240, 213, 156, 0.38);
  box-shadow: 0 0 0 4px rgba(200, 164, 99, 0.12);
}

.club-auth-input[disabled],
.club-auth-surface__dismiss[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.club-auth-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.club-auth-form__actions .button {
  min-width: 10rem;
}

.club-gate-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(200, 164, 99, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(7, 6, 5, 0.96), rgba(6, 5, 4, 0.98));
  transition: opacity 220ms ease, visibility 220ms ease;
}

.club-gate-screen__panel {
  width: min(32rem, 100%);
  padding: 1.5rem;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(200, 164, 99, 0.16);
  background:
    linear-gradient(135deg, rgba(200, 164, 99, 0.1), transparent 36%),
    rgba(12, 10, 8, 0.94);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.38);
}

.club-gate-screen__panel h2 {
  margin: 0.78rem 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.club-gate-screen__panel p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  text-wrap: pretty;
}

body[data-club-ready="true"] .club-gate-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.club-auth-setup summary {
  cursor: pointer;
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.club-auth-setup code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--gold-bright);
}

.club-library-frame {
  position: relative;
  padding: 0.7rem;
  border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid rgba(200, 164, 99, 0.14);
  background: rgba(12, 10, 8, 0.78);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.club-game-shell {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 8px);
  border: 1px solid rgba(200, 164, 99, 0.16);
  background: rgba(10, 8, 6, 0.92);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.club-game-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(240, 213, 156, 0.16), rgba(255, 255, 255, 0), rgba(200, 164, 99, 0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.club-game-shell__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1.1rem 1.1rem 0.9rem;
  border-bottom: 1px solid rgba(200, 164, 99, 0.12);
}

.club-game-shell__title {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.club-game-shell__text,
.club-game-note {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-wrap: pretty;
}

.club-game-frame {
  position: relative;
  min-height: 74vh;
  height: clamp(42rem, 78vh, 56rem);
  background: #050505;
}

.club-game-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #050505;
}

.club-game-note {
  padding: 0.9rem 1.1rem 1.1rem;
  border-top: 1px solid rgba(200, 164, 99, 0.1);
}

.club-game-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  color: var(--gold-bright);
}

#pd-library {
  position: relative;
  overflow: hidden;
  padding: 0.95rem;
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(200, 164, 99, 0.14);
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.98), rgba(6, 5, 4, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

#pd-library::before {
  content: none;
}

#pd-library::after {
  content: none;
}

@keyframes clubSweep {
  0% {
    transform: translateX(-50%);
  }

  55% {
    transform: translateX(45%);
  }

  100% {
    transform: translateX(45%);
    opacity: 0.06;
  }
}

.pd-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.pd-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.7vw, 2.6rem);
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.pd-title::after {
  content: "";
  display: block;
  width: min(24rem, 70vw);
  height: 1px;
  margin-top: 0.55rem;
  background: linear-gradient(90deg, rgba(240, 213, 156, 0.45), rgba(240, 213, 156, 0.06), transparent);
}

.pd-sub {
  margin: 0.6rem 0 0;
  max-width: 52rem;
  color: var(--muted);
  font-size: 0.93rem;
  text-wrap: pretty;
}

.pd-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pd-input,
.pd-mini,
.pd-x,
.pd-primary,
.pd-ghost,
.pd-btn {
  font: inherit;
}

.pd-input {
  min-width: 18rem;
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(200, 164, 99, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pd-input::placeholder {
  color: rgba(245, 236, 220, 0.4);
}

.pd-input:focus {
  transform: translateY(-1px);
  border-color: rgba(240, 213, 156, 0.45);
  box-shadow: 0 0 0 4px rgba(200, 164, 99, 0.12);
}

.pd-pill,
.pd-mini,
.pd-btn,
.pd-primary,
.pd-ghost,
.pd-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(200, 164, 99, 0.2);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.pd-pill {
  padding: 0.7rem 0.95rem;
  background: rgba(200, 164, 99, 0.1);
  color: var(--gold-bright);
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pd-mini,
.pd-x,
.pd-primary,
.pd-ghost {
  appearance: none;
  cursor: pointer;
  padding: 0.78rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pd-mini:hover,
.pd-x:hover,
.pd-primary:hover,
.pd-ghost:hover,
.pd-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 213, 156, 0.42);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.pd-mini[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.pd-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.pd-card,
.pd-skeleton {
  min-width: 0;
  border-radius: calc(var(--radius-lg) - 4px);
}

.pd-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 14, 11, 0.9);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
}

.pd-card::before {
  content: none;
}

.pd-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 213, 156, 0.18);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.3);
}

.pd-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(240, 213, 156, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.pd-poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0), rgba(10, 8, 6, 0.92));
}

.pd-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.pd-card:hover .pd-poster img {
  transform: scale(1.03);
  filter: saturate(1.02);
}

.pd-body {
  display: grid;
  gap: 0.72rem;
  padding: 0.92rem;
  flex: 1;
}

.pd-movie-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.pd-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pd-dot {
  opacity: 0.5;
}

.pd-overview {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(245, 236, 220, 0.86);
  font-size: 0.86rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: pretty;
}

.pd-credits {
  display: grid;
  gap: 0.45rem;
  font-size: 0.78rem;
}

.pd-credits b {
  color: var(--gold-bright);
  font-weight: 600;
}

.pd-credits span {
  color: rgba(245, 236, 220, 0.82);
}

.pd-actions {
  margin-top: auto;
  display: flex;
  gap: 0.65rem;
}

.pd-btn {
  appearance: none;
  cursor: pointer;
  flex: 1;
  padding: 0.82rem 0.95rem;
  background: rgba(200, 164, 99, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pd-btn.secondary {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.04);
}

.pd-btn.disabled {
  cursor: not-allowed;
  opacity: 0.62;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  transform: none;
}

.pd-pop {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  color: rgba(245, 236, 220, 0.72);
}

.pd-popbar {
  flex: 1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(200, 164, 99, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.pd-popfill {
  height: 100%;
  background: linear-gradient(90deg, rgba(200, 164, 99, 0.55), rgba(240, 213, 156, 0.95), rgba(200, 164, 99, 0.58));
  transition: width 360ms ease;
}

.pd-popnum {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.pd-pager {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(200, 164, 99, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

.pd-pager-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.pd-pager-info {
  color: rgba(245, 236, 220, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pd-error {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 110, 110, 0.28);
  background: rgba(255, 110, 110, 0.08);
  color: rgba(255, 228, 228, 0.94);
  font-size: 0.9rem;
}

.pd-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(200, 164, 99, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 236, 220, 0.88);
}

.pd-empty strong {
  color: var(--gold-bright);
  font-size: 1rem;
}

.pd-skeleton {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border: 1px solid rgba(200, 164, 99, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.pd-skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(240, 213, 156, 0.08), rgba(255, 255, 255, 0.06), rgba(240, 213, 156, 0.08), transparent);
  transform: translateX(-100%);
  animation: pdShimmer 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) infinite;
}

@keyframes pdShimmer {
  100% {
    transform: translateX(100%);
  }
}

.pd-modal,
.pd-player-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.pd-modal.open,
.pd-player-modal.open {
  display: flex;
}

.pd-panel,
.pd-player-panel {
  width: min(70rem, 100%);
  border-radius: 26px;
  border: 1px solid rgba(200, 164, 99, 0.18);
  background:
    radial-gradient(circle at top left, rgba(200, 164, 99, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 12, 10, 0.98), rgba(8, 7, 6, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.pd-panel {
  max-height: min(80vh, 48rem);
  overflow: auto;
  padding: 1rem;
}

.pd-panel-top,
.pd-player-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(200, 164, 99, 0.12);
}

.pd-panel h3,
.pd-player-title {
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pd-fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.pd-box {
  border-radius: 22px;
  border: 1px solid rgba(200, 164, 99, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.pd-box h4 {
  margin: 0 0 0.8rem;
  color: var(--gold-bright);
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pd-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.pd-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 236, 220, 0.9);
  font-size: 0.83rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pd-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 213, 156, 0.2);
  background: rgba(200, 164, 99, 0.06);
}

.pd-chip input {
  accent-color: var(--gold);
}

.pd-actions-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pd-player-panel {
  overflow: hidden;
}

.pd-player-top {
  padding: 0.95rem 1rem;
}

.pd-player-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-player-actions {
  display: flex;
  gap: 0.55rem;
}

.pd-player-framewrap {
  aspect-ratio: 16 / 9;
  background: #000;
}

.pd-player-framewrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1180px) {
  .pd-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .club-access-showcase,
  .club-options {
    grid-template-columns: 1fr;
  }

  .club-auth-card {
    grid-template-columns: 1fr;
  }

  .club-auth-actions {
    justify-content: flex-start;
  }

  .club-auth-profile {
    text-align: left;
  }

  .club-auth-surface__top {
    display: grid;
  }

  .club-game-shell__top {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .pd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-fgrid,
  .pd-checks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #pd-library,
  .club-library-frame {
    padding: 0.8rem;
  }

  .club-auth-surface__dismiss,
  .club-auth-form__actions .button {
    width: 100%;
  }

  .club-game-shell__top,
  .club-game-note {
    padding-inline: 0.85rem;
  }

  .club-game-frame {
    min-height: 68vh;
    height: 72vh;
  }

  .pd-input {
    min-width: 0;
    width: 100%;
  }

  .pd-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .pd-pager {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pd-library::after,
  .pd-card,
  .pd-skeleton::before {
    animation: none !important;
  }

  .pd-card {
    opacity: 1;
    transform: none;
  }
}
