/* Seller app (seller/index.html). Loaded after app.css; colours only via tokens.css variables. */

/* ── Shared seller bits ── */
.seller-screen { min-height: 100dvh; }
.seller-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 6px;
}
.seller-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}
.seller-spacer { width: var(--tap); flex: none; }
.seller-compact { padding: 0 18px; }
.seller-eyebrow {
  margin: 0;
  padding: 20px 16px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.seller-num {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.seller-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.seller-fields .field > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.seller-fields .input { width: 100%; font-size: 15px; }
.seller-span-2 { grid-column: span 2; }
.seller-textarea { resize: none; min-height: 64px; }

/* ── Mi contenido ── */
.seller-library { display: flex; flex-direction: column; }
.seller-profile { display: flex; align-items: center; gap: 14px; padding: 24px 16px 12px; }
.seller-avatar {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  background: var(--petal);
  color: var(--rose-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}
.seller-handle { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1; }
.seller-stats { margin: 4px 0 0; font-size: 14px; }
.seller-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 16px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  animation: seller-rise 0.3s ease-out;
}
.seller-banner svg { width: 18px; height: 18px; flex: none; color: var(--rose-2); }
.seller-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 16px 10px;
  font-size: 14px;
}
.seller-h2 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.seller-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 4px;
  padding: 0 16px 24px;
}
.seller-tile {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: var(--petal);
}
.seller-tile__img { width: 100%; height: 100%; object-fit: cover; }
.seller-tile__tags, .seller-tile__new {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}
.seller-tile__tags { left: 6px; bottom: 6px; background: var(--glass); color: var(--ink); }
.seller-tile__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose-2); }
.seller-tile__new { left: 6px; top: 6px; background: var(--rose); color: var(--white); }
.seller-tile__video {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--scrim);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.seller-tile__video svg { width: 10px; height: 10px; }
.seller-nav {
  position: sticky;
  bottom: 0;
  z-index: 5;
  height: 76px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white);
  border-top: 1px solid var(--line);
}
.seller-nav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.seller-nav__btn.is-current { color: var(--rose); }
.seller-nav__btn > svg { width: 24px; height: 24px; }
.seller-nav__plus {
  width: 34px;
  height: 24px;
  border-radius: 8px;
  background: var(--rose);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.seller-nav__plus svg { width: 16px; height: 16px; }

/* ── Nueva publicación ── */
.seller-kind { padding: 8px 16px 14px; }
.seller-kind__chip { min-height: 40px; padding: 0 18px; font-size: 14px; }
.seller-kind__chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.seller-drop {
  margin: 0 16px;
  min-height: 200px;
  border-radius: 22px;
  border: 1.5px dashed var(--line-strong);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  text-align: center;
}
.seller-drop__icon { width: 34px; height: 34px; color: var(--rose-2); }
.seller-drop__title { margin: 0; font-size: 17px; font-weight: 700; }
.seller-drop__sub { margin: 0 0 6px; font-size: 14px; }
.seller-roll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 0 16px 28px;
}
.seller-roll__item {
  position: relative;
  aspect-ratio: 9 / 16;
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--petal);
}
.seller-roll__img { width: 100%; height: 100%; object-fit: cover; }
.seller-duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 8px;
  background: var(--scrim);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}
.seller-duration svg { width: 9px; height: 9px; }

/* ── Editor ── */
.seller-editor {
  position: relative;
  height: 100dvh;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.seller-editor__frame { width: min(100%, calc(100dvh * 9 / 16)); }
.seller-editor__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  pointer-events: none;
}
.seller-editor__bar > * { pointer-events: auto; }
.seller-pill {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  font-size: 14px;
  font-weight: 600;
}
.seller-hint {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 4;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 24px;
  background: var(--glass);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}
.seller-hint__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px var(--petal), 0 0 10px 3px var(--dot-glow);
}
.tag-dot.is-editing::before { background: var(--rose); }
.tag-dot.is-editing .tag-dot__num { color: var(--white); }
.seller-dot-label {
  position: absolute;
  left: calc(100% - 6px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 12px;
  background: var(--glass);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}
.seller-dot-label.is-right { left: auto; right: calc(100% - 6px); }

/* Tag info sheet */
.seller-sheet { background: var(--blush); }
.seller-sheet__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.seller-sheet__title { margin: 0; flex: 1; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; }
.seller-sheet__actions { display: flex; gap: 10px; margin-top: 14px; }
.seller-danger { color: var(--rose-deep); }
.seller-grow { flex: 1; }

/* ── Revisar etiquetas ── */
.seller-review__top { display: flex; gap: 14px; align-items: flex-start; padding: 6px 16px 14px; }
.seller-review__frame { flex: none; width: 150px; border-radius: 16px; background: var(--petal); }
.seller-review__frame .tag-dot { pointer-events: none; transform: translate(-50%, -50%) scale(0.7); }
.seller-review__summary { display: flex; flex-direction: column; gap: 8px; }
.seller-review__summary .seller-eyebrow { padding: 4px 0 0; }
.seller-review__big { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.05; }
.seller-review__note { margin: 0; font-size: 14px; }
.seller-review__list { padding: 0 16px 28px; }
.seller-review-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.seller-review-card__head { display: flex; align-items: center; gap: 8px; }
.seller-shape {
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--blush);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.seller-review-card.is-matched .seller-shape { background: var(--petal); color: var(--rose-deep); }
.seller-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: var(--scrim);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.seller-scan__bar { width: 80%; height: 3px; border-radius: 2px; background: var(--dot-ring); overflow: hidden; }
.seller-scan__bar > span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--white);
  animation: seller-scan 1.1s ease-in-out infinite alternate;
}
.seller-outline {
  position: absolute;
  z-index: 1;
  border: 2px dashed var(--white);
  border-radius: 40% / 30%;
  background: var(--dot-ring);
  animation: seller-fade 0.4s ease-out;
}

@keyframes seller-scan { from { transform: translateX(-20%); } to { transform: translateX(170%); } }
@keyframes seller-fade { from { opacity: 0; transform: scale(0.9); } }
@keyframes seller-rise { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .seller-scan__bar > span, .seller-outline, .seller-banner { animation: none; }
}
