
/* source: src/client/styles/shared/vendeflow.css */
:root {
  --vf: #7c3aed;
  --vf2: #06b6d4;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f7f7fb;
  --card: #fff;
  --danger: #dc2626;
  --shadow: 0 18px 60px rgba(31, 41, 55, 0.09);
  --radius: 24px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  text-decoration: none;
  color: inherit;
}
.zs-hidden {
  display: none !important;
}
.zs-shell {
  min-height: 100vh;
}
.zs-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}
.zs-top-inner {
  max-width: 1380px;
  margin: auto;
  height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.zs-logo img {
  width: 160px;
  display: block;
}
.zs-search {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.zs-search input {
  width: 100%;
  border: 1px solid var(--line);
  background: #f9fafb;
  border-radius: 999px;
  padding: 13px 45px 13px 18px;
  outline: none;
}
.zs-search button {
  position: absolute;
  right: 6px;
  top: 6px;
  border: 0;
  background: var(--ink);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}
.zs-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.zs-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 15px;
  border-radius: 14px;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.zs-btn:hover {
  transform: translateY(-1px);
}
.zs-btn.primary {
  background: linear-gradient(135deg, var(--vf), #5b21b6);
  color: #fff;
  border-color: transparent;
}
.zs-btn.dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.zs-btn.ghost {
  background: transparent;
  border-color: transparent;
}
.zs-btn.danger {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}
.zs-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 0;
}
.zs-layout {
  max-width: 1380px;
  margin: auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 720px) 330px;
  gap: 26px;
  padding: 28px 22px 110px;
}
.zs-sidebar,
.zs-right {
  position: sticky;
  top: 100px;
  height: max-content;
}
.zs-nav {
  display: grid;
  gap: 7px;
}
.zs-nav button,
.zs-nav a {
  border: 0;
  background: transparent;
  border-radius: 15px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  cursor: pointer;
  text-align: left;
}
.zs-nav .active,
.zs-nav button:hover,
.zs-nav a:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.06);
}
.zs-side-card,
.zs-card {
  background: var(--card);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.zs-side-card {
  padding: 18px;
  margin-top: 20px;
}
.zs-side-card h3 {
  margin: 0 0 8px;
}
.zs-side-card p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.zs-announcement {
  background: linear-gradient(135deg, #111827, #312e81);
  color: white;
  padding: 12px 18px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
.zs-hero {
  padding: 28px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 55%, #ecfeff 100%);
  margin-bottom: 18px;
}
.zs-hero:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vf), var(--vf2));
  right: -65px;
  top: -80px;
  opacity: 0.18;
}
.zs-hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  max-width: 620px;
  margin: 0 0 14px;
  letter-spacing: -0.04em;
}
.zs-hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.zs-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.zs-stories {
  display: flex;
  gap: 13px;
  overflow: auto;
  padding: 3px 2px 18px;
  scrollbar-width: none;
}
.zs-story {
  min-width: 78px;
  text-align: center;
  cursor: pointer;
}
.zs-story-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--vf), #ec4899, var(--vf2));
  margin: auto;
}
.zs-story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  background: #eee;
}
.zs-story span {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zs-composer {
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.zs-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vf), var(--vf2));
  color: #fff;
  font-weight: 900;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}
.zs-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zs-composer button {
  flex: 1;
  border: 1px solid var(--line);
  background: #f9fafb;
  border-radius: 999px;
  padding: 13px 16px;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
}
.zs-feed {
  display: grid;
  gap: 18px;
}
.zs-post {
  overflow: hidden;
}
.zs-post-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
}
.zs-post-identity {
  min-width: 0;
  flex: 1;
}
.zs-post-identity b {
  display: flex;
  align-items: center;
  gap: 6px;
}
.zs-post-identity small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.zs-verify {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
}
.zs-post-text {
  padding: 0 18px 15px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.zs-post-media {
  background: #0f172a;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.zs-post-media img,
.zs-post-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zs-audio {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background:
    radial-gradient(circle at 20% 20%, #7c3aed 0, transparent 35%),
    radial-gradient(circle at 80% 80%, #06b6d4 0, transparent 38%), #0f172a;
  color: white;
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
}
.zs-audio strong {
  font-size: 28px;
  display: block;
  margin-bottom: 18px;
}
.zs-audio audio {
  width: min(100%, 440px);
}
.zs-attached-product {
  margin: 14px 18px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fafafa;
}
.zs-attached-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
}
.zs-attached-product .meta {
  min-width: 0;
  flex: 1;
}
.zs-attached-product .meta b {
  display: block;
}
.zs-attached-product .meta span {
  font-weight: 900;
  color: var(--vf);
  display: block;
  margin-top: 4px;
}
.zs-post-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 10px 12px;
  gap: 4px;
}
.zs-post-actions button {
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 10px 6px;
  cursor: pointer;
  font-weight: 700;
  color: #4b5563;
}
.zs-post-actions button:hover {
  background: #f3f4f6;
}
.zs-post-actions .liked {
  color: #e11d48;
}
.zs-right h3 {
  margin: 0 0 14px;
}
.zs-trend-list,
.zs-store-list {
  display: grid;
  gap: 12px;
}
.zs-trend {
  padding: 13px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.zs-trend b {
  display: block;
}
.zs-trend small {
  color: var(--muted);
}
.zs-store-mini {
  display: flex;
  gap: 10px;
  align-items: center;
}
.zs-store-mini .zs-avatar {
  width: 40px;
  height: 40px;
}
.zs-store-mini .info {
  min-width: 0;
  flex: 1;
}
.zs-store-mini .info b,
.zs-store-mini .info small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zs-store-mini small {
  color: var(--muted);
}
.zs-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 5px 0 16px;
}
.zs-section-title h2 {
  margin: 0;
  font-size: 25px;
}
.zs-section-title p {
  margin: 4px 0 0;
  color: var(--muted);
}
.zs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.zs-product {
  overflow: hidden;
}
.zs-product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #eee;
}
.zs-product-body {
  padding: 15px;
}
.zs-product-body small {
  color: var(--muted);
}
.zs-product-body h3 {
  margin: 5px 0 8px;
  font-size: 17px;
}
.zs-price {
  font-size: 20px;
  font-weight: 900;
}
.zs-product-actions {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}
.zs-product-actions .zs-btn {
  flex: 1;
  padding: 9px 10px;
  font-size: 13px;
}
.zs-store-card {
  overflow: hidden;
}
.zs-store-cover {
  height: 120px;
  background: #ddd;
}
.zs-store-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zs-store-card-body {
  padding: 0 16px 16px;
}
.zs-store-card-body .zs-avatar {
  width: 64px;
  height: 64px;
  margin-top: -32px;
  border: 4px solid white;
}
.zs-store-card-body h3 {
  margin: 10px 0 4px;
}
.zs-store-card-body p {
  font-size: 14px;
  color: var(--muted);
  min-height: 42px;
}
.zs-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--line);
  padding: 7px max(8px, env(safe-area-inset-right))
    calc(7px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
}
.zs-mobile-nav button,
.zs-mobile-nav a {
  border: 0;
  background: transparent;
  padding: 7px 4px;
  display: grid;
  place-items: center;
  gap: 3px;
  font-size: 10px;
  color: #6b7280;
}
.zs-mobile-nav .active {
  color: var(--vf);
  font-weight: 800;
}
.zs-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}
.zs-modal-panel {
  background: #fff;
  width: min(100%, 610px);
  max-height: 92vh;
  overflow: auto;
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
}
.zs-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.zs-modal-head h2 {
  margin: 0;
}
.zs-close {
  border: 0;
  background: #f3f4f6;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
}
.zs-form {
  display: grid;
  gap: 14px;
}
.zs-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.zs-field {
  display: grid;
  gap: 7px;
}
.zs-field span {
  font-weight: 750;
  font-size: 13px;
}
.zs-field input,
.zs-field textarea,
.zs-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  outline: none;
  background: #fff;
}
.zs-field textarea {
  resize: vertical;
  min-height: 100px;
}
.zs-field input:focus,
.zs-field textarea:focus,
.zs-field select:focus {
  border-color: var(--vf);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.zs-upload {
  border: 1.5px dashed #c4b5fd;
  background: #faf8ff;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
}
.zs-preview {
  margin-top: 10px;
}
.zs-preview img,
.zs-preview video {
  max-width: 100%;
  max-height: 320px;
  border-radius: 15px;
}
.zs-empty {
  padding: 42px 22px;
  text-align: center;
  color: var(--muted);
}
.zs-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  background: #111827;
  color: #fff;
  border-radius: 16px;
  padding: 13px 16px;
  min-width: 260px;
  max-width: 360px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.25s;
}
.zs-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.zs-toast b,
.zs-toast small {
  display: block;
}
.zs-toast small {
  margin-top: 3px;
  color: #d1d5db;
}
.zs-profile-hero {
  overflow: hidden;
}
.zs-profile-cover {
  height: 210px;
  background: linear-gradient(135deg, #ddd, #eee);
}
.zs-profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zs-profile-info {
  padding: 0 24px 24px;
}
.zs-profile-info .zs-avatar {
  width: 104px;
  height: 104px;
  margin-top: -52px;
  border: 5px solid white;
}
.zs-profile-info h1 {
  margin: 12px 0 2px;
}
.zs-profile-info p {
  color: var(--muted);
  line-height: 1.55;
}
.zs-stats {
  display: flex;
  gap: 24px;
  margin: 16px 0;
}
.zs-stats b {
  display: block;
  font-size: 20px;
}
.zs-stats small {
  color: var(--muted);
}
.zs-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-top: 18px;
}
.zs-tabs button {
  border: 0;
  background: transparent;
  padding: 12px 14px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
}
.zs-tabs .active {
  color: var(--vf);
  border-bottom: 3px solid var(--vf);
}
.zs-auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.zs-auth-visual {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(124, 58, 237, 0.75),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(6, 182, 212, 0.65),
      transparent 38%
    ),
    #0f172a;
  color: #fff;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.zs-auth-visual img {
  width: 170px;
  filter: brightness(0) invert(1);
}
.zs-auth-visual h1 {
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 700px;
}
.zs-auth-visual p {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 550px;
  line-height: 1.6;
}
.zs-auth-form-wrap {
  display: grid;
  place-items: center;
  padding: 40px 22px;
  background: #fff;
}
.zs-auth-box {
  width: min(100%, 460px);
}
.zs-auth-box h2 {
  font-size: 34px;
  margin: 0 0 8px;
}
.zs-auth-box > p {
  color: var(--muted);
  margin: 0 0 24px;
}
.zs-auth-footer {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
}
.zs-seller-layout {
  max-width: 1300px;
  margin: auto;
  padding: 28px 22px 100px;
}
.zs-seller-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.zs-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.zs-metric {
  padding: 18px;
}
.zs-metric span {
  color: var(--muted);
  font-size: 13px;
}
.zs-metric b {
  display: block;
  font-size: 27px;
  margin-top: 8px;
}
.zs-seller-columns {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}
.zs-seller-menu {
  padding: 10px;
  height: max-content;
  position: sticky;
  top: 94px;
}
.zs-seller-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  border-radius: 13px;
  text-align: left;
  font-weight: 750;
  cursor: pointer;
}
.zs-seller-menu button.active {
  background: #ede9fe;
  color: #5b21b6;
}
.zs-table-wrap {
  overflow: auto;
}
.zs-table {
  width: 100%;
  border-collapse: collapse;
}
.zs-table th,
.zs-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}
.zs-badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 12px;
  font-weight: 800;
}
.zs-admin-shell {
  min-height: 100vh;
  background: #f4f5f9;
}
.zs-admin-top {
  height: 68px;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.zs-admin-top img {
  width: 150px;
  filter: brightness(0) invert(1);
}
.zs-admin-top .spacer {
  flex: 1;
}
.zs-admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  max-width: 1500px;
  margin: auto;
}
.zs-admin-nav {
  background: #fff;
  border-right: 1px solid var(--line);
  min-height: calc(100vh - 68px);
  padding: 20px 12px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
}
.zs-admin-nav button,
.zs-admin-nav a {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 13px;
  padding: 12px 14px;
  text-align: left;
  font-weight: 750;
  cursor: pointer;
  display: block;
}
.zs-admin-nav .active {
  background: #ede9fe;
  color: #5b21b6;
}
.zs-admin-main {
  padding: 28px;
}
.zs-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.zs-admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}
.zs-admin-card span {
  color: var(--muted);
  font-size: 13px;
}
.zs-admin-card b {
  display: block;
  font-size: 28px;
  margin-top: 8px;
}
.zs-toolbar {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.zs-toolbar input {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 12px;
  min-width: 240px;
}
.zs-admin-list {
  display: grid;
  gap: 10px;
}
.zs-admin-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.zs-admin-item .grow {
  flex: 1;
  min-width: 0;
}
.zs-admin-item small {
  color: var(--muted);
}
.zs-admin-item-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.zs-admin-item-actions button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}
@media (max-width: 1120px) {
  .zs-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .zs-right {
    display: none;
  }
  .zs-metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .zs-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .zs-top-inner {
    height: 62px;
    padding: 0 13px;
  }
  .zs-logo img {
    width: 132px;
  }
  .zs-search {
    display: none;
  }
  .zs-top-actions .hideMobile {
    display: none;
  }
  .zs-layout {
    display: block;
    padding: 16px 12px 95px;
  }
  .zs-sidebar {
    display: none;
  }
  .zs-mobile-nav {
    display: grid;
  }
  .zs-hero {
    padding: 22px;
  }
  .zs-hero h1 {
    font-size: 35px;
  }
  .zs-composer {
    padding: 14px;
  }
  .zs-post-media {
    aspect-ratio: 1;
  }
  .zs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .zs-product-body {
    padding: 12px;
  }
  .zs-product-body h3 {
    font-size: 15px;
  }
  .zs-form-grid {
    grid-template-columns: 1fr;
  }
  .zs-modal {
    padding: 0;
    align-items: end;
  }
  .zs-modal-panel {
    width: 100%;
    max-height: 94vh;
    border-radius: 26px 26px 0 0;
  }
  .zs-auth-page {
    display: block;
  }
  .zs-auth-visual {
    min-height: 300px;
    padding: 26px;
  }
  .zs-auth-visual h1 {
    font-size: 42px;
  }
  .zs-auth-form-wrap {
    padding: 34px 20px;
  }
  .zs-seller-layout {
    padding: 18px 12px 90px;
  }
  .zs-seller-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .zs-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zs-seller-columns {
    display: block;
  }
  .zs-seller-menu {
    display: flex;
    overflow: auto;
    position: static;
    margin-bottom: 14px;
  }
  .zs-seller-menu button {
    white-space: nowrap;
    width: auto;
  }
  .zs-admin-layout {
    display: block;
  }
  .zs-admin-nav {
    display: flex;
    overflow: auto;
    position: static;
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .zs-admin-nav button,
  .zs-admin-nav a {
    width: auto;
    white-space: nowrap;
  }
  .zs-admin-main {
    padding: 18px 12px;
  }
  .zs-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zs-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .zs-toolbar input {
    min-width: 0;
    width: 100%;
  }
  .zs-admin-item {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .zs-admin-item-actions {
    width: 100%;
  }
}
@media (max-width: 420px) {
  .zs-grid {
    grid-template-columns: 1fr;
  }
  .zs-post-actions button {
    font-size: 12px;
  }
  .zs-metric-grid,
  .zs-admin-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* source: src/client/styles/shared/pwa-ui.css */
html.zs-skip-splash .zs-splash{display:none!important}html.zs-splash-done .zs-splash{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

:root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}
html{min-height:100%;background:#f7f7fb;text-size-adjust:100%;-webkit-text-size-adjust:100%}body{min-height:100%;overflow-x:hidden}button,a,input,select,textarea{min-height:44px}img,video{max-width:100%}:focus-visible{outline:3px solid #06b6d4!important;outline-offset:3px!important}
.zs-splash{position:fixed;inset:0;z-index:99999;background:radial-gradient(circle at 20% 15%,rgba(124,58,237,.2),transparent 32%),radial-gradient(circle at 82% 80%,rgba(6,182,212,.18),transparent 34%),#f8f7ff;display:grid;place-items:center;padding:24px;transition:opacity .18s ease,visibility .18s ease}.zs-splash.hide{opacity:0;visibility:hidden;pointer-events:none}.zs-splash-inner{text-align:center;width:min(88vw,360px)}.zs-splash-icon{width:92px;height:92px;border-radius:28px;margin:auto;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#06b6d4);box-shadow:0 22px 65px rgba(91,33,182,.28);animation:zsSplashPulse 1.25s ease-in-out infinite}.zs-splash-icon svg,.zs-splash-icon img{width:58px;height:58px;display:block}.zs-splash-title{margin:20px 0 6px;font-size:30px;font-weight:900;letter-spacing:-.04em}.zs-splash-text{margin:0;color:#6b7280}.zs-splash-bar{height:6px;background:#e9e5ff;border-radius:999px;margin:24px auto 0;overflow:hidden;width:210px}.zs-splash-bar span{display:block;height:100%;width:45%;border-radius:inherit;background:linear-gradient(90deg,#7c3aed,#06b6d4);animation:zsSplashMove 1s ease-in-out infinite}@keyframes zsSplashMove{0%{transform:translateX(-120%)}100%{transform:translateX(340%)}}@keyframes zsSplashPulse{50%{transform:scale(1.045)}}
.zs-pwa-overlay{position:fixed;inset:0;z-index:9990;background:rgba(15,23,42,.66);backdrop-filter:blur(8px);display:grid;place-items:center;padding:20px;opacity:0;visibility:hidden;transition:.25s}.zs-pwa-overlay.show{opacity:1;visibility:visible}.zs-pwa-sheet{position:relative;width:min(100%,520px);background:#fff;border-radius:30px;padding:30px;box-shadow:0 32px 110px rgba(0,0,0,.3);text-align:center;transform:translateY(18px) scale(.98);transition:.25s}.zs-pwa-overlay.show .zs-pwa-sheet{transform:none}.zs-pwa-close{position:absolute;right:14px;top:14px;border:0;background:#eef0f4;border-radius:50%;width:42px;height:42px;cursor:pointer;font-size:20px}.zs-pwa-app-icon{width:104px;height:104px;border-radius:28px;margin:5px auto 20px;box-shadow:0 18px 45px rgba(91,33,182,.22)}.zs-pwa-sheet h2{font-size:29px;line-height:1.12;margin:0 28px 10px;letter-spacing:-.035em}.zs-pwa-sheet p{color:#6b7280;line-height:1.55;margin:0 auto 22px;max-width:420px}.zs-pwa-actions{display:grid;gap:10px}.zs-pwa-primary,.zs-pwa-secondary{width:100%;border:0;border-radius:15px;padding:14px 18px;font-weight:850;cursor:pointer}.zs-pwa-primary{background:linear-gradient(135deg,#7c3aed,#5b21b6);color:#fff}.zs-pwa-secondary{background:#e9ecf1;color:#111827}.zs-pwa-help{text-align:left;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:18px;padding:15px 17px;margin:0 0 18px}.zs-pwa-help b{display:block;margin-bottom:7px}.zs-pwa-help ol{margin:0;padding-left:21px;color:#4b5563;line-height:1.55}.zs-install-action{white-space:nowrap}.zs-pwa-floating{position:fixed;right:max(16px,var(--safe-right));bottom:calc(84px + var(--safe-bottom));z-index:120;border:0;border-radius:999px;padding:12px 17px;background:#111827;color:#fff;font-weight:850;box-shadow:0 16px 42px rgba(15,23,42,.28);cursor:pointer;display:none}.zs-pwa-floating.show{display:inline-flex;align-items:center;gap:8px}
.zs-notif-button{position:relative}.zs-notif-badge{position:absolute;right:-5px;top:-6px;min-width:19px;height:19px;border-radius:999px;background:#e11d48;color:#fff;font-size:11px;display:grid;place-items:center;padding:0 5px;border:2px solid #fff}.zs-notif-panel{position:fixed;z-index:9980;right:max(18px,var(--safe-right));top:78px;width:min(92vw,400px);max-height:min(72vh,650px);overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:24px;box-shadow:0 28px 90px rgba(15,23,42,.22);padding:16px;display:none}.zs-notif-panel.show{display:block}.zs-notif-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.zs-notif-head h3{margin:0;flex:1}.zs-notif-item{display:block;width:100%;border:0;background:#fff;text-align:left;border-radius:15px;padding:12px;cursor:pointer}.zs-notif-item:hover,.zs-notif-item.unread{background:#f5f3ff}.zs-notif-item b,.zs-notif-item small,.zs-notif-item span{display:block}.zs-notif-item span{color:#4b5563;margin-top:3px;line-height:1.4}.zs-notif-item small{color:#6b7280;margin-top:5px}.zs-notif-empty{text-align:center;color:#6b7280;padding:28px 12px}.zs-notif-enable{display:grid;gap:8px;background:linear-gradient(135deg,#f5f3ff,#ecfeff);border-radius:17px;padding:14px;margin-bottom:12px}.zs-notif-enable b{font-size:14px}.zs-notif-enable small{color:#6b7280}.zs-notif-enable button{border:0;border-radius:12px;background:#7c3aed;color:#fff;font-weight:800;padding:10px}
html.zs-standalone .zs-install-action,html.zs-standalone .zs-pwa-floating{display:none!important}html.zs-device-ios body{padding-bottom:var(--safe-bottom)}html.zs-device-ios .zs-mobile-nav{padding-bottom:calc(8px + var(--safe-bottom))}
@media(max-width:760px){body{padding-left:var(--safe-left);padding-right:var(--safe-right)}.zs-pwa-overlay{align-items:end;padding:0}.zs-pwa-sheet{width:100%;border-radius:30px 30px 0 0;padding:28px 22px calc(24px + var(--safe-bottom))}.zs-pwa-app-icon{width:88px;height:88px;border-radius:25px}.zs-pwa-sheet h2{font-size:26px}.zs-notif-panel{top:66px;right:8px;left:8px;width:auto;max-height:74vh}.zs-install-action{display:none!important}.zs-auth-form-wrap{padding-bottom:calc(38px + var(--safe-bottom))}.zs-mobile-nav{padding-left:max(7px,var(--safe-left));padding-right:max(7px,var(--safe-right))}.zs-top{padding-top:var(--safe-top)}.zs-top-inner{min-height:62px;height:auto}.zs-admin-top{padding-top:var(--safe-top);height:calc(68px + var(--safe-top))}.zs-admin-nav{scrollbar-width:none}.zs-grid{align-items:stretch}.zs-product,.zs-store-card{min-width:0}.zs-post-actions button{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:420px){.zs-hero h1{font-size:31px}.zs-pwa-sheet{padding-left:18px;padding-right:18px}.zs-pwa-sheet h2{margin-left:18px;margin-right:18px}.zs-top-actions{gap:5px}.zs-top-actions .zs-btn{padding:9px 11px}.zs-post-head,.zs-post-text{padding-left:14px;padding-right:14px}}
@media(orientation:landscape) and (max-height:640px) and (max-width:1000px){.zs-pwa-sheet{max-height:96vh;overflow:auto;padding-top:18px}.zs-pwa-app-icon{width:62px;height:62px;margin-bottom:10px}.zs-pwa-sheet h2{font-size:23px}.zs-pwa-sheet p{margin-bottom:13px}.zs-splash-icon{width:70px;height:70px}}
@media(min-width:1600px){body{font-size:18px}.zs-top-inner,.zs-layout{max-width:1760px}.zs-top-inner{height:86px}.zs-logo img{width:190px}.zs-layout{grid-template-columns:290px minmax(0,900px) 390px;gap:34px}.zs-btn{padding:13px 19px}.zs-nav button,.zs-nav a{padding:16px 18px}.zs-hero{padding:38px}.zs-hero p{font-size:20px}.zs-post-text{font-size:19px}.zs-right,.zs-sidebar{top:118px}.zs-admin-layout{max-width:1820px;grid-template-columns:310px 1fr}.zs-admin-top{height:82px}.zs-admin-nav{top:82px;height:calc(100vh - 82px)}.zs-admin-main{padding:38px}.zs-seller-layout{max-width:1700px}.zs-seller-columns{grid-template-columns:320px 1fr}}
@media(min-width:1900px) and (min-height:900px){html.zs-device-tv body{font-size:22px}html.zs-device-tv .zs-top-inner,html.zs-device-tv .zs-layout{max-width:1880px}html.zs-device-tv .zs-btn,html.zs-device-tv button,html.zs-device-tv a{min-height:54px}html.zs-device-tv .zs-nav button,html.zs-device-tv .zs-nav a{font-size:21px}html.zs-device-tv .zs-hero h1{font-size:64px}html.zs-device-tv .zs-post-actions button{font-size:18px}html.zs-device-tv :focus{outline:5px solid #06b6d4!important;outline-offset:5px!important}}

html.zs-dark-mode .zs-pwa-sheet,html.zs-dark-mode .zs-notif-panel,html.zs-dark-mode .zs-notif-item,html.zs-dark-mode .zs-notif-enable,html.zs-dark-mode .zs-pwa-help{background:#111827;color:#f8fafc;border-color:#334155}html.zs-dark-mode .zs-pwa-secondary,html.zs-dark-mode .zs-pwa-close{background:#1e293b;color:#f8fafc}html.zs-dark-mode .zs-notif-item:hover,html.zs-dark-mode .zs-notif-item.unread{background:#1e293b}html.zs-dark-mode .zs-pwa-sheet p,html.zs-dark-mode .zs-pwa-help ol,html.zs-dark-mode .zs-notif-item span,html.zs-dark-mode .zs-notif-item small,html.zs-dark-mode .zs-notif-enable small{color:#cbd5e1}html.zs-dark-mode .zs-notif-badge{border-color:#111827}

/* source: src/client/styles/legacy/vendeflow-120.css */
:root {
  --vf: #7c3aed;
  --zs-deep: #5b21b6;
  --zs-soft: #f3efff;
  --cyan: #06b6d4;
  --ink: #111827;
  --muted: #667085;
  --line: #e7e8ee;
  --bg: #f6f7fb;
  --card: #fff;
  --good: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --radius: 22px;
  --shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
}
* {
  -webkit-tap-highlight-color: transparent;
}
body {
  background: linear-gradient(180deg, #fbfbfe 0, #f4f5fa 100%);
  font-size: 16px;
}
.zs-btn {
  min-height: 44px;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.15;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  white-space: nowrap;
}
.zs-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(17, 24, 39, 0.08);
}
.zs-btn:active {
  transform: scale(0.98);
}
.zs-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.zs-btn-wide {
  width: 100%;
}
.zs-compact {
  min-height: 38px;
  padding: 8px 12px;
}
.zs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--vf);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.zs-top {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.05);
}
.zs-top-inner {
  height: 70px;
}
.zs-logo img {
  width: 155px;
  height: auto;
}
.zs-seller-link {
  color: var(--vf);
  border-color: #ddd6fe;
}
.zs-icon-btn {
  font-weight: 900;
  background: linear-gradient(135deg, #f5f3ff, #ecfeff);
}
.zs-layout {
  grid-template-columns: 224px minmax(0, 720px) 310px;
  gap: 22px;
}
.zs-nav button,
.zs-nav a {
  min-height: 48px;
}
.zs-nav button span,
.zs-nav a span {
  width: 25px;
  text-align: center;
  font-size: 18px;
}
.zs-nav .active {
  background: linear-gradient(135deg, #f5f3ff, #eefcff);
  color: var(--vf);
}
.zs-pulse-card {
  background: linear-gradient(145deg, #111827, #312e81);
  color: #fff;
  border: 0;
}
.zs-pulse-card .zs-eyebrow {
  color: #67e8f9;
}
.zs-pulse-card p {
  color: #cbd5e1;
}
.zs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 185px;
  align-items: center;
  min-height: 320px;
  padding: 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(6, 182, 212, 0.18), transparent 42%),
    radial-gradient(circle at 30% 0, rgba(124, 58, 237, 0.12), transparent 38%),
    #fff;
}
.zs-hero-copy {
  position: relative;
  z-index: 2;
}
.zs-hero h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  max-width: 590px;
}
.zs-hero-orbit {
  position: relative;
  width: 170px;
  height: 170px;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  box-shadow: 0 30px 75px rgba(91, 33, 182, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
}
.zs-hero-orbit b {
  font-size: 48px;
}
.zs-hero-orbit span {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #fff;
  color: var(--vf);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.16);
  font-weight: 900;
}
.zs-hero-orbit span:nth-child(1) {
  left: -20px;
  top: 15px;
}
.zs-hero-orbit span:nth-child(2) {
  right: -15px;
  top: 55px;
}
.zs-hero-orbit span:nth-child(3) {
  left: 20px;
  bottom: -22px;
}
.zs-stories-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 2px 10px;
}
.zs-stories-head h2 {
  font-size: 20px;
  margin: 0;
}
.zs-stories-head small {
  color: var(--muted);
}
.zs-stories {
  gap: 14px;
  padding: 5px 2px 18px;
  scroll-snap-type: x proximity;
}
.zs-story {
  width: 76px;
  min-width: 76px;
  max-width: 76px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  scroll-snap-align: start;
}
.zs-story-circle {
  position: relative;
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef0f5;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #d9dce5;
  overflow: hidden;
}
.zs-story-circle.has-story {
  box-shadow: 0 0 0 3px transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ec4899, #7c3aed, #06b6d4) border-box;
  border: 3px solid transparent;
  padding: 3px;
}
.zs-story-circle.has-story img,
.zs-story-circle.has-story i {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  font-style: normal;
  font-weight: 900;
}
.zs-story strong {
  display: block;
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.zs-story-create .zs-story-circle {
  background: linear-gradient(135deg, #f5f3ff, #ecfeff);
  box-shadow: 0 0 0 2px #c4b5fd;
}
.zs-story-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--vf);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}
.zs-story-skeleton {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 50%;
  background: linear-gradient(90deg, #eee, #f8f8fa, #eee);
  background-size: 200% 100%;
  animation: zsShimmer 1.2s infinite;
}
@keyframes zsShimmer {
  to {
    background-position: -200% 0;
  }
}
.zs-composer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}
.zs-composer-quick {
  display: flex;
  gap: 7px;
}
.zs-composer-quick button {
  border: 0;
  background: #f4f5f8;
  border-radius: 12px;
  padding: 9px 11px;
  font-weight: 750;
  color: #475467;
  cursor: pointer;
}
.zs-composer > button {
  min-height: 46px;
}
.zs-card {
  border-color: rgba(226, 228, 235, 0.95);
  box-shadow: var(--shadow);
}
.zs-post {
  border-radius: 24px;
}
.zs-identity-button {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 850;
  cursor: pointer;
  color: var(--ink);
}
.zs-more {
  border: 0;
  background: transparent;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: #667085;
}
.zs-verify {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  color: #fff;
  background: #2563eb;
  vertical-align: middle;
  box-shadow: 0 0 0 2px #fff;
}
.zs-verify.purple {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}
.zs-verify.gold {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}
.zs-post-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.zs-post-actions button b {
  font-size: 18px;
}
.zs-post-actions .liked {
  background: #fff1f2;
  color: #e11d48;
}
.zs-mini-buy {
  background: var(--vf);
  color: #fff;
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 850;
}
.zs-product-image {
  position: relative;
  overflow: hidden;
}
.zs-sold-out {
  position: absolute;
  inset: auto 10px 10px;
  background: rgba(17, 24, 39, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.zs-store-card-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 14px;
}
.zs-store-card-body > .zs-btn {
  margin-top: 0;
}
.zs-side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zs-side-title span {
  font-size: 11px;
  color: var(--good);
  font-weight: 800;
}
.zs-trend {
  width: 100%;
  border: 0;
  background: #f8f9fb;
  border-radius: 14px;
  padding: 11px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1px 8px;
  text-align: left;
  cursor: pointer;
}
.zs-trend > span {
  grid-row: 1/3;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: #ede9fe;
  color: var(--vf);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}
.zs-trend b {
  font-size: 13px;
}
.zs-trend small {
  font-size: 11px;
}
.zs-store-mini {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  cursor: pointer;
}
.zs-store-mini i {
  font-size: 22px;
  color: #98a2b3;
}
.zs-safe-card {
  background: linear-gradient(135deg, #f5f3ff, #ecfeff);
}
.zs-profile-info {
  padding-bottom: 28px;
}
.zs-profile-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.zs-profile-title h1 {
  margin: 12px 0 2px;
}
.zs-plan-pill {
  background: #f2f4f7;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.zs-profile-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.zs-comment {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.zs-comment p {
  margin: 5px 0 0;
}
.zs-comment small {
  display: block;
  color: var(--muted);
}
.zs-story-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #080a12;
  display: grid;
  place-items: center;
  color: #fff;
}
.zs-story-viewer-content {
  position: relative;
  width: min(100vw, 520px);
  height: min(100vh, 880px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111827;
}
.zs-story-viewer-content > img,
.zs-story-viewer-content > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.zs-text-story {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 42px;
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}
.zs-story-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 42px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 13px 16px;
  text-align: center;
  font-weight: 700;
}
.zs-story-viewer-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  z-index: 4;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
.zs-story-progress {
  position: absolute;
  top: max(13px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: min(calc(100% - 110px), 430px);
  display: flex;
  gap: 4px;
}
.zs-story-progress span {
  height: 3px;
  flex: 1;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  overflow: hidden;
}
.zs-story-progress span i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}
.zs-story-progress span.done i {
  width: 100%;
}
.zs-story-progress span.active i {
  animation: zs-story-progress 6.5s linear forwards;
}
@keyframes zs-story-progress {
  to {
    width: 100%;
  }
}
.zs-story-viewer-identity {
  position: absolute;
  top: calc(max(13px, env(safe-area-inset-top)) + 18px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: min(calc(100% - 40px), 470px);
  display: flex;
  align-items: center;
  gap: 9px;
  text-shadow: 0 1px 6px #000;
}
.zs-story-viewer-identity .zs-avatar {
  width: 38px;
  height: 38px;
}
.zs-story-viewer-identity small {
  display: block;
  color: #e5e7eb;
}
.zs-story-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 35%;
  z-index: 2;
  border: 0;
  background: transparent;
}
.zs-story-nav.prev {
  left: 0;
}
.zs-story-nav.next {
  right: 0;
}
.zs-story-open {
  overflow: hidden;
}
.zs-story-composer {
  max-width: 560px;
}
.zs-story-upload {
  padding: 13px;
}
.zs-story-preview,
.zs-story-blank {
  min-height: 300px;
}
.zs-story-blank {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  border-radius: 18px;
  font-weight: 850;
}
.zs-story-upload .zs-preview img,
.zs-story-upload .zs-preview video {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #111827;
}
.zs-auth-modern .zs-auth-visual {
  background:
    radial-gradient(
      circle at 18% 15%,
      rgba(124, 58, 237, 0.8),
      transparent 35%
    ),
    radial-gradient(
      circle at 82% 80%,
      rgba(6, 182, 212, 0.65),
      transparent 38%
    ),
    #101828;
}
.zs-trust-list {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.zs-trust-list span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 13px;
}
.zs-auth-mobile-logo {
  display: none;
}
.zs-phone-field {
  display: grid;
  grid-template-columns: minmax(145px, 1.2fr) auto minmax(120px, 1fr);
  gap: 7px;
  align-items: stretch;
}
.zs-phone-field select,
.zs-phone-field input {
  min-width: 0;
}
.zs-dial-preview {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #f9fafb;
  border-radius: 14px;
  padding: 0 10px;
  font-weight: 850;
}
.zs-password-wrap {
  position: relative;
}
.zs-password-wrap input {
  padding-right: 48px;
}
.zs-password-wrap button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 38px;
  height: 36px;
  min-height: 36px;
  border: 0;
  background: transparent;
  border-radius: 10px;
}
.zs-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.zs-check input {
  width: 19px;
  height: 19px;
  min-height: 0;
  margin-top: 1px;
}
.zs-check a,
.zs-auth-footer a {
  color: var(--vf);
  font-weight: 800;
}
.zs-verify-top {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1120px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}
.zs-verify-top img {
  width: 150px;
}
.zs-verify-page {
  max-width: 1040px;
  margin: auto;
  padding: 50px 22px 90px;
}
.zs-verify-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}
.zs-verify-intro h1 {
  font-size: clamp(38px, 6vw, 62px);
  letter-spacing: -0.045em;
  margin: 8px 0 12px;
}
.zs-verify-intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.zs-verify-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  width: 220px;
}
.zs-verify-progress span {
  width: 24px;
  height: 24px;
  border: 4px solid #d0d5dd;
  border-radius: 50%;
  background: #fff;
}
.zs-verify-progress span.done {
  border-color: var(--good);
  background: var(--good);
}
.zs-verify-progress i {
  height: 4px;
  flex: 1;
  background: #d0d5dd;
}
.zs-verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.zs-verify-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.zs-verify-card.verified {
  border-color: #a7f3d0;
  background: linear-gradient(145deg, #fff, #ecfdf5);
}
.zs-verify-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #f5f3ff;
  color: var(--vf);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.zs-verify-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.zs-verify-card h2 {
  font-size: 18px;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.zs-verify-card p {
  color: var(--muted);
}
.zs-status {
  background: #fff7ed;
  color: #c2410c;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 900;
  height: max-content;
}
.zs-status.ok {
  background: #ecfdf3;
  color: #047857;
}
.zs-code-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.zs-code-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  font-size: 22px;
  letter-spacing: 0.2em;
  text-align: center;
  font-weight: 850;
}
.zs-link-button {
  border: 0;
  background: transparent;
  color: var(--vf);
  font-weight: 800;
  padding: 11px 0;
  cursor: pointer;
}
.zs-inline-notice {
  margin-top: 10px;
  padding: 11px;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.45;
}
.zs-verify-ready {
  margin-top: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.zs-verify-ready p {
  margin: 5px 0 0;
  color: var(--muted);
}
.zs-verify-ready.done {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.zs-seller-head {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.zs-seller-head > div:last-child {
  display: flex;
  gap: 9px;
}
.zs-metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.zs-metric {
  min-width: 0;
}
.zs-seller-menu button {
  min-height: 46px;
}
.zs-admin-top {
  gap: 8px;
}
.zs-admin-top .zs-btn {
  background: #1f2937;
  color: #fff;
  border-color: #374151;
}
.zs-admin-nav {
  overflow-y: auto;
}
.zs-admin-item {
  min-width: 0;
}
.zs-admin-item .grow b,
.zs-admin-item .grow small {
  display: block;
  overflow-wrap: anywhere;
}
.zs-admin-item-actions button {
  min-height: 40px;
}
.zs-table td,
.zs-table th {
  white-space: nowrap;
}

.zs-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.zs-plan-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: #fff;
}
.zs-plan-card.popular {
  border-color: #c4b5fd;
  box-shadow: 0 18px 50px rgba(124, 58, 237, 0.12);
}
.zs-plan-popular {
  position: absolute;
  top: -10px;
  right: 15px;
  background: var(--vf);
  color: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 900;
}
.zs-plan-price {
  font-size: 28px;
  font-weight: 950;
  margin: 10px 0;
}
.zs-plan-price small {
  font-size: 12px;
  color: var(--muted);
}
.zs-plan-features {
  list-style: none;
  padding: 0;
  margin: 13px 0;
  display: grid;
  gap: 8px;
  color: #475467;
  font-size: 13px;
}
.zs-verification-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.zs-verification-choice label {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  cursor: pointer;
}
.zs-verification-choice input {
  width: auto;
  min-height: 0;
}
.zs-badge-preview {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  background: #2563eb;
  font-weight: 900;
}
.zs-badge-preview.purple {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}
.zs-badge-preview.gold {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}
@media (max-width: 1120px) {
  .zs-layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .zs-right {
    display: none;
  }
  .zs-hero {
    grid-template-columns: 1fr 150px;
  }
  .zs-hero-orbit {
    width: 140px;
    height: 140px;
  }
  .zs-plan-grid,
  .zs-verification-choice {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .zs-install-action {
    display: none !important;
  }
  body {
    font-size: 15px;
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
  .zs-top {
    top: 0;
  }
  .zs-top-inner {
    height: 64px;
    min-height: 64px;
    padding: 0 14px;
  }
  .zs-logo img {
    width: 145px;
  }
  .zs-top-actions .zs-btn {
    min-width: 44px;
    max-width: 108px;
    padding: 9px 12px;
  }
  .zs-top-actions #authButton {
    font-size: 13px;
  }
  .zs-layout {
    padding: 14px 12px 88px;
  }
  .zs-hero {
    display: block;
    min-height: 0;
    padding: 26px 22px;
    margin-bottom: 18px;
  }
  .zs-hero h1 {
    font-size: 38px;
    line-height: 1.03;
  }
  .zs-hero p {
    font-size: 17px;
  }
  .zs-hero-orbit {
    display: none;
  }
  .zs-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .zs-hero-actions .zs-btn {
    width: 100%;
  }
  .zs-stories-head {
    margin-top: 8px;
  }
  .zs-stories-head small {
    display: none;
  }
  .zs-stories-head .zs-btn {
    font-size: 12px;
  }
  .zs-stories {
    margin: 0 -12px;
    padding: 6px 12px 18px;
  }
  .zs-story {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
  }
  .zs-story-circle {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
  }
  .zs-composer {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 13px;
  }
  .zs-composer-quick {
    grid-column: 1/3;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .zs-composer-quick button {
    min-height: 40px;
  }
  .zs-post {
    border-radius: 20px;
  }
  .zs-post-head {
    padding: 14px;
  }
  .zs-post-text {
    font-size: 16px;
    padding: 0 14px 14px;
  }
  .zs-post-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 7px;
  }
  .zs-post-actions button {
    font-size: 11px;
    gap: 3px;
    padding: 9px 2px;
  }
  .zs-post-actions button b {
    font-size: 17px;
  }
  .zs-attached-product {
    margin: 12px;
  }
  .zs-attached-product .zs-btn {
    display: none;
  }
  .zs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .zs-product {
    border-radius: 18px;
  }
  .zs-product-body h3 {
    min-height: 38px;
  }
  .zs-product-actions {
    display: grid;
  }
  .zs-product-actions .zs-btn {
    width: 100%;
  }
  .zs-section-title {
    margin-top: 25px;
  }
  .zs-profile-cover {
    height: 170px;
  }
  .zs-profile-info {
    padding: 0 18px 22px;
  }
  .zs-profile-title {
    display: block;
  }
  .zs-plan-pill {
    display: inline-block;
    margin-top: 8px;
  }
  .zs-profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .zs-profile-actions .zs-btn {
    width: 100%;
  }
  .zs-mobile-nav {
    height: 66px;
    padding: 5px max(6px, env(safe-area-inset-right))
      calc(5px + env(safe-area-inset-bottom));
    align-items: center;
  }
  .zs-mobile-nav button,
  .zs-mobile-nav a {
    min-height: 52px;
    border-radius: 13px;
  }
  .zs-mobile-nav b {
    font-size: 18px;
    font-weight: 500;
  }
  .zs-mobile-create b {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--vf), var(--cyan));
    color: #fff;
    display: grid;
    place-items: center;
    margin-top: -18px;
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.28);
  }
  .zs-story-viewer-content {
    width: 100vw;
    height: 100vh;
  }
  .zs-story-viewer-identity {
    left: 18px;
    right: 60px;
    transform: none;
    width: auto;
  }
  .zs-auth-page {
    min-height: 100dvh;
  }
  .zs-auth-visual {
    display: none;
  }
  .zs-auth-form-wrap {
    padding: 28px 18px calc(36px + env(safe-area-inset-bottom));
    align-items: start;
  }
  .zs-auth-box {
    max-width: 520px;
  }
  .zs-auth-mobile-logo {
    display: block;
    margin-bottom: 24px;
  }
  .zs-auth-mobile-logo img {
    width: 150px;
  }
  .zs-auth-box h2 {
    font-size: 34px;
  }
  .zs-phone-field {
    grid-template-columns: 1fr auto;
  }
  .zs-phone-field input {
    grid-column: 1/3;
  }
  .zs-form-grid {
    grid-template-columns: 1fr;
  }
  .zs-verify-top {
    height: 64px;
    padding: 0 14px;
  }
  .zs-verify-top img {
    width: 140px;
  }
  .zs-verify-page {
    padding: 32px 14px 90px;
  }
  .zs-verify-intro h1 {
    font-size: 39px;
  }
  .zs-verify-intro p {
    font-size: 16px;
  }
  .zs-verify-grid {
    grid-template-columns: 1fr;
  }
  .zs-code-form {
    grid-template-columns: 1fr;
  }
  .zs-verify-ready {
    display: block;
  }
  .zs-verify-ready .zs-btn {
    width: 100%;
    margin-top: 14px;
  }
  .zs-seller-layout {
    padding: 14px 12px 90px;
  }
  .zs-seller-head {
    padding: 15px;
    gap: 13px;
  }
  .zs-seller-head h1 {
    font-size: 29px !important;
    line-height: 1.06;
  }
  .zs-seller-head > div:last-child {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }
  .zs-seller-head .zs-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .zs-metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .zs-metric {
    padding: 14px;
  }
  .zs-metric b {
    font-size: 22px;
  }
  .zs-seller-columns {
    display: block;
  }
  .zs-seller-menu {
    position: static;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    margin-bottom: 12px;
    padding: 6px;
    border-radius: 16px;
    scrollbar-width: none;
  }
  .zs-seller-menu button {
    width: auto;
    min-width: max-content;
    padding: 10px 12px;
  }
  .zs-table-wrap {
    margin: 0 -10px;
  }
  .zs-admin-top {
    height: auto;
    min-height: 64px;
    padding: 8px 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .zs-admin-top img {
    width: 105px;
    min-width: 105px;
  }
  .zs-admin-top .spacer {
    display: none;
  }
  .zs-admin-top .zs-btn {
    font-size: 12px;
    padding: 8px 10px;
    min-width: max-content;
  }
  .zs-admin-layout {
    display: block;
  }
  .zs-admin-nav {
    position: sticky;
    top: 64px;
    z-index: 20;
    height: auto;
    min-height: 0;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 7px;
    background: #fff;
    scrollbar-width: none;
  }
  .zs-admin-nav button {
    width: auto;
    min-width: max-content;
    padding: 10px 12px;
    font-size: 13px;
  }
  .zs-admin-main {
    padding: 20px 12px;
  }
  .zs-admin-main h1 {
    font-size: 34px;
    line-height: 1.08;
  }
  .zs-admin-item {
    padding: 14px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }
  .zs-admin-item > .zs-badge {
    grid-column: 2;
  }
  .zs-admin-item-actions {
    grid-column: 1/3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .zs-admin-item-actions button {
    width: 100%;
    padding: 9px 7px;
  }
  .zs-admin-item select.zs-btn {
    grid-column: 2;
    width: 100%;
    min-width: 0;
  }
  .zs-plan-grid,
  .zs-verification-choice {
    grid-template-columns: 1fr;
  }
  .zs-pwa-floating {
    display: none !important;
  }
}
@media (max-width: 420px) {
  .zs-hero h1 {
    font-size: 34px;
  }
  .zs-grid {
    grid-template-columns: 1fr;
  }
  .zs-product-body h3 {
    min-height: 0;
  }
  .zs-story {
    width: 68px;
    min-width: 68px;
    max-width: 68px;
  }
  .zs-story-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
  }
  .zs-top-actions {
    gap: 5px;
  }
  .zs-code-form input {
    font-size: 20px;
  }
  .zs-profile-actions {
    grid-template-columns: 1fr;
  }
  .zs-admin-item-actions {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1400px) {
  .zs-layout {
    grid-template-columns: 250px minmax(0, 780px) 330px;
  }
  .zs-hero {
    min-height: 350px;
  }
}
@media (min-width: 1900px) {
  .zs-layout {
    grid-template-columns: 310px minmax(0, 960px) 420px;
  }
  .zs-hero h1 {
    font-size: 68px;
  }
  .zs-story-circle {
    width: 82px;
    height: 82px;
  }
  .zs-story {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.zs-profile-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}
.zs-avatar-link {
  display: inline-flex;
  border-radius: 50%;
  flex: none;
}
.zs-inline-profile {
  font-weight: 800;
  color: var(--ink);
}
.zs-clickable {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  width: 100%;
  cursor: pointer;
  text-align: inherit;
}
.zs-menu-dots {
  font-size: 17px;
  letter-spacing: -2px;
}
.zs-hero {
  transition:
    opacity 0.38s ease,
    transform 0.38s ease,
    max-height 0.38s ease,
    margin 0.38s ease,
    padding 0.38s ease;
}
.zs-hero-leaving {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.zs-sponsored {
  border-color: #bae6fd;
  background: linear-gradient(180deg, #fff, #f9fdff);
}
.zs-sponsored-pill {
  font-size: 11px;
  font-weight: 900;
  color: #0369a1;
  background: #e0f2fe;
  border-radius: 999px;
  padding: 6px 9px;
}
.zs-ad-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px 16px;
}
.zs-ad-footer small,
.zs-ad-footer b {
  display: block;
}
.zs-ad-footer small {
  color: var(--muted);
  margin-bottom: 3px;
}
.zs-more:active,
.zs-profile-link:active {
  transform: scale(0.97);
}
.zs-menu-modal {
  align-items: stretch;
  justify-items: end;
  padding: 0;
  background: rgba(15, 23, 42, 0.45);
}
.zs-menu-sheet {
  width: min(100%, 430px);
  height: 100%;
  border-radius: 24px 0 0 24px;
  background: #fff;
  padding: 22px;
  overflow: auto;
  box-shadow: -25px 0 70px rgba(15, 23, 42, 0.18);
}
.zs-menu-sheet-small {
  height: auto;
  align-self: end;
  border-radius: 24px 24px 0 0;
  width: min(100%, 560px);
  margin: auto;
}
.zs-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.zs-menu-grid > a,
.zs-menu-grid > button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  padding: 16px;
  text-align: left;
  font-weight: 800;
  color: var(--ink);
  min-height: 62px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.zs-menu-grid > a:hover,
.zs-menu-grid > button:hover {
  background: #f8fafc;
  border-color: #c4b5fd;
}
.zs-menu-profile {
  grid-column: 1/3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f5f3ff, #ecfeff);
  margin-bottom: 4px;
}
.zs-menu-profile b,
.zs-menu-profile small {
  display: block;
}
.zs-menu-profile small {
  color: var(--muted);
  margin-top: 3px;
}
.zs-story-identity-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  cursor: pointer;
  text-shadow: 0 1px 6px #000;
}
.zs-story-identity-button .zs-avatar {
  flex: none;
}
.zs-story-upload .zs-preview {
  min-height: 300px;
}
.zs-story-upload .zs-preview:empty {
  display: none;
}
.zs-ad-center-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(6, 182, 212, 0.22), transparent 45%),
    linear-gradient(135deg, #111827, #312e81);
  color: #fff;
  margin-bottom: 18px;
}
.zs-ad-center-hero p {
  color: #cbd5e1;
}
.zs-ad-center-hero .zs-btn {
  background: #fff;
  color: #111827;
}
.zs-ad-campaign {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  background: #fff;
}
.zs-ad-campaign-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.zs-ad-campaign-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 13px;
}
.zs-ad-campaign-stats span {
  background: #f8fafc;
  border-radius: 12px;
  padding: 9px;
}
.zs-ad-campaign-stats small,
.zs-ad-campaign-stats b {
  display: block;
}
.zs-ad-campaign-stats small {
  color: var(--muted);
  font-size: 11px;
}
.zs-ad-campaign-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.zs-ad-campaign-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 9px 11px;
  font-weight: 750;
  cursor: pointer;
}
.zs-ad-creative-preview img,
.zs-ad-creative-preview video {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 16px;
  background: #111827;
}
@media (max-width: 760px) {
  .zs-menu-modal {
    align-items: end;
    justify-items: stretch;
  }
  .zs-menu-sheet {
    width: 100%;
    height: auto;
    max-height: 88dvh;
    border-radius: 26px 26px 0 0;
    padding: 19px 14px calc(18px + env(safe-area-inset-bottom));
  }
  .zs-menu-grid {
    grid-template-columns: 1fr 1fr;
  }
  .zs-menu-grid > a,
  .zs-menu-grid > button {
    min-height: 58px;
    padding: 14px;
    font-size: 14px;
  }
  .zs-ad-footer {
    padding: 11px 12px 14px;
  }
  .zs-ad-footer .zs-btn {
    min-width: 110px;
  }
  .zs-ad-center-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .zs-ad-campaign-stats {
    grid-template-columns: 1fr 1fr;
  }
  .zs-top-actions .zs-menu-dots {
    max-width: 48px;
    min-width: 44px;
    padding: 9px;
  }
  .zs-profile-link.zs-avatar-link {
    min-width: 44px;
  }
  .zs-story-identity-button {
    max-width: calc(100vw - 90px);
  }
  .zs-story-upload .zs-preview {
    min-height: 220px;
  }
  .zs-story-upload .zs-preview img,
  .zs-story-upload .zs-preview video {
    height: 320px;
  }
}
@media (max-width: 420px) {
  .zs-menu-grid {
    grid-template-columns: 1fr;
  }
  .zs-menu-profile {
    grid-column: 1;
  }
  .zs-ad-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .zs-ad-footer .zs-btn {
    width: 100%;
  }
}

.zs-form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.zs-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.zs-check-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--vf);
}
.zs-post-type {
  display: inline-flex;
  margin: 0 18px 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: #eef2ff;
  color: #4338ca;
}
.zs-post-type.offer {
  background: #ecfdf5;
  color: #047857;
}
.zs-post-type.request {
  background: #fff7ed;
  color: #c2410c;
}
.zs-post-type.update {
  background: #ecfeff;
  color: #0e7490;
}
.zs-request-post {
  border-color: #fed7aa;
}
.zs-post-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.zs-comments-panel {
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 820px);
}
.zs-comments-list {
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 2px 2px 18px;
  min-height: 180px;
}
.zs-comment {
  min-width: 0;
}
.zs-comment-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.zs-comment .zs-avatar {
  width: 38px;
  height: 38px;
  font-size: 12px;
}
.zs-comment-main {
  min-width: 0;
  flex: 1;
}
.zs-comment-bubble {
  background: #f3f4f6;
  border-radius: 18px;
  padding: 10px 13px;
  user-select: text;
  -webkit-user-select: text;
  touch-action: pan-y;
}
.zs-comment-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.zs-comment-meta b {
  font-size: 14px;
}
.zs-comment-meta small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.zs-comment-bubble p {
  margin: 5px 0 0;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.zs-reply-mention {
  color: var(--vf);
  font-weight: 800;
}
.zs-comment-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0 0 6px;
  min-height: 28px;
}
.zs-comment-tools > button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 6px;
  cursor: pointer;
}
.zs-comment-reactions {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.zs-comment-reactions button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  padding: 4px 6px;
  font-size: 13px;
  cursor: pointer;
}
.zs-comment-reactions button.active {
  background: #ede9fe;
  border-color: #c4b5fd;
}
.zs-comment-reactions span {
  font-size: 11px;
  color: var(--muted);
}
.zs-comment-more {
  letter-spacing: 1px;
}
.zs-comment-replies {
  display: grid;
  gap: 10px;
  margin: 10px 0 0 18px;
  padding-left: 12px;
  border-left: 2px solid #e5e7eb;
}
.zs-comment-reply .zs-avatar {
  width: 32px;
  height: 32px;
}
.zs-comment-composer {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 0 18px;
  margin-top: auto;
}
.zs-comment-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.zs-comment-input-row textarea {
  flex: 1;
  min-height: 48px;
  max-height: 130px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
}
.zs-reply-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f3ff;
  color: #5b21b6;
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 13px;
}
.zs-reply-banner button {
  border: 0;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}
.zs-danger-text {
  color: #dc2626 !important;
}
.zs-manager-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.zs-badge.warning {
  background: #fff7ed;
  color: #c2410c;
}
.zs-post-manager-item {
  align-items: flex-start;
}
.zs-order-manager {
  display: grid;
  gap: 14px;
}
.zs-order-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: #fff;
}
.zs-order-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.zs-order-card-top > img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}
.zs-order-card-top h3 {
  margin: 3px 0 4px;
  font-size: 17px;
}
.zs-order-card-top p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.zs-order-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  background: #eef2ff;
  color: #4338ca;
  white-space: nowrap;
}
.zs-order-status.confirmado {
  background: #ecfeff;
  color: #0e7490;
}
.zs-order-status.preparando {
  background: #fff7ed;
  color: #c2410c;
}
.zs-order-status.enviado {
  background: #eff6ff;
  color: #1d4ed8;
}
.zs-order-status.entregado {
  background: #ecfdf5;
  color: #047857;
}
.zs-order-status.cancelado {
  background: #fef2f2;
  color: #b91c1c;
}
.zs-order-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.zs-order-facts span {
  background: #f9fafb;
  border-radius: 12px;
  padding: 9px;
  min-width: 0;
}
.zs-order-facts small,
.zs-order-facts b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zs-order-facts small {
  font-size: 10px;
  color: var(--muted);
}
.zs-order-facts b {
  font-size: 12px;
  margin-top: 3px;
}
.zs-order-card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.zs-order-detail-hero {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.zs-order-detail-hero img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 16px;
}
.zs-order-detail-hero h3 {
  margin: 4px 0;
}
.zs-order-timeline {
  display: grid;
  gap: 0;
  margin: 16px 0;
}
.zs-order-timeline > div {
  display: flex;
  gap: 10px;
  min-height: 48px;
}
.zs-order-timeline i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vf), var(--vf2));
  margin-top: 3px;
  position: relative;
  flex: none;
}
.zs-order-timeline > div:not(:last-child) i:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: 36px;
  background: #ddd6fe;
}
.zs-order-timeline span {
  display: grid;
  gap: 2px;
}
.zs-order-timeline small {
  color: var(--muted);
}
.zs-report-item textarea {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  min-height: 62px;
}
.zs-report-item p {
  margin: 8px 0;
  color: var(--muted);
}
.zs-buyer-orders {
  display: grid;
  gap: 12px;
}
.zs-buyer-order {
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 20px;
  background: #fff;
  padding: 15px;
}
.zs-buyer-order-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.zs-buyer-order-head img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}
.zs-buyer-order-head > div {
  flex: 1;
  min-width: 0;
}
.zs-buyer-order-head h3 {
  margin: 4px 0;
  font-size: 16px;
}
.zs-buyer-order > p {
  margin: 10px 0;
  color: #4b5563;
}
@media (max-width: 760px) {
  .zs-form-actions > * {
    flex: 1;
  }
  .zs-comments-panel {
    height: 94vh;
    max-height: 94vh;
  }
  .zs-comment-replies {
    margin-left: 10px;
    padding-left: 8px;
  }
  .zs-comment-reactions {
    max-width: 190px;
  }
  .zs-order-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zs-order-card-top {
    flex-wrap: wrap;
  }
  .zs-order-card-top .zs-order-status {
    margin-left: auto;
  }
  .zs-order-card-actions > * {
    flex: 1;
  }
  .zs-report-item .zs-admin-item-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .zs-buyer-order-head {
    flex-wrap: wrap;
  }
}

/* ZuvyShop 2.0.3: centro de vendedor centrado y cabecera móvil sin desbordamiento */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
.zs-seller-top .zs-top-inner,
.zs-seller-layout {
  width: min(100%, 1120px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.zs-seller-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zs-seller-head > div:first-child {
  min-width: 0;
}
.zs-seller-top .zs-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
@media (max-width: 760px) {
  .zs-seller-top .zs-top-inner {
    min-height: 68px;
    height: auto;
    padding: 8px 12px;
    gap: 10px;
  }
  .zs-seller-top .zs-logo {
    flex: 1;
    min-width: 0;
  }
  .zs-seller-top .zs-logo img {
    width: min(145px, 42vw);
  }
  .zs-seller-top .zs-top-actions {
    flex: none;
    gap: 6px;
  }
  .zs-seller-top .zs-top-actions .zs-btn {
    min-width: auto;
    max-width: none;
    padding: 9px 11px;
  }
  .zs-seller-layout {
    padding-left: 12px;
    padding-right: 12px;
  }
  .zs-seller-head {
    text-align: center;
    align-items: stretch;
    flex-direction: column;
  }
  .zs-seller-head > div:first-child {
    width: 100%;
  }
  .zs-seller-head > div:last-child {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }
  .zs-seller-head p {
    max-width: 520px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 390px) {
  .zs-seller-top .zs-logo img {
    width: 125px;
  }
  .zs-seller-top .zs-top-actions .zs-btn {
    font-size: 12px;
    padding: 8px 9px;
  }
  .zs-seller-head > div:last-child {
    grid-template-columns: 1fr;
  }
  .zs-seller-head .zs-btn {
    min-height: 46px;
  }
}

/* ZuvyShop 2.0.3: menú unificado, preferencias de cuenta y pago con tarjeta */
.zs-menu-body {
  display: grid;
  gap: 14px;
}
.zs-menu-section-title {
  margin: 4px 2px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.zs-facebook-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zs-facebook-menu > a,
.zs-facebook-menu > button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.zs-facebook-menu > a:hover,
.zs-facebook-menu > button:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}
.zs-facebook-menu span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #f3f0ff;
  font-size: 20px;
}
.zs-menu-list {
  display: grid;
  gap: 8px;
}
.zs-menu-list > a,
.zs-menu-list > button,
.zs-menu-list > label {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 750;
  text-align: left;
}
.zs-menu-list > button {
  width: 100%;
  cursor: pointer;
}
.zs-menu-list input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--vf);
}
.zs-payment-status {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.zs-payment-status b,
.zs-payment-status small {
  display: block;
}
.zs-payment-status small {
  color: var(--muted);
  line-height: 1.45;
}
.zs-payment-status.ready {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.zs-payment-status.pending {
  background: #fff7ed;
  border-color: #fed7aa;
}
.zs-account-quick-nav {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 9px;
  margin: 0 0 18px;
  scrollbar-width: none;
}
.zs-account-quick-nav a {
  white-space: nowrap;
  padding: 11px 15px;
  border-radius: 14px;
  font-weight: 800;
  color: var(--muted);
}
.zs-account-quick-nav a.active {
  background: #ede9fe;
  color: #6d28d9;
}
.zs-composer .zs-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zs-menu-dots {
  font-size: 22px;
  line-height: 1;
}
.zs-top-actions #profileButton.zs-hidden {
  display: none !important;
}
html.zs-dark-mode {
  --bg: #0f172a;
  --card: #111827;
  --ink: #f8fafc;
  --muted: #a8b3c7;
  --line: #334155;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}
html.zs-dark-mode body,
html.zs-dark-mode .zs-admin-shell {
  background: var(--bg);
  color: var(--ink);
}
html.zs-dark-mode .zs-top {
  background: rgba(15, 23, 42, 0.9);
}
html.zs-dark-mode .zs-card,
html.zs-dark-mode .zs-side-card,
html.zs-dark-mode .zs-modal-panel,
html.zs-dark-mode .zs-menu-sheet,
html.zs-dark-mode .zs-facebook-menu > a,
html.zs-dark-mode .zs-facebook-menu > button,
html.zs-dark-mode .zs-menu-list > a,
html.zs-dark-mode .zs-menu-list > button,
html.zs-dark-mode .zs-menu-list > label,
html.zs-dark-mode .zs-field input,
html.zs-dark-mode .zs-field textarea,
html.zs-dark-mode .zs-field select,
html.zs-dark-mode .zs-btn {
  background: #111827;
  color: #f8fafc;
  border-color: #334155;
}
html.zs-dark-mode .zs-composer button,
html.zs-dark-mode .zs-comment-bubble,
html.zs-dark-mode .zs-order-facts span {
  background: #1e293b;
  color: #cbd5e1;
}
html.zs-dark-mode .zs-facebook-menu span {
  background: #312e81;
}
html.zs-dark-mode .zs-mobile-nav {
  background: rgba(15, 23, 42, 0.95);
}
html.zs-dark-mode .zs-close {
  background: #334155;
  color: #fff;
}
html.zs-dark-mode .zs-hero {
  background: linear-gradient(135deg, #111827, #1e1b4b 60%, #083344);
}
html.zs-data-saver * {
  scroll-behavior: auto !important;
}
html.zs-data-saver .zs-hero-orbit,
html.zs-data-saver .zs-splash-bar span {
  animation: none !important;
}
html.zs-data-saver video {
  background: #111827;
}
@media (max-width: 760px) {
  .zs-facebook-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .zs-facebook-menu > a,
  .zs-facebook-menu > button {
    min-height: 80px;
  }
  .zs-account-quick-nav {
    margin-left: -2px;
    margin-right: -2px;
  }
  .zs-payment-status {
    padding: 12px;
  }
  .zs-top-actions .zs-menu-dots {
    font-size: 20px;
  }
}
@media (max-width: 370px) {
  .zs-facebook-menu {
    grid-template-columns: 1fr;
  }
}

/* ZuvyShop 2.0.3: estabilidad, reportes, guardados y reseñas */
.zs-connection-banner {
  position: sticky;
  top: 70px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
}
.zs-connection-banner b {
  font-weight: 900;
}
.zs-connection-banner button {
  border: 1px solid #fdba74;
  background: #fff;
  color: #9a3412;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  cursor: pointer;
}
.zs-load-error {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  text-align: center;
}
.zs-load-error small {
  color: var(--muted);
}
.zs-reviews-grid {
  display: grid;
  gap: 12px;
}
.zs-review-card {
  padding: 18px;
}
.zs-review-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}
.zs-review-head .zs-avatar {
  width: 44px;
  height: 44px;
}
.zs-review-head small {
  display: block;
  color: var(--muted);
}
.zs-review-head > span {
  color: #f59e0b;
  font-size: 17px;
  letter-spacing: 1px;
}
.zs-review-card > small {
  display: block;
  color: var(--muted);
  margin: 12px 0 5px;
}
.zs-review-card p {
  margin: 0;
  line-height: 1.55;
}
.zs-review-button {
  width: max-content;
  margin-top: 8px;
  min-height: 36px;
  padding: 7px 11px;
}
.zs-review-mini {
  color: #b45309 !important;
  font-weight: 800;
}
.zs-review-modal {
  max-width: 520px;
}
.zs-review-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 8px 0;
}
.zs-review-stars button {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 42px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  transition:
    transform 0.15s,
    color 0.15s;
}
.zs-review-stars button.active {
  color: #f59e0b;
  text-shadow: 0 2px 9px rgba(245, 158, 11, 0.25);
}
.zs-review-stars button:active {
  transform: scale(0.9);
}
.zs-review-rating-text {
  text-align: center;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 800;
}
.zs-reports-page {
  min-height: 100vh;
}
.zs-reports-main {
  width: min(100% - 28px, 920px);
  margin: 28px auto 80px;
  display: grid;
  gap: 20px;
}
.zs-reports-hero {
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(6, 182, 212, 0.18), transparent 42%),
    linear-gradient(135deg, #fff, #f7f3ff);
}
.zs-reports-hero h1 {
  margin: 8px 0;
  font-size: clamp(32px, 6vw, 48px);
}
.zs-reports-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.55;
}
.zs-report-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.zs-report-choices button {
  display: grid;
  gap: 7px;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 20px;
  padding: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.zs-report-choices button.active {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.zs-report-choices span {
  font-size: 26px;
}
.zs-report-choices b {
  font-size: 16px;
}
.zs-report-choices small {
  color: var(--muted);
  line-height: 1.4;
}
.zs-report-form-card {
  padding: 22px;
}
.zs-search-row {
  display: flex;
  gap: 8px;
}
.zs-search-row input {
  flex: 1;
}
.zs-store-search-results {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.zs-store-search-results > button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  color: var(--ink);
  padding: 11px;
  text-align: left;
  cursor: pointer;
}
.zs-store-search-results .zs-avatar {
  width: 42px;
  height: 42px;
}
.zs-store-search-results small {
  display: block;
  color: var(--muted);
}
.zs-store-search-results i {
  color: var(--vf);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.zs-selected-store {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #c4b5fd;
  background: #f5f3ff;
  border-radius: 15px;
  margin-bottom: 12px;
}
.zs-selected-store small {
  color: var(--muted);
}
.zs-selected-store button {
  grid-column: 2;
  grid-row: 1/3;
  border: 0;
  background: transparent;
  color: var(--vf);
  font-weight: 900;
  cursor: pointer;
}
.zs-reports-history {
  display: grid;
  gap: 12px;
}
.zs-reports-list {
  display: grid;
  gap: 12px;
}
.zs-report-case {
  padding: 18px;
}
.zs-report-case-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}
.zs-report-case-head h3 {
  margin: 8px 0 3px;
}
.zs-report-case-head small {
  color: var(--muted);
}
.zs-report-status {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.zs-report-status.proceso {
  background: #eff6ff;
  color: #1d4ed8;
}
.zs-report-status.resuelto {
  background: #ecfdf5;
  color: #047857;
}
.zs-support-reply {
  margin-top: 14px;
  padding: 13px;
  border-radius: 14px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}
.zs-support-reply p {
  margin: 5px 0 0;
}
.zs-report-admin-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.zs-report-admin-controls label {
  font-weight: 800;
}
.zs-report-admin-controls select,
.zs-report-admin-edit select,
.zs-report-admin-edit textarea {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px;
}
.zs-report-admin-edit {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 8px;
  margin-top: 14px;
}
.zs-report-admin-edit textarea {
  min-height: 48px;
  resize: vertical;
}
html.zs-dark-mode body {
  background: linear-gradient(180deg, #0b1120, #111827) !important;
}
html.zs-dark-mode .zs-card,
html.zs-dark-mode .zs-order-card,
html.zs-dark-mode .zs-buyer-order,
html.zs-dark-mode .zs-purchase-card,
html.zs-dark-mode .zs-service-card,
html.zs-dark-mode .zs-transaction-table,
html.zs-dark-mode .zs-report-choices button,
html.zs-dark-mode .zs-store-search-results > button {
  background: #111827 !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}
html.zs-dark-mode .zs-card h1,
html.zs-dark-mode .zs-card h2,
html.zs-dark-mode .zs-card h3,
html.zs-dark-mode .zs-card b,
html.zs-dark-mode .zs-section-title h1,
html.zs-dark-mode .zs-section-title h2,
html.zs-dark-mode .zs-section-title h3,
html.zs-dark-mode .zs-identity-button,
html.zs-dark-mode .zs-post-text {
  color: #f8fafc !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  -webkit-text-stroke: 0.12px rgba(0, 0, 0, 0.35);
}
html.zs-dark-mode p,
html.zs-dark-mode small,
html.zs-dark-mode .zs-muted,
html.zs-dark-mode .zs-section-title p {
  color: #cbd5e1;
}
html.zs-dark-mode .zs-btn.primary {
  background: linear-gradient(135deg, var(--vf), var(--zs-deep)) !important;
  color: #fff !important;
  border-color: transparent !important;
}
html.zs-dark-mode .zs-btn.danger {
  background: #b91c1c !important;
  color: #fff !important;
}
html.zs-dark-mode .zs-inline-notice,
html.zs-dark-mode .zs-support-reply,
html.zs-dark-mode .zs-selected-store {
  background: #1e1b4b;
  color: #f8fafc;
  border-color: #4338ca;
}
html.zs-dark-mode .zs-report-status {
  background: #431407;
  color: #fdba74;
}
html.zs-dark-mode .zs-report-status.proceso {
  background: #172554;
  color: #93c5fd;
}
html.zs-dark-mode .zs-report-status.resuelto {
  background: #052e16;
  color: #6ee7b7;
}
html.zs-dark-mode .zs-reports-hero {
  background:
    radial-gradient(circle at 100% 0, rgba(6, 182, 212, 0.18), transparent 42%),
    linear-gradient(135deg, #111827, #1e1b4b);
}
html.zs-dark-mode .zs-connection-banner {
  background: #431407;
  color: #fed7aa;
  border-color: #7c2d12;
}
html.zs-dark-mode .zs-connection-banner button {
  background: #111827;
  color: #fed7aa;
  border-color: #9a3412;
}
html.zs-dark-mode .zs-comment-composer {
  background: #111827;
}
html.zs-dark-mode .zs-transaction-row,
html.zs-dark-mode .zs-account-quick-nav {
  color: #f8fafc;
}
html.zs-dark-mode .zs-product-image,
html.zs-dark-mode .zs-profile-cover {
  background: #0f172a;
}
@media (max-width: 760px) {
  .zs-connection-banner {
    top: 68px;
    text-align: center;
  }
  .zs-report-choices {
    grid-template-columns: 1fr;
  }
  .zs-reports-main {
    width: min(100% - 20px, 920px);
    margin-top: 16px;
  }
  .zs-report-form-card,
  .zs-reports-hero {
    padding: 18px;
  }
  .zs-report-admin-edit {
    grid-template-columns: 1fr;
  }
  .zs-search-row {
    flex-direction: column;
  }
  .zs-review-head {
    grid-template-columns: auto 1fr;
  }
  .zs-review-head > span {
    grid-column: 1/-1;
    margin-left: 54px;
  }
  .zs-purchase-info .zs-review-button {
    width: 100%;
  }
}
html.zs-dark-mode .zs-menu-profile {
  background: linear-gradient(135deg, #1e1b4b, #0f3b48) !important;
  border: 1px solid #334155;
  color: #f8fafc;
}
html.zs-dark-mode .zs-menu-profile b {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  -webkit-text-stroke: 0.15px rgba(0, 0, 0, 0.45);
}
html.zs-dark-mode .zs-menu-profile small {
  color: #dbeafe !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
html.zs-dark-mode .zs-menu-profile .zs-avatar {
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

/* ZuvyShop 2.0.3: navegación limpia, reportes guiados y contraste reforzado */
.zs-pulse-card > button {
  width: 100%;
  border: 0;
  cursor: pointer;
}
.zs-report-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 950;
  text-decoration: none;
}
.zs-report-brand img {
  display: block;
  width: 155px;
  height: auto;
  max-height: 46px;
}
.zs-report-brand span {
  letter-spacing: -0.03em;
}
.zs-reports-top .zs-top-inner {
  width: min(100% - 28px, 920px);
  margin: auto;
}
.zs-report-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.zs-report-form-head h2 {
  margin: 6px 0 4px;
}
.zs-report-form-head p {
  margin: 0;
  color: var(--muted);
}
.zs-report-choices button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.zs-report-choices button.active {
  transform: translateY(-2px);
}
.zs-report-choices button:focus-visible,
.zs-store-search-results > button:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.25);
  outline-offset: 2px;
}
.zs-selected-store b,
.zs-selected-store small {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* En fondos visuales o variables, el texto conserva borde y sombra para no perderse. */
.zs-story-caption,
.zs-sold-out,
.zs-sponsored-pill,
.zs-post-type,
.zs-audio,
.zs-text-story,
.zs-shared-story-backdrop span,
.zs-story-viewer-identity,
.zs-story-reaction-summary {
  -webkit-text-stroke: 0.16px rgba(0, 0, 0, 0.5);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 8px rgba(0, 0, 0, 0.35);
}
.zs-hero-orbit b,
.zs-pulse-card h3,
.zs-pulse-card p {
  -webkit-text-stroke: 0.1px rgba(0, 0, 0, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Modo oscuro: ningún bloque claro conserva texto blanco sin contraste. */
html.zs-dark-mode .zs-attached-product,
html.zs-dark-mode .zs-trend,
html.zs-dark-mode .zs-share-preview,
html.zs-dark-mode .zs-upload,
html.zs-dark-mode .zs-account-quick-nav,
html.zs-dark-mode .zs-transaction-table,
html.zs-dark-mode .zs-purchase-media,
html.zs-dark-mode .zs-comment-input-row,
html.zs-dark-mode .zs-search-row,
html.zs-dark-mode .zs-explore-search,
html.zs-dark-mode .zs-payment-status,
html.zs-dark-mode .zs-security-setup-banner,
html.zs-dark-mode .zs-verification-card,
html.zs-dark-mode .zs-store-card-body,
html.zs-dark-mode .zs-product-body,
html.zs-dark-mode .zs-ad-footer,
html.zs-dark-mode .zs-profile-info,
html.zs-dark-mode .zs-reports-history,
html.zs-dark-mode .zs-report-form-card {
  background: #111827 !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}
html.zs-dark-mode .zs-attached-product .meta b,
html.zs-dark-mode .zs-attached-product .meta span,
html.zs-dark-mode .zs-product-body h3,
html.zs-dark-mode .zs-product-body b,
html.zs-dark-mode .zs-store-card-body h3,
html.zs-dark-mode .zs-store-card-body b,
html.zs-dark-mode .zs-report-form-head h2,
html.zs-dark-mode .zs-report-case h3,
html.zs-dark-mode .zs-report-case b {
  color: #f8fafc !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7);
  -webkit-text-stroke: 0.12px rgba(0, 0, 0, 0.35);
}
html.zs-dark-mode .zs-attached-product small,
html.zs-dark-mode .zs-product-body small,
html.zs-dark-mode .zs-store-card-body small,
html.zs-dark-mode .zs-report-form-head p {
  color: #cbd5e1 !important;
}
html.zs-dark-mode .zs-trend:hover,
html.zs-dark-mode .zs-facebook-menu > a:hover,
html.zs-dark-mode .zs-facebook-menu > button:hover {
  background: #1e293b !important;
}
html.zs-dark-mode .zs-hero-orbit span {
  background: #f8fafc !important;
  color: #5b21b6 !important;
  text-shadow: none;
  -webkit-text-stroke: 0;
}
html.zs-dark-mode .zs-story-shared-post,
html.zs-dark-mode .zs-story-shared-post-action .zs-story-shared-post {
  background: #f8fafc !important;
  color: #111827 !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
}
html.zs-dark-mode .zs-availability-pill {
  background: #312e81 !important;
  color: #ddd6fe !important;
}
html.zs-dark-mode .zs-plan-pill {
  background: #1e293b !important;
  color: #e2e8f0 !important;
}
html.zs-dark-mode .zs-post-actions button {
  color: #cbd5e1;
}
html.zs-dark-mode .zs-post-actions button:hover {
  background: #1e293b;
}
html.zs-dark-mode .zs-post-actions .liked {
  background: #4c0519 !important;
  color: #fda4af !important;
}
html.zs-dark-mode .zs-selected-store {
  background: #1e1b4b !important;
  color: #f8fafc !important;
  border-color: #6366f1 !important;
}
html.zs-dark-mode .zs-selected-store small {
  color: #cbd5e1 !important;
}
html.zs-dark-mode .zs-payment-status.ready {
  background: #052e16 !important;
  border-color: #166534 !important;
}
html.zs-dark-mode .zs-payment-status.pending {
  background: #431407 !important;
  border-color: #9a3412 !important;
}
html.zs-dark-mode .zs-field input::placeholder,
html.zs-dark-mode .zs-field textarea::placeholder,
html.zs-dark-mode input::placeholder,
html.zs-dark-mode textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}
html.zs-dark-mode .zs-field option {
  background: #111827;
  color: #f8fafc;
}

html.zs-dark-mode .zs-report-brand {
  color: #f8fafc;
}

@media (max-width: 760px) {
  .zs-reports-top .zs-top-inner {
    width: 100%;
    padding-inline: 12px;
  }
  .zs-report-brand img {
    width: min(150px, 42vw);
  }
  .zs-report-form-head {
    align-items: flex-start;
  }
  .zs-report-form-head .zs-close {
    flex: 0 0 auto;
  }
  .zs-report-choices button {
    min-height: 118px;
  }
}

/* Contraste completo en formularios, cuenta, administración y componentes PWA. */
html.zs-dark-mode .zs-auth-form-wrap,
html.zs-dark-mode .zs-auth-box,
html.zs-dark-mode .zs-admin-nav,
html.zs-dark-mode .zs-admin-item,
html.zs-dark-mode .zs-admin-card,
html.zs-dark-mode .zs-toolbar,
html.zs-dark-mode .zs-account-hero,
html.zs-dark-mode .zs-account-panel,
html.zs-dark-mode .zs-order-facts span,
html.zs-dark-mode .zs-reply-banner,
html.zs-dark-mode .zs-pwa-sheet,
html.zs-dark-mode .zs-notif-panel,
html.zs-dark-mode .zs-notif-item,
html.zs-dark-mode .zs-notif-enable,
html.zs-dark-mode .zs-pwa-help {
  background: #111827 !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}
html.zs-dark-mode .zs-pwa-secondary,
html.zs-dark-mode .zs-pwa-close {
  background: #1e293b !important;
  color: #f8fafc !important;
}
html.zs-dark-mode .zs-notif-item:hover,
html.zs-dark-mode .zs-notif-item.unread {
  background: #1e293b !important;
}
html.zs-dark-mode .zs-pwa-sheet p,
html.zs-dark-mode .zs-pwa-help ol,
html.zs-dark-mode .zs-notif-item span,
html.zs-dark-mode .zs-notif-item small,
html.zs-dark-mode .zs-notif-enable small {
  color: #cbd5e1 !important;
}
html.zs-dark-mode input,
html.zs-dark-mode textarea,
html.zs-dark-mode select {
  background: #0f172a;
  color: #f8fafc;
  border-color: #475569;
}
html.zs-dark-mode input:focus,
html.zs-dark-mode textarea:focus,
html.zs-dark-mode select:focus {
  outline-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
html.zs-dark-mode .zs-badge.warning {
  background: #431407 !important;
  color: #fdba74 !important;
}
html.zs-dark-mode .zs-order-status,
html.zs-dark-mode .zs-reply-banner {
  background: #1e1b4b !important;
  color: #c4b5fd !important;
}
html.zs-dark-mode .zs-order-status.confirmado {
  background: #083344 !important;
  color: #67e8f9 !important;
}
html.zs-dark-mode .zs-order-status.preparando {
  background: #431407 !important;
  color: #fdba74 !important;
}
html.zs-dark-mode .zs-order-status.enviado {
  background: #172554 !important;
  color: #93c5fd !important;
}
html.zs-dark-mode .zs-order-status.entregado {
  background: #052e16 !important;
  color: #6ee7b7 !important;
}
html.zs-dark-mode .zs-order-status.cancelado {
  background: #450a0a !important;
  color: #fca5a5 !important;
}

/* ZuvyShop 2.0.3 — aislamiento visual y modo oscuro coherente */
:root {
  --surface: #ffffff;
  --soft: #f3f4f8;
  --text: #111827;
  --panel: #ffffff;
  --panel-2: #f8fafc;
}
body {
  font-family: "Aptos", "Avenir Next", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
}
html.zs-dark-mode {
  color-scheme: dark;
  --bg: #07101f;
  --surface: #101a2d;
  --soft: #17233b;
  --text: #f6f8ff;
  --ink: #f6f8ff;
  --muted: #aebbd0;
  --line: #2b3a55;
  --card: #101a2d;
  --panel: #101a2d;
  --panel-2: #15213a;
}
html.zs-dark-mode body,
html.zs-dark-mode .zs-app,
html.zs-dark-mode .zs-account-shell,
html.zs-dark-mode .zs-seller-shell {
  background:
    radial-gradient(circle at 8% 4%, rgba(124, 58, 237, .18), transparent 30rem),
    radial-gradient(circle at 92% 14%, rgba(6, 182, 212, .12), transparent 28rem),
    #07101f !important;
  color: var(--text) !important;
}
html.zs-dark-mode *,
html.zs-dark-mode *::before,
html.zs-dark-mode *::after {
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
html.zs-dark-mode h1,
html.zs-dark-mode h2,
html.zs-dark-mode h3,
html.zs-dark-mode h4,
html.zs-dark-mode b,
html.zs-dark-mode strong,
html.zs-dark-mode label,
html.zs-dark-mode .zs-logo,
html.zs-dark-mode .zs-section-title h2,
html.zs-dark-mode .zs-profile-title h1 {
  color: #f7f9ff !important;
}
html.zs-dark-mode p,
html.zs-dark-mode small,
html.zs-dark-mode .zs-muted,
html.zs-dark-mode .zs-section-title p,
html.zs-dark-mode .zs-profile-title small,
html.zs-dark-mode .zs-field > span {
  color: #afbdd2 !important;
}
html.zs-dark-mode .zs-card,
html.zs-dark-mode .zs-side-card,
html.zs-dark-mode .zs-explore-search,
html.zs-dark-mode .zs-search-filters,
html.zs-dark-mode .zs-chat-layout,
html.zs-dark-mode .zs-conversation-list,
html.zs-dark-mode .zs-conversation-panel,
html.zs-dark-mode .zs-message-composer,
html.zs-dark-mode .zs-form,
html.zs-dark-mode .zs-modal-card,
html.zs-dark-mode .zs-menu-sheet,
html.zs-dark-mode .zs-seller-content,
html.zs-dark-mode #sellerContent,
html.zs-dark-mode .zs-seller-menu,
html.zs-dark-mode .zs-account-panel,
html.zs-dark-mode .zs-account-hero,
html.zs-dark-mode .zs-verification-card,
html.zs-dark-mode .zs-security-form-card,
html.zs-dark-mode .zs-transaction-table,
html.zs-dark-mode .zs-pwa-sheet,
html.zs-dark-mode .zs-notif-panel,
html.zs-dark-mode .zs-affiliate-loading {
  background: linear-gradient(145deg, #111c31, #0d1728) !important;
  border-color: #2a3a57 !important;
  color: #f7f9ff !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .24) !important;
}
html.zs-dark-mode .zs-card:nth-child(3n+1),
html.zs-dark-mode .zs-admin-item:nth-child(3n+1) {
  background: linear-gradient(145deg, #151b3a, #10182b) !important;
}
html.zs-dark-mode .zs-card:nth-child(3n+2),
html.zs-dark-mode .zs-admin-item:nth-child(3n+2) {
  background: linear-gradient(145deg, #10283a, #0e1a2e) !important;
}
html.zs-dark-mode .zs-card:nth-child(3n),
html.zs-dark-mode .zs-admin-item:nth-child(3n) {
  background: linear-gradient(145deg, #18213a, #111829) !important;
}
html.zs-dark-mode input,
html.zs-dark-mode textarea,
html.zs-dark-mode select,
html.zs-dark-mode .zs-explore-search input,
html.zs-dark-mode .zs-message-composer textarea {
  background: #0a1425 !important;
  color: #f7f9ff !important;
  border-color: #344766 !important;
  caret-color: #67e8f9;
}
html.zs-dark-mode input::placeholder,
html.zs-dark-mode textarea::placeholder {
  color: #7889a4 !important;
}
html.zs-dark-mode input:focus,
html.zs-dark-mode textarea:focus,
html.zs-dark-mode select:focus {
  border-color: #8b5cf6 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .24) !important;
}
html.zs-dark-mode .zs-btn,
html.zs-dark-mode button:not(.zs-close):not(.zs-notif-button),
html.zs-dark-mode .zs-menu-grid > a,
html.zs-dark-mode .zs-menu-grid > button {
  background: #17243b !important;
  color: #f5f7ff !important;
  border-color: #344764 !important;
}
html.zs-dark-mode .zs-btn.primary,
html.zs-dark-mode button.primary,
html.zs-dark-mode .zs-menu-grid > a.active {
  background: linear-gradient(135deg, #7c3aed, #2563eb 58%, #0891b2) !important;
  color: #fff !important;
  border-color: transparent !important;
}
html.zs-dark-mode .zs-top,
html.zs-dark-mode .zs-mobile-nav,
html.zs-dark-mode .zs-bottom-nav,
html.zs-dark-mode .zs-admin-top {
  background: rgba(7, 16, 31, .94) !important;
  border-color: #2a3953 !important;
  backdrop-filter: blur(18px);
}
html.zs-dark-mode .zs-conversation-item,
html.zs-dark-mode .zs-store-mini,
html.zs-dark-mode .zs-admin-item,
html.zs-dark-mode .zs-transaction-row,
html.zs-dark-mode .zs-purchase-card,
html.zs-dark-mode .zs-service-card,
html.zs-dark-mode .zs-buyer-case-button,
html.zs-dark-mode .zs-evidence-item {
  background: #111c30 !important;
  color: #f7f9ff !important;
  border-color: #2c3e5b !important;
}
html.zs-dark-mode .zs-conversation-item.active,
html.zs-dark-mode .zs-conversation-item:hover,
html.zs-dark-mode .zs-seller-menu button.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, .36), rgba(6, 182, 212, .18)) !important;
  border-color: #8b5cf6 !important;
}
html.zs-dark-mode .zs-message.mine {
  background: linear-gradient(135deg, #5b21b6, #2563eb) !important;
  border-color: transparent !important;
}
html.zs-dark-mode .zs-message.theirs {
  background: #18243b !important;
  border-color: #344764 !important;
}
html.zs-dark-mode .zs-inline-notice {
  background: linear-gradient(135deg, rgba(124, 58, 237, .20), rgba(6, 182, 212, .12)) !important;
  border-color: #6552c9 !important;
  color: #d9d3ff !important;
}
html.zs-dark-mode .zs-status-pill {
  background: #2a1d55 !important;
  color: #d8ccff !important;
}
html.zs-dark-mode .zs-status-pill.ok {
  background: #083d36 !important;
  color: #8cf3d1 !important;
}
html.zs-dark-mode [style*="background:#fff"],
html.zs-dark-mode [style*="background: #fff"],
html.zs-dark-mode [style*="background:white"],
html.zs-dark-mode [style*="background: white"] {
  background: #111c30 !important;
}
html.zs-dark-mode [style*="color:#111"],
html.zs-dark-mode [style*="color: #111"],
html.zs-dark-mode [style*="color:#000"],
html.zs-dark-mode [style*="color: #000"] {
  color: #f7f9ff !important;
}
.zs-affiliate-loading {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px;
}
.zs-affiliate-loading > div { display:grid; gap:4px; }
.zs-loader {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(124, 58, 237, .24);
  border-top-color: #7c3aed;
  border-radius: 50%;
  animation: zsSpin .8s linear infinite;
}
@keyframes zsSpin { to { transform: rotate(360deg); } }
/* La barra horizontal de gestión pertenece exclusivamente a /vender. */
body:not(.zs-seller-shell) .zs-seller-menu { display: none !important; }
@media (max-width: 850px) {
  .zs-seller-shell .zs-seller-menu {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin-bottom: 12px;
    padding: 7px;
    scrollbar-width: none;
  }
  .zs-seller-shell .zs-seller-menu::-webkit-scrollbar { display:none; }
  .zs-seller-shell .zs-seller-menu button {
    width: auto;
    min-width: max-content;
    white-space: nowrap;
  }
}

/* source: src/client/styles/legacy/vendeflow-202.css */
/* ZuvyShop 2.0.3 — navegación, mensajería móvil y modo oscuro final */
.zs-back-icon,
.zs-top .zs-back-icon {
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 17px;
}
.zs-back-icon svg,
.zs-ui-icon,
.zs-menu-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.zs-menu-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #ede9fe, #cffafe);
  color: #6d28d9;
}
.zs-notif-button { position: relative; }
.zs-notif-button .zs-ui-icon { width: 22px; height: 22px; }
.zs-account-top .zs-top-inner { gap: 10px; }
.zs-account-top .zs-logo { margin-right: auto; }
.zs-account-top .zs-top-actions { margin-left: 0; }

/* Configuración de tienda: controles estables y selección de imágenes visible. */
.zs-store-media-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin: 4px 0 18px;
}
.zs-store-media-control {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.zs-store-media-control > b { display: block; font-size: 16px; }
.zs-store-media-control > small { display: block; color: var(--muted); line-height: 1.45; }
.zs-store-media-control .zs-btn { justify-self: start; }
.zs-store-media-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.zs-store-media-status.ready { color: #047857; }
.zs-store-media-status.error { color: #b91c1c; }
.zs-store-logo-preview,
.zs-store-cover-preview {
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px dashed var(--line);
  background: linear-gradient(135deg, #ede9fe, #cffafe);
}
.zs-store-logo-preview { min-height: 260px; }
.zs-store-logo-preview img,
.zs-store-cover-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zs-store-logo-preview img { aspect-ratio: 1 / 1; }
.zs-store-cover-preview img { aspect-ratio: 12 / 5; }
.zs-story-blank {
  min-height: inherit;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-weight: 850;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb 55%, #06b6d4);
}
.zs-store-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* Bandeja tipo Messenger/WhatsApp. */
.zs-messenger-shell {
  display: grid;
  gap: 14px;
}
.zs-messenger-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.zs-messenger-top h2 { margin: 0; font-size: clamp(28px, 6vw, 42px); }
.zs-messenger-search {
  position: relative;
  display: flex;
  align-items: center;
}
.zs-messenger-search svg {
  position: absolute;
  left: 15px;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}
.zs-messenger-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
}
.zs-messenger-layout {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  min-height: min(680px, calc(100vh - 250px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}
.zs-messenger-list {
  min-height: 0;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--card);
}
.zs-messenger-list .zs-conversation-item {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  border-radius: 0;
  text-align: left;
  background: transparent;
  color: var(--ink);
}
.zs-messenger-list .zs-conversation-item:hover,
.zs-messenger-list .zs-conversation-item.active { background: #f2efff; }
.zs-messenger-list .zs-conversation-item .zs-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}
.zs-conversation-text { min-width: 0; display: grid; gap: 4px; }
.zs-conversation-text b,
.zs-conversation-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zs-conversation-text small { color: var(--muted); }
.zs-conversation-meta { display: grid; justify-items: end; gap: 7px; }
.zs-conversation-meta time { color: var(--muted); font-size: 11px; }
.zs-conversation-meta i {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.zs-messenger-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
}
.zs-messenger-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}
.zs-messenger-empty > div { max-width: 340px; display: grid; gap: 8px; }
.zs-messenger-empty b,
.zs-messenger-empty p { display: block; margin: 0; }
.zs-messenger-empty p { line-height: 1.45; }
.zs-conversation-head {
  min-height: 72px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.zs-conversation-head .zs-avatar { width: 46px; height: 46px; border-radius: 50%; }
.zs-conversation-head-identity { min-width: 0; display: flex; align-items: center; gap: 10px; }
.zs-conversation-head-identity > div { min-width: 0; display: grid; gap: 3px; }
.zs-conversation-head-identity b,
.zs-conversation-head-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zs-message-stream {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 14px;
  background: linear-gradient(180deg, #f8fafc, #f4f1ff);
}
.zs-message-composer {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  padding: 11px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.zs-message-composer textarea { min-height: 46px; max-height: 130px; resize: vertical; border-radius: 18px; }
.zs-chat-safety { margin: 0 12px 12px; }

/* Anuncios con vista previa similar a contenido patrocinado. */
.zs-sponsored-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}
.zs-sponsored-preview-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
}
.zs-sponsored-preview-head .zs-avatar { width: 42px; height: 42px; border-radius: 50%; }
.zs-sponsored-preview-head small { display: block; color: var(--muted); }
.zs-sponsored-preview-media { aspect-ratio: 16 / 9; background: #e9eef8; overflow: hidden; }
.zs-sponsored-preview-media img,
.zs-sponsored-preview-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.zs-sponsored-preview-body { padding: 14px; display: grid; gap: 9px; }
.zs-sponsored-preview-body h3,
.zs-sponsored-preview-body p { margin: 0; }
.zs-sponsored-preview-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.zs-ad-payment-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.zs-ad-payment-state { display: grid; gap: 4px; margin-top: 8px; color: var(--muted); }

/* Modo oscuro: ninguna superficie de interfaz queda blanca. */
html.zs-dark-mode {
  --bg: #050b16;
  --card: #0d1728;
  --surface: #0d1728;
  --soft: #14223a;
  --panel: #0d1728;
  --panel-2: #14223a;
  --ink: #f7f9ff;
  --text: #f7f9ff;
  --muted: #a9b8cf;
  --line: #2b3e5d;
  color-scheme: dark;
}
html.zs-dark-mode body,
html.zs-dark-mode .zs-shell,
html.zs-dark-mode .zs-seller-shell,
html.zs-dark-mode .zs-account-shell,
html.zs-dark-mode .zs-admin-shell {
  background: radial-gradient(circle at 10% 4%, rgba(124,58,237,.18), transparent 30rem), radial-gradient(circle at 92% 12%, rgba(6,182,212,.10), transparent 26rem), #050b16 !important;
  color: var(--ink) !important;
}
html.zs-dark-mode :where(
  .zs-card,.zs-seller-head,.zs-seller-menu,#sellerContent,.zs-seller-columns,.zs-account-hero,
  .zs-account-quick-nav,.zs-verification-card,.zs-verification-card.verified,.zs-security-form-card,
  .zs-security-setup-banner,.zs-account-stats article,.zs-purchase-card,.zs-service-card,
  .zs-transaction-table,.zs-transaction-row,.zs-profile-info,.zs-profile-info-pro,.zs-profile-hero,
  .zs-post,.zs-product,.zs-product-card,.zs-store-card,.zs-story-card,.zs-side-card,.zs-toolbar,
  .zs-admin-card,.zs-admin-item,.zs-plan-card,.zs-form,.zs-upload,.zs-preview,.zs-store-media-control,
  .zs-modal-panel,.zs-modal-card,.zs-menu-sheet,.zs-pwa-sheet,.zs-notif-panel,.zs-affiliate-loading,
  .zs-chat-layout,.zs-conversation-list,.zs-conversation-panel,.zs-messenger-layout,.zs-messenger-list,
  .zs-messenger-panel,.zs-message-composer,.zs-case-list,.zs-case-panel,.zs-evidence-item,
  .zs-buyer-case-button,.zs-buyer-case-detail,.zs-search-filters,.zs-explore-search,.zs-saved-search-list,
  .zs-saved-search-row,.zs-ad-campaign,.zs-ad-center-hero,.zs-sponsored-preview,.zs-empty
) {
  background: linear-gradient(145deg, #0f1a2e, #0a1425) !important;
  color: #f7f9ff !important;
  border-color: #2c405f !important;
  box-shadow: none !important;
}
html.zs-dark-mode :where(input,textarea,select,.zs-dial-preview,.zs-search input,.zs-messenger-search input) {
  background: #071221 !important;
  color: #f7f9ff !important;
  border-color: #314866 !important;
}
html.zs-dark-mode :where(input,textarea)::placeholder { color: #7689a6 !important; }
html.zs-dark-mode :where(.zs-btn,button:not(.zs-close),.zs-menu-grid>a,.zs-menu-list>a,.zs-menu-list>button,.zs-menu-list>label) {
  background: #14243d !important;
  color: #f7f9ff !important;
  border-color: #344d6d !important;
}
html.zs-dark-mode :where(.zs-btn.primary,button.primary,.zs-sponsored-preview-cta .zs-btn) {
  background: linear-gradient(135deg, #7c3aed, #2563eb 58%, #0891b2) !important;
  color: #fff !important;
  border-color: transparent !important;
}
html.zs-dark-mode :where(.zs-top,.zs-mobile-nav,.zs-bottom-nav,.zs-admin-top) {
  background: rgba(5,11,22,.96) !important;
  border-color: #273b59 !important;
}
html.zs-dark-mode :where(.zs-messenger-list .zs-conversation-item,.zs-conversation-item,.zs-case-item) {
  background: #0e1a2d !important;
  color: #f7f9ff !important;
  border-color: #263c5b !important;
}
html.zs-dark-mode :where(.zs-messenger-list .zs-conversation-item:hover,.zs-messenger-list .zs-conversation-item.active,.zs-conversation-item:hover,.zs-conversation-item.active,.zs-case-item.active) {
  background: linear-gradient(135deg, rgba(124,58,237,.34), rgba(8,145,178,.18)) !important;
}
html.zs-dark-mode .zs-message-stream { background: linear-gradient(180deg,#07111f,#0b1426) !important; }
html.zs-dark-mode .zs-message.theirs { background: #172641 !important; color: #f7f9ff !important; border-color: #304a6b !important; }
html.zs-dark-mode .zs-message.mine { background: linear-gradient(135deg,#6d28d9,#2563eb) !important; color: #fff !important; }
html.zs-dark-mode :where(.zs-store-logo-preview,.zs-store-cover-preview,.zs-sponsored-preview-media,.zs-product-media,.zs-post-media,.zs-profile-cover) {
  background: #081322 !important;
  border-color: #304764 !important;
}
html.zs-dark-mode :where(.zs-verification-icon,.zs-account-avatar,.zs-menu-icon,.zs-notif-enable,.zs-pwa-help,.zs-transaction-row.header) {
  background: linear-gradient(135deg, #1d2850, #103a4c) !important;
  color: #d9e6ff !important;
  border-color: #304a6b !important;
}
html.zs-dark-mode :where(.zs-account-photo-button,.zs-pwa-secondary,.zs-pwa-close) {
  background: #162641 !important;
  color: #f7f9ff !important;
  border-color: #365170 !important;
}
html.zs-dark-mode :where(.zs-inline-notice,.zs-status-pill,.zs-badge,.zs-transaction-status) {
  background: #211b49 !important;
  color: #dcd5ff !important;
  border-color: #5f55b8 !important;
}
html.zs-dark-mode :where(.zs-status-pill.ok,.zs-verification-card.verified .zs-status-pill) {
  background: #083a33 !important;
  color: #8ef1d1 !important;
  border-color: #116859 !important;
}
html.zs-dark-mode :where(h1,h2,h3,h4,h5,h6,b,strong,label,.zs-eyebrow) { color: #f7f9ff !important; }
html.zs-dark-mode :where(p,small,.zs-muted,.zs-field>span,.zs-section-title p) { color: #a9b8cf !important; }
html.zs-dark-mode [style*="background:#fff"],
html.zs-dark-mode [style*="background: #fff"],
html.zs-dark-mode [style*="background:#ffffff"],
html.zs-dark-mode [style*="background: #ffffff"],
html.zs-dark-mode [style*="background:white"],
html.zs-dark-mode [style*="background: white"],
html.zs-dark-mode [style*="background-color:#fff"],
html.zs-dark-mode [style*="background-color: #fff"] {
  background: #0d1728 !important;
}
html.zs-dark-mode :where(.zs-seller-head,.zs-verification-card.verified) * { color: inherit; }
html.zs-dark-mode .zs-store-media-status.ready { color: #6ee7b7 !important; }
html.zs-dark-mode .zs-menu-icon { background: linear-gradient(135deg,#32215f,#12465d) !important; color: #d9d1ff !important; }
html.zs-dark-mode .zs-account-quick-nav a.active { background: linear-gradient(135deg,#35206c,#17476b) !important; color:#fff !important; }
html.zs-dark-mode .zs-seller-head { border: 1px solid #314766 !important; }
html.zs-dark-mode *, html.zs-dark-mode *::before, html.zs-dark-mode *::after { -webkit-text-stroke: 0 !important; text-shadow: none !important; }

@media (max-width: 850px) {
  .zs-store-media-grid { grid-template-columns: 1fr; }
  .zs-store-logo-preview { min-height: 240px; }
  .zs-messenger-layout {
    display: block;
    min-height: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }
  .zs-messenger-list {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
  }
  .zs-messenger-panel {
    display: none;
  }
  .zs-messenger-layout.zs-chat-open .zs-messenger-list { display: none; }
  .zs-messenger-layout.zs-chat-open .zs-messenger-panel {
    position: fixed;
    inset: 0;
    z-index: 180;
    display: flex;
    width: 100%;
    height: 100dvh;
    background: var(--card);
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .zs-messenger-layout.zs-chat-open .zs-conversation-head { flex: 0 0 auto; }
  .zs-messenger-layout.zs-chat-open .zs-message-stream { flex: 1 1 auto; }
  .zs-messenger-layout.zs-chat-open .zs-message-composer { flex: 0 0 auto; }
  .zs-messenger-empty { display: none; }
  .zs-messenger-list .zs-conversation-item { min-height: 76px; }
}

@media (max-width: 560px) {
  .zs-back-icon,.zs-top .zs-back-icon { width: 44px; min-width: 44px; height: 44px; border-radius: 15px; }
  .zs-account-top .zs-logo img { width: 132px; }
  .zs-messenger-top h2 { font-size: 32px; }
  .zs-messenger-list .zs-conversation-item { grid-template-columns: 52px minmax(0,1fr) auto; padding: 10px 9px; }
  .zs-messenger-list .zs-conversation-item .zs-avatar { width: 50px; height: 50px; }
  .zs-conversation-head { padding: 8px; }
  .zs-conversation-head .zs-btn:last-child { padding: 8px 9px; font-size: 11px; }
}

/* Refuerzo visual 2.0.3: superficies oscuras consistentes en todas las vistas. */
:root { --zs-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body,button,input,textarea,select { font-family: var(--zs-font); }
.zs-icon-btn { display:inline-grid; place-items:center; }
.zs-icon-btn .zs-ui-icon { pointer-events:none; }
#saveExploreSearch { display:inline-flex; align-items:center; justify-content:center; gap:8px; }
#saveExploreSearch .zs-ui-icon { width:18px; height:18px; }
.zs-explore-ads { max-width: 760px; margin-inline: auto; }

html.zs-dark-mode .zs-seller-head,
html.zs-dark-mode #sellerOverviewHero,
html.zs-dark-mode .zs-account-hero,
html.zs-dark-mode .zs-verification-card,
html.zs-dark-mode .zs-verification-card.verified,
html.zs-dark-mode .zs-security-setup-banner,
html.zs-dark-mode .zs-account-quick-nav,
html.zs-dark-mode .zs-account-quick-nav a,
html.zs-dark-mode .zs-pwa-sheet,
html.zs-dark-mode .zs-pwa-help,
html.zs-dark-mode .zs-notif-panel,
html.zs-dark-mode .zs-notif-item,
html.zs-dark-mode .zs-notif-enable,
html.zs-dark-mode .zs-pwa-secondary,
html.zs-dark-mode .zs-account-photo-button,
html.zs-dark-mode .zs-verification-icon,
html.zs-dark-mode .zs-purchase-media,
html.zs-dark-mode .zs-transaction-row.header,
html.zs-dark-mode .zs-menu-sheet .zs-menu-grid > *,
html.zs-dark-mode .zs-menu-sheet .zs-menu-list > *,
html.zs-dark-mode .zs-sponsored,
html.zs-dark-mode .zs-explore-ads .zs-post {
  background: linear-gradient(145deg,#101c31,#091525) !important;
  color:#f7f9ff !important;
  border-color:#2d4464 !important;
  box-shadow:none !important;
}
html.zs-dark-mode .zs-seller-head::before,
html.zs-dark-mode .zs-account-hero::before { opacity:.15; }
html.zs-dark-mode .zs-verification-icon,
html.zs-dark-mode .zs-purchase-media {
  background:linear-gradient(135deg,#35206c,#114c67) !important;
  color:#e4ddff !important;
}
html.zs-dark-mode .zs-notif-item:hover,
html.zs-dark-mode .zs-notif-item.unread,
html.zs-dark-mode .zs-account-quick-nav a.active {
  background:linear-gradient(135deg,rgba(124,58,237,.38),rgba(8,145,178,.22)) !important;
}
html.zs-dark-mode .zs-pwa-help,
html.zs-dark-mode .zs-notif-enable {
  border-color:#3c4f78 !important;
}
html.zs-dark-mode .zs-pwa-help li,
html.zs-dark-mode .zs-pwa-help ol,
html.zs-dark-mode .zs-notif-item span,
html.zs-dark-mode .zs-notif-item small,
html.zs-dark-mode .zs-notif-enable small { color:#a9b8cf !important; }
html.zs-dark-mode .zs-notif-badge { border-color:#050b16 !important; }
html.zs-dark-mode .zs-close,
html.zs-dark-mode .zs-pwa-close { background:#172640 !important; color:#fff !important; }
html.zs-dark-mode [class*="Card"],
html.zs-dark-mode [class*="Panel"] {
  --local-white:#0d1728;
}

/* source: src/client/styles/legacy/vendeflow-203.css */
/* ZuvyShop 2.3.0 — corrección de despliegue, contraste y navegación */
:root {
  --zs-build: "2.3.0";
  --zs-dark-bg: #050b16;
  --zs-dark-surface: #0d1728;
  --zs-dark-surface-2: #13213a;
  --zs-dark-surface-3: #182844;
  --zs-dark-line: #304766;
  --zs-dark-text: #f7f9ff;
  --zs-dark-muted: #aebbd0;
}

.zs-build-tag {
  display: block;
  margin: 14px 4px 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
}

/* El encabezado usa iconos reales; no texto ni emojis. */
.zs-back-icon,
.zs-notif-button,
.zs-top .zs-icon-btn {
  line-height: 0;
}
.zs-back-icon svg,
.zs-notif-button svg,
.zs-top .zs-icon-btn svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* La navegación del vendedor nunca se filtra a otras páginas. */
body:not(.zs-seller-shell) .zs-seller-menu,
body:not(.zs-seller-shell) [data-seller-view],
body:not(.zs-seller-shell) [data-seller-menu-view] {
  display: none !important;
}

/* Editor de marca estable en móvil. */
.zs-store-media-control label.zs-file-picker {
  display: inline-flex;
  width: fit-content;
  cursor: pointer;
}
.zs-store-media-control input[type="file"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.zs-store-logo-preview,
.zs-store-cover-preview {
  min-height: 180px;
}
.zs-store-logo-preview img,
.zs-store-cover-preview img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}

/* Bandeja compacta tipo Messenger/WhatsApp. */
@media (max-width: 850px) {
  .zs-messenger-shell { gap: 12px; }
  .zs-messenger-layout,
  .zs-messenger-list,
  .zs-messenger-panel {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
  }
  .zs-messenger-layout {
    display: block !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }
  .zs-messenger-list {
    display: block;
    overflow: hidden !important;
    border-radius: 20px;
  }
  .zs-messenger-list .zs-conversation-item {
    min-height: 76px;
    border-radius: 0 !important;
  }
  .zs-messenger-panel { display: none !important; }
  .zs-messenger-layout.zs-chat-open .zs-messenger-list { display: none !important; }
  .zs-messenger-layout.zs-chat-open .zs-messenger-panel {
    position: fixed !important;
    inset: 0 !important;
    z-index: 500 !important;
    display: flex !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    padding-top: env(safe-area-inset-top) !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
  }
  .zs-messenger-empty { min-height: 160px !important; }
}

/* Modo oscuro definitivo: ninguna superficie funcional queda blanca. */
html.zs-dark-mode {
  color-scheme: dark;
  --bg: var(--zs-dark-bg) !important;
  --card: var(--zs-dark-surface) !important;
  --surface: var(--zs-dark-surface) !important;
  --soft: var(--zs-dark-surface-2) !important;
  --panel: var(--zs-dark-surface) !important;
  --panel-2: var(--zs-dark-surface-2) !important;
  --ink: var(--zs-dark-text) !important;
  --text: var(--zs-dark-text) !important;
  --muted: var(--zs-dark-muted) !important;
  --line: var(--zs-dark-line) !important;
}
html.zs-dark-mode body,
html.zs-dark-mode .zs-shell,
html.zs-dark-mode .zs-seller-shell,
html.zs-dark-mode .zs-account-shell,
html.zs-dark-mode .zs-admin-shell {
  background:
    radial-gradient(circle at 12% 3%, rgba(124,58,237,.17), transparent 29rem),
    radial-gradient(circle at 92% 12%, rgba(6,182,212,.10), transparent 27rem),
    var(--zs-dark-bg) !important;
  color: var(--zs-dark-text) !important;
}
html.zs-dark-mode *,
html.zs-dark-mode *::before,
html.zs-dark-mode *::after {
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}

html.zs-dark-mode :where(
  .zs-card,.zs-seller-head,#sellerOverviewHero,.zs-seller-menu,#sellerContent,.zs-seller-content,
  .zs-account-hero,.zs-account-quick-nav,.zs-verification-card,.zs-verification-card.verified,
  .zs-security-setup-banner,.zs-security-form-card,.zs-account-stats article,.zs-purchase-card,
  .zs-service-card,.zs-transaction-table,.zs-transaction-row,.zs-profile-info,.zs-profile-info-pro,
  .zs-profile-hero,.zs-post,.zs-product,.zs-product-card,.zs-store-card,.zs-story-card,.zs-side-card,
  .zs-toolbar,.zs-admin-card,.zs-admin-item,.zs-plan-card,.zs-verification-choice,.zs-form,.zs-upload,
  .zs-preview,.zs-store-media-control,.zs-modal-panel,.zs-modal-card,.zs-menu-sheet,.zs-pwa-sheet,
  .zs-notif-panel,.zs-notif-item,.zs-notif-enable,.zs-affiliate-loading,.zs-chat-layout,
  .zs-conversation-list,.zs-conversation-panel,.zs-messenger-layout,.zs-messenger-list,
  .zs-messenger-panel,.zs-conversation-head,.zs-message-composer,.zs-case-list,.zs-case-panel,
  .zs-evidence-item,.zs-buyer-case-button,.zs-buyer-case-detail,.zs-search-filters,.zs-explore-search,
  .zs-saved-search-list,.zs-saved-search-row,.zs-ad-campaign,.zs-ad-center-hero,.zs-sponsored-preview,
  .zs-story-shared-post,.zs-story-shared-post-action .zs-story-shared-post,.zs-empty,.zs-inline-notice,
  .zs-report-form-card,.zs-reports-history,.zs-selected-store,.zs-payment-status,.zs-attached-product,
  .zs-trend,.zs-share-preview,.zs-comment-input-row,.zs-search-row,.zs-store-card-body,.zs-product-body,
  .zs-ad-footer,.zs-pwa-help
) {
  background: linear-gradient(145deg, var(--zs-dark-surface-2), var(--zs-dark-surface)) !important;
  background-image: linear-gradient(145deg, var(--zs-dark-surface-2), var(--zs-dark-surface)) !important;
  color: var(--zs-dark-text) !important;
  border-color: var(--zs-dark-line) !important;
  box-shadow: none !important;
}

html.zs-dark-mode :where(
  input,textarea,select,.zs-dial-preview,.zs-search input,.zs-messenger-search input,
  .zs-code-row input
) {
  background: #071221 !important;
  color: var(--zs-dark-text) !important;
  border-color: #365070 !important;
  caret-color: #67e8f9 !important;
}
html.zs-dark-mode :where(input,textarea)::placeholder {
  color: #788aa7 !important;
  opacity: 1 !important;
}
html.zs-dark-mode select option {
  background: #071221 !important;
  color: var(--zs-dark-text) !important;
}

html.zs-dark-mode :where(
  .zs-btn,button:not(.zs-close),.zs-menu-grid>a,.zs-menu-grid>button,.zs-menu-list>a,
  .zs-menu-list>button,.zs-menu-list>label,.zs-account-photo-button,.zs-pwa-secondary,.zs-pwa-close
) {
  background: var(--zs-dark-surface-3) !important;
  color: var(--zs-dark-text) !important;
  border-color: #385272 !important;
}
html.zs-dark-mode :where(
  .zs-btn.primary,button.primary,.zs-account-quick-nav a.active,.zs-seller-menu button.active,
  .zs-sponsored-preview-cta .zs-btn,.zs-plan-card.popular .zs-btn
) {
  background: linear-gradient(135deg,#7c3aed,#2563eb 58%,#0891b2) !important;
  color: #fff !important;
  border-color: transparent !important;
}
html.zs-dark-mode :where(.zs-top,.zs-mobile-nav,.zs-bottom-nav,.zs-admin-top) {
  background: rgba(5,11,22,.97) !important;
  border-color: #273b59 !important;
}
html.zs-dark-mode :where(h1,h2,h3,h4,h5,h6,b,strong,label,.zs-eyebrow,.zs-seller-head h1) {
  color: var(--zs-dark-text) !important;
}
html.zs-dark-mode :where(p,small,.zs-muted,.zs-field>span,.zs-section-title p,.zs-seller-head p) {
  color: var(--zs-dark-muted) !important;
}
html.zs-dark-mode .zs-seller-head,
html.zs-dark-mode #sellerOverviewHero {
  background: linear-gradient(145deg,#171d42,#0b2034) !important;
  border: 1px solid #385272 !important;
}
html.zs-dark-mode .zs-seller-head .zs-eyebrow { color: #c4b5fd !important; }
html.zs-dark-mode .zs-verification-card.verified {
  background: linear-gradient(145deg,#0e2b2a,#0c1b2c) !important;
  border-color: #1f6b5d !important;
}
html.zs-dark-mode .zs-status-pill.ok,
html.zs-dark-mode .zs-verification-card.verified .zs-status-pill {
  background: #0b3a31 !important;
  color: #8ef1d1 !important;
  border-color: #176d5d !important;
}
html.zs-dark-mode .zs-message-stream {
  background: linear-gradient(180deg,#07111f,#0b1426) !important;
}
html.zs-dark-mode .zs-message.theirs {
  background: #172641 !important;
  color: var(--zs-dark-text) !important;
  border-color: #304a6b !important;
}
html.zs-dark-mode .zs-message.mine {
  background: linear-gradient(135deg,#6d28d9,#2563eb) !important;
  color: #fff !important;
}
html.zs-dark-mode .zs-messenger-list .zs-conversation-item:hover,
html.zs-dark-mode .zs-messenger-list .zs-conversation-item.active {
  background: linear-gradient(135deg,rgba(124,58,237,.38),rgba(8,145,178,.22)) !important;
}
html.zs-dark-mode :where(.zs-store-logo-preview,.zs-store-cover-preview,.zs-sponsored-preview-media,.zs-product-media,.zs-post-media,.zs-profile-cover) {
  background: #081322 !important;
  border-color: #304764 !important;
}

/* Cubre estilos claros escritos directamente en HTML. */
html.zs-dark-mode [style*="background:#fff"],
html.zs-dark-mode [style*="background: #fff"],
html.zs-dark-mode [style*="background:#f8"],
html.zs-dark-mode [style*="background: #f8"],
html.zs-dark-mode [style*="background:#f0"],
html.zs-dark-mode [style*="background: #f0"],
html.zs-dark-mode [style*="background:white"],
html.zs-dark-mode [style*="background: white"],
html.zs-dark-mode [style*="background-color:#fff"],
html.zs-dark-mode [style*="background-color: #fff"] {
  background: var(--zs-dark-surface) !important;
  background-image: none !important;
  color: var(--zs-dark-text) !important;
  border-color: var(--zs-dark-line) !important;
}

@media (max-width: 560px) {
  .zs-seller-head { padding: 22px 18px !important; }
  .zs-seller-head h1 { font-size: clamp(30px,10vw,42px) !important; }
  .zs-store-media-grid { gap: 14px; }
  .zs-store-media-control { padding: 14px; }
  .zs-store-logo-preview,.zs-store-cover-preview { min-height: 160px; }
}

/* source: src/client/styles/legacy/vendeflow-204.css */
/* ZuvyShop 2.3.0 — correcciones de catálogo, editor y suscripciones */
.zs-empty > b,
.zs-empty > span,
.zs-empty > small {
  display: block;
}
.zs-empty > b + span,
.zs-empty > b + small {
  margin-top: 8px;
}
#productsHeaderActions:empty { display: none; }
#productsHeaderActions { display: flex; align-items: center; justify-content: flex-end; }

.zs-store-editor-form,
.zs-store-editor-form * {
  pointer-events: auto;
}
.zs-store-editor-form {
  position: relative;
  isolation: isolate;
}
.zs-store-editor-form .zs-field,
.zs-store-editor-form .zs-store-media-control,
.zs-store-editor-form .zs-store-save-bar {
  position: relative;
  z-index: 2;
}
.zs-store-editor-form input,
.zs-store-editor-form select,
.zs-store-editor-form textarea,
.zs-store-editor-form button {
  touch-action: manipulation;
}
.zs-store-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.zs-store-media-control {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}
.zs-store-media-control > div:first-child b,
.zs-store-media-control > div:first-child small {
  display: block;
}
.zs-store-media-control > div:first-child small { margin-top: 6px; color: var(--muted); }
.zs-store-media-status {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}
.zs-store-media-status[data-state="ready"] { color: #047857; }
.zs-store-media-status[data-state="loading"] { color: #7c3aed; }
.zs-store-media-status[data-state="error"] { color: #b91c1c; }
.zs-store-logo-preview,
.zs-store-cover-preview {
  overflow: hidden;
  border-radius: 22px;
  min-height: 220px;
  background: linear-gradient(135deg,#6d28d9,#2563eb,#06b6d4);
}
.zs-store-logo-preview { aspect-ratio: 1 / 1; max-width: 360px; }
.zs-store-cover-preview { aspect-ratio: 12 / 5; width: 100%; }
.zs-store-logo-preview img,
.zs-store-cover-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zs-store-image-empty {
  display: grid;
  place-items: center;
  min-height: inherit;
  height: 100%;
  padding: 30px;
  color: #fff;
  font-weight: 900;
  text-align: center;
}
.zs-store-save-bar {
  position: sticky;
  bottom: calc(78px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(16px);
  z-index: 8;
}

.zs-invite-admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.4fr);
  gap: 22px;
  align-items: start;
}
.zs-generated-code {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg,#ede9fe,#cffafe);
  border: 1px solid #8b5cf6;
  color: #111827;
}
.zs-generated-code code { font-size: clamp(16px, 4vw, 24px); font-weight: 900; overflow-wrap: anywhere; }
.zs-invite-scope { text-transform: capitalize; }

html.zs-dark-mode .zs-store-media-control,
html.zs-dark-mode .zs-store-save-bar {
  background: #101a2f !important;
  border-color: #33415f !important;
  color: #f8fafc !important;
}
html.zs-dark-mode .zs-store-media-status { color: #b8c4d8; }
html.zs-dark-mode .zs-store-media-status[data-state="ready"] { color: #6ee7b7; }
html.zs-dark-mode .zs-store-media-status[data-state="loading"] { color: #c4b5fd; }
html.zs-dark-mode .zs-store-media-status[data-state="error"] { color: #fca5a5; }
html.zs-dark-mode .zs-generated-code { background: linear-gradient(135deg,#2e1065,#164e63); color: #f8fafc; border-color: #8b5cf6; }

@media (max-width: 720px) {
  .zs-store-media-grid,
  .zs-invite-admin-grid { grid-template-columns: 1fr; }
  #productsHeaderActions { width: 100%; justify-content: stretch; }
  #productsHeaderActions .zs-btn { width: 100%; }
  .zs-store-save-bar { align-items: stretch; flex-direction: column; }
  .zs-store-save-bar .zs-btn { width: 100%; }
}

/* source: src/client/styles/legacy/vendeflow-210.css */
/* ZuvyShop 2.3.0 — tema, contraste, accesibilidad y compatibilidad multidispositivo */
:root {
  --zs-bg: #f6f7fb;
  --zs-surface: #ffffff;
  --zs-surface-raised: #ffffff;
  --zs-surface-soft: #f0f2f8;
  --zs-text: #111827;
  --zs-text-muted: #667085;
  --zs-border: #dfe3ec;
  --zs-focus: #7c3aed;
  --zs-success: #087a55;
  --zs-warning: #9a5b05;
  --zs-danger-strong: #b42318;
  --zs-control-height: 44px;
  --zs-page-gutter: clamp(14px, 2.2vw, 28px);
  --zs-readable: 72ch;
}

html.zs-dark-mode {
  color-scheme: dark;
  --zs-bg: #070b14;
  --zs-surface: #101827;
  --zs-surface-raised: #172033;
  --zs-surface-soft: #1d2940;
  --zs-text: #f5f7fb;
  --zs-text-muted: #b8c2d4;
  --zs-border: #34435b;
  --zs-focus: #a78bfa;
  --zs-success: #6ee7b7;
  --zs-warning: #fcd34d;
  --zs-danger-strong: #fda4af;
  --bg: var(--zs-bg) !important;
  --card: var(--zs-surface) !important;
  --surface: var(--zs-surface) !important;
  --soft: var(--zs-surface-soft) !important;
  --panel: var(--zs-surface) !important;
  --panel-2: var(--zs-surface-raised) !important;
  --ink: var(--zs-text) !important;
  --text: var(--zs-text) !important;
  --muted: var(--zs-text-muted) !important;
  --line: var(--zs-border) !important;
}

html,
body { min-width: 280px; }
body { overflow-x: hidden; }
img,
video,
canvas,
svg { max-width: 100%; }
button,
input,
textarea,
select { min-width: 0; }
button,
[role="button"],
a,
input,
textarea,
select { -webkit-tap-highlight-color: transparent; }
button:not(.zs-close):not(.zs-story-nav),
.zs-btn,
input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
select { min-height: var(--zs-control-height); }
textarea { min-height: 110px; resize: vertical; }
:where(p, small, span, b, strong, h1, h2, h3, h4, label, td, th) { overflow-wrap: anywhere; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p, .zs-post-text, .zs-section-title p) { text-wrap: pretty; }

:where(button, a, input, textarea, select):focus-visible {
  outline: 3px solid var(--zs-focus);
  outline-offset: 3px;
}
@supports (color: color-mix(in srgb, black, white)) {
  :where(button, a, input, textarea, select):focus-visible {
    outline-color: color-mix(in srgb, var(--zs-focus) 65%, transparent);
  }
}

.zs-post-text {
  line-height: 1.58;
  white-space: normal;
}
.zs-hashtag {
  display: inline;
  min-height: 0 !important;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #6d28d9 !important;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.zs-hashtag:hover { text-decoration: underline; }
.zs-trend { transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.zs-trend:hover { transform: translateY(-1px); }

/* Evita transparencias ilegibles en navegadores sin desenfoque. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .zs-top,
  .zs-mobile-nav,
  .zs-store-save-bar,
  .zs-notif-panel { background: var(--zs-surface) !important; }
}

html.zs-dark-mode body,
html.zs-dark-mode .zs-shell,
html.zs-dark-mode .zs-seller-shell,
html.zs-dark-mode .zs-account-shell,
html.zs-dark-mode .zs-admin-shell,
html.zs-dark-mode .zs-auth-page,
html.zs-dark-mode .zs-verify-page,
html.zs-dark-mode .zs-report-page,
html.zs-dark-mode .zs-legal-page {
  background:
    radial-gradient(circle at 10% -10%, rgba(124,58,237,.18), transparent 34rem),
    radial-gradient(circle at 100% 10%, rgba(6,182,212,.10), transparent 30rem),
    var(--zs-bg) !important;
  color: var(--zs-text) !important;
}

html.zs-dark-mode :where(
  .zs-top,.zs-admin-top,.zs-verify-top,.zs-seller-top,.zs-account-top,.zs-mobile-nav,.zs-bottom-nav,
  .zs-card,.zs-side-card,.zs-post,.zs-product,.zs-product-card,.zs-store-card,.zs-story-card,
  .zs-modal-panel,.zs-modal-card,.zs-menu-sheet,.zs-auth-box,.zs-access-confirm,.zs-verify-card,
  .zs-verify-edit-card,.zs-verify-ready,.zs-account-hero,.zs-account-quick-nav,.zs-account-panel,
  .zs-verification-card,.zs-security-form-card,.zs-security-setup-banner,.zs-purchase-card,
  .zs-service-card,.zs-transaction-table,.zs-transaction-row,.zs-seller-head,.zs-seller-menu,
  .zs-seller-content,.zs-store-media-control,.zs-store-save-bar,.zs-toolbar,.zs-admin-card,
  .zs-admin-item,.zs-plan-card,.zs-plan-feature,.zs-verification-choice,.zs-pwa-sheet,.zs-pwa-help,
  .zs-notif-panel,.zs-notif-item,.zs-notif-enable,.zs-messenger-shell,.zs-messenger-layout,
  .zs-messenger-list,.zs-messenger-panel,.zs-conversation-item,.zs-conversation-head,
  .zs-message-composer,.zs-search-filters,.zs-explore-search,.zs-saved-search-row,.zs-ad-campaign,
  .zs-ad-center-hero,.zs-sponsored-preview,.zs-share-preview,.zs-comment-input-row,.zs-inline-notice,
  .zs-report-form-card,.zs-reports-history,.zs-selected-store,.zs-payment-status,.zs-attached-product,
  .zs-trend,.zs-empty,.zs-form,.zs-upload,.zs-preview,.zs-generated-code,.zs-invite-admin-grid,
  .zs-login-method,.zs-access-identity,.zs-profile-info,.zs-profile-info-pro,.zs-profile-hero,
  .zs-case-list,.zs-case-panel,.zs-evidence-item,.zs-buyer-case-button,.zs-buyer-case-detail,
  .zs-affiliate-loading,.zs-chat-layout,.zs-conversation-list,.zs-conversation-panel,
  .zs-store-card-body,.zs-product-body,.zs-ad-footer
) {
  background: var(--zs-surface) !important;
  background-image: none !important;
  color: var(--zs-text) !important;
  border-color: var(--zs-border) !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.20) !important;
}

html.zs-dark-mode :where(
  .zs-hero,.zs-auth-visual,.zs-seller-head,#sellerOverviewHero,.zs-account-hero,
  .zs-ad-center-hero,.zs-profile-cover,.zs-generated-code
) {
  background: linear-gradient(145deg, #1e1b4b 0%, #14213d 55%, #0b3440 100%) !important;
  color: var(--zs-text) !important;
  border-color: #43516c !important;
}

html.zs-dark-mode :where(
  h1,h2,h3,h4,h5,h6,b,strong,label,.zs-eyebrow,.zs-post-identity b,.zs-price,
  .zs-side-title h3,.zs-modal-head h2,.zs-auth-box h2,.zs-verify-card h2
) { color: var(--zs-text) !important; }

html.zs-dark-mode :where(
  p,small,.zs-muted,.zs-field>span,.zs-section-title p,.zs-seller-head p,.zs-post-identity small,
  .zs-store-card small,.zs-product-body small,.zs-auth-box>p,.zs-verify-card p,.zs-access-identity small,
  .zs-trend small,.zs-inline-notice,.zs-code-destination
) { color: var(--zs-text-muted) !important; }

html.zs-dark-mode :where(
  input:not([type="color"]),textarea,select,.zs-dial-preview,.zs-search input,
  .zs-messenger-search input,.zs-code-row input,.zs-story-comment-form input
) {
  background: #0a1220 !important;
  color: var(--zs-text) !important;
  border: 1px solid #42526c !important;
  box-shadow: none !important;
  caret-color: #c4b5fd !important;
}
html.zs-dark-mode :where(input,textarea)::placeholder { color: #8f9db2 !important; opacity: 1; }
html.zs-dark-mode select option { background: #101827 !important; color: var(--zs-text) !important; }
html.zs-dark-mode input[type="color"] { background: #0a1220 !important; border-color: #42526c !important; }

html.zs-dark-mode :where(
  .zs-btn:not(.primary):not(.danger),button:not(.primary):not(.danger):not(.zs-close):not(.zs-story-nav):not(.zs-hashtag),
  .zs-menu-grid>a,.zs-menu-grid>button,.zs-menu-list>a,.zs-menu-list>button,.zs-menu-list>label,
  .zs-account-photo-button,.zs-pwa-secondary,.zs-pwa-close
) {
  background: var(--zs-surface-raised) !important;
  color: var(--zs-text) !important;
  border-color: #43516b !important;
}
html.zs-dark-mode :where(.zs-btn.primary,button.primary,.zs-pwa-primary) {
  background: linear-gradient(135deg,#7c3aed,#4f46e5 55%,#0e7490) !important;
  color: #fff !important;
  border-color: transparent !important;
}
html.zs-dark-mode :where(.zs-btn.danger,button.danger,.zs-danger-text) {
  background: #4c1822 !important;
  color: #fecdd3 !important;
  border-color: #9f3146 !important;
}
html.zs-dark-mode :where(.zs-btn:disabled,button:disabled,input:disabled,select:disabled) {
  opacity: .58 !important;
  cursor: not-allowed !important;
}

html.zs-dark-mode :where(.zs-top,.zs-admin-top,.zs-verify-top,.zs-seller-top,.zs-account-top,.zs-mobile-nav,.zs-bottom-nav) {
  background: rgba(7,11,20,.96) !important;
  border-color: #2f3d54 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.24) !important;
}
html.zs-dark-mode .zs-nav :where(button,a).active,
html.zs-dark-mode .zs-nav :where(button,a):hover,
html.zs-dark-mode .zs-seller-menu button.active,
html.zs-dark-mode .zs-account-quick-nav a.active {
  background: linear-gradient(135deg, rgba(124,58,237,.34), rgba(6,182,212,.18)) !important;
  color: #fff !important;
}
html.zs-dark-mode .zs-security-hint {
  background: #201a42 !important;
  color: #ddd6fe !important;
  border-color: #55468c !important;
}
html.zs-dark-mode :where(.zs-status.ok,.zs-status-pill.ok,.zs-verification-card.verified) {
  background: #0c342d !important;
  color: #a7f3d0 !important;
  border-color: #24745f !important;
}
html.zs-dark-mode :where(.zs-status.warning,.zs-status-pill.warning) {
  background: #3b2a0d !important;
  color: #fde68a !important;
  border-color: #8f651a !important;
}
html.zs-dark-mode :where(.zs-status.error,.zs-status-pill.error,.zs-inline-error) {
  background: #431923 !important;
  color: #fecdd3 !important;
  border-color: #93364b !important;
}
html.zs-dark-mode .zs-hashtag { color: #c4b5fd !important; }
html.zs-dark-mode .zs-message-stream { background: #09111e !important; }
html.zs-dark-mode .zs-message.theirs { background: #1a2740 !important; color: var(--zs-text) !important; }
html.zs-dark-mode .zs-message.mine { background: linear-gradient(135deg,#6d28d9,#2563eb) !important; color: #fff !important; }
html.zs-dark-mode :where(.zs-post-media,.zs-product-image,.zs-store-cover,.zs-store-logo-preview,.zs-store-cover-preview,.zs-preview) {
  background: #09111e !important;
  border-color: #34435b !important;
}

/* Neutraliza colores claros incrustados directamente en plantillas. */
html.zs-dark-mode [style*="background: #fff"],
html.zs-dark-mode [style*="background:#fff"],
html.zs-dark-mode [style*="background: white"],
html.zs-dark-mode [style*="background:white"],
html.zs-dark-mode [style*="background: #f8fafc"],
html.zs-dark-mode [style*="background:#f8fafc"],
html.zs-dark-mode [style*="background: #f9fafb"],
html.zs-dark-mode [style*="background:#f9fafb"],
html.zs-dark-mode [style*="background: #f5f3ff"],
html.zs-dark-mode [style*="background:#f5f3ff"] {
  background: var(--zs-surface) !important;
  background-image: none !important;
  color: var(--zs-text) !important;
  border-color: var(--zs-border) !important;
}
html.zs-dark-mode [style*="color: #6"],
html.zs-dark-mode [style*="color:#6"],
html.zs-dark-mode [style*="color: #9"],
html.zs-dark-mode [style*="color:#9"] { color: var(--zs-text-muted) !important; }

/* Tablet y pantallas medianas. */
@media (max-width: 1180px) {
  .zs-layout { grid-template-columns: 220px minmax(0,1fr); }
  .zs-right { display: none; }
  .zs-top-inner { padding-inline: var(--zs-page-gutter); }
}
@media (max-width: 860px) {
  .zs-layout { display: block; padding: 18px var(--zs-page-gutter) 110px; }
  .zs-sidebar { display: none; }
  .zs-top-inner { height: 66px; gap: 10px; }
  .zs-top .zs-search { display: none; }
  .zs-logo img { width: min(150px, 42vw); }
  .zs-section-title { align-items: flex-start; flex-direction: column; }
  .zs-section-title > div,
  .zs-form-grid > *,
  .zs-product-actions > * { min-width: 0; }
  .zs-modal-panel { width: min(100% - 20px, 680px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); overflow: auto; }
}
@media (max-width: 560px) {
  :root { --zs-control-height: 46px; }
  .zs-card,.zs-side-card,.zs-modal-panel,.zs-auth-box { border-radius: 20px; }
  .zs-hero { padding: 22px 18px; }
  .zs-hero h1 { font-size: clamp(28px, 10vw, 42px); }
  .zs-post-head { align-items: flex-start; }
  .zs-post-actions { overflow-x: auto; scrollbar-width: none; }
  .zs-post-actions::-webkit-scrollbar { display: none; }
  .zs-post-actions button { flex: 0 0 auto; }
  .zs-form-actions { display: grid; grid-template-columns: 1fr; }
  .zs-form-actions .zs-btn { width: 100%; }
  .zs-mobile-nav { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
}

/* Teléfonos en horizontal y dispositivos con poca altura. */
@media (max-height: 560px) and (orientation: landscape) {
  .zs-top { position: relative; }
  .zs-mobile-nav { position: relative; }
  .zs-modal-panel { max-height: 94vh; }
  .zs-auth-visual { display: none; }
  .zs-auth-page { display: block; }
  .zs-auth-form-wrap { min-height: 100vh; padding: 18px; }
}

/* Televisores, navegadores con control remoto y pantallas muy grandes. */
@media (min-width: 1600px) {
  .zs-layout { max-width: 1540px; grid-template-columns: 260px minmax(680px, 820px) 350px; }
  .zs-top-inner { max-width: 1540px; }
  body { font-size: 17px; }
}
html.zs-device-tv body { font-size: 20px; }
html.zs-device-tv .zs-top-inner,
html.zs-device-tv .zs-layout { max-width: 1720px; }
html.zs-device-tv :where(button,.zs-btn,a,input,select) { min-height: 54px; }
html.zs-device-tv :where(button,.zs-btn,a):focus-visible {
  outline-width: 5px;
  outline-color: #facc15;
  transform: scale(1.025);
  position: relative;
  z-index: 5;
}
html.zs-device-tv .zs-mobile-nav { display: none !important; }

/* Movimiento reducido y equipos de menor rendimiento. */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
html.zs-data-saver video:not([controls]),
html.zs-data-saver .zs-hero-orbit,
html.zs-data-saver .zs-splash-bar { display: none !important; }

/* Tablas y paneles extensos no rompen el ancho en móviles. */
.zs-table-wrap,
.zs-transaction-table,
.zs-admin-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Ajustes para enlaces secundarios y navegadores de televisión. */
html.zs-dark-mode .zs-link-btn { color: #c4b5fd !important; }
html.zs-dark-mode .zs-auth-footer a { color: #c4b5fd !important; }
html.zs-device-tv .zs-layout { grid-template-columns: 280px minmax(760px, 1fr) 380px; }
html.zs-device-tv .zs-post-actions button,
html.zs-device-tv .zs-mobile-nav button { font-size: 1rem; }
@media (pointer: coarse) {
  :where(button,.zs-btn,a,input,select,textarea) { touch-action: manipulation; }
}

/* Superficies pequeñas que antes conservaban fondos claros. */
html.zs-dark-mode .zs-splash {
  background:
    radial-gradient(circle at 20% 15%, rgba(124,58,237,.28), transparent 34%),
    radial-gradient(circle at 82% 80%, rgba(14,116,144,.22), transparent 36%),
    var(--zs-bg) !important;
  color: var(--zs-text) !important;
}
html.zs-dark-mode .zs-splash-text { color: var(--zs-text-muted) !important; }
html.zs-dark-mode .zs-splash-bar { background: #27344a !important; }
html.zs-dark-mode .zs-story-circle.has-story {
  background:
    linear-gradient(var(--zs-surface), var(--zs-surface)) padding-box,
    linear-gradient(135deg, #ec4899, #8b5cf6, #0e7490) border-box !important;
}
html.zs-dark-mode .zs-story-circle.unseen {
  box-shadow: 0 0 0 3px var(--zs-bg), 0 0 0 6px #8b5cf6 !important;
}
html.zs-dark-mode .zs-story-circle.seen {
  box-shadow: 0 0 0 3px var(--zs-bg), 0 0 0 5px #52627b !important;
}
html.zs-dark-mode .zs-story-create .zs-story-circle,
html.zs-dark-mode .zs-verify-icon,
html.zs-dark-mode .zs-safe-card,
html.zs-dark-mode .zs-ad-campaign-stats span {
  background: var(--zs-surface-raised) !important;
  color: var(--zs-text) !important;
  border-color: var(--zs-border) !important;
}
html.zs-dark-mode .zs-story-skeleton {
  background: linear-gradient(90deg, #172033, #26344c, #172033) !important;
  background-size: 200% 100% !important;
}
html.zs-dark-mode .zs-composer-quick button,
html.zs-dark-mode .zs-ad-campaign-actions button,
html.zs-dark-mode .zs-admin-item-actions button,
html.zs-dark-mode .zs-profile-avatar-button,
html.zs-dark-mode .zs-admin-user-controls select {
  background: var(--zs-surface-raised) !important;
  color: var(--zs-text) !important;
  border-color: var(--zs-border) !important;
}
html.zs-dark-mode .zs-profile-avatar-button { border-color: var(--zs-surface-raised) !important; }
html.zs-dark-mode .zs-post-type.request {
  background: #3b2515 !important;
  color: #fdba74 !important;
}
html.zs-dark-mode .zs-post-type.offer {
  background: #123329 !important;
  color: #6ee7b7 !important;
}
html.zs-dark-mode .zs-post-type.update {
  background: #12313a !important;
  color: #67e8f9 !important;
}
html.zs-dark-mode .zs-notif-badge { border-color: var(--zs-bg) !important; }
html.zs-dark-mode .zs-verify { box-shadow: 0 0 0 2px var(--zs-surface) !important; }
html.zs-dark-mode .zs-verify.gold,
html.zs-dark-mode .zs-badge-preview.gold { color: #3b1d02 !important; }

/* ZuvyShop 2.3.0 — sistema de iconos vectoriales y verificación por enlace. */
[data-zs-icon] {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  line-height: 0;
  color: currentColor;
}
[data-zs-icon] > .zs-ui-icon,
.zs-icon-text > .zs-ui-icon,
.zs-reaction-icon > .zs-ui-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.zs-menu-grid > :where(a,button) > [data-zs-icon],
.zs-facebook-menu > :where(a,button) > [data-zs-icon] {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f1edff, #dff8ff);
  color: #6d28d9;
  box-shadow: inset 0 0 0 1px rgba(124,58,237,.08);
}
.zs-menu-list .zs-icon-text {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.zs-menu-list .zs-icon-text > [data-zs-icon] {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: linear-gradient(145deg, #f1edff, #e6f8ff);
  color: #6d28d9;
}
.zs-nav [data-zs-icon],
.zs-mobile-nav [data-zs-icon] {
  width: 24px;
  height: 24px;
}
.zs-verification-icon [data-zs-icon],
.zs-verify-icon [data-zs-icon] {
  width: 25px;
  height: 25px;
}
.zs-reaction-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
}
.zs-reaction-icon > .zs-ui-icon { width: 21px; height: 21px; }
.zs-reaction-picker button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.zs-email-link-actions {
  display: grid;
  gap: 11px;
}
.zs-email-link-actions .zs-btn {
  width: 100%;
  justify-content: center;
}
.zs-email-link-hint {
  margin: 0;
  color: var(--muted, #64748b);
  font-size: 13px;
  line-height: 1.55;
}
html.zs-dark-mode .zs-menu-grid > :where(a,button) > [data-zs-icon],
html.zs-dark-mode .zs-facebook-menu > :where(a,button) > [data-zs-icon],
html.zs-dark-mode .zs-menu-list .zs-icon-text > [data-zs-icon] {
  background: linear-gradient(145deg, #342260, #103f58) !important;
  color: #e4dcff !important;
  box-shadow: inset 0 0 0 1px rgba(196,181,253,.15) !important;
}
html.zs-dark-mode .zs-email-link-hint { color: var(--zs-text-muted, #aebbd0); }
@media (max-width: 560px) {
  .zs-menu-grid > :where(a,button) > [data-zs-icon],
  .zs-facebook-menu > :where(a,button) > [data-zs-icon] {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }
}

/* Iconografía 2.2: acciones, formularios y panel administrativo. */
.zs-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.zs-trust-list [data-zs-icon] {
  width: 25px;
  height: 25px;
  border-radius: 9px;
  color: #6d28d9;
  background: rgba(124,58,237,.10);
}
.zs-trust-list [data-zs-icon] > .zs-ui-icon { width: 16px; height: 16px; }
.zs-admin-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
}
.zs-admin-nav button [data-zs-icon] {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
}
.zs-admin-nav button [data-zs-icon] > .zs-ui-icon { width: 18px; height: 18px; }
.zs-admin-nav button.active [data-zs-icon] { background: rgba(255,255,255,.17); }
.zs-hero-orbit [data-zs-icon] {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: rgba(255,255,255,.72);
  color: #6d28d9;
  box-shadow: 0 12px 35px rgba(76,29,149,.16);
  backdrop-filter: blur(8px);
}
.zs-hero-orbit [data-zs-icon]:nth-child(1) { top: 13%; left: 12%; }
.zs-hero-orbit [data-zs-icon]:nth-child(2) { right: 10%; top: 30%; }
.zs-hero-orbit [data-zs-icon]:nth-child(3) { left: 22%; bottom: 9%; }
.zs-hero-orbit [data-zs-icon] > .zs-ui-icon { width: 23px; height: 23px; }
.zs-stories-head .zs-btn,
.zs-composer-quick button,
.zs-post-actions button,
.zs-audio strong,
.zs-clip-actions button {
  align-items: center;
  gap: 7px;
}
.zs-stories-head .zs-btn,
.zs-composer-quick button,
.zs-post-actions button,
.zs-clip-actions button { display: inline-flex; justify-content: center; }
.zs-post-actions b { display: inline-grid; place-items: center; }
.zs-post-actions b .zs-ui-icon { width: 21px; height: 21px; }
.zs-post-actions .liked b .zs-ui-icon { fill: currentColor; }
.zs-close [data-zs-icon],
.zs-drop-notice button [data-zs-icon] { width: 22px; height: 22px; }
.zs-explore-search-icon[data-zs-icon] { display: grid; }
.zs-explore-search-icon[data-zs-icon] > .zs-ui-icon { width: 22px; height: 22px; }
.zs-verification-icon > [data-zs-icon] > .zs-ui-icon,
.zs-verify-icon > [data-zs-icon] > .zs-ui-icon { width: 24px; height: 24px; }
html.zs-dark-mode .zs-trust-list [data-zs-icon] {
  color: #ddd6fe;
  background: rgba(139,92,246,.20);
}
html.zs-dark-mode .zs-hero-orbit [data-zs-icon] {
  color: #ddd6fe;
  background: rgba(17,24,39,.76);
  box-shadow: 0 12px 35px rgba(0,0,0,.34);
}
@media (max-width: 760px) {
  .zs-admin-nav button [data-zs-icon] { width: 28px; height: 28px; }
}


/* ZuvyShop 2.3.0: historias, clips e iconos administrativos */
.zs-story-canvas{position:relative;width:100%;min-height:420px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:22px;background:var(--story-bg,#6d28d9);isolation:isolate}
.zs-story-canvas::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,8,20,.05),rgba(4,8,20,.18) 52%,rgba(4,8,20,.72));z-index:1;pointer-events:none}
.zs-story-canvas.text-only::before{background:radial-gradient(circle at 20% 10%,rgba(255,255,255,.22),transparent 38%),linear-gradient(160deg,rgba(255,255,255,.08),rgba(0,0,0,.24))}
.zs-story-canvas>img,.zs-story-canvas>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#070b15}
.zs-story-canvas-caption{position:relative;z-index:2;width:min(90%,680px);margin-top:auto;padding:28px 24px 34px;color:#fff;font-size:clamp(20px,4vw,34px);font-weight:850;line-height:1.16;text-align:center;text-wrap:balance;text-shadow:0 3px 18px rgba(0,0,0,.7);white-space:pre-wrap;overflow-wrap:anywhere}
.zs-story-canvas.text-only .zs-story-canvas-caption{margin:auto;padding:42px 28px}.zs-story-canvas.has-media .zs-story-canvas-caption{margin:0 18px 24px;padding:15px 18px;border:2px solid var(--story-bg);border-radius:16px;background:rgba(5,9,20,.54);backdrop-filter:blur(10px)}
.zs-story-paid-label{position:absolute;z-index:3;top:16px;right:16px;padding:7px 11px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(8,13,26,.58);backdrop-filter:blur(10px);color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.zs-story-sponsored{display:block;margin-top:4px;color:var(--accent);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
#storyPreview .zs-story-canvas{min-height:330px;max-height:520px}
.zs-story-viewer-content .zs-story-canvas{height:100%;min-height:100%;border-radius:0}
.zs-clip-composer{max-width:640px}.zs-clip-composer .zs-preview video{display:block;width:100%;max-height:460px;border-radius:18px;background:#080c16;object-fit:contain}
.zs-icon-button{width:42px;height:42px;display:inline-grid!important;place-items:center;padding:0!important;border-radius:13px!important}.zs-icon-button .zs-ui-icon{width:19px;height:19px}.zs-icon-button.danger{border-color:rgba(220,38,38,.24)!important;color:#dc2626!important;background:rgba(220,38,38,.07)!important}.zs-icon-button.danger:hover{background:rgba(220,38,38,.14)!important}
.zs-badge-preview .zs-ui-icon{width:24px;height:24px}.zs-plan-features .zs-ui-icon{width:16px;height:16px;vertical-align:-3px;color:#16a36a}
@media(max-width:700px){.zs-story-canvas{min-height:360px;border-radius:18px}.zs-story-canvas-caption{font-size:24px;padding:22px 18px 28px}.zs-section-title>#openClipComposer{width:100%;margin-top:10px}.zs-admin-item-actions{flex-wrap:wrap}}
@media(min-width:1200px){.zs-story-composer{max-width:720px}.zs-story-canvas{min-height:500px}}

/* ZuvyShop 2.3.0 — clips, beneficios de plan y navegación */
.zs-clip-end{display:flex;justify-content:center;padding:12px 16px 26px;color:var(--muted);font-size:.92rem;text-align:center}
.zs-benefit-tag{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:calc(100% - 32px);margin:0 16px 12px;padding:7px 11px;border-radius:999px;font-size:.78rem;font-weight:800;letter-spacing:.02em;background:color-mix(in srgb,var(--primary) 12%,var(--card));border:1px solid color-mix(in srgb,var(--primary) 30%,var(--line));color:var(--primary)}
.zs-benefit-tag.offer{background:color-mix(in srgb,#f59e0b 14%,var(--card));border-color:color-mix(in srgb,#f59e0b 35%,var(--line));color:#b45309}
.zs-benefit-tag.new{background:color-mix(in srgb,#06b6d4 13%,var(--card));border-color:color-mix(in srgb,#06b6d4 34%,var(--line));color:#0e7490}
.zs-benefit-tag.recommended{background:color-mix(in srgb,#10b981 13%,var(--card));border-color:color-mix(in srgb,#10b981 34%,var(--line));color:#047857}
.zs-benefit-tag.featured{background:color-mix(in srgb,#8b5cf6 14%,var(--card));border-color:color-mix(in srgb,#8b5cf6 34%,var(--line));color:#6d28d9}
html.zs-dark-mode .zs-benefit-tag{color:#c4b5fd}html.zs-dark-mode .zs-benefit-tag.offer{color:#fcd34d}html.zs-dark-mode .zs-benefit-tag.new{color:#67e8f9}html.zs-dark-mode .zs-benefit-tag.recommended{color:#6ee7b7}
.zs-plan-locked{padding:30px;text-align:center;display:grid;justify-items:center;gap:12px}.zs-plan-locked>[data-zs-icon]{width:52px;height:52px;color:var(--primary)}.zs-plan-locked h3,.zs-plan-locked p{margin:0}.zs-plan-locked p{max-width:560px;color:var(--muted);line-height:1.55}

/* source: src/client/styles/legacy/vendeflow-310.css */
/* ZuvyShop 3.5.6 — clips MP4 automáticos, historias con stickers y pulido global. */

.zs-native-file-input,.zs-native-capture-input{position:fixed!important;left:-9999px!important;top:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.zs-btn-soft{background:color-mix(in srgb,var(--vf,#7c3aed) 8%,var(--card,#fff))!important;color:var(--text,#111827)!important;border-color:color-mix(in srgb,var(--vf,#7c3aed) 22%,var(--line,#dbe2ea))!important}
.zs-btn-soft:hover{background:color-mix(in srgb,var(--vf,#7c3aed) 13%,var(--card,#fff))!important}
.zs-pressed{animation:zsButtonPress310 .24s ease}
@keyframes zsButtonPress310{0%{transform:scale(1)}45%{transform:scale(.96)}100%{transform:scale(1)}}
button,.zs-btn,a.zs-btn{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:disabled,.zs-btn:disabled{cursor:not-allowed;filter:saturate(.65);opacity:.6}

/* Clips: selección, subida y MP4 listo */
.zs-clip-picker-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;align-items:center!important}
.zs-clip-picker-row>.zs-btn{width:100%;justify-content:center;min-height:48px}
.zs-clip-file-status{grid-column:1/-1;text-align:center;padding:2px 8px;font-weight:720}
.zs-clip-preparing-preview{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:12px;padding:26px;color:#fff;text-align:center;background:radial-gradient(circle at 50% 34%,rgba(124,58,237,.72),rgba(3,7,18,.98) 66%)}
.zs-clip-preparing-preview b{font-size:1.15rem}.zs-clip-preparing-preview small{max-width:260px;color:#dbeafe;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zs-clip-preparing-preview em{max-width:240px;color:#cbd5e1;font-size:.74rem;line-height:1.45;font-style:normal}
.zs-clip-preparing-spinner{width:58px;height:58px;border:5px solid rgba(255,255,255,.22);border-top-color:#fff;border-radius:50%;animation:zsSpin310 .82s linear infinite;box-shadow:0 0 0 9px rgba(124,58,237,.13)}
@keyframes zsSpin310{to{transform:rotate(360deg)}}
.zs-clip-preparing-track{width:min(230px,75%);height:7px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.18)}
.zs-clip-preparing-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#c4b5fd,#22d3ee);transition:width .18s ease}
.zs-clip-preparing-track.indeterminate i{width:38%!important;animation:zsUploadFlow310 1.1s ease-in-out infinite}
@keyframes zsUploadFlow310{0%{transform:translateX(-120%)}50%{transform:translateX(100%)}100%{transform:translateX(280%)}}
.zs-clip-ready-preview{background:#020617!important}
.zs-clip-ready-preview video{object-fit:contain!important;background-color:#020617!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important}
.zs-clip-ready-preview .zs-clip-preview-badge{display:inline-flex;align-items:center;gap:5px;background:rgba(5,150,105,.78)!important;border-color:rgba(255,255,255,.28)!important}
.zs-clip-ready-preview .zs-clip-preview-badge .zs-ui-icon{width:14px;height:14px;stroke:#fff}
.zs-clip-poster-only .zs-clip-preview-toggle{display:none!important}
.zs-clip-preview-remove{position:absolute;right:11px;top:11px;z-index:8;width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:50%;color:#fff;background:rgba(2,6,23,.56);backdrop-filter:blur(10px)}
.zs-clip-preview-remove .zs-ui-icon{width:21px;height:21px;stroke:#fff}
.zs-clip-composer-actions .zs-btn.primary:not(:disabled){box-shadow:0 13px 30px color-mix(in srgb,var(--vf,#7c3aed) 34%,transparent)}

/* Historias: canvas, galería y stickers */
.zs-story-media-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px!important;align-items:stretch!important}
.zs-story-media-actions>.zs-btn{width:100%;min-height:48px;justify-content:center;padding-inline:10px;font-size:.82rem}
.zs-story-media-actions>small{grid-column:1/-1;text-align:center;line-height:1.45}
#storyPreview{position:relative;isolation:isolate}
#storyPreview .zs-story-canvas{min-height:clamp(430px,72dvh,620px)!important;background:linear-gradient(150deg,#6d28d9 0%,#2563eb 55%,#06b6d4 100%)!important}
#storyPreview .zs-story-canvas.text-only::after{content:"";position:absolute;inset:-20%;z-index:0;background:radial-gradient(circle at 25% 18%,rgba(255,255,255,.28),transparent 28%),radial-gradient(circle at 80% 78%,rgba(34,211,238,.25),transparent 30%);filter:blur(8px)}
.zs-story-blank{min-height:440px;display:grid;place-content:center;justify-items:center;gap:9px;padding:28px;color:#fff;text-align:center;border-radius:24px;background:linear-gradient(145deg,#6d28d9,#2563eb 58%,#06b6d4)}
.zs-story-blank .zs-ui-icon{width:46px;height:46px;stroke:#fff}.zs-story-blank small{color:#e0f2fe;max-width:260px;line-height:1.45}
.zs-story-sticker-panel{display:grid;gap:11px;padding:14px;border:1px solid color-mix(in srgb,var(--vf,#7c3aed) 24%,var(--line,#dbe2ea));border-radius:20px;background:color-mix(in srgb,var(--vf,#7c3aed) 5%,var(--card,#fff))}
.zs-story-sticker-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.zs-story-sticker-head>div{display:grid;gap:2px}.zs-story-sticker-head b{font-size:.86rem;line-height:1.35}.zs-story-sticker-head button{border:0;border-radius:999px;padding:7px 10px;color:#7c3aed;background:rgba(124,58,237,.1);font:inherit;font-size:.72rem;font-weight:850}
.zs-story-sticker-tray{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:none}.zs-story-sticker-tray::-webkit-scrollbar{display:none}
.zs-story-sticker-tray button{flex:0 0 auto;min-width:48px;height:48px;padding:0 10px;border:1px solid rgba(124,58,237,.18);border-radius:15px;background:var(--card,#fff);box-shadow:0 7px 18px rgba(15,23,42,.08);font-size:1.45rem;font-weight:950}.zs-story-sticker-tray button[data-story-sticker-kind="label"]{min-width:auto;font-size:.7rem;letter-spacing:.05em;color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb)}
.zs-story-sticker-panel>small{color:var(--muted,#64748b);font-size:.72rem;line-height:1.45}
.zs-story-sticker-layer{position:absolute;z-index:4;inset:0;pointer-events:none;overflow:hidden}
.zs-story-sticker{position:absolute;left:var(--sticker-x,50%);top:var(--sticker-y,50%);transform:translate(-50%,-50%) scale(var(--sticker-scale,1)) rotate(var(--sticker-rotation,0deg));transform-origin:center;display:grid;place-items:center;user-select:none;white-space:nowrap;filter:drop-shadow(0 6px 12px rgba(0,0,0,.35));transition:filter .15s ease}
.zsStorySticker-emoji{font-size:clamp(38px,12vw,76px);line-height:1}
.zsStorySticker-label{padding:8px 13px;border:2px solid rgba(255,255,255,.74);border-radius:999px;color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);box-shadow:0 8px 22px rgba(0,0,0,.22);font-size:clamp(12px,3vw,18px);font-weight:950;letter-spacing:.05em}
#storyPreview .zs-story-sticker-layer{pointer-events:auto}
#storyPreview .zs-story-sticker.is-editable{cursor:grab;touch-action:none;pointer-events:auto}
#storyPreview .zs-story-sticker.is-editable.is-selected{filter:drop-shadow(0 0 0 rgba(0,0,0,0)) drop-shadow(0 8px 14px rgba(0,0,0,.4));outline:2px dashed rgba(255,255,255,.95);outline-offset:8px;border-radius:10px}
#storyPreview .zs-story-sticker.is-dragging{cursor:grabbing;transition:none;z-index:9}
.zs-story-sticker-tools{position:absolute;z-index:30;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:7px;padding:7px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(2,6,23,.72);backdrop-filter:blur(14px);box-shadow:0 12px 30px rgba(0,0,0,.28)}
.zs-story-sticker-tools button{width:40px;height:40px;border:0;border-radius:50%;color:#fff;background:rgba(255,255,255,.12);font:900 1.1rem/1 system-ui}.zs-story-sticker-tools button:last-child{background:rgba(239,68,68,.72)}
.zs-story-music-fields{display:grid;gap:10px}.zs-story-music-badge{position:absolute;z-index:6;left:14px;bottom:calc(var(--zs-story-ui-height,150px) + 12px);max-width:70%;display:flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;color:#fff;background:rgba(2,6,23,.58);backdrop-filter:blur(10px);font-size:.72rem;overflow:hidden}.zs-story-music-badge .zs-ui-icon{width:15px;height:15px;stroke:#fff}.zs-story-music-badge b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#storyPreview .zs-story-music-badge{bottom:14px}

/* Pulido general */
.zs-card,.zs-modal-panel,.zs-side-card{border-color:color-mix(in srgb,var(--vf,#7c3aed) 9%,var(--line,#dbe2ea))!important}
.zs-field input,.zs-field textarea,.zs-field select{transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.zs-field input:focus,.zs-field textarea:focus,.zs-field select:focus{border-color:color-mix(in srgb,var(--vf,#7c3aed) 62%,#fff)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--vf,#7c3aed) 14%,transparent)!important;outline:none}
.zs-toast{backdrop-filter:blur(18px);box-shadow:0 18px 50px rgba(15,23,42,.2)}

@media(max-width:640px){
  .zs-story-media-actions{grid-template-columns:1fr 1fr}.zs-story-media-actions>#pickStoryFile{grid-column:1/-1}
  .zs-clip-picker-row{grid-template-columns:1fr 1fr}
  #storyPreview .zs-story-canvas{min-height:56dvh!important}
}
@media(max-width:390px){.zs-story-media-actions>.zs-btn{font-size:.76rem;padding-inline:7px}.zs-clip-picker-row>.zs-btn{padding-inline:8px;font-size:.83rem}}
@media(prefers-reduced-motion:reduce){.zs-clip-preparing-spinner,.zs-clip-preparing-track.indeterminate i{animation-duration:1.6s}.zs-pressed{animation:none}}
html.zs-dark-mode .zs-story-sticker-panel{background:rgba(76,29,149,.12)}
html.zs-dark-mode .zs-story-sticker-tray button{background:#111b2f;color:#fff}

/* Refinamiento general de estructura y navegación */
body{background:radial-gradient(circle at 12% 4%,color-mix(in srgb,var(--vf,#7c3aed) 8%,transparent),transparent 28%),radial-gradient(circle at 92% 80%,rgba(6,182,212,.07),transparent 30%),var(--bg,#f6f7fb)}
.zs-top{background:color-mix(in srgb,var(--card,#fff) 90%,transparent)!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom-color:color-mix(in srgb,var(--vf,#7c3aed) 10%,var(--line,#e2e8f0))!important}
.zs-logo img{max-height:48px;object-fit:contain}
.zs-section-title h1,.zs-section-title h2,.zs-section-title h3{letter-spacing:-.035em;text-wrap:balance}
.zs-section-title p{line-height:1.55}
.zs-card{border-radius:24px!important;box-shadow:0 14px 38px rgba(15,23,42,.07)!important}
.zs-btn{border-radius:15px!important;font-weight:850!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}
.zs-btn.primary{background:linear-gradient(135deg,var(--vf,#7c3aed),#5b21b6 58%,#2563eb)!important;border:0!important;color:#fff!important}
.zs-btn.primary:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 14px 30px color-mix(in srgb,var(--vf,#7c3aed) 26%,transparent)}
.zs-mobile-nav{background:color-mix(in srgb,var(--card,#fff) 92%,transparent)!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 -10px 30px rgba(15,23,42,.08)}
.zs-mobile-nav button,.zs-mobile-nav a{border-radius:14px}.zs-mobile-nav .active{color:var(--vf,#7c3aed)!important}
.zs-modal{background:rgba(15,23,42,.48)!important;backdrop-filter:blur(8px)}
.zs-modal-panel{box-shadow:0 28px 90px rgba(15,23,42,.24)!important}
.zs-close{transition:transform .16s ease,background .16s ease}.zs-close:hover{transform:rotate(5deg) scale(1.04)}
.zs-live-card{overflow:hidden;position:relative}.zs-live-cover{position:relative;min-height:210px;background:linear-gradient(145deg,#111827,#312e81 58%,#0e7490)}
.zs-live-cover>img{width:100%;height:100%;object-fit:cover}.zs-live-placeholder{height:100%;min-height:210px;display:grid;place-content:center;justify-items:center;gap:9px;color:#fff;background:radial-gradient(circle at 50% 38%,rgba(239,68,68,.38),transparent 34%)}
.zs-live-placeholder .zs-ui-icon{width:54px;height:54px;stroke:#fff}.zs-live-cover>span{position:absolute;left:12px;top:12px;padding:7px 10px;border-radius:999px;color:#fff;background:rgba(15,23,42,.7);font-size:.7rem;font-weight:950;letter-spacing:.08em}.zs-live-cover>span.live{background:#dc2626;box-shadow:0 0 0 5px rgba(220,38,38,.15)}
.zs-live-viewer-pill{position:absolute;right:12px;top:12px;display:flex;align-items:center;gap:5px;padding:7px 10px;border-radius:999px;color:#fff;background:rgba(2,6,23,.62);backdrop-filter:blur(10px);font-size:.72rem;font-style:normal;font-weight:850}.zs-live-viewer-pill .zs-ui-icon{width:15px;height:15px;stroke:#fff}
.zs-live-card .zs-product-body{display:grid;gap:9px;padding:17px}.zs-live-card .zs-product-body h3{margin:0;letter-spacing:-.025em}.zs-live-card .zs-product-body p{margin:0;color:var(--muted,#64748b);line-height:1.5}
@media(min-width:900px){.zs-card:hover{box-shadow:0 20px 48px rgba(15,23,42,.1)!important}}
html.zs-dark-mode body{background:radial-gradient(circle at 12% 4%,rgba(124,58,237,.14),transparent 28%),radial-gradient(circle at 92% 80%,rgba(6,182,212,.09),transparent 30%),#07101f}

/* source: src/client/styles/legacy/vendeflow-320.css */
/* ZuvyShop 3.5.6 — correcciones de modo oscuro, Historias, Clips y navegación móvil. */

/* ---------- Navegación: sin barra inferior ---------- */
.zs-mobile-nav{display:none!important}
@media(max-width:760px){
  .zs-layout{padding-bottom:22px!important}
  body.zs-clips-open #videosView{height:100dvh!important}
}
.zs-top-home-button{
  flex:0 0 auto;width:44px;height:44px;display:grid;place-items:center;
  border:1px solid color-mix(in srgb,var(--vf,#7c3aed) 17%,var(--line,#dbe2ea));
  border-radius:15px;color:var(--text,#111827);background:color-mix(in srgb,var(--card,#fff) 92%,transparent);
  box-shadow:0 7px 20px rgba(15,23,42,.07);text-decoration:none;
}
.zs-top-home-button .zs-ui-icon{width:22px;height:22px;stroke:currentColor}
.zs-top-home-button:active{transform:scale(.95)}
@media(max-width:760px){
  .zs-top-inner{gap:9px!important}
  .zs-top-home-button{width:42px;height:42px;border-radius:14px}
  .zs-logo{min-width:0;flex:1}
  .zs-logo img{width:min(162px,43vw)!important;height:42px!important;object-position:left center!important}
  .zs-top-actions{margin-left:auto}
}

/* El logo oscuro ahora es transparente y nunca debe verse como un rectángulo blanco. */
.zs-logo,.zs-logo img{background:transparent!important}
html.zs-dark-mode .zs-logo{border:0!important;box-shadow:none!important}

html.zs-dark-mode .zs-top-home-button{color:#fff;background:rgba(15,27,49,.88);border-color:rgba(148,163,184,.22)}

/* ---------- Clips: inicio arriba, sin contador y video visible ---------- */
.zs-clip-home-button{
  position:absolute;left:12px;top:7px;z-index:50;width:42px;height:42px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.24);border-radius:999px;color:#fff;background:rgba(2,6,23,.52);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 9px 25px rgba(0,0,0,.24)
}
.zs-clip-home-button .zs-ui-icon{width:21px;height:21px;stroke:#fff}
.zs-clip-position{display:none!important}
.zs-clip-topbar{right:13px!important}
.zs-clip-poster-frame{
  position:absolute;inset:0;z-index:1;width:100%;height:100%;display:block;object-fit:cover;
  background:#030712;opacity:1;transition:opacity .22s ease;pointer-events:none
}
.zs-clip-video{z-index:2!important}
.zs-clip.has-clip-poster .zs-clip-video video{opacity:0!important;transition:opacity .22s ease;background:transparent!important}
.zs-clip.has-clip-poster.zs-clip-frame-visible .zs-clip-video video{opacity:1!important}
.zs-clip.has-clip-poster.zs-clip-frame-visible .zs-clip-poster-frame{opacity:0}
.zs-clip.zs-clip-playback-error .zs-clip-poster-frame,.zs-clip:not(.zs-clip-frame-visible) .zs-clip-poster-frame{opacity:1!important}
.zs-clip.zs-clip-playback-error .zs-clip-video video{opacity:0!important}
.zs-clip-file-status.zs-hidden{display:none!important}
.zs-clip-file-status:not(.zs-hidden){display:block!important;color:var(--muted,#64748b);font-weight:750}
.zs-clip-ready-preview .zs-clip-preview-badge{background:rgba(5,150,105,.84)!important}
.zs-clip-preview-info b{display:none!important}
.zs-clip-preview-info small{font-size:.8rem!important;color:#e2e8f0!important}
@media(max-width:760px){
  body.zs-clips-open #videosView>.zs-section-title{width:100%!important;padding:0 10px!important}
  .zs-clip-feed-tabs{top:8px!important}
  .zs-clip-home-button{left:10px;top:8px}
  body.zs-clips-open #openClipComposer{right:10px!important}
}

/* ---------- Historias: pantalla completa con una sola capa ---------- */
.zs-story{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.zs-story-circle{overflow:visible!important}
.zs-story-viewer{background:#020617!important}
.zs-story-viewer-content{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0!important;box-shadow:none!important;background:#020617!important}
.zs-story-viewer-content .zs-story-canvas{width:100%!important;height:100%!important;min-height:100%!important}
.zs-story-viewer-content .zs-story-canvas-media{position:absolute!important;inset:0!important;overflow:hidden!important;background:#020617!important}
.zs-story-viewer-content .zs-story-ambient{display:none!important}
.zs-story-viewer-content .zs-story-canvas-media>img:not(.zs-story-ambient),
.zs-story-viewer-content .zs-story-canvas-media>video{position:absolute!important;inset:0!important;z-index:1!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;background:transparent!important}
.zs-story-viewer-content::after{border-radius:0!important}
.zs-story-viewer-identity{
  left:14px!important;right:112px!important;top:calc(max(10px,env(safe-area-inset-top)) + 18px)!important;
  width:auto!important;transform:none!important;display:block!important
}
.zs-story-identity-button{width:100%;display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.zs-story-identity-button>div{min-width:0;display:grid;gap:1px}
.zs-story-viewer-identity .zs-avatar{
  position:relative;width:44px!important;height:44px!important;min-width:44px!important;overflow:hidden!important;
  border:2px solid rgba(255,255,255,.94)!important;background:linear-gradient(145deg,#ede9fe,#cffafe)!important;
  color:#7c3aed!important;font-size:1rem!important;font-weight:950!important
}
.zs-story-viewer-identity .zs-avatar .zs-avatar-initials{position:absolute;inset:0;z-index:1;display:grid;place-items:center}
.zs-story-viewer-identity .zs-avatar img{position:absolute;inset:0;z-index:2;width:100%!important;height:100%!important;object-fit:cover!important}
.zs-story-viewer-identity b{
  display:flex!important;align-items:center!important;gap:7px!important;max-width:100%!important;
  overflow:visible!important;white-space:nowrap!important;text-overflow:clip!important;font-size:.94rem
}
.zs-story-viewer-identity b .zs-verify{flex:0 0 auto!important;width:18px!important;height:18px!important;margin:0!important;box-shadow:0 0 0 2px rgba(3,7,18,.75)!important}
.zs-story-viewer-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zs-story-viewer-close{right:12px!important}
.zs-story-sound-button{right:60px!important}
.zs-story-interaction-panel{bottom:max(9px,env(safe-area-inset-bottom))!important}
@media(max-width:430px){
  .zs-story-viewer-identity{left:12px!important;right:108px!important}
  .zs-story-viewer-identity .zs-avatar{width:42px!important;height:42px!important;min-width:42px!important}
  .zs-story-viewer-content .zs-story-canvas.has-media .zs-story-canvas-caption{left:14px!important;right:14px!important}
}

/* ---------- En vivo ---------- */
.zs-live-section-title{align-items:center!important}
.zs-start-live-top{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.zs-start-live-top .zs-ui-icon{width:19px;height:19px;stroke:currentColor}
.zs-live-start-now{
  position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;
  padding:19px;border:1px solid rgba(239,68,68,.22)!important;background:linear-gradient(135deg,rgba(239,68,68,.08),rgba(124,58,237,.08),rgba(6,182,212,.06))!important
}
.zs-live-start-now::after{content:"";position:absolute;right:-70px;top:-80px;width:210px;height:210px;border-radius:50%;background:rgba(239,68,68,.09);filter:blur(2px)}
.zs-live-start-now-icon{position:relative;z-index:1;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;color:#fff;background:linear-gradient(145deg,#ef4444,#ec4899);box-shadow:0 12px 30px rgba(239,68,68,.28)}
.zs-live-start-now-icon .zs-ui-icon{width:28px;height:28px;stroke:#fff}
.zs-live-start-now-text{position:relative;z-index:1;min-width:0}.zs-live-start-now-text h3{margin:0 0 5px}.zs-live-start-now-text p{margin:0;color:var(--muted,#64748b);line-height:1.45}
.zs-live-start-now .zs-btn{position:relative;z-index:1;white-space:nowrap}
.zs-live-card .zs-live-placeholder{font-size:0}.zs-live-card .zs-live-placeholder::after{content:"EN VIVO";font-size:1.4rem;font-weight:950;letter-spacing:.08em}
@media(max-width:680px){
  .zs-live-section-title{align-items:stretch!important}.zs-start-live-top{width:100%;justify-content:center}
  .zs-live-start-now{grid-template-columns:auto 1fr}.zs-live-start-now .zs-btn{grid-column:1/-1;width:100%;justify-content:center}
}

/* Mejor contraste en modo oscuro sin bloques rectangulares alrededor de Historias. */
html.zs-dark-mode .zs-story,html.zs-dark-mode .zs-story strong{background:transparent!important}
html.zs-dark-mode .zs-story-circle::after{border-color:#111b2f!important}
html.zs-dark-mode .zs-live-start-now{border-color:rgba(248,113,113,.2)!important;background:linear-gradient(135deg,rgba(127,29,29,.22),rgba(76,29,149,.18),rgba(8,47,73,.18))!important}

/* La portada permanece visible hasta que el navegador decodifica un fotograma real. */
.zs-story-viewer-content .zs-story-video-poster{z-index:1!important;opacity:1;transition:opacity .2s ease;object-fit:cover!important}
#storyPreview .zs-story-video-poster{z-index:1!important;opacity:1;transition:opacity .2s ease;object-fit:contain!important}
.zs-story-viewer-content .zs-story-canvas-media>video,#storyPreview .zs-story-canvas-media>video{z-index:2!important}
.zs-story-canvas:has(.zs-story-video-poster) .zs-story-canvas-media>video{opacity:0;transition:opacity .2s ease}
.zs-story-canvas.zs-story-frame-visible .zs-story-canvas-media>video{opacity:1}
.zs-story-canvas.zs-story-frame-visible .zs-story-video-poster{opacity:0}

/* Respaldo visual para fotos de perfil dañadas o ausentes. */
.zs-avatar{position:relative;overflow:hidden}
.zs-avatar .zs-avatar-initials{position:absolute;inset:0;z-index:1;display:grid;place-items:center;font-weight:950;color:#7c3aed;background:linear-gradient(145deg,#f5d0fe,#dbeafe)}
.zs-avatar>img{position:relative;z-index:2;width:100%;height:100%;object-fit:cover}

/* Vista previa del compositor: usa la miniatura mientras llega el primer fotograma. */
.zs-clip-ready-preview .zs-clip-composer-poster{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;object-fit:contain;background:#020617;transition:opacity .2s ease}
.zs-clip-ready-preview.has-poster video{position:relative;z-index:1;opacity:0;transition:opacity .2s ease}
.zs-clip-ready-preview.has-poster.zs-preview-frame-visible video{opacity:1}
.zs-clip-ready-preview.has-poster.zs-preview-frame-visible .zs-clip-composer-poster{opacity:0}
.zs-clip-ready-preview .zs-clip-preview-toggle,.zs-clip-ready-preview .zs-clip-preview-badge,.zs-clip-ready-preview .zs-clip-preview-remove,.zs-clip-ready-preview .zs-clip-preview-info{z-index:5}

/* source: src/client/styles/legacy/vendeflow-340.css */
/* ZuvyShop 3.5.6 — corrección visual y funcional para Android/PWA. */

/* Documento completo: evita el rectángulo claro debajo de páginas cortas en modo oscuro. */
html,body{min-width:100%;min-height:100%;margin:0}
html{background:var(--bg,#f7f7fb)}
body{min-height:100vh;min-height:100dvh}
body.zs-seller-shell,body.zs-account-shell,body.zs-admin-shell{min-height:100vh!important;min-height:100dvh!important}
html.zs-dark-mode{background:#070b14!important;color-scheme:dark}
html.zs-dark-mode body,html.zs-dark-mode body.zs-seller-shell,html.zs-dark-mode body.zs-account-shell,html.zs-dark-mode body.zs-admin-shell{min-height:100vh!important;min-height:100dvh!important;background:#070b14!important}
html.zs-dark-mode .zs-seller-layout,html.zs-dark-mode .zs-seller-main,html.zs-dark-mode #sellerContent{background:transparent!important}

/* Marca oficial: PNG directo, sin content:url, filtros ni SVG anidado. */
.zs-logo,.zs-logo img,.zs-splash-icon,.zs-splash-icon img,.zs-auth-mobile-logo,.zs-auth-mobile-logo img{background:transparent!important}
.zs-logo{display:flex!important;align-items:center!important;min-width:0!important;border:0!important;box-shadow:none!important}
.zs-logo img,img[data-zs-theme-logo],img.brandLogo,[data-site-logo],.zs-auth-mobile-logo img,.zs-report-brand img{
  content:normal!important;display:block!important;width:auto!important;height:auto!important;
  max-width:100%!important;max-height:48px!important;object-fit:contain!important;object-position:left center!important;
  image-rendering:auto!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;
  transform:none!important;clip-path:none!important;box-shadow:none!important;background:transparent!important
}
.zs-top-inner>.zs-logo img{width:clamp(168px,22vw,218px)!important;max-height:50px!important}
.zs-splash-icon img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;border-radius:24%!important}
@media(max-width:760px){.zs-top-inner>.zs-logo{flex:1 1 auto!important}.zs-top-inner>.zs-logo img{width:min(205px,53vw)!important;max-height:45px!important}.zs-top-actions{flex:0 0 auto!important}}

/* Formularios: las capas decorativas jamás capturan el toque. */
.zs-form,.zs-field,.zs-upload{position:relative;isolation:isolate}
.zs-form::before,.zs-form::after,.zs-field::before,.zs-field::after,.zs-upload::before,.zs-upload::after,.zs-card.zs-form::before,.zs-card.zs-form::after{pointer-events:none!important}
.zs-form label,.zs-field{pointer-events:auto!important}
.zs-form input,.zs-form textarea,.zs-form select,.zs-form button,.zs-message-composer textarea,.zs-message-composer button{
  position:relative!important;z-index:3!important;pointer-events:auto!important;touch-action:manipulation!important
}
.zs-form input:not([type="button"]):not([type="submit"]):not([type="reset"]),.zs-form textarea,.zs-form select{
  -webkit-user-select:text!important;user-select:text!important;caret-color:auto!important
}
.zs-field input:focus,.zs-field textarea:focus,.zs-field select:focus{outline:3px solid color-mix(in srgb,var(--primary,#7c3aed) 28%,transparent)!important;outline-offset:1px;border-color:var(--primary,#7c3aed)!important}
html.zs-dark-mode .zs-field input,html.zs-dark-mode .zs-field textarea,html.zs-dark-mode .zs-field select,html.zs-dark-mode .zs-upload{color:#f8fafc!important;background:#111827!important;border-color:#334155!important}
html.zs-dark-mode .zs-field input::placeholder,html.zs-dark-mode .zs-field textarea::placeholder{color:#94a3b8!important}
#sellerLiveForm,#productForm,#sellerPostForm,#createStoreForm,#storeSettingsForm,#verificationForm,#adForm,#sellerAffiliateForm,#settingsForm,#editForm,#storyForm,#postForm,#clipForm{pointer-events:auto!important;isolation:isolate!important}
#sellerLiveForm input,#sellerLiveForm textarea,#sellerLiveForm select{opacity:1!important;visibility:visible!important;-webkit-text-fill-color:currentColor!important}
#sellerLiveProducts{min-height:118px!important}
.zs-native-file-input,.zs-native-capture-input{position:fixed!important;left:-10000px!important;top:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
[data-zs-media-input],[data-zs-camera-input]{touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important}
[data-zs-media-input][aria-busy="true"],[data-zs-camera-input][aria-busy="true"]{opacity:.72!important;pointer-events:none!important}
[data-zs-media-input][aria-busy="true"]::after,[data-zs-camera-input][aria-busy="true"]::after{content:"";width:15px;height:15px;margin-left:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:vf340spin .65s linear infinite}
.zs-media-selected{box-shadow:0 0 0 2px rgba(16,185,129,.25)!important;border-color:#10b981!important}
@keyframes vf340spin{to{transform:rotate(360deg)}}

/* Carrusel de Historias: sin bloques cuadrados en modo oscuro. */
.zs-stories{overflow-x:auto!important;overflow-y:visible!important}
.zs-story,html.zs-dark-mode .zs-story{
  appearance:none!important;-webkit-appearance:none!important;background:transparent!important;border:0!important;
  box-shadow:none!important;outline:0;padding:0!important;overflow:visible!important;color:inherit!important
}
.zs-story::before,.zs-story::after{display:none!important;content:none!important}
.zs-story strong,html.zs-dark-mode .zs-story strong{background:transparent!important;color:inherit!important;box-shadow:none!important}
.zs-story-circle{position:relative!important;border-radius:50%!important;isolation:isolate!important;background:linear-gradient(145deg,#e9d5ff,#cffafe)!important}
.zs-story-circle img,.zs-story-circle i,.zs-story-circle .zs-avatar-initials{display:block!important;width:100%!important;height:100%!important;border-radius:50%!important;clip-path:circle(49% at 50% 50%)!important;object-fit:cover!important;object-position:center!important;background:transparent}
html.zs-dark-mode .zs-story-circle{background:linear-gradient(145deg,#312e81,#0e7490)!important}
html.zs-dark-mode .zs-story-circle::after{border-color:#111b2f!important}

/* Compositor de Historias. */
#storyModal{overflow:auto!important;overscroll-behavior:contain}
#storyModal .zs-story-composer{width:min(940px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;padding-bottom:max(20px,env(safe-area-inset-bottom))!important}
.zs-story-media-actions{position:relative;z-index:4;display:flex!important;flex-wrap:wrap!important;gap:9px!important}
.zs-story-media-actions small{flex-basis:100%}
#storyPreview{position:relative!important;width:100%!important;min-height:420px!important;max-height:min(78dvh,820px)!important;aspect-ratio:9/16!important;overflow:hidden!important;border-radius:24px!important;background:#020617!important;isolation:isolate!important}
#storyPreview .zs-story-canvas,#storyPreview .zs-story-canvas-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;border-radius:0!important;overflow:hidden!important}
#storyPreview .zs-story-main-media,#storyPreview .zs-story-canvas-media>img:not(.zs-story-ambient):not(.zs-story-video-poster),#storyPreview .zs-story-canvas-media>video{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;object-position:center!important;transform:none!important;clip-path:none!important;filter:none!important;opacity:1!important;image-orientation:from-image!important;z-index:2!important}
#storyPreview .zsStoryFit-cover .zs-story-main-media{object-fit:cover!important}
#storyPreview .zsStoryFit-contain .zs-story-main-media{object-fit:contain!important}
#storyPreview .zs-story-ambient{position:absolute!important;inset:-24px!important;width:calc(100% + 48px)!important;height:calc(100% + 48px)!important;max-width:none!important;max-height:none!important;object-fit:cover!important;filter:blur(26px) saturate(1.15) brightness(.46)!important;opacity:.78!important;z-index:0!important;pointer-events:none!important}

/* Visor de Historias: una sola capa real, idéntica en claro y oscuro. */
.zs-story-viewer{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;background:#020617!important;background-image:none!important;overflow:hidden!important;touch-action:pan-y!important}
.zs-story-viewer-content{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#020617!important;overflow:hidden!important;transform-origin:center!important}
.zs-story-viewer-content .zs-story-canvas,.zs-story-viewer-content .zs-story-canvas-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;transform:none!important;clip-path:none!important;background:#020617!important}
.zs-story-viewer-content .zs-story-main-media,.zs-story-viewer-content .zs-story-canvas-media>img:not(.zs-story-ambient):not(.zs-story-video-poster),.zs-story-viewer-content .zs-story-canvas-media>video{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center center!important;transform:none!important;clip-path:none!important;filter:none!important;opacity:1!important;visibility:visible!important;image-orientation:from-image!important;background:transparent!important;z-index:2!important}
.zs-story-viewer-content .zs-story-ambient{display:none!important;visibility:hidden!important;opacity:0!important}
.zs-story-full-media-layer,.zs-story-full-media-backdrop,.zs-story-full-media-image{display:none!important}
.zs-story-video-poster{transition:opacity .2s ease!important;object-fit:cover!important;z-index:1!important}.zs-story-video-poster.is-hidden{opacity:0!important;pointer-events:none!important}
.zs-story-viewer-content .zs-story-canvas.has-media .zs-story-canvas-caption{z-index:7!important;left:14px!important;right:14px!important;width:auto!important;max-width:min(720px,calc(100vw - 28px))!important;margin-inline:auto!important;max-height:min(25dvh,190px)!important;overflow:auto!important;overflow-wrap:anywhere!important}
.zs-story-viewer-content .zs-story-canvas.has-media.zsStoryPos-bottom .zs-story-canvas-caption{bottom:calc(var(--zs-story-ui-height,160px) + max(12px,env(safe-area-inset-bottom)))!important}
.zs-story-interaction-panel{z-index:30!important;left:50%!important;transform:translateX(-50%)!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:min(520px,calc(100vw - 16px))!important;max-height:min(42dvh,360px)!important;overflow:visible!important;padding:9px!important;border-radius:20px!important;background:linear-gradient(180deg,rgba(2,6,23,.12),rgba(2,6,23,.9) 34%)!important;backdrop-filter:blur(14px)!important}
.zs-story-reaction-bar{display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(7px,2.8vw,15px)!important;min-height:46px!important;overflow:visible!important}
.zs-story-reaction-bar button{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:50%!important;overflow:visible!important;color:#fff!important;background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.18)!important}
.zs-story-reaction-bar .zs-reaction-icon,.zs-story-reaction-bar .zs-ui-icon{display:block!important;width:22px!important;height:22px!important;overflow:visible!important;stroke:currentColor!important}
.zs-story-comment-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:0!important}
.zs-story-comment-form input{min-width:0!important;color:#fff!important;background:rgba(15,23,42,.86)!important;border:1px solid rgba(255,255,255,.2)!important}
.zs-story-comments-list{max-height:min(28dvh,220px)!important;overflow:auto!important;overscroll-behavior:contain!important}
.zs-story-media-error{position:absolute;z-index:35;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:7px;width:min(300px,80vw);padding:20px;border-radius:20px;text-align:center;color:#fff;background:rgba(2,6,23,.82);backdrop-filter:blur(14px);cursor:pointer}
.zs-story-progress .active i{animation-duration:var(--zs-story-duration,7s)!important}
.zs-story-viewer,.zs-story-viewer-content,.zs-story-viewer-content *{-webkit-touch-callout:none!important}
.zs-story-viewer-content .zs-story-main-media{pointer-events:none!important;-webkit-user-drag:none!important;user-drag:none!important}

/* Clips: un video por pantalla, sin controles nativos invasivos. */
body.zs-clips-open{overflow:hidden!important;background:#020617!important}
.zs-video-feed.zs-video-feed-swipe{scroll-snap-type:y mandatory!important;overscroll-behavior-y:contain!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important}
.zs-clip{scroll-snap-align:start!important;scroll-snap-stop:always!important;contain:layout paint style!important;overflow:hidden!important;background:#020617!important}
.zs-clip-stage,.zs-clip-video,.zs-clip-custom-player,.zs-clip-custom-player video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;border-radius:0!important}
.zs-clip-custom-player video{display:block!important;object-position:center!important;background:transparent!important}
.zs-clip.is-portrait .zs-clip-custom-player video{object-fit:cover!important}.zs-clip.is-landscape .zs-clip-custom-player video,.zs-clip.is-square .zs-clip-custom-player video{object-fit:contain!important}
.zs-clip-custom-player .zs-video-bottom-bar{display:none!important}.zs-clip-custom-player .zs-video-overlay{pointer-events:none!important;background:transparent!important}.zs-clip-custom-player .zs-video-big-button{pointer-events:none!important}
.zs-clip-poster-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:1!important;transition:opacity .2s ease!important}.zs-clip.zs-clip-frame-visible .zs-clip-poster-frame{opacity:0!important}.zs-clip-playback-error .zs-clip-poster-frame{opacity:1!important}
.zs-clip-topbar,.zs-clip-meta,.zs-clip-side-actions,.zs-clip-creator-row,.zs-clip-creator-row .zs-clip-store,.zs-clip-creator-row .zs-clip-store>span,.zs-clip-creator-row .zs-clip-store b{overflow:visible!important;min-width:0!important}
.zs-clip-creator-row .zs-verify,.zs-clip-action-icon{flex:none!important;clip-path:none!important;overflow:visible!important}.zs-clip-side-actions{padding-right:max(10px,env(safe-area-inset-right))!important}.zs-clip-buffering::after{z-index:42!important}

.zs-live-rtc-modal{overscroll-behavior:contain!important}.zs-live-rtc-video-wrap video{object-fit:contain!important;background:#020617!important}

@media(max-width:700px){
  #storyModal .zs-story-composer{width:100%!important;max-width:none!important;max-height:100dvh!important;min-height:100dvh!important;margin:0!important;border-radius:0!important;padding:14px 12px calc(20px + env(safe-area-inset-bottom))!important}
  #storyPreview{min-height:48dvh!important;max-height:58dvh!important;border-radius:18px!important}
  .zs-story-media-actions .zs-btn{flex:1 1 calc(50% - 8px)!important;min-width:132px!important}
  .zs-story-viewer-identity{left:11px!important;right:106px!important;max-width:calc(100vw - 118px)!important}
  .zs-story-interaction-panel{width:calc(100vw - 12px)!important;padding:7px!important;border-radius:18px!important}
  .zs-story-reaction-bar button{width:39px!important;height:39px!important;min-width:39px!important}
  .zs-clip-meta{max-width:calc(100vw - 82px)!important;padding-bottom:max(18px,env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce){.zs-video-feed.zs-video-feed-swipe{scroll-behavior:auto!important}}


#storyModal.zs-story-editor-active .zs-story-composer>.zs-modal-head{position:sticky;top:0;background:rgba(2,6,23,.92)!important;color:#fff;border-bottom-color:rgba(255,255,255,.08)!important;backdrop-filter:blur(14px)}
#storyModal.zs-story-editor-active .zs-story-composer>.zs-modal-head .zs-eyebrow,#storyModal.zs-story-editor-active .zs-story-composer>.zs-modal-head h2{color:#fff}
#storyModal.zs-story-editor-active #storyPreview{box-shadow:0 24px 60px rgba(2,6,23,.45)}
#storyModal.zs-story-editor-active #storyPreview::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,6,23,.24) 0%,rgba(2,6,23,0) 26%,rgba(2,6,23,0) 58%,rgba(2,6,23,.22) 100%);pointer-events:none;z-index:3}
.zs-story-editor-chrome{position:absolute;inset:0;z-index:7;pointer-events:none}
.zs-story-editor-side-tools{position:absolute;top:18px;right:14px;display:grid;gap:12px;justify-items:end;pointer-events:auto}
.zs-story-editor-tool{display:grid;grid-template-columns:auto auto;align-items:center;gap:8px;border:0;border-radius:999px;padding:8px 12px;background:rgba(15,23,42,.46);color:#fff;backdrop-filter:blur(10px);box-shadow:0 12px 22px rgba(2,6,23,.24);font:inherit;font-weight:800;font-size:.86rem;text-shadow:0 1px 2px rgba(0,0,0,.35)}
.zs-story-editor-tool span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.16);font-size:1rem;font-weight:900}
.zs-story-editor-bottom-dock{position:absolute;left:12px;right:12px;bottom:12px;display:grid;grid-template-columns:auto 1fr auto;align-items:end;gap:10px;pointer-events:auto}
.zs-story-editor-gear{width:48px;height:48px;border:0;border-radius:50%;background:rgba(15,23,42,.7);color:#fff;font-size:1.2rem;box-shadow:0 14px 24px rgba(2,6,23,.24);backdrop-filter:blur(10px)}
.zs-story-editor-quick-stickers{display:flex;gap:8px;overflow:auto;padding:10px 12px;border-radius:18px;background:rgba(15,23,42,.76);box-shadow:0 16px 28px rgba(2,6,23,.22);backdrop-filter:blur(12px);scrollbar-width:none}
.zs-story-editor-quick-stickers::-webkit-scrollbar{display:none}
.zs-story-editor-quick-stickers button{flex:0 0 auto;display:grid;place-items:center;min-width:42px;height:42px;border:0;border-radius:14px;background:rgba(255,255,255,.09);font-size:1.6rem;line-height:1}
.zs-story-editor-share{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:18px;padding:14px 18px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font:inherit;font-size:1rem;font-weight:900;box-shadow:0 18px 30px rgba(37,99,235,.28)}
@media(max-width:760px){
  #storyModal .zs-story-composer{width:100%!important;max-width:none!important;max-height:100dvh!important;min-height:100dvh!important;margin:0!important;border-radius:0!important;padding:12px 12px calc(18px + env(safe-area-inset-bottom))!important}
  #storyPreview{min-height:66dvh!important;max-height:74dvh!important;border-radius:20px!important}
  .zs-story-editor-side-tools{top:16px;right:10px;gap:10px}
  .zs-story-editor-tool{padding:6px 10px;font-size:.8rem}
  .zs-story-editor-tool span{width:32px;height:32px}
  .zs-story-editor-bottom-dock{left:10px;right:10px;bottom:10px;grid-template-columns:auto 1fr;gap:8px}
  .zs-story-editor-share{grid-column:1/-1;justify-content:center;width:100%}
}

#clipModal.zs-clip-editor-active .zs-clip-composer{width:min(760px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important}
#clipModal.zs-clip-editor-active .zs-clip-composer-head{position:sticky;top:0;z-index:12;background:rgba(2,6,23,.94)!important;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(14px)}
#clipModal.zs-clip-editor-active .zs-clip-composer-head .zs-eyebrow,#clipModal.zs-clip-editor-active .zs-clip-composer-head h2,#clipModal.zs-clip-editor-active .zs-clip-composer-head small{color:#fff!important}
#clipModal.zs-clip-editor-active #clipPreview{position:relative!important;min-height:560px!important;max-height:min(78dvh,820px)!important;aspect-ratio:9/16!important;border-radius:24px!important;background:#020617!important;overflow:hidden!important;box-shadow:0 24px 60px rgba(2,6,23,.42)}
#clipModal.zs-clip-editor-active .zs-clip-local-preview{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;border-radius:0!important;overflow:hidden!important;background:#020617!important}
#clipModal.zs-clip-editor-active .zs-clip-local-preview video,#clipModal.zs-clip-editor-active .zs-clip-composer-poster{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#020617!important;z-index:2}
#clipModal.zs-clip-editor-active .zs-clip-composer-poster{object-fit:cover!important;filter:blur(22px) brightness(.55) saturate(1.1)!important;transform:scale(1.08);z-index:1}
#clipModal.zs-clip-editor-active .zs-clip-local-preview::after{content:"";position:absolute;inset:0;z-index:3;background:linear-gradient(180deg,rgba(2,6,23,.34) 0%,rgba(2,6,23,0) 28%,rgba(2,6,23,0) 58%,rgba(2,6,23,.44) 100%);pointer-events:none}
.zs-clip-preview-badge{position:absolute;top:16px;left:16px;z-index:6;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:rgba(15,23,42,.62);color:#fff;font-weight:900;font-size:.78rem;backdrop-filter:blur(10px);box-shadow:0 10px 22px rgba(2,6,23,.25)}
.zs-clip-preview-info{position:absolute;left:16px;right:16px;bottom:18px;z-index:6;display:grid;gap:2px;padding:12px 14px;border-radius:18px;background:rgba(15,23,42,.72);color:#fff;backdrop-filter:blur(12px);box-shadow:0 14px 28px rgba(2,6,23,.28)}
.zs-clip-preview-info b{font-size:1rem}.zs-clip-preview-info small{color:rgba(255,255,255,.78)}
.zs-clip-preview-toggle,.zs-clip-preview-remove{position:absolute;z-index:7;display:grid;place-items:center;border:0;color:#fff;background:rgba(15,23,42,.64);backdrop-filter:blur(10px);box-shadow:0 12px 24px rgba(2,6,23,.28)}
.zs-clip-preview-toggle{left:50%;top:50%;width:64px;height:64px;border-radius:50%;transform:translate(-50%,-50%)}
.zs-clip-preview-toggle.is-playing{opacity:.12}.zs-clip-preview-toggle.is-playing:hover{opacity:1}
.zs-clip-preview-remove{right:14px;top:14px;width:42px;height:42px;border-radius:50%}
.zs-clip-preparing-preview{min-height:100%;display:grid;place-items:center;text-align:center;gap:12px;padding:32px;color:#fff;background:radial-gradient(circle at 50% 28%,rgba(37,99,235,.38),transparent 32%),#020617}
.zs-clip-preparing-spinner{width:52px;height:52px;border-radius:50%;border:4px solid rgba(255,255,255,.24);border-top-color:#fff;animation:zsSpin 1s linear infinite}
.zs-clip-preparing-track{width:min(280px,80%);height:8px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.18)}
.zs-clip-preparing-track i{display:block;height:100%;border-radius:inherit;background:#fff}
.zs-clip-preparing-track.indeterminate i{width:45%!important;animation:zsIndeterminate 1.2s ease-in-out infinite}
@keyframes zsSpin{to{transform:rotate(360deg)}}
@keyframes zsIndeterminate{0%{transform:translateX(-120%)}100%{transform:translateX(240%)}}
@media(max-width:760px){
  #clipModal.zs-clip-editor-active .zs-clip-composer{width:100%!important;max-width:none!important;max-height:100dvh!important;min-height:100dvh!important;margin:0!important;border-radius:0!important;padding:12px 12px calc(18px + env(safe-area-inset-bottom))!important}
  #clipModal.zs-clip-editor-active #clipPreview{min-height:64dvh!important;max-height:74dvh!important;border-radius:20px!important}
}


/* Dark mode: native options and browser autofill keep readable colors. */
html.zs-dark-mode option,html.zs-dark-mode optgroup{background:#111827!important;color:#f8fafc!important}
html.zs-dark-mode input:-webkit-autofill,html.zs-dark-mode textarea:-webkit-autofill,html.zs-dark-mode select:-webkit-autofill{
  -webkit-text-fill-color:#f8fafc!important;-webkit-box-shadow:0 0 0 1000px #111827 inset!important;
  caret-color:#f8fafc!important;border-color:#334155!important;transition:background-color 9999s ease-out 0s
}
.zs-clip-preparing-overlay{position:absolute;inset:0;z-index:5;display:grid;place-content:center;justify-items:center;gap:10px;padding:24px;text-align:center;color:#fff;background:linear-gradient(180deg,rgba(2,6,23,.16),rgba(2,6,23,.72));pointer-events:none}
.zs-clip-preparing-overlay .zs-clip-preparing-track{width:min(280px,76vw)}

/* source: src/client/styles/legacy/vendeflow-350.css */
/* ZuvyShop 3.5.6: estabilidad final, accesibilidad y multimedia. */
:root{--zs-safe-bottom:max(12px,env(safe-area-inset-bottom));--zs-safe-top:max(0px,env(safe-area-inset-top))}
*{box-sizing:border-box}
button,[role="button"],a,input,select,textarea{touch-action:manipulation}
button:disabled,[aria-disabled="true"]{cursor:not-allowed!important;opacity:.58!important;filter:saturate(.7)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--accent,#7c3aed) 68%,white)!important;outline-offset:3px!important}
img,video,audio{max-inline-size:100%}
img.zs-media-broken{background:linear-gradient(135deg,rgba(124,58,237,.1),rgba(14,165,233,.08));color:transparent}
.zs-media-load-error{position:absolute;left:50%;top:50%;translate:-50% -50%;z-index:25;width:min(280px,80%);padding:12px 16px;border-radius:14px;text-align:center;font-size:.82rem;font-weight:750;color:#fff;background:rgba(2,6,23,.82);backdrop-filter:blur(12px)}
.zs-runtime-notices{position:fixed;z-index:50000;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));display:grid;gap:9px;width:min(380px,calc(100vw - 28px));pointer-events:none}
.zs-runtime-notice{display:grid;gap:3px;padding:13px 15px;border:1px solid rgba(255,255,255,.15);border-radius:16px;color:#fff;background:rgba(15,23,42,.94);box-shadow:0 18px 45px rgba(2,6,23,.28);backdrop-filter:blur(16px);animation:vf350Notice .22s ease both}
.zs-runtime-notice span{font-size:.82rem;line-height:1.45;color:#dbeafe}
.zs-network-state{position:fixed;z-index:45000;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));translate:-50% 0;width:min(620px,calc(100vw - 20px));padding:10px 14px;border-radius:14px;text-align:center;font-size:.8rem;font-weight:800;color:#fff;background:#9a3412;box-shadow:0 14px 32px rgba(2,6,23,.24)}
@keyframes vf350Notice{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Historias 4.0.1: una única imagen/video, siempre cover en el visor. */
.zs-story-viewer,.zs-story-viewer-content{inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;background:#020617!important;background-image:none!important;overflow:hidden!important}
.zs-story-viewer-content .zs-story-canvas,.zs-story-viewer-content .zs-story-canvas-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;overflow:hidden!important;background:#020617!important;transform:none!important;clip-path:none!important}
.zs-story-viewer-content .zs-story-main-media,.zs-story-viewer-content .zs-story-canvas-media>img:not(.zs-story-ambient):not(.zs-story-video-poster),.zs-story-viewer-content .zs-story-canvas-media>video{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center center!important;transform:none!important;clip-path:none!important;filter:none!important;opacity:1!important;visibility:visible!important;background:transparent!important}
.zs-story-viewer-content .zs-story-ambient,.zs-story-full-media-layer,.zs-story-full-media-backdrop,.zs-story-full-media-image{display:none!important;visibility:hidden!important;opacity:0!important}
.zs-story-viewer.zs-story-image-layer-active,.zs-story-viewer.zs-story-background-media-active{background:#020617!important;background-image:none!important}
.zs-story-viewer.zs-story-image-layer-active .zs-story-viewer-content,.zs-story-viewer.zs-story-background-media-active .zs-story-viewer-content{background:#020617!important;pointer-events:auto!important}
html.zs-dark-mode .zs-story-viewer,html.zs-dark-mode .zs-story-viewer-content,html.zs-dark-mode .zs-story-viewer-content .zs-story-canvas,html.zs-dark-mode .zs-story-viewer-content .zs-story-canvas-media{background:#020617!important;background-image:none!important}
#storyPreview .zsStoryFit-cover .zs-story-main-media{object-fit:cover!important}
#storyPreview .zsStoryFit-contain .zs-story-main-media{object-fit:contain!important}

/* Formularios y cargas. */
.zs-form input[type="file"]{max-width:100%}
.zs-uploading,[aria-busy="true"]{cursor:progress}
.zs-uploading button[type="submit"],[aria-busy="true"] button[type="submit"]{pointer-events:none}
.zs-preview img,.zs-preview video{display:block;max-width:100%;max-height:min(62dvh,680px);margin-inline:auto;object-fit:contain}

@media(max-width:700px){
  .zs-runtime-notices{right:10px;bottom:calc(74px + env(safe-area-inset-bottom));width:calc(100vw - 20px)}
  .zs-network-state{bottom:calc(72px + env(safe-area-inset-bottom))}
  .zs-story-viewer-content .zs-story-main-media{object-fit:cover!important}
}
@media(prefers-reduced-motion:reduce){.zs-runtime-notice{animation:none}.zs-runtime-notice,*{scroll-behavior:auto!important}}

/* source: src/client/styles/legacy/performance-352.css */
/* ZuvyShop 3.5.6 — carga estable, sin tarjetas vacías ni bloqueos en Android */
html { text-rendering: auto; }
body { overscroll-behavior-y: auto; }
button, a, input, select, textarea { touch-action: manipulation; }
img, video { max-width: 100%; }
.zs-post-media img, .zs-product-image img, .zs-product-media img, .zs-store-cover img,
.zs-profile-cover img, .zs-avatar img, .zs-story-circle img {
  content-visibility: visible !important;
  contain: none !important;
  visibility: visible;
}
.zs-post-media img, .zs-product-image img, .zs-product-media img, .zs-store-cover img {
  display: block;
  opacity: 1;
}
.zs-post-media, .zs-product-image, .zs-product-media, .zs-store-cover, .zs-story-circle { overflow: hidden; }
.zs-media-pending { position: relative; }
.zs-media-pending::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,.08) 42%, transparent 58%);
  background-size: 220% 100%;
  animation: zs-media-pending 1.1s linear infinite;
}
.zs-media-ready::after { display: none !important; }
.zs-media-unavailable {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  background: #0b1425;
  color: #e5e7eb;
}
.zs-media-unavailable button {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 800;
}
@keyframes zs-media-pending { to { background-position: -220% 0; } }
/* Progressive rendering is retained only for distant desktop cards. */
@media (min-width: 900px) {
  @supports (content-visibility: auto) {
    .zs-feed > .zs-post:nth-child(n + 5),
    .zs-grid > .zs-product:nth-child(n + 9),
    .zs-stores-grid > .zs-store-card:nth-child(n + 9) {
      content-visibility: auto;
      contain-intrinsic-size: auto 520px;
    }
  }
}
.zs-modal:not(.zs-hidden), .zs-sheet:not(.zs-hidden), .zs-story-viewer:not(.zs-hidden) {
  transform: translateZ(0);
  backface-visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .zs-media-pending::after { animation: none; }
}

/* source: src/client/styles/features/media/zenvorashop-370.css */
/* ZuvyShop 3.7 · community, media and conversation */
:root{--zs-accent:#713ce8;--zs-soft:#f1ebff;--zs-ink:#20253b;--zs-line:#e7e8f1;--zs-surface:#fff;--zs-muted:#71778c}
html.zs-dark-mode{--zs-soft:#28203f;--zs-ink:#eef0fa;--zs-line:#303248;--zs-surface:#141a2a;--zs-muted:#b0b8ce}
.zs-btn.primary{background:linear-gradient(120deg,#7237e4,#5265ec);border-color:transparent;box-shadow:0 5px 15px #713ce81a}
.zs-card{border-radius:22px}.zs-post-head{padding:18px}.zs-post-actions button{border-radius:12px;min-height:44px}.zs-post-actions button:hover{background:var(--zs-soft)}.zs-product-body h3{line-height:1.35}.zs-product-actions{gap:8px}.zs-availability-pill{font-size:11px;letter-spacing:.02em}.zs-story-tile{border-radius:20px}.zs-live-card{border-radius:24px;overflow:hidden}
.zs-messenger-shell{border:1px solid var(--zs-line);border-radius:24px;overflow:hidden;background:var(--zs-surface);box-shadow:0 12px 50px #27325308}.zs-messenger-top{padding:22px 24px 12px}.zs-messenger-top h2{font-size:28px;letter-spacing:-1px}.zs-messenger-layout{height:min(740px,78dvh);min-height:420px}.zs-messenger-list{background:var(--zs-surface)}.zs-conversation-item{gap:12px!important;border-radius:16px!important;margin:4px 6px!important;width:calc(100% - 12px)!important}.zs-conversation-item.active{background:var(--zs-soft)!important}.zs-avatar{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(140deg,#ede7ff,#dce6ff);color:#5b36ad;font-weight:800;font-size:15px}.zs-unread{font-style:normal;border-radius:20px;padding:4px 7px;background:#7237e4;color:white;font-size:12px}.zs-messenger-panel{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--zs-surface)}.zs-conversation-head{position:relative;display:flex;align-items:center;gap:10px;padding:16px;border-bottom:1px solid var(--zs-line);background:var(--zs-surface);z-index:2;flex-shrink:0}.zs-chat-identity{display:flex;flex-direction:column;min-width:0;flex:1}.zs-chat-identity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zs-chat-identity small{font-size:11px;color:var(--zs-muted);margin-top:4px}.zs-chat-menu{position:relative}.zs-chat-menu summary{cursor:pointer;list-style:none;padding:12px;font-weight:800;letter-spacing:2px}.zs-chat-menu summary::-webkit-details-marker{display:none}.zs-chat-menu>div{position:absolute;right:0;top:44px;min-width:230px;background:var(--zs-surface);padding:8px;border:1px solid var(--zs-line);border-radius:16px;box-shadow:0 15px 45px #15204526}.zs-chat-menu button{border:0;background:transparent;color:var(--zs-ink);display:block;text-align:left;width:100%;padding:13px 12px;border-radius:10px;cursor:pointer}.zs-chat-menu button:hover{background:var(--zs-soft)}
#messageStream{flex:1;min-height:0;overflow:auto;padding:20px 18px;background:linear-gradient(135deg,#9569ea08,#4d85ea08);display:flex;flex-direction:column;gap:10px;scroll-behavior:auto}.zs-message{max-width:85%;border-radius:18px!important;padding:12px 14px!important;box-shadow:none!important;overflow-wrap:anywhere;flex-shrink:0}.zs-message.mine{align-self:flex-end;background:var(--zs-soft)!important;color:var(--zs-ink)!important;border:1px solid #713ce81a;border-bottom-right-radius:5px!important}.zs-message.theirs{align-self:flex-start;background:var(--zs-surface)!important;color:var(--zs-ink)!important;border:1px solid var(--zs-line);border-bottom-left-radius:5px!important}.zs-message p{margin:3px 0 8px;white-space:pre-wrap;line-height:1.55}.zs-message footer{display:flex;align-items:center;gap:14px;justify-content:flex-end}.zs-message time{font-size:10px;color:var(--zs-muted)}.zs-message footer button{padding:3px;border:0;background:transparent;color:var(--zs-muted);font-size:11px;cursor:pointer}.zs-chat-date{align-self:center;padding:8px;color:var(--zs-muted);font-size:11px}.zs-message blockquote,#zs-draft-context blockquote{margin:0 0 8px;padding:10px;border-left:3px solid #8b5cf6;background:#7c4ddd0a;border-radius:8px;font-size:12px}.zs-message blockquote small{display:block;font-weight:700}.zs-reference{display:flex;gap:12px;align-items:center;padding:10px;background:var(--zs-surface);border:1px solid var(--zs-line);border-radius:12px;max-width:100%;text-align:left}.zs-reference img{width:52px;height:62px;object-fit:cover;border-radius:8px;flex-shrink:0}.zs-reference>div{display:flex;flex-direction:column;gap:4px;min-width:0}.zs-reference small{color:var(--zs-accent);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.zs-reference b{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.zs-reference span{font-size:12px;font-weight:700}.zs-attachment{display:block;margin:6px 0;color:var(--zs-accent);padding:7px;border:1px solid var(--zs-line);border-radius:8px;overflow-wrap:anywhere}.zs-attachment small{color:var(--zs-muted);font-size:10px}.zs-safety{display:block;color:#9a5c00}
#messageForm.zs-message-composer{display:flex!important;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid var(--zs-line);background:var(--zs-surface);flex-shrink:0}#messageText{min-width:0;flex:1;min-height:44px;max-height:120px;resize:vertical;line-height:1.5;border-radius:16px;border:1px solid var(--zs-line);padding:10px 14px;font-family:inherit;background:var(--zs-surface);color:var(--zs-ink)}#messageForm .zs-attach{width:42px;padding:9px;flex-shrink:0;font-size:22px}#messageForm button[type=submit]{padding:12px;min-height:44px}.zs-chat-hint{padding:0 15px 10px;color:var(--zs-muted);font-size:10px;line-height:1.5}.zs-earlier{align-self:center}#zs-draft-context:empty{display:none}#zs-draft-context{max-height:180px;overflow:auto;padding:8px 12px;border-top:1px solid var(--zs-line)}#zs-draft-context>button{border:0;background:transparent;color:var(--zs-accent);font-size:12px;padding:8px}.zs-upload-notice{position:fixed;bottom:calc(80px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(90vw,430px);background:var(--zs-surface);color:var(--zs-ink);padding:16px 18px;border:1px solid var(--zs-line);border-radius:20px;box-shadow:0 16px 60px #11182733;z-index:30000;display:grid;grid-template-columns:1fr auto;gap:8px}.zs-upload-notice progress{grid-column:1/-1;width:100%;accent-color:#7c3aed;height:6px}.zs-upload-notice button{grid-column:2;grid-row:1;border:0;background:transparent;color:var(--zs-accent)}
.zs-dialog,.zs-camera{position:fixed;inset:0;z-index:25000;background:#070e23a8;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:18px}.zs-dialog>section{width:min(640px,100%);max-height:90dvh;overflow:auto;background:var(--zs-surface);color:var(--zs-ink);border-radius:24px;box-shadow:0 25px 100px #0004}.zs-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px;border-bottom:1px solid var(--zs-line)}.zs-dialog h2{margin:4px 0;font-size:22px;letter-spacing:-.5px}.zs-dialog-body{padding:22px}.zs-case-intro{border-radius:16px;padding:18px;background:var(--zs-soft);font-size:14px;line-height:1.6}.zs-case{padding:20px;margin:16px 0;border:1px solid var(--zs-line);border-radius:18px;background:var(--zs-surface);overflow-wrap:anywhere}.zs-case h3{font-size:16px}.zs-case p{white-space:pre-wrap;line-height:1.6}.zs-case>small{display:block;margin:12px 0;color:var(--zs-muted)}.zs-status{display:inline-block;font-size:11px;padding:5px 10px;border-radius:20px;background:var(--zs-soft);color:var(--zs-accent)}.zs-case blockquote{margin:12px 0;padding:12px;border-left:3px solid #8b5cf6;background:var(--zs-soft);border-radius:8px}.zs-case form,.zs-new-case form{display:grid;gap:14px;margin-top:18px}.zs-case label,.zs-new-case label{display:grid;gap:8px;font-size:13px;font-weight:600}.zs-case input,.zs-case select,.zs-case textarea,.zs-new-case input,.zs-new-case select,.zs-new-case textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--zs-line);padding:12px;border-radius:12px;background:var(--zs-surface);color:var(--zs-ink);font:inherit}.zs-case textarea,.zs-new-case textarea{min-height:95px;resize:vertical}.zs-new-case summary{cursor:pointer;font-weight:700;padding:16px 0}.zs-case .zs-btn{margin:4px 4px 4px 0}.zs-camera>section{max-width:620px;width:100%;background:#121729;color:white;border-radius:24px;overflow:hidden}.zs-camera header,.zs-camera footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px}.zs-camera button{min-height:44px;padding:10px 16px;border-radius:14px;border:1px solid #ffffff25;background:#ffffff12;color:#fff;cursor:pointer}.zs-camera [data-capture]{background:#7742ec}.zs-camera video{display:block;width:100%;height:min(54dvh,500px);object-fit:contain;background:black}.zs-camera p{padding:0 20px;line-height:1.5;font-size:13px}.zs-security-card{padding:22px;margin:16px 0}.zs-legal{max-width:850px;margin:35px auto;padding:0 18px 80px;color:var(--zs-ink)}.zs-legal>article{padding:clamp(22px,5vw,48px);background:var(--zs-surface)}.zs-legal h1{font-size:clamp(28px,5vw,40px);line-height:1.15;letter-spacing:-1px}.zs-legal h2{margin-top:32px;font-size:20px}.zs-legal p{line-height:1.8}.zs-legal nav{line-height:2.2;padding:14px 0;border-block:1px solid var(--zs-line)}.zs-legal a{color:var(--zs-accent)}.zs-case-admin{max-width:1000px}
@media(max-width:700px){.zs-messenger-layout{height:calc(100dvh - 260px);min-height:330px}#conversationPanel{display:none}.zs-messenger-layout.zs-chat-open #conversationPanel{display:flex!important;width:100%;height:100dvh;height:100svh;max-height:100dvh}.zs-messenger-layout.zs-chat-open{position:fixed!important;inset:0!important;z-index:20020!important;height:100dvh!important;background:var(--zs-surface)}.zs-messenger-layout.zs-chat-open .zs-messenger-list{display:none!important}.zs-conversation-head{padding-top:calc(12px + env(safe-area-inset-top));padding-bottom:12px}.zs-message{max-width:90%}.zs-chat-hint{padding-bottom:calc(8px + env(safe-area-inset-bottom))}.zs-dialog{padding:8px}.zs-dialog>section{max-height:95dvh;border-radius:22px}.zs-dialog-body{padding:16px}.zs-camera{padding:8px}.zs-camera footer{padding:12px}.zs-camera button{padding:10px 12px}.zs-legal{padding-inline:12px}.zs-legal nav a{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.zs-dialog,.zs-camera{backdrop-filter:none}}
@media(min-width:701px){body.zs-chat-view .zs-right{display:none!important}body.zs-chat-view .zs-layout{grid-template-columns:220px minmax(0,1fr)!important}body.zs-chat-view .zs-messenger-layout{grid-template-columns:280px minmax(0,1fr)!important;height:calc(100dvh - 290px);min-height:420px}#messageText{height:44px}}
@media(max-width:700px){.zs-messenger-layout.zs-chat-open .zs-chat-back{display:inline-flex!important;align-items:center;justify-content:center;min-width:36px;padding:6px;font-size:26px}.zs-messenger-layout.zs-chat-open #conversationPanel{padding:0!important}body.zs-chat-view:has(.zs-chat-open){overflow:hidden!important}}
.zs-product-image video{width:100%;height:100%;object-fit:contain;background:#111827}.zs-attach svg{display:block;flex-shrink:0}

/* source: src/client/styles/features/platform/zenvorashop-400.css */
:root{--zs-brand:#6d28d9;--zs-ink:#18203a;--zs-line:#e4e7f0;--zs-soft:#f6f4fd;--zs-radius:20px}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #a78bfa;outline-offset:3px}.zs-400 .zs-btn{min-height:44px;border-radius:13px}.zs-400 input,.zs-400 select,.zs-400 textarea{font-size:16px}.zs-400 .zs-card{border-color:var(--zs-line)}
.zs-auth400{background:#f6f5fa;color:var(--zs-ink)}.zs-auth400 .zs-auth-page{min-height:100dvh;display:grid;grid-template-columns:minmax(340px,.95fr) minmax(440px,1.05fr);max-width:1440px;margin:auto;padding:22px;gap:22px}.zs-auth400 .zs-auth-visual{position:relative;overflow:hidden;min-height:700px;border-radius:32px;background:linear-gradient(155deg,#19142f 0%,#30235d 65%,#573bb0 100%);padding:52px;display:flex;flex-direction:column;justify-content:space-between;color:#fff}.zs-auth400 .zs-auth-visual:after{content:'';position:absolute;width:340px;height:340px;border:1px solid #ffffff22;border-radius:50%;right:-170px;top:32%;box-shadow:0 0 0 65px #ffffff06,0 0 0 130px #ffffff03;pointer-events:none}.zs-auth400 .zs-auth-visual img{max-width:230px}.zs-auth400 .zs-auth-visual h1{font-size:clamp(34px,3.3vw,52px);line-height:1.1;letter-spacing:-1.5px;max-width:490px;margin:22px 0}.zs-auth400 .zs-auth-visual p{color:#ddd5f8;max-width:430px;line-height:1.7}.zs-auth400 .zs-trust-list{display:grid;gap:14px;margin-top:28px}.zs-auth400 .zs-trust-list span{color:#f3edff;font-size:14px}.zs-auth400 .zs-auth-visual .zs-eyebrow{color:#c4b5fd;letter-spacing:2px}.zs-auth400 .zs-auth-form-wrap{padding:48px 34px;display:flex;align-items:center;justify-content:center;background:white;border:1px solid var(--zs-line);border-radius:32px}.zs-auth400 .zs-auth-box{max-width:490px;width:100%}.zs-auth400 .zs-auth-box h2{font-size:30px;letter-spacing:-.9px;margin:0 0 12px}.zs-auth400 .zs-auth-box>p,.zs-auth400 #credentialsStep>p{color:#647084;line-height:1.6;margin:0 0 25px}.zs-auth400 .zs-form{gap:18px}.zs-auth400 .zs-field>span{font-size:13px;font-weight:700}.zs-auth400 input,.zs-auth400 select{min-height:50px;border:1px solid #dce0ec;border-radius:12px;background:#fcfcff;color:var(--zs-ink);padding:12px 14px;width:100%;box-sizing:border-box}.zs-auth400 input:focus,.zs-auth400 select:focus{outline:3px solid #ede9fe;border-color:#8b5cf6}.zs-auth400 input[type=checkbox]{width:20px;min-height:20px;accent-color:#6d28d9}.zs-auth400 .zs-password-wrap{position:relative;display:flex;align-items:center}.zs-auth400 .zs-password-wrap input{padding-right:82px}.zs-auth400 .zs-password-wrap button{position:absolute;right:10px;border:0;background:transparent;color:#6d28d9;font-size:12px;font-weight:700;min-width:40px;min-height:40px}.zs-auth400 .zs-btn.primary{background:#6d28d9;box-shadow:0 8px 20px #6d28d923;min-height:52px}.zs-auth400 .zs-auth-footer{margin-top:26px;color:#647084;font-size:14px}.zs-auth400 .zs-auth-mobile-logo{display:none}.zs-auth-feedback{padding:13px 15px;border-radius:12px;background:#fff1f2;color:#9f1239;line-height:1.5;font-size:14px}.zs-auth-feedback[hidden]{display:none}.zs-password-guide{font-size:12px!important;line-height:1.5;color:#647084;margin:8px 0 0}.zs-password-guide[data-ready=true]{color:#18744c}.zs-legal-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid var(--zs-line);font-size:12px}.zs-legal-links a{color:#647084}.zs-auth400 .zs-phone-field{display:grid;grid-template-columns:1fr;gap:10px}.zs-auth400 .zs-phone-field select{width:100%}.zs-dial-preview[hidden]{display:none!important}.zs-region-note{padding:12px 14px;background:#f5f2fc;border-radius:12px;font-size:12px;color:#645776;line-height:1.6}.zs-legal{max-width:980px;margin:35px auto;padding:20px}.zs-legal .zs-card{padding:clamp(24px,5vw,50px)}.zs-legal h1{font-size:clamp(29px,4vw,44px);line-height:1.15;letter-spacing:-1px}.zs-legal h2{font-size:21px;margin-top:34px}.zs-legal p,.zs-legal li{line-height:1.8;color:#515d72}.zs-legal nav{display:flex;gap:12px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid var(--zs-line)}.zs-legal a{color:#6d28d9}.zs-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}.zs-help-card{display:block;padding:22px;border:1px solid var(--zs-line);border-radius:18px;background:#fcfbff;color:var(--zs-ink)!important;text-decoration:none}.zs-help-card b{display:block;margin-bottom:9px;font-size:18px}.zs-help-card span{color:#647084;font-size:14px;line-height:1.6}.zs-help-card:hover{border-color:#a78bfa;background:#f5f2ff}.zs-legal footer{margin-top:35px;padding-top:18px;border-top:1px solid var(--zs-line);font-size:13px}.zs-audio-message{max-width:270px;display:grid;gap:8px}.zs-audio-message audio{width:100%;height:38px}.zs-chat-search{padding:12px;border-bottom:1px solid var(--zs-line);display:flex;gap:8px}.zs-chat-search input{min-width:0;width:100%;border:1px solid var(--zs-line);padding:10px;border-radius:12px}.zs-search-hit{display:block;padding:14px;margin:9px 0;border:1px solid var(--zs-line);border-radius:14px;width:100%;text-align:left;background:#fff}.zs-voice-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.zs-voice-clock{font-size:38px;font-weight:750;letter-spacing:2px;margin:26px 0;color:#6d28d9}.zs-timeline{list-style:none;padding:0;margin:18px 0;border-left:2px solid #ddd6fe}.zs-timeline li{padding:0 0 16px 18px;position:relative}.zs-timeline li:before{content:'';position:absolute;left:-5px;top:4px;border-radius:50%;width:8px;height:8px;background:#7c3aed}.zs-timeline b,.zs-timeline small{display:block}.zs-timeline small{font-size:12px;color:#718096;margin-top:5px}.zs-order-meta{display:grid;gap:10px;margin-top:12px}.zs-device{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--zs-line)}.zs-device b,.zs-device small{display:block}.zs-device small{color:#647084;line-height:1.5}.zs-notice{padding:14px 16px;border-radius:14px;background:#f2efff;line-height:1.6;color:#554777}.zs-400 .zs-product-image video{aspect-ratio:4/3;object-fit:contain}.zs-400 .zs-product-image:has(video){background:#101525}.zs-400 .zs-message-composer{gap:7px}.zs-400 .zs-mic{padding:8px;min-width:42px}.zs-400 .zs-mic svg{display:block}
html.zs-dark-mode .zs-help-card,html.zs-dark-mode .zs-search-hit{background:#202637;color:#e9eafb!important;border-color:#3b4359}html.zs-dark-mode .zs-legal p,html.zs-dark-mode .zs-legal li{color:#c5cad9}html.zs-dark-mode .zs-auth400{background:#141925;color:#eef0ff}html.zs-dark-mode .zs-auth400 .zs-auth-form-wrap{background:#1b2232;border-color:#364059}html.zs-dark-mode .zs-auth400 input,html.zs-dark-mode .zs-auth400 select{background:#222b3e;color:#eef0ff;border-color:#435069}html.zs-dark-mode .zs-notice,html.zs-dark-mode .zs-region-note{background:#32294b;color:#ded4f2}
@media(max-width:800px){.zs-auth400 .zs-auth-page{display:block;padding:0;min-height:100dvh}.zs-auth400 .zs-auth-visual{display:none}.zs-auth400 .zs-auth-form-wrap{border:0;border-radius:0;min-height:100dvh;box-sizing:border-box;padding:30px 23px 45px;align-items:flex-start}.zs-auth400 .zs-auth-mobile-logo{display:block;margin-bottom:34px}.zs-auth400 .zs-auth-mobile-logo img{width:205px;max-width:75%}.zs-auth400 .zs-auth-box h2{font-size:29px}.zs-auth400 .zs-form-grid{grid-template-columns:1fr;gap:18px}.zs-auth400 .zs-auth-footer{line-height:1.7}.zs-legal{padding:12px;margin:10px auto 85px}.zs-legal .zs-card{padding:24px 19px}.zs-help-grid{grid-template-columns:1fr}.zs-legal h1{font-size:30px}.zs-legal nav{gap:10px;font-size:13px}.zs-400 .zs-attach{min-width:38px;padding:8px}.zs-400 .zs-message-composer button[type=submit]{padding:10px 12px}.zs-400 .zs-audio-message{max-width:220px}}
@media(prefers-reduced-motion:reduce){.zs-400 *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.zs-device-row{display:grid;gap:6px;padding:14px 0;border-bottom:1px solid var(--line,#e6e7ef)}.zs-device-row small{color:var(--muted,#67718b)}.zs-case-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.zs-case-filters label{display:grid;gap:6px;min-width:150px}.zs-case-filters .zs-check{display:flex;min-height:44px;align-items:center}.zs-case-badges{display:flex;gap:8px;flex-wrap:wrap}.zs-status[data-priority=urgent]{color:#9e242b;background:#ffe4e6}.zs-status[data-priority=high]{color:#845410;background:#fff0ce}.zs-voice-clock{font-size:42px;font-weight:800;text-align:center;font-variant-numeric:tabular-nums;padding:18px}.zs-voice-actions{display:flex;gap:10px;flex-wrap:wrap}.zs-timeline{list-style:none;padding-left:18px;border-left:2px solid #cbb9ee}.zs-timeline li{position:relative;display:grid;gap:4px;padding:0 0 22px 8px}.zs-timeline li:before{content:'';position:absolute;left:-25px;top:5px;width:10px;height:10px;border-radius:100%;background:#7538eb}.zs-timeline small{color:var(--muted,#6b7280)}.zs-order-meta{display:grid;gap:8px;margin:18px 0}.zs-chat-search{display:flex;gap:10px}.zs-chat-search input{flex:1;min-width:0}.zs-audio-message audio{width:100%;max-width:290px}.zs-audio-message{display:grid;gap:7px;max-width:100%}

.zs-400 .zs-phone-field{display:grid;grid-template-columns:1fr;gap:10px}.zs-400 .zs-phone-field .zs-dial-preview{display:none!important}.zs-400 .zs-phone-field select,.zs-400 .zs-phone-field input{width:100%;min-width:0}.zs-400 #messageText{box-sizing:border-box;height:44px;min-height:44px;max-height:120px;padding:10px 12px;line-height:22px;resize:vertical}.zs-dialog-body form[data-shipping],.zs-dialog-body form[data-received]{display:grid;gap:14px}.zs-dialog-body form[data-shipping] label{display:grid;gap:6px}.zs-dialog-body form[data-shipping] input,.zs-dialog-body form[data-shipping] textarea,.zs-dialog-body form[data-shipping] select{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--zs-line);border-radius:12px;background:var(--zs-surface);color:var(--zs-ink);font:inherit}.zs-dialog-body .zs-check input{width:20px;height:20px;flex-shrink:0}.zs-400 .zs-safety{display:block;margin:10px 0;padding:10px;border-radius:10px;background:#fff1d1;color:#714808}.zs-pay-pal-footer{display:grid;gap:9px}
.zs-auth400 .zs-password-wrap{display:block;width:100%}.zs-auth400 .zs-password-wrap input{width:100%;padding-right:84px}.zs-auth400 .zs-password-wrap button{position:absolute!important;z-index:4!important;top:50%;transform:translateY(-50%);right:6px;width:68px;min-width:68px;height:40px;white-space:nowrap;line-height:1}.zs-auth400 .zs-check input[type=checkbox]{flex:0 0 20px;width:20px;min-width:20px;height:20px;min-height:20px;margin-top:1px;padding:0}.zs-auth400 .zs-auth-visual img{filter:none!important}

/* source: src/client/styles/shared/form-controls.css */
/* Form controls keep native editability/disabled semantics and tap handling. */
input, textarea, select, [contenteditable="true"] { font-size: 16px !important; touch-action: manipulation; }
input:not([type="button"]):not([type="submit"]), textarea, [contenteditable="true"] { user-select: text; -webkit-user-select: text; }
label::before, label::after, form::before, form::after { pointer-events: none; }
.zs-select-native, .zs-form .zs-select-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; }
.zs-select-trigger { width: 100%; min-height: 48px; padding: 12px 14px; text-align: left; font: inherit; font-size: 16px; color: var(--text, var(--zs-ink, #172033)); background: var(--surface, var(--zs-surface, #fff)); border: 1px solid var(--line, var(--zs-line, #dce0ec)); border-radius: 12px; touch-action: manipulation; }
.zs-select-trigger:disabled { opacity: .55; cursor: not-allowed; }
.zs-select-sheet { position: fixed; inset: 0; z-index: 20000; display: flex; align-items: flex-end; justify-content: center; box-sizing: border-box; background: #0008; padding-top: env(safe-area-inset-top); }
.zs-select-sheet > section { display: flex; flex-direction: column; box-sizing: border-box; min-height: 0; width: min(100%, 560px); max-height: 85dvh; border-radius: 24px 24px 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); background: var(--surface, #fff); color: var(--text, #172033); gap: 14px; }
.zs-select-sheet header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 14px; }
.zs-select-sheet h2 { font-size: 20px; margin: 0; }
.zs-select-sheet button { font: inherit; color: inherit; min-height: 44px; touch-action: manipulation; }
.zs-select-sheet header button { background: transparent; border: 0; }
.zs-select-sheet input { width: 100%; box-sizing: border-box; flex-shrink: 0; min-height: 48px; padding: 12px; border-radius: 12px; border: 1px solid #8886; color: inherit; background: transparent; }
.zs-select-options { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.zs-select-options button { display: block; width: 100%; text-align: left; padding: 14px; background: transparent; border: 0; border-radius: 10px; }
.zs-select-options [aria-selected="true"] { background: #7c3aed20; }
.zs-select-sheet button:focus-visible, .zs-select-trigger:focus-visible { outline: 3px solid #a78bfa; }
html.zs-dark-mode .zs-select-trigger, html.zs-dark-mode .zs-select-sheet > section { background: #111827; color: #f8fafc; border-color: #334155; }

/* source: src/client/styles/shared/notifications.css */
#notificationsView .zs-section-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#notificationsView .zs-section-title h2{flex:1;margin:0}
#zs-notifications-body{padding:12px;overflow-anchor:none}
#zs-notifications-body .zs-notif-item{border-radius:16px;min-height:72px;font-size:16px;touch-action:manipulation}
.zs-notification-group-title{padding:12px 8px 4px;font-weight:750;color:var(--zs-muted,#64748b)}
.zs-notification-more{width:100%;margin-top:12px;min-height:44px}
.zs-notification-highlight{outline:3px solid #a78bfa!important;outline-offset:-2px;border-radius:12px;animation:zsNotificationPulse 1.4s ease-in-out 3;scroll-margin:24px}
@keyframes zsNotificationPulse{50%{box-shadow:inset 0 0 0 4px #a78bfa,0 0 22px rgba(139,92,246,.35)}}
.zs-notification-profile{display:flex;align-items:center;flex-direction:column;gap:12px;padding:24px;text-align:center}
.zs-notification-profile>.zs-avatar{width:86px!important;height:86px!important;border-radius:50%;overflow:hidden;flex:none}
.zs-notification-profile>.zs-avatar img{width:100%;height:100%;object-fit:cover}
.zs-notification-profile h2,.zs-notification-profile p{margin:0}
#storyViewer.zs-story-comments-open #storyInteractionPanel{display:flex!important;flex-direction:column!important;max-height:min(70dvh,600px)!important;overflow:hidden!important}
#storyViewer.zs-story-comments-open #storyInteractionPanel>.zs-story-reaction-bar{flex:0 0 auto}
#storyViewer.zs-story-comments-open #storyCommentsList{flex:1 1 auto!important;min-height:0!important;max-height:min(60dvh,520px)!important;overflow:auto!important}
#zs-destination-content{min-height:220px;padding:30px 18px;gap:14px;display:flex;flex-direction:column;align-items:center}
#zs-destination-content h2{font-size:22px;line-height:1.4;margin:0}
@media(prefers-reduced-motion:reduce){.zs-notification-highlight{animation:none}}

/* source: src/client/styles/features/platform/qa-401.css */
/* QA corrections use the current theme, including its dark-mode variables. */
:where(a,button,input,select,textarea,[tabindex]):focus-visible { outline:3px solid var(--vf,#7c3aed); outline-offset:3px; }
.zs-product-body h3 a { color:inherit; text-decoration:none; }
.zs-product-body h3 a:hover { text-decoration:underline; }
.zs-product-image { display:block; position:relative; }
.zs-product-type,.zs-purchase-hint { color:var(--muted); font-size:.8rem; }
.zs-product-actions { gap:8px; flex-wrap:wrap; }
.zs-product-actions .zs-btn { white-space:normal; text-align:center; }
.zs-demo-label { display:inline-block; padding:5px 10px; border-radius:8px; background:var(--surface,#f1eaff); color:var(--text,#34234d); font-size:.75rem; font-weight:750; }
.zs-product-image .zs-demo-label { position:absolute; top:12px; left:12px; }
.zs-demo-notice { padding:12px; border:1px solid var(--line,#d5c9f0); border-radius:12px; }
.zs-back-link { display:inline-block; margin:0 0 16px; color:var(--vf,#7c3aed); }
.zs-product-detail { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); overflow:hidden; }
.zs-product-detail-media { background:var(--surface,#f3effb); padding:16px; }
.zs-product-detail-media>img { width:100%; max-height:520px; object-fit:contain; border-radius:16px; }
.zs-product-detail-info { min-width:0; padding:24px; }
.zs-product-detail-info h1 { margin:8px 0 12px; font-size:clamp(1.7rem,4vw,2.5rem); line-height:1.15; overflow-wrap:anywhere; }
.zs-product-description { white-space:pre-wrap; overflow-wrap:anywhere; }
.zs-product-conditions { display:grid; grid-template-columns:1fr; gap:5px; }
.zs-product-conditions dt { font-weight:750; margin-top:8px; }
.zs-product-conditions dd { margin:0; color:var(--muted); }
.zs-search-filters { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:12px!important; }
.zs-search-filters label,.zs-search-filters input,.zs-search-filters select { min-width:0; width:100%; }
.zs-search-filters>button { align-self:end; width:100%; }
.zs-report-feedback { color:var(--text); margin:8px 0; }
.zs-recovery-page { max-width:760px; margin:32px auto; padding:0 16px 80px; }
.zs-recovery-page>.zs-card { padding:clamp(20px,5vw,36px); }
.zs-recovery-page h1 { font-size:clamp(1.75rem,5vw,2.6rem); }
.zs-recovery-page .zs-form { margin-top:24px; }
.zs-recovery-page .zs-form .zs-btn { min-height:44px; }
.zs-recovery-contact { margin-top:24px; border-top:1px solid var(--line); padding-top:20px; overflow-wrap:anywhere; }
@media(max-width:700px) { .zs-product-detail { grid-template-columns:1fr; } .zs-product-detail-info { padding:20px; } .zs-search-filters { grid-template-columns:repeat(2,minmax(0,1fr))!important; } }
@media(max-width:360px) { .zs-search-filters { grid-template-columns:1fr!important; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; } }
