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;
  }
}
