/* MyVideoStudio — My uploaded photos picker (v1.65.0) — charter palette */
.mvs-mediapick {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.mvs-mediapick[hidden] { display: none; }
.mvs-mediapick__backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, .55); backdrop-filter: blur(3px); }
.mvs-mediapick__card {
  position: relative; width: 100%; max-width: 760px; max-height: 86vh;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 20px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .25);
  display: flex; flex-direction: column; overflow: hidden;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.mvs-mediapick__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #E2E8F0;
}
.mvs-mediapick__title { margin: 0; font-size: 17px; font-weight: 700; color: #1C2434; }
.mvs-mediapick__close { border: 0; background: transparent; font-size: 26px; line-height: 1; color: #94A3B8; cursor: pointer; padding: 0 4px; }
.mvs-mediapick__close:hover { color: #1C2434; }
.mvs-mediapick__grid {
  padding: 18px 20px; overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px;
}
.mvs-mediapick__cell {
  position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px;
  overflow: hidden; cursor: pointer; background: #F1F5F9; aspect-ratio: 1 / 1;
  transition: border-color .14s, transform .14s;
}
.mvs-mediapick__cell:hover { transform: translateY(-2px); border-color: #3C50E0; }
.mvs-mediapick__cell.is-picked { border-color: #10B981; }
.mvs-mediapick__cell.is-picked::after {
  content: '✓'; position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; border-radius: 999px; background: #10B981; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.mvs-mediapick__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mvs-mediapick__empty { padding: 48px 20px; text-align: center; color: #94A3B8; font-size: 14px; }
.mvs-mediapick__foot { padding: 14px 20px; border-top: 1px solid #E2E8F0; text-align: center; }
.mvs-mediapick__more {
  padding: 9px 20px; border: 1px solid #E2E8F0; border-radius: 10px; background: #fff;
  color: #475569; font-size: 13px; font-weight: 600; cursor: pointer;
}
.mvs-mediapick__more:hover { border-color: #3C50E0; color: #3C50E0; }
@media (max-width: 640px) {
  .mvs-mediapick { padding: 0; }
  .mvs-mediapick__card { max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
}
