/**
 * PhotoXED Landing Page — Hyper-futuristic first impression
 * No inline styles. Premium, impressive, Apple-liquid-glass with futuristic edge.
 */

.px-landing {
  min-height: 100dvh;
  padding: 24px 20px calc(var(--segbar-height) + 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;   /* Vertically center the 3 cards + 2 buttons + last line for balanced, premium UX */
  background: 
    radial-gradient(circle at 30% 20%, rgba(77, 150, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 107, 107, 0.06) 0%, transparent 60%);
}

.px-landing-hero {
  text-align: center;
  margin-bottom: 48px;
}

.px-landing-logo {
  margin-bottom: 24px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
}

.px-landing-title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -2.6px;
  line-height: 1.0;
  margin: 0 0 14px;

  /* Experimental weavy color loop — matches the new colored logo */
  background: linear-gradient(
    115deg,
    #a78bfa,
    #6bcb77,
    #4d96ff,
    #ffd93d,
    #ff6b6b,
    #a78bfa,
    #6bcb77,
    #4d96ff
  );
  background-size: 450% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: photoXedWeave 9s linear infinite;
}

.px-landing-subtitle {
  font-size: 19px;
  color: var(--tx2);
  line-height: 1.35;
  max-width: 360px;
  margin: 0 auto;
}

/* Old CTA styles deprecated - now using .px-landing-actions for side-by-side cards */
/* .px-landing-cta { margin-bottom: 60px; } */

/* Highlighted trust line below the two main CTAs */
.px-landing-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px auto 0;   /* tighter integration – the whole (cards + buttons + this last line) is now vertically centered in the page */
  padding: 10px 18px;
  font-size: 13px;
  color: var(--tx2);
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
  max-width: fit-content;
}

.px-landing-hint .highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Futuristic CTAs - Two cards side by side like the feature cards above */
.px-futuristic-ctas {
  display: flex;
  gap: 0;                    /* seamless 50/50 split */
  width: 100%;               /* full screen edge to edge */
  margin: 28px 0 20px;       /* tighter now that the block is vertically centered as a whole */
}

.px-futuristic-ctas--top {
  margin-top: 12px;
  margin-bottom: 20px;
}

/* Faint divider exactly between the feature cards and the CTA buttons */
.px-landing-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);  /* very faint on dark glass background */
  margin: 16px 0 20px;
  border: none;
  width: 100%;
}

.px-future-cta {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 16px;
  background: #1c1c26; /* flat metro dark */
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; /* flatter metro corners */
  color: var(--tx);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
  text-align: center;
  min-height: 92px;
  box-sizing: border-box;
}

/* Remove double border in the middle for clean 50/50 split */
.px-future-cta + .px-future-cta {
  border-left: none;
}

/* Joined metro pair: square inner corners so the two buttons read as one unit.
   First (left/GET STARTED): square on right side.
   Second (right/EXPERIENCE APP): square on left side.
   Outer corners keep the base 4px radius. */
.px-futuristic-ctas .px-future-cta:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.px-futuristic-ctas .px-future-cta:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.px-future-cta:hover {
  background: #252530;
  border-color: rgba(255,255,255,0.2);
}

.px-future-cta:active {
  background: #15151e;
}

/* Primary styles removed — both CTA buttons are now identical flat metro style per design request */

.px-future-cta-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
  opacity: 0.85;
}

.px-future-cta-label {
  font-size: clamp(12px, 3.1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Futuristic Feature Cards */
.px-futuristic-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;                    /* full available width (matches the full-bleed buttons for symmetry) */
  margin-top: 2vh;                /* slight downward bias so the last line (hint) lands nearer the vertical middle of the page */
  /* No max-width or auto centering on mobile — the card backgrounds now align exactly 
     with the left/right edges of the two buttons below for a symmetrical, balanced view. */
}

.px-future-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 26px 24px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.px-future-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.px-future-card-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.px-future-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--tx);
  background: linear-gradient(90deg, #fff, #c8c8d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.px-future-card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--tx2);
  margin: 0;
}

.px-future-card-body {
  padding: 16px 0;
}

/* New header row for icon + right-side pill */
.px-future-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.px-future-card-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Per-card icon + pill border colors (matching each other) */
.px-futuristic-cards .px-future-card:nth-child(1) .px-future-card-icon { color: #4d96ff; }
.px-futuristic-cards .px-future-card:nth-child(1) .px-future-card-pill { border-color: #4d96ff; }

.px-futuristic-cards .px-future-card:nth-child(2) .px-future-card-icon { color: #ffd93d; }
.px-futuristic-cards .px-future-card:nth-child(2) .px-future-card-pill { border-color: #ffd93d; }

.px-futuristic-cards .px-future-card:nth-child(3) .px-future-card-icon { color: #a78bfa; }
.px-futuristic-cards .px-future-card:nth-child(3) .px-future-card-pill { border-color: #a78bfa; }

/* Pill tags on the right of the cards */
.px-future-card-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--tx2);
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
  align-self: flex-start;
  margin-left: 8px;
}

.px-future-card-divider {
  border: none;
  border-top: 1px solid var(--glass-border);
  margin: 12px 0;
  opacity: 0.45;
}

.px-future-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.px-future-card-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.px-future-card-stat .stat-icon {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  margin-bottom: 6px;
  color: var(--tx3);
}

.px-future-card-stat .stat-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--tx);
  line-height: 1.1;
}

.px-future-card-stat .stat-label {
  font-size: 9px;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 1px;
}

/* Responsive for iPad */
@media (min-width: 768px) {
  .px-futuristic-cards {
    flex-direction: row;
    gap: 18px;
  }
  
  .px-future-card {
    flex: 1;
  }
}

/* ========== EXPERIENCE SECTION (6 Outstanding Moments) ========== */
.px-experience {
  margin-top: 80px;
  margin-bottom: 40px;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.px-experience-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.9px;
  margin-bottom: 6px;
  color: var(--tx);
}

.px-experience-subtitle {
  text-align: center;
  color: var(--tx2);
  font-size: 15px;
  margin-bottom: 38px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

.px-experience-grid {
  display: grid;
  grid-template-columns: 1fr;   /* 1 column on phones (base = iPhone) */
  gap: 32px;
  padding-bottom: calc(var(--segbar-height) + 48px);
}

@media (min-width: 768px) {
  .px-experience-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }

  /* Expanded labels + larger targets on iPad for album photo footers */
  .px-album-photo-footer .btn-label,
  .px-album-photo-footer .check-label {
    display: inline;
  }

  .px-album-photo-footer button {
    padding: 4px 10px;
    min-width: auto;
  }

  /* Desktop/iPad share layout reset */
  .px-album-share {
    flex-wrap: nowrap;
    padding: 0;
  }

  .px-album-share-label {
    width: auto;
    margin-bottom: 0;
  }

  .px-album-share-input {
    flex: 1 1 auto;
    margin-bottom: 0;
  }

  .px-album-share-copy {
    flex: none;
    order: unset;
    text-align: unset;
  }

  .px-album-share-icon {
    order: unset;
    margin-left: 0;
  }
}

.px-experience-item {
  position: relative;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  background: #0a0a12;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.3s ease;
}

/* Inner media wrapper so the eyebrow tag can sit on the outer border
   without being clipped by overflow while keeping the photo rounded on hover */
.px-experience-media {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  height: 100%;
  width: 100%;
}

.px-experience-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  border-color: rgba(167, 139, 250, 0.25);
}

.px-experience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.px-experience-item:hover .px-experience-media img {
  transform: scale(1.08);
}

.px-experience-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 35%,
    rgba(0, 0, 0, 0.82) 82%
  );
  opacity: 0.94;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.px-experience-item:hover .px-experience-media::after {
  opacity: 0.98;
}

.px-experience-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 18px 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.px-experience-tag {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: rgba(0, 0, 0, 0.65);
  padding: 4px 14px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  z-index: 20;
  white-space: nowrap;
}

.px-experience-caption {
  font-size: 16px;
  font-weight: 600;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.2px;
}

/* Experience section is hidden by default on landing.
   Only revealed when user clicks "Explore the Experience".
   Premium fade-in, no layout shift on initial load. */
.px-experience {
  display: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.px-experience.is-visible {
  display: block;
  opacity: 1;
}

/* ========== ALBUM CARDS (replaces flat photos when "Explore the Experience" clicked) ========== */
.px-experience-album {
  position: relative;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  background: #0a0a12;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.3s ease;
}

.px-experience-album:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  border-color: rgba(167, 139, 250, 0.25);
}

/* Inner media wrapper so the eyebrow tag can sit on the outer border without clipping */
.px-album-media {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  height: 100%;
  width: 100%;
}

.px-album-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.px-experience-album:hover .px-album-media img {
  transform: scale(1.035);
}

.px-album-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.88) 78%
  );
  opacity: 0.95;
  z-index: 1;
}

.px-album-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 16px 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.px-album-tag {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: rgba(0, 0, 0, 0.65);
  padding: 4px 14px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  z-index: 10;
  white-space: nowrap;
}

.px-album-title {
  font-size: 17px;
  font-weight: 600;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.px-album-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.px-album-count {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Album photo view (after clicking an album) */
.px-album-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.px-album-back {
  font-size: 14px;
  font-weight: 500;
  color: var(--tx2);
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  white-space: nowrap;
}

.px-album-back:hover {
  color: var(--tx);
}

.px-album-header-info {
  flex: 1;
  text-align: center;
}

.px-album-header-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}

.px-album-header-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--tx);
}

.px-album-header-count {
  font-size: 13px;
  color: var(--tx3);
  white-space: nowrap;
}

/* New Album Detail Header Styles */
.px-album-detail-header {
  margin-bottom: 18px;
}

.px-album-detail-header .back-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--tx2);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  width: 108px;
}

.px-album-detail-header .back-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--tx);
}

/* Top nav row for PREV + NEXT in album detail */
.px-album-detail-header .album-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border); /* faint divider below back/next */
}

.px-album-detail-header .next-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--tx2);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  width: 108px;
}

.px-album-detail-header .next-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--tx);
}

/* PREV / NEXT icons (from purulink, merged into icons.svg) in album detail */
.px-album-detail-header .ms-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Experience header BACK button — match exact width of internal PREV/NEXT buttons */
.experience-back-btn {
  width: 108px;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  justify-content: center;
}

/* Make the top Experience header's BACK button right edge align exactly with the NEXT button inside experienceDemoGrid */
.px-view-header.experience-header {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--glass-border); /* faint divider to separate title + Back from content below */
  margin-bottom: 16px; /* breathing room to reduce visual clutter */
}



.px-album-detail-header .album-main {
  margin-top: 8px;
}

/* Tablet+: Stats inline on the right of the title area */
@media (min-width: 768px) {
  .px-album-detail-header .album-main {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 0;
  }

  .px-album-detail-header .album-header-visual {
    flex: 1;
    margin-bottom: 0;
  }

  .px-album-detail-header .stats-card {
    flex-shrink: 0;
    padding: 6px 10px;
    gap: 12px;
  }
}

.px-album-detail-header .album-header-visual {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

/* Force the bottom segbar to stay sticky/fixed no matter what (defensive against ancestor containing blocks or overrides) */
html body.px-app footer.px-footer,
body.px-app .px-footer {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  isolation: isolate;
  background: var(--chrome-glass-bg) !important;
}

.px-album-detail-header .album-cover {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.px-album-detail-header .album-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.2;
  flex: 1; /* allows title to take available space when stats are inline on tablet */
}

.px-album-detail-header .stats-card {
  display: flex;
  justify-content: center;
  gap: 20px;                   /* balanced spacing for 4 stats */
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 10px 14px;
}

.px-album-detail-header .stat-item {
  display: flex;
  flex-direction: column;
}

.px-album-detail-header .stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.px-album-detail-header .stat-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--tx);
  margin-top: 1px;
}

.px-album-photo-grid {
  display: grid;
  grid-template-columns: 1fr;   /* 1 column on phones (base = iPhone) */
  gap: 16px;
  padding-bottom: calc(var(--segbar-height) + 48px);
}

@media (min-width: 768px) {
  .px-album-photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* Breathing room below the 72h dial when viewing an album's photos */
.px-experience-grid.is-album-detail .px-album-photo-grid {
  margin-top: 8px;
}

.px-album-photo {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.3s ease;
}

.px-album-photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.px-album-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.px-album-photo:hover img {
  transform: scale(1.03);
}

.px-album-photo-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 6px 8px;
  background: rgba(10, 10, 18, 0.65);
  border-top: 1px solid var(--glass-border);
  font-size: 11px;
  gap: 6px;
  flex-shrink: 0;
}

.px-album-photo-footer--two {
  grid-template-columns: 1fr 1fr;
}

.px-album-photo-footer .footer-left,
.px-album-photo-footer .footer-center,
.px-album-photo-footer .footer-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.px-album-photo-footer label.large-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #ccc;
  font-size: 11px;
  user-select: none;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.15s ease;
  white-space: nowrap;
  height: 26px;
  box-sizing: border-box;
  width: 100%;
  max-width: 92px;
  justify-content: center;
}

.px-album-photo-footer label.large-check:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.px-album-photo-footer label.large-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: currentColor;
}

/* Compact icon-only footers on phones (base = iPhone) */
.px-album-photo-footer .btn-label,
.px-album-photo-footer .check-label {
  display: none;
}

.px-album-photo-footer button .btn-icon {
  display: inline-block;
}

.px-album-photo-footer button {
  padding: 6px 8px;
  min-width: 32px;
}

.px-album-photo-footer button {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  box-sizing: border-box;
  width: 100%;
  max-width: 92px;
  justify-content: center;
}

.px-album-photo-footer button .btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.px-album-photo-footer button .btn-icon {
  display: inline-block; /* always visible */
  vertical-align: middle;
}

.px-album-photo-footer button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.px-album-photo-footer button.delete-btn {
  padding: 4px 12px;
}

.px-album-photo.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.px-album-photo.saved {
  opacity: 0.72;
  border-color: rgba(107, 203, 119, 0.45);
  box-shadow: none;
}

.px-album-photo.saved label.large-check {
  opacity: 0.55;
  pointer-events: none;
}

/* Share link section in album detail */
.px-album-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(10, 10, 18, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.px-album-share-label {
  font-size: 12px;
  color: var(--tx3);
  white-space: nowrap;
}

.px-album-share-input {
  flex: 1;
  font-size: 12px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: #ddd;
  outline: none;
}

.px-album-share-copy {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.px-album-share-copy.copied {
  background: #4ade80;
}

/* Phone share layout (base = iPhone): Share Link left, icon right, wraps */
.px-album-share {
  flex-wrap: wrap;
  padding: 10px 12px;
}

.px-album-share-label {
  width: 100%;
  margin-bottom: 4px;
}

.px-album-share-input {
  flex: 1 1 100%;
  margin-bottom: 10px;
}

.px-album-share-copy {
  flex: 1;
  order: 1;
  text-align: center;
}

.px-album-share-icon {
  order: 2;
  margin-left: 8px;
  flex-shrink: 0;
}

/* 72-hour demo countdown in Experience album view */
.px-experience-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 16px;
  padding: 6px 12px;
  background: rgba(10, 10, 18, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--tx2);
}

.px-experience-countdown .px-countdown-label {
  font-weight: 500;
}

.px-experience-countdown .px-countdown-time {
  font-family: ui-monospace, monospace;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

/* Share icon button next to Copy link */
.px-album-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: #ddd;
  cursor: pointer;
  transition: all 0.15s ease;
}

.px-album-share-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.px-album-share {
  gap: 8px;
  flex-wrap: wrap;
}

/* === 72h Circular Countdown Dial (Experience section) === */
.px-experience-dial {
  display: flex; /* controlled by JS */
  width: 100%;
  justify-content: center;
  margin: 12px 0 20px;
}

.px-dial-inner {
  position: relative;
  width: min(240px, 70vw);
  aspect-ratio: 1;
  max-width: 100%;
}

.px-dial-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 18px rgba(103, 232, 249, 0.18));
}

.px-dial-ring-bg {
  stroke: rgba(255, 255, 255, 0.08);
}

.px-dial-ring-fg {
  stroke: url(#pxDialGrad);
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.4s ease;
}

.px-dial-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14%;
  pointer-events: none;
}

.px-dial-time {
  font-size: clamp(18px, 5.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.px-dial-unit {
  font-size: 11px;
  font-weight: 600;
  color: rgba(165, 243, 252, 0.55);
  margin: 0 1px 0 2px;
}

.px-dial-hint {
  font-size: 10px;
  font-weight: 600;
  color: rgba(196, 181, 253, 0.7);
  margin-top: 6px;
  line-height: 1.3;
  max-width: 13em;
}

/* When inside album detail view, disable the parent grid layout */
.px-experience-grid.is-album-detail {
  display: block;
}