
#sms-gallery-landing,
#sms-gallery-landing * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#sms-gallery-landing {
  --g-yellow: #ffbe00;
  --g-blue: #0041ff;
  --g-bg: #f5f7fa;
  --g-surface: #fff;
  --g-text: #2b2b2b;
  --g-muted: #8a8f98;
  --g-line: #e8ebf0;
  --g-radius: 14px;
  --g-max: 1040px;
  --g-head-h: 56px;
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  font-family: YekanBakh, Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--g-text);
  background: var(--g-bg);
  direction: rtl;
  min-height: 50vh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

#sms-gallery-landing img {
  display: block;
  max-width: 100%;
}

#sms-gallery-landing button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

#sms-gallery-landing a {
  text-decoration: none;
  color: inherit;
}

@font-face {
  font-family: YekanBakh;
  font-display: swap;
  src: url("https://land.sms.ir/font/YekanBakh-VF.woff2") format("woff2");
}

/* اعداد — بدون محور dots، وزن مشخص */
#sms-gallery-landing .g-num {
  font-family: YekanBakh, Tahoma, sans-serif;
  font-variation-settings: "wght" 550, "dots" 0;
  letter-spacing: 0.06em;
  font-feature-settings: "tnum" 1;
  line-height: 1.1;
}

#sms-gallery-landing .g-inner {
  width: min(100% - 28px, var(--g-max));
  margin-inline: auto;
}

/* ── header ── */
#sms-gallery-landing .g-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--g-line);
}

#sms-gallery-landing .g-head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--g-head-h);
  padding: 0 14px;
  max-width: var(--g-max);
  margin: 0 auto;
}

#sms-gallery-landing .g-logo {
  width: 108px;
  flex-shrink: 0;
}

#sms-gallery-landing .g-logo img {
  width: 100%;
  height: auto;
}

#sms-gallery-landing .g-back {
  font-size: 13px;
  color: var(--g-muted);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 65, 255, 0.06);
  transition: 0.2s;
  white-space: nowrap;
}

#sms-gallery-landing .g-back:hover {
  background: rgba(0, 65, 255, 0.12);
  color: var(--g-blue);
}

/* ── intro ── */
#sms-gallery-landing .g-intro {
  position: relative;
  text-align: center;
  padding: 40px 14px 0;
  transition: opacity 0.28s, max-height 0.28s, padding 0.28s;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 50% -20%, rgba(0, 65, 255, 0.07), transparent 65%),
    radial-gradient(ellipse 50% 60% at 80% 10%, rgba(255, 190, 0, 0.08), transparent 55%);
}

#sms-gallery-landing.g-in-year .g-intro {
  opacity: 0;
  max-height: 0;
  padding: 0;
  pointer-events: none;
}

#sms-gallery-landing .g-intro__inner {
  max-width: 520px;
  margin: 0 auto;
  padding-bottom: 32px;
}

#sms-gallery-landing .g-intro__tag {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  color: var(--g-muted);
  font-variation-settings: "wght" 400, "dots" 1;
  letter-spacing: 0.14em;
}

#sms-gallery-landing .g-intro__tag::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 0 auto 10px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--g-yellow), var(--g-blue));
}

#sms-gallery-landing .g-intro p {
  font-size: 14px;
  color: var(--g-muted);
  margin-bottom: 0;
  line-height: 1.85;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* شاخص آرشیو — کپسول ثابت */
#sms-gallery-landing .g-intro__highlights {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--g-line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 28px rgba(0, 65, 255, 0.08);
  backdrop-filter: blur(8px);
}

#sms-gallery-landing .g-intro__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 22px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--g-text);
  font-variation-settings: "wght" 400, "dots" 1;
  white-space: nowrap;
}

#sms-gallery-landing .g-intro__chip + .g-intro__chip {
  border-right: 1px solid var(--g-line);
}

#sms-gallery-landing .g-intro__chip-plus {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--g-text);
  background: var(--g-yellow);
  box-shadow: 0 2px 8px rgba(255, 190, 0, 0.4);
  transform: translateY(0.5px);
}

#sms-gallery-landing .g-intro__chip-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
}

#sms-gallery-landing .g-intro__chip .g-num {
  color: var(--g-blue);
  font-variation-settings: "wght" 600, "dots" 0;
  letter-spacing: 0.04em;
}

@media (max-width: 420px) {
  #sms-gallery-landing .g-intro__highlights {
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 280px);
    padding: 6px 8px;
  }

  #sms-gallery-landing .g-intro__chip + .g-intro__chip {
    border-right: none;
    border-top: 1px solid var(--g-line);
  }

  #sms-gallery-landing .g-intro__chip {
    justify-content: flex-start;
    padding: 11px 14px;
    min-height: 44px;
  }
}

#sms-gallery-landing .g-intro h1 {
  font-size: clamp(24px, 4.5vw, 32px);
  font-variation-settings: "wght" 400, "dots" 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

#sms-gallery-landing .g-intro h1 span {
  color: var(--g-blue);
}

/* decorative divider */
#sms-gallery-landing .g-intro__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: var(--g-max);
  margin: 0 auto;
  padding: 0 14px 28px;
}

#sms-gallery-landing .g-intro__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--g-line) 20%, var(--g-line) 80%, transparent);
  max-width: 200px;
}

#sms-gallery-landing .g-intro__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g-yellow);
  box-shadow: 0 0 0 4px rgba(255, 190, 0, 0.25);
  flex-shrink: 0;
}

#sms-gallery-landing .g-intro__wave {
  display: block;
  width: 100%;
  height: 12px;
  margin-bottom: -1px;
  background:
    linear-gradient(135deg, var(--g-bg) 25%, transparent 25%) -12px 0,
    linear-gradient(225deg, var(--g-bg) 25%, transparent 25%) -12px 0,
    linear-gradient(315deg, var(--g-bg) 25%, transparent 25%),
    linear-gradient(45deg, var(--g-bg) 25%, transparent 25%);
  background-size: 24px 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--g-line);
}

/* years section head */
#sms-gallery-landing .g-years-head {
  text-align: center;
  padding: 8px 14px 20px;
  max-width: var(--g-max);
  margin: 0 auto;
}

#sms-gallery-landing .g-years-head h2 {
  font-size: 15px;
  font-variation-settings: "wght" 500, "dots" 1;
  color: var(--g-text);
  margin-bottom: 4px;
}

#sms-gallery-landing .g-years-head p {
  font-size: 12px;
  color: var(--g-muted);
}

/* ── skeleton ── */
#sms-gallery-landing .g-skeleton {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px 14px 48px;
  max-width: var(--g-max);
  margin: 0 auto;
}

@media (min-width: 600px) {
  #sms-gallery-landing .g-skeleton {
    grid-template-columns: repeat(4, 1fr);
  }
}

#sms-gallery-landing .g-skel {
  border-radius: 20px;
  overflow: hidden;
  background: var(--g-surface);
  border: 1px solid var(--g-line);
}

#sms-gallery-landing .g-skel-cover {
  aspect-ratio: 1 / 1;
  background: linear-gradient(90deg, #eef0f4 25%, #f8f9fb 50%, #eef0f4 75%);
  background-size: 200% 100%;
  animation: gShimmer 1.2s infinite;
}

#sms-gallery-landing .g-skel-line {
  height: 11px;
  margin: 12px 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef0f4 25%, #f8f9fb 50%, #eef0f4 75%);
  background-size: 200% 100%;
  animation: gShimmer 1.2s infinite;
}

#sms-gallery-landing .g-skel-line.short {
  width: 48%;
}

@keyframes gShimmer {
  to {
    background-position: -200% 0;
  }
}

#sms-gallery-landing .g-error {
  display: none;
  text-align: center;
  padding: 52px 20px;
  color: #c0392b;
  font-size: 14px;
}

/* ── years grid ── */
#sms-gallery-landing .g-years-wrap {
  opacity: 0;
  transition: opacity 0.35s;
  padding-bottom: 48px;
}

#sms-gallery-landing .g-years-wrap.show {
  opacity: 1;
}

#sms-gallery-landing .g-years-wrap.hide {
  display: none;
}

#sms-gallery-landing .g-years {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 14px;
  max-width: var(--g-max);
  margin: 0 auto;
}

@media (min-width: 560px) {
  #sms-gallery-landing .g-years {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 820px) {
  #sms-gallery-landing .g-years {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 16px;
  }
}

/* ── کارت سال — استایل آلبوم/آرشیو ── */
#sms-gallery-landing .g-year {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: right;
  background: var(--g-surface);
  border-radius: 20px;
  border: 1px solid var(--g-line);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.32s;
}

#sms-gallery-landing .g-year:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0, 65, 255, 0.14);
  border-color: rgba(0, 65, 255, 0.22);
}

#sms-gallery-landing .g-year.is-empty {
  opacity: 0.75;
}

#sms-gallery-landing .g-year-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, #dce6ff 0%, #f0f2f8 100%);
}

#sms-gallery-landing .g-year-wm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(52px, 14vw, 72px);
  color: rgba(0, 65, 255, 0.09);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

#sms-gallery-landing .g-year-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 0;
}

#sms-gallery-landing .g-year:hover .g-year-cover img {
  transform: scale(1.08);
}

#sms-gallery-landing .g-year-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

#sms-gallery-landing .g-year-empty-icon {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(0, 65, 255, 0.1);
}

#sms-gallery-landing .g-year-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--g-yellow);
  color: var(--g-text);
  font-size: 11px;
  font-variation-settings: "wght" 450, "dots" 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

#sms-gallery-landing .g-year-body {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  margin-inline: 12px 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--g-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#sms-gallery-landing .g-year-body__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#sms-gallery-landing .g-year-body__num {
  font-size: 26px;
  color: var(--g-blue);
}

#sms-gallery-landing .g-year-body__meta {
  font-size: 11px;
  color: var(--g-muted);
  font-variation-settings: "wght" 300, "dots" 1;
}

#sms-gallery-landing .g-year-body__cta {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g-blue), #0035cc);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.25s, background 0.25s;
  box-shadow: 0 4px 12px rgba(0, 65, 255, 0.35);
}

#sms-gallery-landing .g-year:hover .g-year-body__cta {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--g-yellow), #e6a800);
  color: var(--g-text);
  box-shadow: 0 4px 14px rgba(255, 190, 0, 0.45);
}

#sms-gallery-landing .g-year.is-empty .g-year-body__cta {
  background: #e8ebf0;
  color: var(--g-muted);
  box-shadow: none;
}

#sms-gallery-landing .g-year-spacer {
  height: 14px;
  flex-shrink: 0;
}

/* ── photos view ── */
#sms-gallery-landing .g-photos {
  display: none;
  padding-bottom: 48px;
  animation: gFadeIn 0.28s ease;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 190, 0, 0.09), transparent 70%),
    var(--g-bg);
}

#sms-gallery-landing .g-photos.active {
  display: block;
}

@keyframes gFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#sms-gallery-landing .g-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 14px;
  position: sticky;
  top: var(--g-head-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--g-line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

#sms-gallery-landing .g-bar-in {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: min(100% - 28px, var(--g-max));
  margin: 0 auto;
}

#sms-gallery-landing .g-bar-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--g-blue);
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(0, 65, 255, 0.07);
  transition: 0.2s;
  flex-shrink: 0;
}

#sms-gallery-landing .g-bar-back:hover {
  background: rgba(0, 65, 255, 0.14);
}

#sms-gallery-landing .g-bar-title {
  font-size: 16px;
  font-variation-settings: "wght" 500, "dots" 1;
}

#sms-gallery-landing .g-bar-meta {
  margin-right: auto;
  font-size: 12px;
  color: var(--g-muted);
}

#sms-gallery-landing .g-bar-page {
  font-size: 12px;
  color: var(--g-muted);
}

/* year hero band */
#sms-gallery-landing .g-year-hero {
  width: min(100% - 28px, var(--g-max));
  margin: 20px auto 0;
  padding: 22px 24px;
  border-radius: var(--g-radius);
  background: linear-gradient(135deg, #fff 0%, #f8faff 55%, #fff9e8 100%);
  border: 1px solid var(--g-line);
  box-shadow: 0 4px 20px rgba(0, 65, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#sms-gallery-landing .g-year-hero__left {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

#sms-gallery-landing .g-year-hero__num {
  font-size: clamp(40px, 8vw, 58px);
  line-height: 1;
  color: var(--g-blue);
}

#sms-gallery-landing .g-year-hero__sub {
  font-size: 14px;
  color: var(--g-muted);
  margin: 0;
  max-width: 320px;
  line-height: 1.6;
}

#sms-gallery-landing .g-year-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--g-yellow);
  font-size: 13px;
  color: var(--g-text);
  white-space: nowrap;
}

/* دیوار گالری — کارت‌های پین‌شده */
#sms-gallery-landing .g-grid-wrap {
  width: min(100% - 28px, var(--g-max));
  margin: 24px auto 0;
  padding: 28px 18px 20px;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 65, 255, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 190, 0, 0.06) 0%, transparent 40%),
    linear-gradient(175deg, #eef2fa 0%, #f5f7fa 50%, #faf8f2 100%);
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius);
  overflow: visible;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#sms-gallery-landing .g-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 18px;
  align-items: start;
}

@media (min-width: 560px) {
  #sms-gallery-landing .g-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 22px;
  }
}

@media (min-width: 900px) {
  #sms-gallery-landing .g-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 26px;
  }
}

/* کارت عکس — پین روی دیوار */
#sms-gallery-landing .g-shot {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: right;
  cursor: pointer;
  background: #fff;
  padding: 16px 12px 0;
  border-radius: 2px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s;
  transform-origin: center 20%;
}

#sms-gallery-landing .g-shot--t0 { transform: rotate(-1.8deg); }
#sms-gallery-landing .g-shot--t1 { transform: rotate(1.2deg); }
#sms-gallery-landing .g-shot--t2 { transform: rotate(-0.6deg); }

#sms-gallery-landing .g-shot:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.03);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 22px 50px rgba(0, 65, 255, 0.16);
  z-index: 2;
}

#sms-gallery-landing .g-shot__tape {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 54px;
  height: 20px;
  background: linear-gradient(180deg, rgba(255, 228, 140, 0.9), rgba(255, 200, 60, 0.75));
  border: 1px solid rgba(255, 190, 0, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 4;
  pointer-events: none;
  opacity: 0.92;
}

#sms-gallery-landing .g-shot__pin {
  position: absolute;
  top: 8px;
  right: 16px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ff8080, #d42020 70%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2);
  z-index: 5;
  pointer-events: none;
}

#sms-gallery-landing .g-shot__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 3px solid #fff;
  outline: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  background: #e4e9f2;
}

#sms-gallery-landing .g-shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#sms-gallery-landing .g-shot:hover .g-shot__frame img {
  transform: scale(1.06);
}

#sms-gallery-landing .g-shot__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

#sms-gallery-landing .g-shot:hover .g-shot__shine {
  transform: translateX(120%);
}

#sms-gallery-landing .g-shot__zoom {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 65, 255, 0.88);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  transform: scale(0.7) translateY(6px);
  transition: 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 65, 255, 0.4);
}

#sms-gallery-landing .g-shot:hover .g-shot__zoom {
  opacity: 1;
  transform: scale(1) translateY(0);
}

#sms-gallery-landing .g-shot__label {
  margin: 0 -12px;
  padding: 12px 14px 15px;
  min-height: 54px;
}

#sms-gallery-landing .g-shot--v0 .g-shot__label {
  background: linear-gradient(135deg, var(--g-yellow) 0%, #ffd84d 100%);
}

#sms-gallery-landing .g-shot--v1 .g-shot__label {
  background: linear-gradient(135deg, #dce6ff 0%, #c8d8ff 100%);
}

#sms-gallery-landing .g-shot--v2 .g-shot__label {
  background: #fff;
  border-top: 2px dashed rgba(0, 65, 255, 0.12);
}

#sms-gallery-landing .g-shot__label b {
  font-size: 12px;
  font-variation-settings: "wght" 450, "dots" 1;
  color: var(--g-text);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#sms-gallery-landing .g-shot__label span {
  margin-top: 3px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#sms-gallery-landing .g-shot__label span:empty {
  display: none;
}

#sms-gallery-landing .g-empty {
  text-align: center;
  padding: 56px 20px;
}

#sms-gallery-landing .g-empty-icon {
  font-size: 38px;
  margin-bottom: 10px;
  opacity: 0.28;
}

#sms-gallery-landing .g-empty p {
  color: var(--g-muted);
  font-size: 14px;
}

/* pager */
#sms-gallery-landing .g-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 14px 8px;
  flex-wrap: wrap;
  max-width: var(--g-max);
  margin: 0 auto;
}

#sms-gallery-landing .g-pager-info {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--g-muted);
  margin-bottom: 6px;
}

#sms-gallery-landing .g-pager button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  color: #555;
  background: var(--g-surface);
  border: 1px solid var(--g-line);
  transition: 0.15s;
}

#sms-gallery-landing .g-pager button:hover:not(:disabled) {
  border-color: var(--g-blue);
  color: var(--g-blue);
}

#sms-gallery-landing .g-pager button.on {
  background: var(--g-yellow);
  border-color: var(--g-yellow);
  color: var(--g-text);
  font-variation-settings: "wght" 500, "dots" 1;
}

#sms-gallery-landing .g-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ── lightbox ── */
#sms-gallery-landing .g-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #000;
  flex-direction: column;
}

#sms-gallery-landing .g-lb.open {
  display: flex;
}

#sms-gallery-landing .g-lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) 14px 10px;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

#sms-gallery-landing .g-lb-x {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

#sms-gallery-landing .g-lb-x:hover {
  background: var(--g-yellow);
  color: #000;
}

#sms-gallery-landing .g-lb-num {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

#sms-gallery-landing .g-lb-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 0 48px;
}

#sms-gallery-landing .g-lb-body img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s;
}

#sms-gallery-landing .g-lb-body img.loaded {
  opacity: 1;
}

#sms-gallery-landing .g-lb-spin {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--g-yellow);
  border-radius: 50%;
  animation: gSpin 0.7s linear infinite;
}

@keyframes gSpin {
  to {
    transform: rotate(360deg);
  }
}

#sms-gallery-landing .g-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

#sms-gallery-landing .g-lb-arrow:hover {
  background: var(--g-yellow);
  color: #000;
}

#sms-gallery-landing .g-lb-prev {
  right: 10px;
}

#sms-gallery-landing .g-lb-next {
  left: 10px;
}

#sms-gallery-landing .g-lb-foot {
  padding: 16px 18px max(18px, env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  flex-shrink: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

#sms-gallery-landing .g-lb-foot b {
  display: block;
  font-size: 15px;
  font-variation-settings: "wght" 400, "dots" 1;
  margin-bottom: 4px;
  line-height: 1.5;
}

#sms-gallery-landing .g-lb-foot span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

@media (max-width: 599px) {
  #sms-gallery-landing .g-lb-arrow {
    display: none;
  }

  #sms-gallery-landing .g-lb-body {
    padding: 0 8px;
  }
}
