/**
 * Venue Passes gallery — intentionally scoped CSS to avoid changing
 * existing Trophy Cabinet and Account page selectors.
 */
.pg-venues { width: 100%; }
.pg-venues__heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; }
.pg-venues__heading h2 { margin: 0; }
.pg-venues__heading p { margin: 0; font-weight: 600; }
.pg-venues__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin-top: 1rem; }
.pg-venues__card { display: flex; flex-direction: column; gap: .5rem; padding: .85rem; border: 1px solid rgba(125,125,125,.35); border-radius: .85rem; background: rgba(255,255,255,.92); color: #202020; }
.pg-venues__thumbnail { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .55rem; background: linear-gradient(135deg, #364455, #7e8c9f); }
.pg-venues__thumbnail.is-missing { visibility: hidden; }
.pg-venues__card.is-locked .pg-venues__thumbnail { filter: grayscale(75%) blur(4px); opacity: .70; }
.pg-venues__card h3 { font-size: 1rem; line-height: 1.25; margin: .25rem 0 0; }
.pg-venues__card p { margin: 0; line-height: 1.4; }
.pg-venues__credit { font-size: .78rem; color: #555; }
.pg-venues__links { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .8rem; }
.pg-venues__links a { color: #145b89; text-decoration: underline; }
.pg-venues__action { margin-top: auto; min-height: 40px; padding: .6rem; border: 0; border-radius: .5rem; background: #245f48; color: #fff; font-weight: 600; cursor: pointer; }
.pg-venues__action:disabled { background: #e2e4e7; color: #58636d; cursor: default; }
.pg-venues__action:focus-visible { outline: 3px solid #db8b18; outline-offset: 3px; }
@media (max-width: 560px) { .pg-venues__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; } .pg-venues__card { padding: .6rem; } }

/* Milestones are displayed without adding badges to the existing cabinet. */
.pg-venue-page > section { margin: 0 0 24px; }
.pg-venue-page section h1 { margin-bottom: 16px; }
.pg-venue-page #venueStatus { min-height: 1.4em; font-weight: 500; }
.pg-venue-page #venueMilestones { display: grid; gap: 8px; }
.pg-venue-milestone { display: flex; align-items: center; gap: 12px; padding: 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; background: rgba(0,0,0,.2); }
.pg-venue-milestone__glyph { font-size: 1.3rem; min-width: 30px; color: #e5d79e; }
.pg-venue-milestone.is-earned { border-color: #b8aa7d; }
.pg-venue-milestone > div { flex: 1; min-width: 0; }
.pg-venue-milestone strong, .pg-venue-milestone small { display: block; }
.pg-venue-milestone small { color: #d3d0cb; font-size: .77rem; }
.pg-venue-milestone > span:last-child { font-size: .8rem; white-space: nowrap; }

/* v0.33.15 — My Venues is a first-class Account section, below trophies. */
.account-venues {
  scroll-margin-top: 1.25rem;
  width: 100%;
  margin: 1.5rem 0 2rem;
}
.account-venues > p:not(.eyebrow) { max-width: 66rem; }
.account-venues .pg-venues { margin-top: .8rem; }
.account-venues .pg-venues__heading h2 { font-size: 1.25rem; }
.account-venues .pg-venues__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.account-venue-milestones { margin: 1.5rem 0 .5rem; }
.account-venue-milestones summary { cursor: pointer; font-weight: 600; }
.account-venue-milestones #venueMilestones { display: grid; gap: .6rem; margin-top: .75rem; }
.account-venues .pg-venue-milestone { background: rgba(0,0,0,.45); }
@media (max-width: 560px) {
  .account-venues .pg-venues__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-venues .pg-venues__card { min-width: 0; }
}

/* -------------------------------------------------------------------------
 * v0.33.16 — Optional sharing of server-confirmed concert-hall unlocks.
 * These selectors are scoped to My Venues. No styles from the musical game,
 * Trophy Cabinet, shared navigation or photo renderer are overridden.
 * ------------------------------------------------------------------------- */
.pg-venues__share,
.pg-venues__share-action,
.pg-venues__revoke {
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  border-radius: .5rem;
  min-height: 40px;
  padding: .55rem .75rem;
}
.pg-venues__share {
  margin-top: -.2rem;
  color: #214e70;
  border: 1px solid #95b4c8;
  background: #eef6fc;
}
.pg-venue-share-panel {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 2px solid #e1c58c;
  border-radius: 1rem;
  background: rgba(12, 25, 32, .94);
  color: #f9efdc;
  max-width: 780px;
}
.pg-venue-share-panel[hidden] { display: none !important; }
.pg-venue-share__eyebrow {
  letter-spacing: .13em;
  font-weight: 700;
  font-size: .78rem;
  color: #f3c980;
}
.pg-venue-share-panel h3 { margin: .4rem 0; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.pg-venue-share__photo {
  display: block;
  width: 100%;
  max-height: 270px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: .6rem;
  margin: .9rem 0;
}
.pg-venue-share__privacy { font-size: .85rem; color: #ded9cf; line-height: 1.45; }
.pg-venue-share__actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.pg-venues__share-action { border: 1px solid #d7bd8e; background: #f0dfc3; color: #202e35; }
.pg-venues__share-facebook { border-color: #2055a2; background: #2260b7; color: #fff; }
.pg-venues__share-select { border-color: #448a6f; background: #267054; color: #fff; }
.pg-venues__share-dismiss { background: transparent; color: #fff1d9; }
.pg-venues__share:focus-visible,
.pg-venues__share-action:focus-visible,
.pg-venues__revoke:focus-visible { outline: 3px solid #e1ad35; outline-offset: 3px; }
.pg-venues__share:disabled,
.pg-venues__share-action:disabled,
.pg-venues__revoke:disabled { cursor: progress; opacity: .65; }
.pg-venue-public-links { margin: 1rem 0; }
.pg-venue-public-links > summary { cursor: pointer; font-weight: 600; }
#venuePublicLinks { display: grid; gap: .5rem; margin: .75rem 0; }
.pg-venue-link { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .6rem; border: 1px solid rgba(200,200,200,.3); border-radius: .5rem; }
.pg-venue-link strong, .pg-venue-link a { display: block; overflow-wrap: anywhere; }
.pg-venue-link a { margin-top: .3rem; }
.pg-venues__revoke { background: #ffebe9; border: 1px solid #a4534c; color: #802f28; }
@media (max-width: 560px) {
  .pg-venue-share__actions { display: grid; grid-template-columns: 1fr; }
  .pg-venue-share__photo { max-height: 200px; }
}
