* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #050608;
}

body {
  color: #f5f5f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#sm-library-pro {
  min-height: 100vh;
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(120, 59, 226, 0.18), transparent 58%),
    radial-gradient(500px 320px at 20% 0%, rgba(201, 154, 110, 0.08), transparent 55%),
    linear-gradient(180deg, #07080b 0%, #040506 100%);
}

#sm-library-pro button {
  font: inherit;
}

.sm-pro-app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 16px 34px;
}

.sm-pro-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 18px;
}

.sm-pro-header__left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.sm-pro-back {
  width: 32px;
  height: 32px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.sm-pro-back span {
  font-size: 34px;
  line-height: 1;
  transform: translateY(-2px);
}

.sm-pro-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-pro-title-row h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.sm-pro-title-row p,
.sm-pro-header p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 650;
}

.sm-pro-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 171, 0, 0.75);
  color: #ffb000;
  background: rgba(255, 171, 0, 0.06);
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.sm-pro-bookmark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sm-pro-bookmark span,
.sm-card-save::before {
  content: "";
  width: 14px;
  height: 18px;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-bottom: 0;
  border-radius: 3px 3px 1px 1px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.sm-pro-filter-button {
  width: 100%;
  min-height: 46px;
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(153, 90, 255, 0.55);
  background:
    linear-gradient(180deg, rgba(153, 90, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.sm-pro-filter-icon {
  color: #a77bff;
  font-weight: 950;
}

.sm-pro-filter-arrow {
  color: #a77bff;
  font-size: 22px;
  line-height: 1;
}

.sm-pro-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.sm-pro-tabs::-webkit-scrollbar {
  display: none;
}

.sm-pro-tab {
  min-width: 66px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.sm-pro-tab.is-active {
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(153, 90, 255, 0.30), transparent 70%),
    rgba(153, 90, 255, 0.12);
  box-shadow:
    inset 0 -2px 0 rgba(153, 90, 255, 0.95),
    0 12px 24px rgba(0, 0, 0, 0.22);
}

.sm-pro-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sm-pro-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sm-pro-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sm-pro-section-head h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.1;
  font-weight: 950;
}

.sm-pro-section-head button {
  border: 0;
  background: transparent;
  color: #a77bff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.sm-pack-hero {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #111;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
}

.sm-pack-hero img,
.sm-move-card img,
.sm-plan-card img,
.sm-pack-row img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-pack-hero > img {
  position: absolute;
  inset: 0;
}

.sm-pack-hero__overlay,
.sm-move-card__shade,
.sm-plan-card__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.88)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.08));
}

.sm-pack-hero__top {
  position: absolute;
  left: 12px;
  right: 10px;
  top: 10px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sm-pack-hero__content {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
}

.sm-pack-hero__content h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.sm-pack-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
}

.sm-pack-hero__content p {
  margin: 0;
  color: #b58cff;
  font-size: 11px;
  font-weight: 850;
}

.sm-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
}

.sm-pill--purple {
  background: linear-gradient(90deg, rgba(120, 59, 226, 0.95), rgba(163, 98, 255, 0.88));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.sm-pill--soft {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sm-move-grid,
.sm-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sm-move-card,
.sm-plan-card {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  cursor: pointer;
}

.sm-move-card {
  aspect-ratio: 1.12 / 1;
}

.sm-plan-card {
  aspect-ratio: 1.22 / 1;
}

.sm-move-card > img,
.sm-plan-card > img {
  position: absolute;
  inset: 0;
}

.sm-move-card__top,
.sm-plan-card__top {
  position: absolute;
  z-index: 3;
  left: 8px;
  right: 8px;
  top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm-plan-card__top {
  right: 8px;
}

.sm-duration {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sm-card-save {
  width: 28px;
  height: 28px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sm-card-save::before {
  width: 10px;
  height: 14px;
  border-width: 1.5px;
}

.sm-card-save.is-saved {
  background: rgba(153, 90, 255, 0.70);
}

.sm-play-button {
  position: absolute;
  left: 10px;
  bottom: 38px;
  z-index: 4;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sm-play-button span {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
}

.sm-move-card__bottom,
.sm-plan-card__bottom {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 9px;
  z-index: 3;
}

.sm-move-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.sm-move-card h3,
.sm-plan-card h3 {
  margin: 0;
  min-width: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
}

.sm-plan-card h3 {
  margin-bottom: 5px;
}

.sm-plan-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
}

.sm-difficulty {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 8px;
  line-height: 1;
  font-weight: 950;
}

.sm-difficulty.is-basic {
  color: #8dff9d;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.sm-difficulty.is-intermediate {
  color: #b58cff;
  background: rgba(153, 90, 255, 0.18);
  border: 1px solid rgba(153, 90, 255, 0.30);
}

.sm-difficulty.is-advanced {
  color: #ffb86b;
  background: rgba(255, 152, 67, 0.17);
  border: 1px solid rgba(255, 152, 67, 0.28);
}

.sm-pack-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sm-pack-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  cursor: pointer;
}

.sm-pack-row img {
  height: 74px;
  border-radius: 12px;
}

.sm-pack-row h3 {
  margin: 7px 0 5px;
  font-size: 15px;
  line-height: 1.05;
}

.sm-pack-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.35;
}

.sm-empty-state,
.sm-pro-loading,
.sm-pro-error {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-empty-state h2,
.sm-pro-error h1 {
  margin: 0 0 8px;
  font-size: 20px;
}

.sm-empty-state p,
.sm-pro-loading p,
.sm-pro-error p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.sm-pro-loading div {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #a77bff;
  animation: smSpin 0.8s linear infinite;
}

@keyframes smSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 760px) {
  .sm-pro-app {
    max-width: 980px;
    padding: 28px;
  }

  .sm-move-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sm-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-pack-hero {
    min-height: 220px;
  }

  .sm-move-card {
    aspect-ratio: 1.25 / 1;
  }

  .sm-plan-card {
    aspect-ratio: 2.05 / 1;
  }
}

.sm-pack-row__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sm-pack-detail-hero {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #111;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
}

.sm-pack-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-pack-detail-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.26) 38%, rgba(0, 0, 0, 0.92)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.10));
}

.sm-pack-detail-hero__top {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sm-pack-detail-hero__content {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 18px;
}

.sm-pack-detail-hero__content h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.sm-pack-detail-hero__content p {
  max-width: 620px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.sm-pack-best {
  color: #b58cff !important;
  font-weight: 850 !important;
}

.sm-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.sm-checklist-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.sm-checklist-item span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(153, 90, 255, 0.28);
  font-size: 11px;
  font-weight: 950;
}

.sm-checklist-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.sm-pro-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sm-pro-modal__dialog {
  position: relative;
  width: min(430px, 100%);
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(500px 240px at 80% 0%, rgba(153, 90, 255, 0.14), transparent 60%),
    #101115;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.64);
}

.sm-pro-modal__close {
  position: absolute;
  z-index: 4;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.sm-pro-modal__image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.sm-pro-modal__body {
  padding: 18px;
}

.sm-pro-modal__topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sm-pro-modal__body h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.sm-pro-modal__body p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.sm-pro-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sm-primary-button,
.sm-secondary-button {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 950;
  cursor: pointer;
}

.sm-primary-button {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, rgba(120, 59, 226, 0.95), rgba(163, 98, 255, 0.95));
}

.sm-secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.045);
}

.sm-secondary-button.is-saved {
  color: #fff;
  border-color: rgba(153, 90, 255, 0.5);
  background: rgba(153, 90, 255, 0.18);
}

@media (min-width: 760px) {
  .sm-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-pack-detail-hero {
    min-height: 340px;
  }

  .sm-pro-modal__dialog {
    width: min(520px, 100%);
  }
}

.sm-active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  margin: -4px 0 16px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.sm-active-filters::-webkit-scrollbar {
  display: none;
}

.sm-active-filters button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(153, 90, 255, 0.32);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(153, 90, 255, 0.10);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.sm-active-filters button span {
  color: #b58cff;
  font-weight: 950;
}

.sm-active-filters .sm-active-filters__clear {
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.035);
}

.sm-pro-filter-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-filter-progress {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}

.sm-filter-progress div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 154, 110, 0.95), rgba(153, 90, 255, 0.95));
  transition: width 0.22s ease;
}

.sm-filter-card {
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(500px 280px at 80% 0%, rgba(153, 90, 255, 0.13), transparent 62%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.30);
}

.sm-filter-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.sm-filter-card__top > span {
  color: rgba(255, 255, 255, 0.50);
  font-size: 11px;
  font-weight: 850;
}

.sm-filter-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sm-filter-summary span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 10px;
  font-weight: 850;
}

.sm-filter-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.sm-filter-card p {
  margin: 0 0 16px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.sm-filter-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sm-filter-visual-card {
  position: relative;
  min-height: 116px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.sm-filter-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.44), transparent);
}

.sm-filter-visual-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-filter-visual-card span {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.sm-filter-visual-card.is-selected {
  border-color: rgba(153, 90, 255, 0.90);
  box-shadow: 0 0 0 3px rgba(153, 90, 255, 0.16);
}

.sm-filter-button-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.sm-filter-choice {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

.sm-filter-choice.is-selected {
  color: #fff;
  border-color: rgba(153, 90, 255, 0.72);
  background: rgba(153, 90, 255, 0.16);
}

.sm-filter-footer {
  position: sticky;
  bottom: 12px;
  display: grid;
  grid-template-columns: 0.8fr 0.9fr 1.3fr;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(8, 9, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.085);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.sm-filter-footer button {
  min-height: 42px;
}

.sm-filter-footer button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sm-empty-state .sm-primary-button {
  margin-top: 14px;
  padding: 0 18px;
}

@media (min-width: 760px) {
  .sm-filter-visual-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm-filter-visual-card {
    min-height: 150px;
  }

  .sm-filter-button-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.sm-pro-player-modal {
  padding: 0;
}

.sm-pro-player {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: min(86vh, 720px);
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.72);
}

.sm-pro-player__top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.sm-pro-player__top > div,
.sm-pro-player__top button {
  pointer-events: auto;
}

.sm-pro-player__top h2 {
  margin: 0 0 6px;
  max-width: 520px;
  color: #fff;
  font-size: 22px;
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
}

.sm-pro-player__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sm-pro-player__meta span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sm-pro-player__video-wrap {
  position: absolute;
  inset: 0;
  background: #000;
}

.sm-pro-player__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.sm-pro-player__missing {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.sm-pro-player__missing p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.sm-pro-player__bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(8, 9, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 640px) {
  .sm-pro-player {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    border: 0;
  }

  .sm-pro-player__top {
    padding: calc(14px + env(safe-area-inset-top)) 14px 14px;
  }

  .sm-pro-player__top h2 {
    max-width: 260px;
    font-size: 17px;
  }

  .sm-pro-player__bottom {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }
}

.sm-pro-plan-modal {
  padding: 0;
}

.sm-pro-plan-viewer {
  position: relative;
  width: min(920px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 26px;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(153, 90, 255, 0.12), transparent 62%),
    #0b0c10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.72);
}

.sm-pro-plan-viewer__hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #000;
}

.sm-pro-plan-viewer__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.sm-pro-plan-viewer__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24) 40%, rgba(0, 0, 0, 0.92)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.08));
}

.sm-pro-plan-viewer__hero-content {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 64px;
  bottom: 18px;
}

.sm-pro-plan-viewer__hero-content h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.72);
}

.sm-pro-plan-viewer__hero-content p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.sm-pro-plan-viewer__body {
  padding: 16px;
}

.sm-pro-plan-viewer__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.sm-pro-plan-viewer__stats div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.sm-pro-plan-viewer__stats span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 850;
}

.sm-pro-plan-viewer__stats strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 950;
}

.sm-pro-plan-viewer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.sm-pro-plan-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sm-pro-plan-step {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr 38px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.038);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.sm-pro-plan-step img {
  width: 92px;
  height: 70px;
  display: block;
  object-fit: cover;
  border-radius: 13px;
  background: #111;
}

.sm-pro-plan-step__content {
  min-width: 0;
}

.sm-pro-plan-step__content span {
  display: block;
  margin-bottom: 4px;
  color: #b58cff;
  font-size: 10px;
  font-weight: 900;
}

.sm-pro-plan-step__content h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 950;
}

.sm-pro-plan-step__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 650;
}

.sm-pro-plan-step__play {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(153, 90, 255, 0.22);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 640px) {
  .sm-pro-plan-viewer {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .sm-pro-plan-viewer__hero {
    min-height: 330px;
  }

  .sm-pro-plan-viewer__hero-content {
    left: 14px;
    right: 58px;
    bottom: 16px;
  }

  .sm-pro-plan-viewer__hero-content h2 {
    font-size: 23px;
  }

  .sm-pro-plan-viewer__stats {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .sm-pro-plan-step {
    grid-template-columns: 78px 1fr 34px;
    gap: 10px;
  }

  .sm-pro-plan-step img {
    width: 78px;
    height: 62px;
  }

  .sm-pro-plan-step__content p {
    display: none;
  }
}
.sm-pack-intro {
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(153, 90, 255, 0.14), transparent 62%),
    rgba(255, 255, 255, 0.038);
  border: 1px solid rgba(255, 255, 255, 0.085);
}

.sm-pack-intro > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #b58cff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sm-pack-intro h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.sm-pack-intro p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.sm-pack-structure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.sm-pack-structure div {
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.sm-pack-structure strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
}

.sm-pack-structure span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 850;
}

.sm-pro-tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.sm-pro-tip {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.sm-pro-tip span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(201, 154, 110, 0.18);
  font-size: 12px;
  font-weight: 950;
}

.sm-pro-tip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.sm-pack-cta {
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(500px 220px at 80% 0%, rgba(201, 154, 110, 0.13), transparent 60%),
    linear-gradient(180deg, rgba(153, 90, 255, 0.13), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(153, 90, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.sm-pack-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.sm-pack-cta p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.sm-pack-cta .sm-primary-button {
  width: 100%;
  min-height: 48px;
}

@media (min-width: 760px) {
  .sm-pro-tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-pack-intro,
  .sm-pack-cta {
    padding: 22px;
  }
}

.sm-card-save.is-pending,
.sm-secondary-button.is-pending {
  opacity: 0.55;
  pointer-events: none;
}

.sm-card-save.is-pending {
  animation: smSavePendingPulse 0.8s ease-in-out infinite alternate;
}

@keyframes smSavePendingPulse {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0.92);
  }
}