/* Modern-only Sign Moment bookmarks */

.ish-sign-moments .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.ish-video-modern .ish-sign-moments {
  margin: 0 0 28px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(108, 99, 255, 0.22);
  background: linear-gradient(145deg, rgba(108, 99, 255, 0.12), rgba(229, 9, 20, 0.08));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

body.ish-video-modern .ish-sign-moments__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.ish-video-modern .ish-sign-moments__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

body.ish-video-modern .ish-sign-moments__head p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

body.ish-video-modern .ish-sign-moments__badge {
  flex-shrink: 0;
  min-width: 28px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.28);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
}

body.ish-video-modern .ish-sign-moments__composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 12px;
}

body.ish-video-modern .ish-sign-moments__composer input {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 0.86rem;
}

body.ish-video-modern .ish-sign-moments__composer input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

body.ish-video-modern .ish-sign-moments__save {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.92), rgba(229, 9, 20, 0.82));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

body.ish-video-modern .ish-sign-moments__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

body.ish-video-modern .ish-sign-moments__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

body.ish-video-modern .ish-sign-moments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

body.ish-video-modern .ish-sign-moments__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.ish-video-modern .ish-sign-moments__item-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.ish-video-modern .ish-sign-moments__time {
  color: #fff;
  font-size: 0.92rem;
}

body.ish-video-modern .ish-sign-moments__note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.ish-video-modern .ish-sign-moments__item-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

body.ish-video-modern .ish-sign-moments__mini {
  appearance: none;
  -webkit-appearance: none;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

body.ish-video-modern .ish-sign-moments__mini--danger {
  border-color: rgba(229, 9, 20, 0.35);
  color: rgba(255, 190, 190, 0.95);
}

body.ish-video-modern .ish-sign-moments__empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

body.ish-video-modern .ish-video-actionbar__btn.is-sign-primary {
  border-color: rgba(108, 99, 255, 0.45);
  background: rgba(108, 99, 255, 0.18);
}

body.ish-home-modern.ish-modern-light.ish-video-modern .ish-sign-moments,
body.ish-home-modern.ish-modern-sepia.ish-video-modern .ish-sign-moments,
body.ish-home-modern.ish-modern-contrast.ish-video-modern .ish-sign-moments {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(108, 99, 255, 0.18);
}

body.ish-home-modern.ish-modern-light.ish-video-modern .ish-sign-moments__head h2,
body.ish-home-modern.ish-modern-sepia.ish-video-modern .ish-sign-moments__head h2,
body.ish-home-modern.ish-modern-contrast.ish-video-modern .ish-sign-moments__head h2,
body.ish-home-modern.ish-modern-light.ish-video-modern .ish-sign-moments__time,
body.ish-home-modern.ish-modern-sepia.ish-video-modern .ish-sign-moments__time,
body.ish-home-modern.ish-modern-contrast.ish-video-modern .ish-sign-moments__time {
  color: rgba(0, 0, 0, 0.88);
}

body.ish-home-modern.ish-modern-light.ish-video-modern .ish-sign-moments__composer input,
body.ish-home-modern.ish-modern-sepia.ish-video-modern .ish-sign-moments__composer input,
body.ish-home-modern.ish-modern-contrast.ish-video-modern .ish-sign-moments__composer input {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.88);
  border-color: rgba(0, 0, 0, 0.12);
}

@media (max-width: 640px) {
  body.ish-video-modern .ish-sign-moments__composer {
    grid-template-columns: 1fr;
  }

  body.ish-video-modern .ish-sign-moments__item {
    grid-template-columns: 1fr;
  }
}
