/*
 * POPER'S GAME v0.22.1 — presentation styles.
 *
 * Formatting-only release. Selectors, CSS properties, priorities and values
 * are unchanged. Shared classes apply to all pages, including Account.
 * Prefer maintaining grouped, readable declarations over compressed CSS.
 */

/* Poper's Game v0.22 — optional-account interface.  Every rule is scoped. */
.account-hero {
  padding: 28px;
}

.account-hero h1 {
  margin: 6px 0 12px;
}

.account-hero p:not(.eyebrow) {
  max-width: 70ch;
  color: #e0e0da;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.account-grid section {
  min-width: 0;
}

.account-grid input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #b3b3af;
  border-radius: 5px;
  background: rgba(0, 0, 0, .35);
  color: white;
  font: inherit;
}

.account-grid label, .account-danger label {
  margin-bottom: 15px;
}

.account-grid button {
  min-width: 120px;
}

.account-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.account-checkbox input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.account-link {
  display: inline-block;
  padding: 11px 14px;
  margin-top: 10px;
  border: 1px solid #fff;
  background: #0008;
  color: white;
  text-decoration: none;
}

.account-link:hover, .account-link:focus-visible {
  background: #fff;
  color: #111;
}

.account-message {
  padding: 12px 18px;
  border-left: 4px solid #a9e4bd;
  background: #163323;
}

.account-message.is-error {
  border-color: #ff928b;
  background: #4b1f1b;
}

.account-small-form {
  margin-top: 22px;
}

.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}

.account-stats > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #777;
  text-align: center;
}

.account-stats strong {
  display: block;
  font-size: clamp(25px, 4vw, 39px);
  font-weight: 400;
}

.account-stats span {
  display: block;
  font-size: 12px;
  color: #ddd;
}

.account-danger {
  border-left: 3px solid #b46c66;
}

.account-danger summary {
  cursor: pointer;
}

.account-danger form {
  margin-top: 20px;
  max-width: 400px;
}

.account-danger input {
  width: 100%;
  padding: 12px;
  margin-top: 7px;
  border: 1px solid #aaa;
  background: #151515;
  color: #fff;
  border-radius: 5px;
}

.account-delete {
  background: #8b2925;
  color: white;
}

@media (max-width: 750px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

}

/* v0.26 — Translate the greeting separately without inherited span spacing. */
.account-grid h2 > span {
  font-size: inherit;
  color: inherit;
  margin-right: 0;
}

/* Form pages for single-use email verification and password reset. */
.account-token-page { max-width: 760px; margin: 50px auto; padding: 20px; }
.account-token-page label { display: block; margin-top: 18px; }
.account-token-page input { display: block; width: 100%; max-width: 420px; padding: 12px; margin: 8px 0 18px; }
.account-token-page button { margin-top: 14px; }
.account-sync-status { margin-top: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 5px; }

/* ===========================================================================
 * v0.29 — OPTIONAL USER CATEGORY AND ANALYTICS OPT-IN
 * Explicitly differentiate a voluntary telemetry preference from the core
 * account and cloud sync controls. This section is visible to guests too.
 * =========================================================================== */
.account-grid select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #b3b3af;
  border-radius: 5px;
  background: #151d20;
  color: #fff;
  font: inherit;
}
.analytics-consent-panel { margin-bottom: 20px; }
.analytics-consent-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.analytics-consent-label input { width: 21px; height: 21px; flex: none; }

/* ============================================================
 * v0.30 — ACCOUNT INTRODUCTION USES THE FULL PARENT WIDTH
 *
 * Remove the original 70ch line-length limit. The introduction should fill
 * the account hero container on desktop while wrapping normally on phones.
 * This has no effect on the two-column signed-in account dashboard.
 * ============================================================ */
.account-hero p:not(.eyebrow) {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* v0.31: concise analytics notice replaces the old opt-in form. */
.analytics-disclosure { margin: 12px 0 22px; }

/* ================================================================
 * v0.33 — PERSONAL PRACTICE CALENDAR / ACHIEVEMENT GALLERY
 * These panels belong to the authenticated Account page only.
 * Do not apply sitewide, particularly to the mobile notation staff.
 * ================================================================ */
.milestone-streak-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.milestone-streak-actions button { min-width: 0; }
.practice-calendar { margin-top: 18px; padding: 16px; border: 1px solid #777; border-radius: 7px; }
.practice-calendar-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.practice-calendar-controls h3 { font-size: clamp(17px, 2vw, 21px); margin: 0; text-align: center; }
.practice-calendar-controls button { padding: 6px 13px; min-width: 38px; }
.practice-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.practice-calendar-days > span { min-width: 0; text-align: center; font-size: 12px; padding: 4px 0; }
.practice-calendar-day { min-height: 29px; display: flex; align-items: center; justify-content: center; border: 1px solid #525d59; border-radius: 4px; color: #e4e5df; }
.practice-calendar-day.is-practised { background: #416d56; border-color: #87b79b; color: white; font-weight: 700; }
.practice-calendar-day.is-today { box-shadow: 0 0 0 2px #e7c87a inset; }
.practice-calendar-day.is-empty { border-color: transparent; }
.practice-calendar .hint { margin-bottom: 0; }
.milestone-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; margin-top: 18px; }
.milestone-badge { border: 1px solid #867f64; border-radius: 8px; padding: 16px 13px; display: flex; flex-direction: column; gap: 8px; min-width: 0; background: rgba(22,33,34,.55); }
.milestone-badge.is-earned { border-color: #bca16a; background: rgba(84,69,36,.3); }
.milestone-badge.is-locked { opacity: .63; }
.milestone-badge strong { font-size: 17px; line-height: 1.15; }
.milestone-badge small { color: #ddd; line-height: 1.4; }
.milestone-glyph { font-size: 36px; line-height: 1; color: #e9ca87; }
.milestone-progress { font-size: 13px; color: #e9ca87; font-variant-numeric: tabular-nums; }
.milestone-share { margin-top: auto; min-width: 0 !important; padding: 7px 10px; }
@media(max-width: 480px) { .milestone-badges { grid-template-columns: repeat(2,minmax(0,1fr)); } .practice-calendar { padding: 9px; } }

/* ============================================================================
 * Poper's Game v0.33.2 — ACCOUNT PAGE INFORMATION HIERARCHY
 * ============================================================================
 * DESIGN INTENT
 *   1. Account identity, one-time login feedback and real sync status first.
 *   2. Full-width personal practice statistics and calendar.
 *   3. Full-width achievements.
 *   4. Collapsed profile/language and security controls last.
 *
 * These rules are scoped to Account only. They intentionally leave the guest
 * registration/sign-in grid intact and do not alter Play, Settings or Log.
 * Native <details> handles disclosure without JavaScript or hidden action forms
 * being accidentally submitted. Existing IDs and endpoints are unchanged.
 * ============================================================================ */

.account-dashboard,
.account-dashboard > section {
  width: 100%;
  min-width: 0;
}

/* The login response should read as part of the account introduction, not
 * as a second feature panel. Retain error styling from .account-message. */
.account-hero .account-message {
  margin: 14px 0;
}

.account-welcome {
  margin: 10px 0 4px;
  color: #e5e3d9;
  font-size: 1rem;
}

.account-hero-sync {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-color: #657064;
  background: rgba(19, 41, 34, 0.5);
  color: #e3ede5;
  font-size: 0.86rem;
}

/* Present four metrics at the same level instead of hiding longest streak
 * and practice-day count in a smaller secondary sentence. */
.account-stats-expanded {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.account-stats-expanded > div {
  padding: 17px 10px;
  background: rgba(17, 22, 20, 0.4);
  border-color: #666d61;
  border-radius: 7px;
}

.account-stats-expanded span {
  color: #e3e1d8;
  font-size: 0.8rem;
  line-height: 1.35;
}

.account-practice-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* The account preferences/security disclosures are visually quieter than
 * practice statistics but remain discoverable and fully keyboard accessible. */
.account-collapsible {
  padding: 0;
  /* Match the opaque public-page panels over the new Sydney backdrop. */
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid #575c54;
  border-radius: 9px;
  overflow: hidden;
}

.account-collapsible > details > summary {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 48px 20px 24px;
  list-style: none;
  cursor: pointer;
}

.account-collapsible > details > summary::-webkit-details-marker {
  display: none;
}

.account-collapsible > details > summary::after {
  content: '⌄';
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-55%);
  font-size: 1.5rem;
  line-height: 1;
  color: #cbd3c7;
}

.account-collapsible > details[open] > summary::after {
  content: '⌃';
}

.account-collapsible > details > summary > span {
  font-size: 1.13rem;
  font-weight: 550;
  color: #f2f0e8;
}

.account-collapsible > details > summary > small {
  color: #bdbeb7;
  font-size: 0.78rem;
}

.account-collapsible > details > summary:hover {
  background: rgba(255, 255, 255, 0.045);
}

.account-collapsible > details > summary:focus-visible {
  outline: 3px solid #a8d9ff;
  outline-offset: -3px;
}

.account-collapsible-body {
  padding: 20px 24px 26px;
  border-top: 1px solid #4d554d;
}

.account-collapsible-body > h3,
.account-security-group > h3,
.account-preferences > h3 {
  margin: 0 0 17px;
  font-size: 1rem;
  font-weight: 550;
}

.account-collapsible-body form,
.account-preferences {
  max-width: 800px;
}

.account-collapsible-body form > label {
  display: block;
  max-width: 620px;
  margin-bottom: 16px;
}

/* Form controls were formerly styled via .account-grid, which no longer
 * contains the signed-in profile form. Apply the exact equivalent here. */
.account-collapsible input:not([type="checkbox"]),
.account-collapsible select {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #b3b3af;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
}

.account-collapsible select option {
  background: #192023;
}

.account-preferences,
.account-security-group {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #434c44;
}

.account-security-group:first-of-type {
  margin-top: 0;
  padding-top: 10px;
  border-top: 0;
}

/* Existing cloud tools can wrap rather than overflow on compact screens. */
.account-security-group > button {
  margin: 0 10px 10px 0;
  max-width: 100%;
  white-space: normal;
}

.account-security-group .account-small-form {
  margin-top: 0;
}

.account-collapsible .account-danger {
  margin-top: 22px;
  padding: 16px;
  border-left: 3px solid #b46c66;
  background: rgba(77, 22, 21, 0.18);
}

.account-collapsible .account-danger summary {
  font-weight: 550;
}

.account-collapsible .account-danger input {
  max-width: 420px;
}

.account-guest-preferences {
  margin-top: 20px;
}

@media (max-width: 620px) {
  .account-stats-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-collapsible > details > summary {
    padding: 17px 44px 17px 16px;
  }

  .account-collapsible-body {
    padding: 16px;
  }

  .account-collapsible .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
}

/* ======================================================================
 * v0.33.4 — PERMANENT / REPEATABLE AWARD HISTORY AND SHARING
 * ======================================================================
 * Keep the main Account practice summary full width. Long card labels and
 * public-link controls must wrap rather than expanding mobile viewport.
 */
.account-stats-expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.account-stats-expanded > div { min-width: 0; }
.award-trophy, .award-share-panel, .award-public-links {
  margin-top: 22px;
  padding: clamp(12px, 2.5vw, 22px);
  border: 1px solid #776e5a;
  border-radius: 9px;
  background: rgba(15, 27, 30, .55);
}
.award-trophy h3, .award-share-panel h3 { margin-top: 0; }
.award-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #59605a;
  min-width: 0;
}
.award-history-row:last-child { border-bottom: none; }
.award-history-row > div { min-width: 0; flex: 1; }
.award-history-row strong, .award-history-row small { display: block; overflow-wrap: anywhere; }
.award-history-row small { color: #cfcabf; font-size: .83rem; margin-top: 4px; }
.award-history-row button { flex: 0 0 auto; padding: 7px 13px; min-width: 0; }
.award-share-panel[hidden] { display: none; }
.award-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.award-share-actions button { flex: 1 1 145px; min-width: 0; }
.award-public-links summary { cursor: pointer; font-weight: 600; }
@media (max-width: 560px) {
  .account-stats-expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .award-history-row { align-items: flex-start; }
  .award-history-row button { font-size: .84rem; }
}


/* ========================================================================
 * v0.33.5 — Trophy cabinet: accomplishments first, future goals optional.
 *
 * The previous design rendered every locked achievement by default and
 * pushed genuine awards far down the Account page. Preserve the original
 * colours while making each earned badge small enough for phone screens.
 * ======================================================================== */
.milestone-earned-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
  margin-top: 12px;
}
.milestone-earned-grid .milestone-badge {
  padding: 14px;
  gap: 6px;
}
.milestone-earned-grid .milestone-glyph {
  font-size: 29px;
}
.trophy-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed #867f64;
  border-radius: 8px;
}
.award-upcoming {
  margin-top: 18px;
  border: 1px solid #776e5a;
  border-radius: 9px;
  background: rgba(15,27,30,.38);
  padding: 14px 18px;
}
.award-upcoming > summary,
.award-history-more > summary {
  cursor: pointer;
  font-weight: 700;
  padding: 3px 0;
}
.award-upcoming > summary:focus-visible,
.award-history-more > summary:focus-visible {
  outline: 2px solid #e9ca87;
  outline-offset: 4px;
}
.award-upcoming > .hint { margin-top: 12px; }
.award-upcoming[open] { padding-bottom: 22px; }
.award-history-more {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #59605a;
}
.award-history-more[hidden] { display: none; }
.milestone-upcoming-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  margin-top: 12px;
}
@media (max-width: 480px) {
  .milestone-earned-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestone-upcoming-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .award-upcoming { padding: 12px; }
}

/* ========================================================================
 * v0.33.16.5 — Account-only typography and optional public streak links.
 * Avoid changing every .eyebrow elsewhere in Poper's Game.
 * ======================================================================== */
.account-dashboard .eyebrow {
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.35;
  letter-spacing: 0.13em;
  font-weight: 700;
}

/* A successful venue load should lead straight from the introduction to the
 * photograph gallery. Keep the live region for warnings and save messages. */
.account-venues #venueStatus:empty {
  display: none;
}

/* The Venue Pass count now lives BELOW the images, only when non-zero. */
.account-venues .pg-venues__balance {
  margin: 0.9rem 0 0;
  color: #e8d19c;
  font-size: 0.94rem;
}

/* The <details hidden> attribute must win over native details styling. */
#publicStreakLinksSection[hidden] {
  display: none !important;
}

/* The in-account venue-unlock photograph must NOT inherit a forced 16:9
 * crop from the older gallery stylesheet. Show the actual picture ratio. */
.account-venues .pg-venue-share__photo {
  width: 100%;
  height: auto;
  max-height: 380px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

/* Keep optional venue link management completely hidden while empty. */
#venuePublicLinksSection[hidden] {
  display: none !important;
}

/* ========================================================================
 * v0.33.16.6 — one clear, newest-first Trophy Cabinet and inline Share menu.
 * Four columns at full width; a single award occupies ONE card, not the row.
 * ======================================================================== */
.account-dashboard .milestone-earned-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.account-dashboard .milestone-earned-grid .milestone-badge {
  position: relative;
  min-width: 0;
}
.milestone-award-date { font-size: .78rem; color: #e5dac4; }
.milestone-card-share { position: relative; margin-top: auto; }
.milestone-share { width: 100%; }
.milestone-share-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  padding: 7px;
  background: #1b3139;
  border: 1px solid #d8bf86;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.milestone-share-menu[hidden] { display: none !important; }
.milestone-share-menu > button {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: .92rem;
  text-align: left;
  padding: 8px 10px;
}
@media (max-width: 950px) {
  .account-dashboard .milestone-earned-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .account-dashboard .milestone-earned-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 340px) {
  .account-dashboard .milestone-earned-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Shared Facebook dialog: deliberately similar to the Practice Log editor. */
.account-share-dialog {
  width: min(94vw, 580px);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid #d5b67b;
  border-radius: 14px;
  padding: clamp(18px, 3vw, 30px);
  color: #f7ead5;
  background: #1a3039;
  box-shadow: 0 15px 65px rgba(0, 0, 0, .75);
}
.account-share-dialog::backdrop { background: rgba(4, 10, 15, .8); }
.account-share-dialog h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.account-share-dialog label { display: block; margin: 14px 0 8px; font-weight: 700; }
.account-share-dialog textarea,
.account-share-dialog input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color: #f9edcf;
  background: #101e26;
  border: 1px solid #a89674;
  border-radius: 7px;
  padding: 12px;
  font: inherit;
}
.account-share-dialog textarea { min-height: 120px; resize: vertical; }
.account-share-dialog__actions,
.account-share-dialog__footer { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.account-share-dialog__actions > *,
.account-share-dialog__footer > * { flex: 1 1 140px; text-align: center; }
.account-share-dialog__footer { justify-content: flex-end; border-top: 1px solid #6e675b; padding-top: 14px; }
.account-share-dialog__footer > * { flex: 0 0 auto; }
.account-share-dialog__link-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 12px; }
.account-share-dialog__link-row span { overflow-wrap: anywhere; }
.account-share-dialog [hidden] { display: none !important; }

/* Both buttons and the external Facebook anchor should look like a coherent
 * set of actions, not a mix of styled controls and an ordinary blue link. */
.account-share-dialog__actions button,
.account-share-dialog__actions a.secondary,
.account-share-dialog__footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  font: inherit;
  font-weight: 600;
  color: #f6eacc;
  text-decoration: none;
  background: #304650;
  border: 1px solid #a99567;
  border-radius: 7px;
  cursor: pointer;
}
.account-share-dialog__actions button:hover,
.account-share-dialog__actions a.secondary:hover,
.account-share-dialog__footer button:hover { background: #405763; }
.account-share-dialog__actions button:focus-visible,
.account-share-dialog__actions a.secondary:focus-visible,
.account-share-dialog__footer button:focus-visible {
  outline: 2px solid #f4d79c;
  outline-offset: 3px;
}

/* v0.33.16.7 — show the ACTUAL Facebook image in the Account share dialog.
 * Do not apply fixed aspect-ratio cropping, object-fit:fill, or height:100%.
 * The source endpoints emit 1200x630 landscape images with matching OG tags.
 */
.account-share-dialog__preview {
  margin: 14px 0 18px;
  padding: 10px;
  border: 1px solid #8c7959;
  border-radius: 10px;
  background: #0f1d25;
  text-align: center;
}
.account-share-dialog__preview[hidden] { display: none !important; }
.account-share-dialog__preview img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 6px;
  background: #172a33;
}
.account-share-dialog__preview figcaption {
  font-size: .83rem;
  color: #d4d0c6;
  margin-top: 9px;
}
.account-all-public-links {
  margin: 24px 0 30px;
  padding: clamp(14px, 2.5vw, 22px);
  border: 1px solid #817256;
  border-radius: 12px;
  background: rgba(12, 24, 29, .66);
}
.account-all-public-links[hidden],
.account-all-public-links > details[hidden] { display: none !important; }
.account-all-public-links > details { margin: 10px 0; }
.account-all-public-links > details > summary { cursor: pointer; }
.account-all-public-links .pg-venue-link,
.account-all-public-links .award-history-row { overflow-wrap: anywhere; }
/* Match the Trophy Cabinet's contextual Share menu without replacing the
 * user's edited venue-gallery.css (and its locked-thumbnail blur). */
.account-venues .pg-venues__card { position: relative; }
.account-venues .pg-venues__share-controls { position: relative; margin-top: 0; }
.account-venues .pg-venues__share { width: 100%; }
.account-venues .pg-venues__share-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #c8ad77;
  border-radius: 9px;
  background: #21353c;
  box-shadow: 0 12px 26px rgba(0,0,0,.45);
}
.account-venues .pg-venues__share-menu[hidden] { display: none !important; }
.account-venues .pg-venues__share-menu > button {
  text-align: left;
  width: 100%;
  min-height: 36px;
  background: #e9dfcd;
  color: #1c3038;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.account-venues .pg-venues__share-menu > button:focus-visible {
  outline: 2px solid #e3af47;
  outline-offset: 2px;
}

/* The one-time new-venue celebration uses the same contextual options. */
.account-venues .pg-venue-share-panel .pg-venues__share-controls { min-width: 165px; flex: 0 1 190px; }
.account-venues .pg-venue-share-panel .pg-venues__share-menu { right: auto; min-width: 180px; }

/* ============================================================================
 * v0.34 RC1 — OPT-IN GUEST SESSION IMPORT
 * Display only after the verified account has fully synced and the browser
 * finds distinct guest sessions. CSS must never auto-open the dialog.
 * ============================================================================ */
.account-guest-import-dialog {
  box-sizing: border-box;
  width: min(92vw, 550px);
  max-height: min(85dvh, 760px);
  overflow-y: auto;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid #d5b67b;
  border-radius: 14px;
  background: #1a3039;
  color: #f7ead5;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .75);
}
.account-guest-import-dialog::backdrop {
  background: rgba(4, 10, 15, .82);
}
.account-guest-import-dialog h2 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
}
.account-guest-import-dialog .hint {
  color: #e4d6bd;
}
.account-guest-import-dialog .guest-import-counts {
  margin: 18px 0;
  padding: 13px 18px;
  border: 1px solid rgba(221, 195, 138, .4);
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
}
.account-guest-import-dialog .guest-import-counts p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0;
}
.account-guest-import-dialog .guest-import-counts strong {
  font-variant-numeric: tabular-nums;
  font-size: 1.3rem;
}
.account-guest-import-dialog .guest-import-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.account-guest-import-dialog .guest-import-actions button {
  flex: 1 1 175px;
  min-height: 44px;
}
.account-guest-import-dialog [hidden] { display: none !important; }
.account-guest-import-dialog :is(button):focus-visible {
  outline: 3px solid #f5d791;
  outline-offset: 3px;
}
