html.wzsc-route-active,
body.wzsc-route-active {
  min-height: 100%;
  margin: 0;
  background: #f6f7f9;
}

body.wzsc-route-active > #app {
  display: none !important;
}

.wzsc-app {
  --wzsc-theme: rgb(var(--v-theme-primary, 239, 71, 111));
  --wzsc-theme-soft: rgba(var(--v-theme-primary, 239, 71, 111), 0.09);
  --wzsc-accent: #e40046;
  min-height: 100vh;
  background: #f6f7f9;
  color: #202938;
  font-family: Roboto, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wzsc-app *,
.wzsc-app *::before,
.wzsc-app *::after {
  box-sizing: border-box;
}

.wzsc-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 42px);
  border-bottom: 1px solid #e3e7ed;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  font-family: Oxygen, Arial, sans-serif;
}

.wzsc-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.wzsc-brand img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.wzsc-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.wzsc-brand-name strong {
  color: var(--wzsc-theme);
}

.wzsc-home-link {
  display: inline-flex;
  align-items: center;
  color: var(--wzsc-theme);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.wzsc-home-link:hover {
  text-decoration: underline;
}

.wzsc-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.wzsc-gate {
  width: min(520px, 100%);
  margin: clamp(38px, 9vh, 92px) auto 0;
  padding: 34px;
  border: 1px solid #e0e5ec;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 55px rgba(30, 42, 58, 0.1);
}

.wzsc-gate h1 {
  margin: 12px 0 10px;
  color: #172033;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
}

.wzsc-gate > p {
  margin: 0 auto 24px;
  color: #5d6879;
  line-height: 1.6;
}

.wzsc-lock {
  font-size: 2.7rem;
  line-height: 1;
}

.wzsc-loading {
  color: #667085;
}

.wzsc-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border: 4px solid #edf0f4;
  border-top-color: var(--wzsc-theme);
  border-radius: 50%;
  animation: wzsc-spin 0.8s linear infinite;
}

@keyframes wzsc-spin {
  to { transform: rotate(360deg); }
}

.wzsc-unlock-form {
  text-align: left;
}

.wzsc-unlock-form label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 700;
}

.wzsc-unlock-form input {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #cbd3df;
  border-radius: 9px;
  background: #fff;
  color: #172033;
  font: inherit;
}

.wzsc-unlock-form input:focus {
  border-color: var(--wzsc-theme);
  outline: 3px solid var(--wzsc-theme-soft);
}

.wzsc-error {
  min-height: 24px;
  padding-top: 7px;
  color: #b42318;
  font-size: 0.9rem;
}

.wzsc-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 8px;
}

.wzsc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--wzsc-theme);
  border-radius: 8px;
  background: var(--wzsc-theme);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.wzsc-button:hover {
  filter: brightness(0.95);
}

.wzsc-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.wzsc-button-outline {
  background: #fff;
  color: var(--wzsc-theme);
}

.wzsc-button-outline:hover {
  background: var(--wzsc-theme-soft);
  filter: none;
}

.wzsc-button:focus-visible,
.wzsc-home-link:focus-visible,
.wzsc-card-button:focus-visible,
.wzsc-media-button:focus-visible,
.wzsc-close:focus-visible {
  outline: 3px solid var(--wzsc-theme-soft);
  outline-offset: 3px;
}

.wzsc-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  overflow: hidden;
  padding: clamp(18px, 3.75vw, 32px);
  border: 1px solid #e1e5eb;
  border-top: 5px solid var(--wzsc-accent);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(30, 42, 58, 0.08);
}

.wzsc-collection-icon {
  display: flex;
  flex: 0 0 72px;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--wzsc-accent) 12%, white);
  color: var(--wzsc-accent);
  font-size: 2.2rem;
}

.wzsc-hero-copy {
  min-width: 0;
  margin-top: -9px;
}

.wzsc-private-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--wzsc-theme-soft);
  color: var(--wzsc-theme);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.wzsc-hero h1 {
  margin: 0;
  color: #172033;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.15;
}

.wzsc-hero-copy > p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #5a6575;
  line-height: 1.5;
  white-space: pre-line;
}

.wzsc-owner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
}

.wzsc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 12px;
}

.wzsc-owner img {
  width: 34px;
  height: 34px;
  border: 1px solid #e0e5ec;
  border-radius: 50%;
  object-fit: cover;
}

.wzsc-events-section {
  margin-top: 38px;
}

.wzsc-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.wzsc-eyebrow {
  margin: 0 0 3px;
  color: var(--wzsc-theme);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wzsc-section-heading h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.wzsc-count {
  color: #667085;
  font-size: 0.92rem;
}

.wzsc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.wzsc-card {
  overflow: hidden;
  border: 1px solid #e1e6ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(30, 42, 58, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.wzsc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(30, 42, 58, 0.12);
}

.wzsc-card-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.wzsc-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e9edf2;
}

.wzsc-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.wzsc-card:hover .wzsc-card-image {
  transform: scale(1.025);
}

.wzsc-card-play,
.wzsc-media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(20, 25, 34, 0.76);
  color: #fff;
  font-size: 1.3rem;
  transform: translate(-50%, -50%);
}

.wzsc-card-body {
  padding: 18px;
}

.wzsc-category {
  display: inline-flex;
  color: var(--wzsc-theme);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wzsc-card h3 {
  margin: 7px 0 9px;
  color: #172033;
  font-size: 1.15rem;
  line-height: 1.32;
}

.wzsc-card-meta,
.wzsc-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  color: #667085;
  font-size: 0.84rem;
}

.wzsc-card-body > p {
  margin: 12px 0 0;
  color: #5f6978;
  font-size: 0.91rem;
  line-height: 1.5;
}

.wzsc-empty {
  padding: 50px 24px;
  border: 1px dashed #ccd3dd;
  border-radius: 14px;
  background: #fff;
  color: #667085;
  text-align: center;
}

.wzsc-load-more {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.wzsc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 20, 31, 0.67);
}

.wzsc-dialog {
  width: min(840px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.32);
}

.wzsc-dialog-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px;
  border-bottom: 1px solid #e3e7ed;
  background: rgba(255, 255, 255, 0.97);
}

.wzsc-dialog-head h2 {
  margin: 5px 0 0;
  color: #172033;
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  line-height: 1.3;
}

.wzsc-close {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #475467;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.wzsc-close:hover {
  background: #f0f2f5;
}

.wzsc-dialog-body {
  padding: 24px;
}

.wzsc-detail-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.wzsc-media-button {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #e9edf2;
  cursor: pointer;
}

.wzsc-media-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.wzsc-media-button:hover img {
  transform: scale(1.025);
}

.wzsc-detail-description {
  margin: 20px 0 0;
  color: #414c5c;
  line-height: 1.7;
  white-space: pre-line;
}

.wzsc-readonly-note {
  margin-top: 24px;
  padding: 11px 13px;
  border-radius: 8px;
  background: #f5f6f8;
  color: #667085;
  font-size: 0.87rem;
  text-align: center;
}

.wzsc-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.wzsc-reaction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #d8dee7;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font: inherit;
  cursor: pointer;
}

.wzsc-reaction.is-active {
  border-color: var(--wzsc-theme);
  background: var(--wzsc-theme-soft);
}

.wzsc-comments {
  padding-top: 18px;
  border-top: 1px solid #e3e7ed;
}

.wzsc-comments h3 {
  margin: 0;
  color: #172033;
  font-size: 1.08rem;
}

.wzsc-comment-empty {
  margin: 14px 0 0;
  color: #667085;
}

.wzsc-comment {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f4;
}

.wzsc-comment img {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.wzsc-comment strong {
  display: block;
  color: #344054;
  font-size: 0.9rem;
}

.wzsc-comment p {
  margin: 4px 0 0;
  color: #475467;
  line-height: 1.5;
  white-space: pre-wrap;
}

.wzsc-comment-form {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e3e7ed;
}

.wzsc-comment-form label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 700;
}

.wzsc-comment-form textarea {
  display: block;
  width: 100%;
  min-height: 92px;
  padding: 11px 13px;
  resize: vertical;
  border: 1px solid #cbd3df;
  border-radius: 9px;
  color: #172033;
  font: inherit;
  line-height: 1.45;
}

.wzsc-comment-form textarea:focus {
  border-color: var(--wzsc-theme);
  outline: 3px solid var(--wzsc-theme-soft);
}

.wzsc-comment-status {
  min-height: 22px;
  padding-top: 6px;
  color: #b42318;
  font-size: 0.88rem;
}

.wzsc-comment-actions {
  display: flex;
  justify-content: flex-end;
}

.wzsc-signin-prompt {
  margin-top: 16px;
  padding: 13px;
  border-radius: 9px;
  background: #f3f4f6;
  color: #4b5563;
}

.wzsc-signin-prompt a {
  color: var(--wzsc-theme);
  font-weight: 700;
}

.wzsc-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 12050;
  padding: 11px 16px;
  border-radius: 8px;
  background: #333;
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

.wzsc-dialog-loading,
.wzsc-dialog-error {
  padding: 54px 26px;
  color: #667085;
  text-align: center;
}

.wzsc-dialog-error .wzsc-button {
  margin-top: 14px;
}

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

@media (max-width: 620px) {
  .wzsc-topbar {
    padding: 12px 16px;
  }

  .wzsc-brand img {
    width: 32px;
    height: 32px;
  }

  .wzsc-home-link {
    font-size: 0.9rem;
  }

  .wzsc-main {
    width: min(100% - 24px, 1180px);
    padding-top: 22px;
  }

  .wzsc-gate {
    margin-top: 28px;
    padding: 26px 19px;
  }

  .wzsc-gate-actions {
    grid-template-columns: 1fr;
  }

  .wzsc-hero {
    gap: 14px;
    padding: 17px 14px;
  }

  .wzsc-collection-icon {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 1.8rem;
  }

  .wzsc-section-heading {
    align-items: flex-start;
  }

  .wzsc-grid {
    grid-template-columns: 1fr;
  }

  .wzsc-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .wzsc-dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 16px 16px 0 0;
  }

  .wzsc-dialog-head,
  .wzsc-dialog-body {
    padding-left: 17px;
    padding-right: 17px;
  }

  .wzsc-detail-media {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wzsc-app *,
  .wzsc-app *::before,
  .wzsc-app *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 620px) {
  .wzsc-hero-copy {
    margin-top: -5px;
  }
}


/* ==========================================================
   WayzAway Shared Collection — Redesign V1

   Visual direction:
   - curated album rather than social feed
   - image-led event cards
   - strong owner / Collection identity
   - premium mobile-first presentation
   - WayzAway acquisition remains secondary
   ========================================================== */


/* ---------- PAGE ---------- */

body.wzsc-route-active {
  background:
    linear-gradient(
      180deg,
      #fafbfc 0,
      #f6f7f9 420px,
      #f7f8fa 100%
    );
}

.wzsc-app {
  min-height: 100vh;
}

.wzsc-main {
  width: min(100% - 36px, 1220px);
  padding-top: 30px;
  padding-bottom: 52px;
}


/* ---------- TOP BAR ---------- */

.wzsc-topbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eceef2;
  box-shadow: 0 1px 8px rgba(24, 30, 42, 0.04);
}

.wzsc-brand-name {
  letter-spacing: -0.01em;
}

.wzsc-home-link {
  border-radius: 999px;
  padding: 8px 12px;
}


/* ---------- COLLECTION HERO ---------- */

.wzsc-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;

  margin: 0;
  padding: 24px 26px;

  overflow: hidden;

  border: 1px solid #e8e9ed;
  border-top: 0;
  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #ffffff 62%,
      color-mix(
        in srgb,
        var(--wzsc-accent) 7%,
        white
      ) 100%
    );

  box-shadow:
    0 10px 34px rgba(24, 30, 42, 0.07);
}

.wzsc-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;

  width: 5px;

  background: var(--wzsc-accent);
}

.wzsc-hero-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
}

.wzsc-collection-icon {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;

  display: grid;
  place-items: center;

  border-radius: 20px;

  background:
    color-mix(
      in srgb,
      var(--wzsc-accent) 11%,
      white
    );

  color: var(--wzsc-accent);
  font-size: 2.25rem;

  box-shadow:
    inset 0 0 0 1px
    color-mix(
      in srgb,
      var(--wzsc-accent) 15%,
      transparent
    );
}

.wzsc-hero-copy {
  min-width: 0;
}

.wzsc-share-kicker {
  margin: 0 0 5px;

  color: var(--wzsc-theme);

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  line-height: 1.2;
  text-transform: uppercase;
}

.wzsc-hero h1 {
  margin: 0;

  color: #171a21;

  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.wzsc-hero-description,
.wzsc-hero-copy > p.wzsc-hero-description {
  max-width: 720px;
  margin: 9px 0 0;

  color: #626773;

  font-size: 0.97rem;
  line-height: 1.55;
}

.wzsc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;

  margin-top: 13px;
}

.wzsc-private-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 6px 9px;

  border: 1px solid
    color-mix(
      in srgb,
      var(--wzsc-theme) 14%,
      transparent
    );

  border-radius: 999px;

  background: var(--wzsc-theme-soft);

  color: var(--wzsc-theme);

  font-size: 0.75rem;
  font-weight: 700;
}

.wzsc-owner {
  gap: 7px;

  color: #737884;

  font-size: 0.8rem;
}

.wzsc-owner strong {
  color: #343842;
  font-weight: 700;
}

.wzsc-owner img {
  width: 28px;
  height: 28px;

  border: 2px solid white;

  box-shadow:
    0 1px 5px rgba(24, 30, 42, 0.12);
}

.wzsc-hero-stat {
  min-width: 94px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 15px 16px;

  border: 1px solid #eceef1;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.82);

  box-shadow:
    0 5px 17px rgba(24, 30, 42, 0.045);
}

.wzsc-hero-stat strong {
  color: #1a1d24;

  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wzsc-hero-stat span {
  margin-top: 5px;

  color: #777c87;

  font-size: 0.72rem;
  font-weight: 700;
}


/* ---------- COLLECTION CONTENT ---------- */

.wzsc-events-section {
  margin-top: 28px;
}

.wzsc-section-heading {
  margin-bottom: 14px;
}

.wzsc-eyebrow {
  margin-bottom: 3px;

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wzsc-section-heading h2 {
  color: #1b1e25;

  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.wzsc-count {
  padding: 6px 10px;

  border: 1px solid #e7e9ed;
  border-radius: 999px;

  background: white;

  color: #737883;

  font-size: 0.75rem;
  font-weight: 700;
}


/* ---------- ALBUM GRID ---------- */

.wzsc-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.wzsc-card {
  overflow: hidden;

  border: 1px solid #e6e8ec;
  border-radius: 18px;

  background: white;

  box-shadow:
    0 4px 16px rgba(20, 25, 35, 0.055);

  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.wzsc-card:hover {
  border-color: #dfe1e6;

  transform: translateY(-2px);

  box-shadow:
    0 10px 26px rgba(20, 25, 35, 0.09);
}

.wzsc-card-button {
  height: 100%;
}

.wzsc-card-media {
  aspect-ratio: 1.38 / 1;

  overflow: hidden;

  background: #eceef2;
}

.wzsc-card-image {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 260ms ease;
}

.wzsc-card:hover .wzsc-card-image {
  transform: scale(1.025);
}

.wzsc-card-play {
  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: rgba(18, 20, 25, 0.76);

  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.18);
}

.wzsc-card-body {
  padding: 13px 14px 12px;
}

.wzsc-category {
  margin-bottom: 4px;

  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.wzsc-card h3 {
  margin: 0 0 6px;

  color: #1b1e25;

  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.23;
}

.wzsc-card-meta {
  gap: 4px 9px;

  color: #7b808b;

  font-size: 0.72rem;
  line-height: 1.4;
}

.wzsc-card-body > p {
  display: -webkit-box;
  overflow: hidden;

  margin: 7px 0 0;

  color: #626873;

  font-size: 0.78rem;
  line-height: 1.45;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* ---------- EMPTY / LOAD MORE ---------- */

.wzsc-empty {
  padding: 42px 24px;

  border: 1px dashed #d9dce2;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.74);

  color: #737883;
}

.wzsc-load-more {
  margin-top: 18px;
}


/* ---------- SIGNED-OUT ACQUISITION ---------- */

.wzsc-join-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;

  margin-top: 34px;
  padding: 24px 26px;

  border: 1px solid
    color-mix(
      in srgb,
      var(--wzsc-theme) 14%,
      #e7e9ed
    );

  border-radius: 22px;

  background:
    linear-gradient(
      135deg,
      var(--wzsc-theme-soft),
      white 62%
    );
}

.wzsc-join-copy {
  max-width: 720px;
}

.wzsc-join-eyebrow {
  margin: 0 0 5px;

  color: var(--wzsc-theme);

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.wzsc-join-card h2 {
  margin: 0;

  color: #1b1e25;

  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.wzsc-join-copy > p:last-child {
  margin: 7px 0 0;

  color: #686e79;

  font-size: 0.86rem;
  line-height: 1.5;
}

.wzsc-join-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.wzsc-join-actions .wzsc-button {
  white-space: nowrap;
}


/* ---------- PASSWORD GATE ---------- */

.wzsc-gate {
  max-width: 540px;

  margin-top: 58px;
  padding: 34px 32px;

  border: 1px solid #e5e7eb;
  border-radius: 24px;

  background: white;

  box-shadow:
    0 14px 44px rgba(20, 25, 35, 0.09);
}

.wzsc-lock {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  margin: 0 auto 14px;

  border-radius: 17px;

  background: var(--wzsc-theme-soft);

  font-size: 1.65rem;
}

.wzsc-gate h1 {
  letter-spacing: -0.03em;
}

.wzsc-unlock-form input {
  border-radius: 12px;
}

.wzsc-gate-actions {
  margin-top: 18px;
}


/* ---------- EVENT VIEWER ---------- */

.wzsc-overlay {
  padding: 24px;

  background: rgba(17, 19, 24, 0.68);

  backdrop-filter: blur(5px);
}

.wzsc-dialog {
  width: min(920px, 100%);
  max-height: min(92vh, 920px);

  overflow: auto;

  border: 0;
  border-radius: 22px;

  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.26);
}

.wzsc-dialog-head {
  position: sticky;
  top: 0;
  z-index: 3;

  padding: 18px 21px;

  border-bottom: 1px solid #eceef1;

  background: rgba(255, 255, 255, 0.97);

  backdrop-filter: blur(10px);
}

.wzsc-dialog-head h2 {
  margin-top: 3px;

  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.wzsc-close {
  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: #f4f5f7;
}

.wzsc-dialog-body {
  padding: 20px 21px 24px;
}

.wzsc-detail-media {
  gap: 10px;
}

.wzsc-media-button {
  overflow: hidden;

  border-radius: 14px;

  background: #eceef1;
}

.wzsc-detail-meta {
  margin-top: 15px;
}

.wzsc-detail-description {
  margin-top: 13px;

  color: #555b66;

  line-height: 1.6;
}


/* ---------- REACTIONS / COMMENTS ---------- */

.wzsc-reactions {
  margin-top: 17px;
  padding-top: 15px;

  border-top: 1px solid #eceef1;
}

.wzsc-reaction {
  min-height: 36px;

  border-radius: 999px;

  background: #fafafb;
}

.wzsc-comments {
  margin-top: 18px;
  padding-top: 18px;

  border-top: 1px solid #eceef1;
}

.wzsc-comments h3 {
  font-size: 1.05rem;
}

.wzsc-comment {
  padding: 10px 0;
}

.wzsc-comment-form {
  margin-top: 15px;

  padding: 14px;

  border: 1px solid #e7e9ed;
  border-radius: 14px;

  background: #fafbfc;
}

.wzsc-comment-form textarea {
  border-radius: 11px;

  background: white;
}

.wzsc-readonly-note {
  margin-top: 18px;

  border-radius: 11px;

  background: #f6f7f9;

  color: #7b808a;
}


/* ---------- TABLET / LAPTOP / DESKTOP ---------- */

@media (min-width: 641px) {
  .wzsc-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 18px;
  }
}


/* ---------- MOBILE / APP ---------- */

@media (max-width: 640px) {

  .wzsc-topbar {
    padding: 11px 14px;
  }

  .wzsc-brand img {
    width: 32px;
    height: 32px;
  }

  .wzsc-home-link {
    padding: 7px 9px;

    font-size: 0.82rem;
  }

  .wzsc-main {
    width: calc(100% - 16px);

    padding-top: 14px;
    padding-bottom: 34px;
  }

  .wzsc-hero {
    grid-template-columns: 1fr;

    gap: 14px;

    padding: 17px 16px;

    border-radius: 19px;
  }

  .wzsc-hero-main {
    align-items: flex-start;

    gap: 12px;
  }

  .wzsc-collection-icon {
    flex-basis: 54px;

    width: 54px;
    height: 54px;

    border-radius: 14px;

    font-size: 1.65rem;
  }

  .wzsc-share-kicker {
    margin-bottom: 4px;

    font-size: 0.62rem;
  }

  .wzsc-hero h1 {
    font-size: 1.48rem;
  }

  .wzsc-hero-description,
  .wzsc-hero-copy > p.wzsc-hero-description {
    margin-top: 7px;

    font-size: 0.84rem;
    line-height: 1.45;
  }

  .wzsc-hero-meta {
    gap: 7px 10px;

    margin-top: 10px;
  }

  .wzsc-private-badge {
    padding: 5px 7px;

    font-size: 0.67rem;
  }

  .wzsc-owner {
    font-size: 0.72rem;
  }

  .wzsc-owner img {
    width: 25px;
    height: 25px;
  }

  .wzsc-hero-stat {
    min-width: 0;

    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;

    padding: 8px 10px;

    border-radius: 12px;
  }

  .wzsc-hero-stat strong {
    font-size: 1rem;
  }

  .wzsc-hero-stat span {
    margin: 0;

    font-size: 0.7rem;
  }

  .wzsc-events-section {
    margin-top: 22px;
  }

  .wzsc-section-heading {
    padding-inline: 8px;

    margin-bottom: 11px;
  }

  .wzsc-section-heading h2 {
    font-size: 1.25rem;
  }

  .wzsc-grid {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .wzsc-card {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);

    margin-inline: auto;

    border-radius: 17px;
  }

  .wzsc-card-media {
    aspect-ratio: 1.5 / 1;
  }

  .wzsc-card-body {
    padding: 12px 13px 11px;
  }

  .wzsc-card h3 {
    font-size: 1rem;
  }

  .wzsc-card-body > p {
    font-size: 0.77rem;
  }

  .wzsc-join-card {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;

    margin: 28px 8px 0;
    padding: 19px 17px;

    border-radius: 18px;
  }

  .wzsc-join-card h2 {
    font-size: 1.12rem;
  }

  .wzsc-join-actions {
    display: grid;
    grid-template-columns: 1fr;

    gap: 8px;
  }

  .wzsc-join-actions .wzsc-button {
    width: 100%;
  }

  .wzsc-gate {
    margin-top: 26px;

    padding: 25px 18px;

    border-radius: 20px;
  }

  .wzsc-overlay {
    align-items: flex-end;

    padding: 0;
  }

  .wzsc-dialog {
    width: 100%;
    max-height: 94vh;

    border-radius: 18px 18px 0 0;
  }

  .wzsc-dialog-head,
  .wzsc-dialog-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wzsc-detail-media {
    grid-template-columns: 1fr;

    gap: 8px;
  }
}


/* ---------- SMALL PHONES ---------- */

@media (max-width: 390px) {

  .wzsc-hero {
    padding: 15px 13px;
  }

  .wzsc-collection-icon {
    flex-basis: 49px;

    width: 49px;
    height: 49px;
  }

  .wzsc-hero h1 {
    font-size: 1.38rem;
  }

  .wzsc-grid {
    gap: 15px;
  }

  .wzsc-card {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
  }
}


/* ==========================================================
   WayzAway Shared Collection — Redesign V2

   Cleaner, more structured Collection banner.
   ========================================================== */


/* ---------- HERO RESET ---------- */

.wzsc-hero {
  display: block;

  padding: 0;

  border-radius: 22px;

  background:
    linear-gradient(
      125deg,
      #ffffff 0%,
      #ffffff 72%,
      color-mix(
        in srgb,
        var(--wzsc-accent) 5%,
        white
      ) 100%
    );
}

.wzsc-hero::before {
  width: 5px;
}

.wzsc-hero-content {
  padding: 22px 25px 20px 28px;
}


/* ---------- TITLE ROW ---------- */

.wzsc-hero-heading {
  display: flex;
  align-items: center;

  gap: 16px;
}

.wzsc-collection-icon {
  flex: 0 0 62px;

  width: 62px;
  height: 62px;

  border-radius: 17px;

  font-size: 1.9rem;
}

.wzsc-hero-title {
  min-width: 0;
}

.wzsc-share-kicker {
  margin-bottom: 3px;

  font-size: 0.69rem;
}

.wzsc-hero h1 {
  font-size: clamp(
    1.72rem,
    2.6vw,
    2.25rem
  );

  line-height: 1.05;
}


/* ---------- DESCRIPTION ---------- */

.wzsc-hero-description,
.wzsc-hero-copy > p.wzsc-hero-description {
  max-width: 760px;

  margin: 11px 0 0 78px;

  color: #626873;

  font-size: 0.92rem;
  line-height: 1.5;
}


/* ---------- HERO FOOTER ---------- */

.wzsc-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  margin-top: 15px;
  margin-left: 78px;
}

.wzsc-hero-meta {
  margin: 0;

  gap: 9px 14px;
}

.wzsc-private-badge {
  padding: 5px 9px;

  font-size: 0.72rem;
}

.wzsc-owner {
  font-size: 0.78rem;
}

.wzsc-owner img {
  width: 27px;
  height: 27px;
}


/* ---------- MEMORIES COUNTER ---------- */

.wzsc-hero-stat {
  min-width: auto;

  flex-direction: row;

  gap: 5px;

  padding: 7px 11px;

  border-radius: 999px;

  background: #ffffff;

  box-shadow: none;
}

.wzsc-hero-stat strong {
  font-size: 1rem;

  line-height: 1;
}

.wzsc-hero-stat span {
  margin: 0;

  font-size: 0.72rem;
}


/* ---------- MOMENTS HEADING ---------- */

.wzsc-events-section {
  margin-top: 25px;
}

.wzsc-section-heading {
  margin-bottom: 13px;
}

.wzsc-section-heading > div {
  width: 100%;
}


/* ---------- MOBILE / APP ---------- */

@media (max-width: 640px) {

  .wzsc-hero {
    padding: 0;

    border-radius: 19px;
  }

  .wzsc-hero-content {
    padding: 18px 16px 16px 19px;
  }

  .wzsc-hero-heading {
    align-items: center;

    gap: 12px;
  }

  .wzsc-collection-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    border-radius: 14px;

    font-size: 1.55rem;
  }

  .wzsc-share-kicker {
    margin-bottom: 2px;

    font-size: 0.59rem;

    letter-spacing: 0.075em;
  }

  .wzsc-hero h1 {
    font-size: 1.45rem;
  }

  .wzsc-hero-description,
  .wzsc-hero-copy > p.wzsc-hero-description {
    margin: 11px 0 0;

    font-size: 0.82rem;
    line-height: 1.42;
  }

  .wzsc-hero-footer {
    display: block;

    margin-top: 13px;
    margin-left: 0;
  }

  .wzsc-hero-meta {
    display: flex;
    align-items: center;

    gap: 8px 10px;

    margin: 0;
  }

  .wzsc-private-badge {
    padding: 5px 7px;

    font-size: 0.65rem;
  }

  .wzsc-owner {
    font-size: 0.7rem;
  }

  .wzsc-owner img {
    width: 24px;
    height: 24px;
  }

  .wzsc-hero-stat {
    display: inline-flex;

    margin-top: 12px;

    padding: 6px 9px;

    border-radius: 999px;
  }

  .wzsc-hero-stat strong {
    font-size: 0.92rem;
  }

  .wzsc-hero-stat span {
    font-size: 0.67rem;
  }

  .wzsc-events-section {
    margin-top: 21px;
  }

  .wzsc-section-heading {
    padding-inline: 8px;

    margin-bottom: 10px;
  }
}


/* ---------- SMALL PHONES ---------- */

@media (max-width: 390px) {

  .wzsc-hero-content {
    padding: 16px 14px 15px 17px;
  }

  .wzsc-collection-icon {
    flex-basis: 48px;

    width: 48px;
    height: 48px;
  }

  .wzsc-hero-heading {
    gap: 10px;
  }

  .wzsc-hero h1 {
    font-size: 1.36rem;
  }

  .wzsc-hero-meta {
    align-items: flex-start;
  }
}


/* ==========================================================
   WayzAway Shared Collection — Redesign V3

   Mobile refinement:
   hide memories counter on phone / app view only.
   ========================================================== */

@media (max-width: 640px) {

  .wzsc-hero-stat {
    display: none;
  }

}

/* 4J53F shared collection search/sort controls */
.wzsc-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 18px;
}

.wzsc-search {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.42);
  border-radius: 8px;
  background: rgba(128, 128, 128, 0.04);
}

.wzsc-search:focus-within {
  border-color: var(--wzsc-theme);
  box-shadow: 0 0 0 1px var(--wzsc-theme-soft);
}

.wzsc-search-submit,
.wzsc-search-clear {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.wzsc-search-submit {
  font-size: 20px;
}

.wzsc-search-clear {
  font-size: 22px;
  line-height: 1;
}

.wzsc-search-input {
  appearance: none;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: inherit;
  font: inherit;
}

.wzsc-search-input::-webkit-search-cancel-button {
  display: none;
}

.wzsc-sort {
  position: relative;
  flex: 0 0 auto;
}

.wzsc-sort > summary {
  list-style: none;
}

.wzsc-sort > summary::-webkit-details-marker {
  display: none;
}

.wzsc-sort-trigger {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #343b48;
  font-size: 22px;
  cursor: pointer;
}

.wzsc-sort-trigger:hover,
.wzsc-sort[open] .wzsc-sort-trigger {
  background: var(--wzsc-theme-soft);
  color: var(--wzsc-theme);
}

.wzsc-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 80;
  width: max-content;
  min-width: 180px;
  overflow: hidden;
  padding: 4px 0;
  border: 1px solid #e0e5ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(30, 42, 58, 0.16);
}

.wzsc-sort-option {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  background: transparent;
  color: #202938;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.wzsc-sort-option:hover {
  background: #f6f7f9;
}

.wzsc-sort-option.is-active {
  background: var(--wzsc-theme-soft);
  color: var(--wzsc-theme);
  font-weight: 700;
}

@media (max-width: 520px) {
  .wzsc-tools {
    align-items: stretch;
  }

  .wzsc-sort {
    align-self: center;
  }
}
