body.photos-archive-template-document {
  --serena-photo-bg: #070808;
  --serena-photo-surface: #0c0e0f;
  --serena-photo-panel: #111314;
  --serena-photo-gold: #dda94f;
  --serena-photo-gold-light: #f3cd7f;
  --serena-photo-line: rgba(255, 255, 255, 0.13);
  --serena-photo-muted: #a7a19b;
  --serena-photo-soft: #cbc5bd;
  --serena-photo-serif: "Bodoni 72", Didot, "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, "Times New Roman", serif;
  --serena-photo-sans: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100svh;
  background:
    radial-gradient(circle at 86% 16%, rgba(92, 20, 18, 0.08), transparent 28%),
    radial-gradient(circle at 12% 78%, rgba(90, 10, 22, 0.08), transparent 30%),
    #070808;
  color: #f5f1eb;
  font-family: var(--serena-photo-sans);
  overflow-x: hidden;
}

body.photos-archive-template-document .creator-preview-banner {
  margin: 0;
  border-radius: 0;
}

body.photos-archive-template-document .photos-archive-app-shell {
  width: min(100%, 1680px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 42px 32px 54px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 368px;
  gap: 26px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.012), transparent 18%, transparent 83%, rgba(255, 255, 255, 0.01));
}

body.photos-archive-template-document .photos-archive-main {
  min-width: 0;
  padding: 0;
}

body.photos-archive-template-document .photos-archive-container {
  max-width: none;
  padding: 0;
}

body.photos-archive-template-document .photos-archive-mobile-header {
  display: none;
}

body.photos-archive-template-document .photos-archive-hero {
  min-height: 0;
  aspect-ratio: 841 / 473;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  overflow: hidden;
  background: #090909;
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.28);
}

body.photos-archive-template-document .photos-archive-hero picture,
body.photos-archive-template-document .photos-archive-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.photos-archive-template-document .photos-archive-hero img {
  object-fit: cover;
  object-position: center;
}

body.photos-archive-template-document .photos-archive-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.72) 0%, rgba(3, 3, 3, 0.42) 39%, rgba(0, 0, 0, 0.03) 68%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 44%, rgba(0, 0, 0, 0.64) 100%);
}

body.photos-archive-template-document .photos-archive-hero__copy {
  left: 34px;
  right: auto;
  bottom: 40px;
  max-width: min(560px, 58%);
  padding: 0;
}

body.photos-archive-template-document .photos-archive-eyebrow {
  margin: 0;
  color: var(--serena-photo-gold-light);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.photos-archive-template-document .photos-archive-eyebrow svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: -4px;
}

body.photos-archive-template-document .photos-archive-hero h1 {
  margin: 15px 0 11px;
  color: #fbf7f0;
  font-family: var(--serena-photo-serif);
  font-size: clamp(50px, 4.8vw, 76px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

body.photos-archive-template-document .photos-archive-gold-stroke {
  display: block;
  width: 58px;
  height: 3px;
  margin: 0 0 17px;
  background: var(--serena-photo-gold-light);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(220, 169, 79, 0.18);
}

body.photos-archive-template-document .photos-archive-hero p:not(.photos-archive-eyebrow) {
  margin: 0;
  color: #c6c3c0;
  font-size: 18px;
  line-height: 1.45;
}

body.photos-archive-template-document .photos-archive-hero__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

body.photos-archive-template-document .photos-archive-hero__meta span {
  padding: 8px 12px;
  border: 1px solid rgba(220, 169, 79, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: #edd2a0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.photos-archive-template-document .photos-archive-hero__actions {
  display: none;
}

body.photos-archive-template-document .photos-archive-section {
  margin-top: 32px;
}

body.photos-archive-template-document .photos-archive-featured-preview {
  margin-top: 28px;
}

body.photos-archive-template-document .photos-archive-featured-preview .photos-archive-section__head {
  display: block;
  margin-bottom: 12px;
}

body.photos-archive-template-document .photos-archive-featured-preview .photos-archive-section__head h2 {
  display: none;
}

body.photos-archive-template-document .photos-archive-preview-grid--album {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

body.photos-archive-template-document .photos-archive-preview-card {
  position: relative;
  display: block;
  aspect-ratio: 0.925;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(218, 176, 105, 0.28);
  border-radius: 13px;
  overflow: hidden;
  background: #111;
  color: #fff4da;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

body.photos-archive-template-document .photos-archive-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.92);
  transform: none;
}

body.photos-archive-template-document .photos-archive-preview-card:hover,
body.photos-archive-template-document .photos-archive-preview-card:focus-visible {
  border-color: rgba(239, 200, 125, 0.72);
  transform: translateY(-2px);
  outline: none;
}

body.photos-archive-template-document .photos-archive-preview-card span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.06);
  color: #fff5dc;
}

body.photos-archive-template-document .photos-archive-preview-card span svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.75));
}

body.photos-archive-template-document .photos-archive-preview-card:not(.is-locked) span {
  inset: auto 12px 12px auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(242, 202, 122, 0.75);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
}

body.photos-archive-template-document .photos-archive-preview-card:not(.is-locked) img {
  filter: brightness(0.96) saturate(1);
}

body.photos-archive-template-document .photos-archive-preview-card:not(.is-locked) span svg {
  width: 26px;
  height: 26px;
}

body.photos-archive-template-document .photos-archive-mobile-actions {
  display: none;
}

body.photos-archive-template-document .photos-archive-album-note {
  display: none;
}

body.photos-archive-template-document .photos-archive-included {
  margin-top: 34px;
  padding: 21px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.photos-archive-template-document .photos-archive-included h2 {
  margin: 12px 0 0;
  color: #f7f2ec;
  font-family: var(--serena-photo-serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
}

body.photos-archive-template-document .photos-archive-included__list {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.photos-archive-template-document .photos-archive-included__list article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 26px;
  align-items: center;
  gap: 13px;
  min-height: 66px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #f3eee8;
}

body.photos-archive-template-document .photos-archive-included__list svg {
  color: var(--serena-photo-gold);
}

body.photos-archive-template-document .photos-archive-included__list strong {
  font-size: 17px;
}

body.photos-archive-template-document .photos-archive-included__list span {
  color: var(--serena-photo-muted);
  font-size: 15px;
  text-align: right;
}

body.photos-archive-template-document .photos-archive-included__row.is-disabled {
  opacity: 0.68;
}

body.photos-archive-template-document .photos-archive-app-shell[data-photo-archive-state="index"] .photos-archive-section:not(.photos-archive-featured-preview) {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

body.photos-archive-template-document .photos-archive-app-shell[data-photo-archive-state="index"] .photos-archive-section:not(.photos-archive-featured-preview) .photos-archive-section__head {
  display: block;
  margin-bottom: 20px;
}

body.photos-archive-template-document .photos-archive-app-shell[data-photo-archive-state="index"] .photos-archive-section:not(.photos-archive-featured-preview) .photos-archive-section__head h2 {
  margin: 10px 0 0;
  color: #f6f1ea;
  font-family: var(--serena-photo-serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
}

body.photos-archive-template-document .photos-archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.photos-archive-template-document .photos-archive-filters button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(220, 169, 79, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #d7d0c8;
  font-weight: 700;
}

body.photos-archive-template-document .photos-archive-filters button.is-active {
  border-color: var(--serena-photo-gold-light);
  background: rgba(220, 169, 79, 0.12);
  color: var(--serena-photo-gold-light);
}

body.photos-archive-template-document .photos-archive-drop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.photos-archive-template-document .photos-archive-drop-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--serena-photo-panel);
}

body.photos-archive-template-document .photos-archive-drop-card a {
  display: grid;
  grid-template-columns: minmax(170px, 42%) minmax(0, 1fr);
  min-height: 190px;
  color: inherit;
  text-decoration: none;
}

body.photos-archive-template-document .photos-archive-drop-card figure {
  position: relative;
  min-height: 190px;
  margin: 0;
}

body.photos-archive-template-document .photos-archive-drop-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.photos-archive-template-document .photos-archive-drop-card figure span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(242, 202, 122, 0.42);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--serena-photo-gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.photos-archive-template-document .photos-archive-drop-card div {
  padding: 20px;
}

body.photos-archive-template-document .photos-archive-drop-card h3 {
  margin: 0;
  color: #f4eee6;
  font-family: var(--serena-photo-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

body.photos-archive-template-document .photos-archive-drop-card p {
  margin: 12px 0;
  color: var(--serena-photo-soft);
  line-height: 1.45;
}

body.photos-archive-template-document .photos-archive-drop-card small {
  color: var(--serena-photo-gold-light);
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.photos-archive-template-document .photos-archive-panel {
  position: sticky;
  top: 42px;
  align-self: start;
  min-height: calc(100svh - 84px);
  margin: 0;
  padding: 42px 30px 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 34%, rgba(89, 33, 10, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(16, 18, 19, 0.98), rgba(12, 14, 15, 0.96));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
}

body.photos-archive-template-document .photos-archive-panel h2 {
  margin: 28px 0 0;
  color: #fbf7ef;
  font-family: var(--serena-photo-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

body.photos-archive-template-document .photos-archive-panel > p:not(.photos-archive-eyebrow) {
  margin: 24px 0 0;
  color: #b7b4b1;
  font-size: 16px;
  line-height: 1.55;
}

body.photos-archive-template-document .photos-archive-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
}

body.photos-archive-template-document .photos-archive-panel__stats span {
  display: grid;
  gap: 4px;
  min-height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

body.photos-archive-template-document .photos-archive-panel__stats strong {
  color: var(--serena-photo-gold-light);
  font-family: var(--serena-photo-serif);
  font-size: 25px;
  font-weight: 400;
}

body.photos-archive-template-document .photos-archive-panel__stats small {
  color: #8f8b86;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.photos-archive-template-document .photos-archive-panel .photos-archive-primary,
body.photos-archive-template-document .photos-archive-panel .photos-archive-secondary {
  width: 100%;
  min-height: 82px;
  margin-top: 16px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

body.photos-archive-template-document .photos-archive-panel .photos-archive-primary {
  margin-top: 48px;
  background: linear-gradient(100deg, #e2b861 0%, #efcb83 46%, #dca64c 100%);
  color: #140d06;
  box-shadow: 0 13px 30px rgba(74, 43, 5, 0.24), inset 0 1px rgba(255, 255, 255, 0.35);
}

body.photos-archive-template-document .photos-archive-purchase-option {
  justify-content: space-between;
  gap: 16px;
  border-color: rgba(220, 169, 79, 0.78);
  background: rgba(0, 0, 0, 0.08);
  color: #f3e9d8;
}

body.photos-archive-template-document .photos-archive-purchase-option span {
  color: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
}

body.photos-archive-template-document .photos-archive-purchase-option strong {
  color: var(--serena-photo-gold-light);
  font-size: 16px;
  letter-spacing: 0;
  white-space: nowrap;
}

body.photos-archive-template-document .photos-archive-secondary.is-disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

body.photos-archive-template-document .photos-archive-trust-list {
  display: grid;
  gap: 26px;
  margin-top: 52px;
}

body.photos-archive-template-document .photos-archive-trust-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

body.photos-archive-template-document .photos-archive-trust-list svg {
  width: 34px;
  height: 34px;
  color: var(--serena-photo-gold);
}

body.photos-archive-template-document .photos-archive-trust-list strong {
  display: block;
  color: #f2eee8;
  font-size: 15px;
  font-weight: 700;
}

body.photos-archive-template-document .photos-archive-trust-list span {
  display: block;
  margin-top: 6px;
  color: var(--serena-photo-muted);
  font-size: 13px;
  line-height: 1.45;
}

body.photos-archive-template-document .photos-archive-modal,
body.photos-archive-template-document .photos-archive-lightbox {
  border-color: rgba(220, 169, 79, 0.48);
  background: transparent;
}

body.photos-archive-template-document .photos-archive-modal__card,
body.photos-archive-template-document .photos-archive-lightbox__card {
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 14%, rgba(100, 14, 24, 0.28), transparent 28%),
    linear-gradient(160deg, #151718, #090a0b 64%);
}

body.photos-archive-template-document .photos-archive-toast {
  border-color: rgba(220, 169, 79, 0.45);
  background: rgba(15, 17, 18, 0.96);
  color: #e8dfd0;
}

@media (max-width: 1320px) {
  body.photos-archive-template-document .photos-archive-app-shell {
    grid-template-columns: 170px minmax(0, 1fr) 330px;
    gap: 20px;
    padding-inline: 24px;
  }

  body.photos-archive-template-document .photos-archive-panel {
    padding-inline: 24px;
  }

  body.photos-archive-template-document .photos-archive-panel h2 {
    font-size: 36px;
  }
}

@media (max-width: 1020px) and (min-width: 800px) {
  body.photos-archive-template-document .photos-archive-app-shell {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  body.photos-archive-template-document .photos-archive-panel {
    display: none;
  }

  body.photos-archive-template-document .photos-archive-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
  }
}

@media (max-width: 799px) {
  body.photos-archive-template-document {
    background: #080a0a;
  }

  body.photos-archive-template-document .photos-archive-app-shell {
    display: block;
    width: 100%;
    min-height: 100svh;
    padding: 0 0 calc(var(--creator-app-nav-height) + 22px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 85% 8%, rgba(123, 27, 22, 0.09), transparent 30%),
      linear-gradient(180deg, rgba(9, 11, 12, 0.99), rgba(8, 9, 10, 0.99));
  }

  body.photos-archive-template-document .desktop-sidebar,
  body.photos-archive-template-document .photos-archive-panel {
    display: none;
  }

  body.photos-archive-template-document .photos-archive-mobile-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 58px;
    align-items: center;
    gap: 10px;
    min-height: 126px;
    padding: 22px max(18px, env(safe-area-inset-right)) 16px max(18px, env(safe-area-inset-left));
    background: linear-gradient(180deg, rgba(9, 11, 12, 0.99), rgba(9, 11, 12, 0.9));
  }

  body.photos-archive-template-document .photos-archive-mobile-profile {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
    color: inherit;
    text-decoration: none;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile .brand-mark {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border-color: rgba(242, 202, 122, 0.9);
  }

  body.photos-archive-template-document .photos-archive-mobile-profile .brand-mark span:first-child {
    left: 16px;
    top: 11px;
    font-size: 30px;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile .brand-mark span:last-child {
    left: 28px;
    top: 17px;
    font-size: 25px;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile .profile-copy {
    min-width: 0;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile strong {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 7px;
    color: #f7f1e7;
    font-family: var(--serena-photo-serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile em {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--serena-photo-gold-light);
    color: #171007;
    font-family: var(--serena-photo-sans);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile .profile-copy > span:last-child {
    display: block;
    margin-top: 4px;
    color: var(--serena-photo-gold-light);
    font-size: 15px;
  }

  body.photos-archive-template-document .photos-archive-mobile-section-title {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    border-bottom: 3px solid var(--serena-photo-gold-light);
    color: var(--serena-photo-gold-light);
    font-size: 20px;
    font-weight: 800;
  }

  body.photos-archive-template-document .photos-archive-icon-button {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border: 1px solid rgba(220, 169, 79, 0.32);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.025);
    color: var(--serena-photo-gold-light);
  }

  body.photos-archive-template-document .photos-archive-icon-button svg {
    width: 27px;
    height: 27px;
  }

  body.photos-archive-template-document .photos-archive-container {
    padding: 0 22px;
  }

  body.photos-archive-template-document .photos-archive-hero {
    aspect-ratio: 787 / 580;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 17px 48px rgba(0, 0, 0, 0.44);
  }

  body.photos-archive-template-document .photos-archive-hero img {
    object-position: 64% center;
  }

  body.photos-archive-template-document .photos-archive-hero__shade {
    background:
      linear-gradient(90deg, rgba(4, 4, 4, 0.48) 0%, rgba(3, 3, 3, 0.18) 48%, rgba(0, 0, 0, 0.03) 72%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.02) 42%, rgba(0, 0, 0, 0.82) 100%);
  }

  body.photos-archive-template-document .photos-archive-hero__copy {
    left: 34px;
    right: 26px;
    bottom: 28px;
    max-width: 72%;
  }

  body.photos-archive-template-document .photos-archive-eyebrow {
    font-size: 18px;
  }

  body.photos-archive-template-document .photos-archive-hero h1 {
    margin: 14px 0 13px;
    font-size: clamp(48px, 11vw, 72px);
    line-height: 0.96;
  }

  body.photos-archive-template-document .photos-archive-hero p:not(.photos-archive-eyebrow) {
    max-width: 520px;
    font-size: 20px;
  }

  body.photos-archive-template-document .photos-archive-hero__meta {
    margin-top: 18px;
  }

  body.photos-archive-template-document .photos-archive-hero__meta span:not(:first-child) {
    display: none;
  }

  body.photos-archive-template-document .photos-archive-featured-preview {
    margin-top: 38px;
  }

  body.photos-archive-template-document .photos-archive-featured-preview .photos-archive-section__head,
  body.photos-archive-template-document .photos-archive-app-shell[data-photo-archive-state="album"] .photos-archive-section__head {
    padding-inline: 22px;
  }

  body.photos-archive-template-document .photos-archive-preview-grid--album {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  body.photos-archive-template-document .photos-archive-preview-card {
    border-radius: 16px;
  }

  body.photos-archive-template-document .photos-archive-preview-card:nth-child(n+5) {
    display: none;
  }

  body.photos-archive-template-document .photos-archive-preview-card span svg {
    width: 38px;
    height: 38px;
  }

  body.photos-archive-template-document .photos-archive-mobile-actions {
    display: grid;
    gap: 14px;
    margin: 28px 14px 34px;
  }

  body.photos-archive-template-document .photos-archive-mobile-actions--index {
    margin-bottom: 24px;
  }

  body.photos-archive-template-document .photos-archive-mobile-actions--index + .photos-archive-featured-preview {
    margin-top: 0;
  }

  body.photos-archive-template-document .photos-archive-mobile-actions .photos-archive-primary,
  body.photos-archive-template-document .photos-archive-mobile-actions .photos-archive-secondary {
    width: 100%;
    min-height: 78px;
    border-radius: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 850;
  }

  body.photos-archive-template-document .photos-archive-mobile-actions .photos-archive-secondary {
    justify-content: space-between;
    padding-inline: 24px;
  }

  body.photos-archive-template-document .photos-archive-album-note {
    display: block;
    margin: 30px 18px 26px;
    color: #bbb6b0;
    font-size: 19px;
    line-height: 1.55;
  }

  body.photos-archive-template-document .photos-archive-included {
    margin: 0 20px;
    padding-top: 0;
    border-top: 0;
  }

  body.photos-archive-template-document .photos-archive-included h2 {
    font-size: clamp(40px, 10vw, 62px);
  }

  body.photos-archive-template-document .photos-archive-included__list article {
    grid-template-columns: 38px minmax(0, 1fr) auto 24px;
    min-height: 74px;
  }

  body.photos-archive-template-document .photos-archive-included__list strong {
    font-size: 18px;
  }

  body.photos-archive-template-document .photos-archive-included__list span {
    font-size: 16px;
  }

  body.photos-archive-template-document .photos-archive-app-shell[data-photo-archive-state="index"] .photos-archive-section:not(.photos-archive-featured-preview) {
    margin-top: 38px;
    padding-top: 28px;
  }

  body.photos-archive-template-document .photos-archive-app-shell[data-photo-archive-state="index"] .photos-archive-section:not(.photos-archive-featured-preview) .photos-archive-section__head h2 {
    font-size: clamp(40px, 10vw, 58px);
  }

  body.photos-archive-template-document .photos-archive-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  body.photos-archive-template-document .photos-archive-filters button {
    min-width: 0;
    min-height: 42px;
    padding-inline: 8px;
    font-size: 13px;
  }

  body.photos-archive-template-document .photos-archive-drop-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.photos-archive-template-document .photos-archive-drop-card a {
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 152px;
  }

  body.photos-archive-template-document .photos-archive-drop-card figure {
    min-height: 152px;
  }

  body.photos-archive-template-document .photos-archive-drop-card div {
    padding: 16px;
  }

  body.photos-archive-template-document .photos-archive-drop-card h3 {
    font-size: 25px;
  }

}

@media (max-width: 480px) {
  body.photos-archive-template-document .photos-archive-mobile-header {
    grid-template-columns: minmax(0, 1fr) auto 50px;
    min-height: 116px;
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 13px;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile {
    gap: 9px;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile .brand-mark {
    width: 50px;
    height: 50px;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile .brand-mark span:first-child {
    left: 13px;
    top: 9px;
    font-size: 26px;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile .brand-mark span:last-child {
    left: 24px;
    top: 14px;
    font-size: 22px;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile strong {
    font-size: 19px;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile .profile-copy > span:last-child {
    font-size: 13px;
  }

  body.photos-archive-template-document .photos-archive-mobile-profile em {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  body.photos-archive-template-document .photos-archive-mobile-section-title {
    min-width: 54px;
    font-size: 18px;
  }

  body.photos-archive-template-document .photos-archive-icon-button {
    width: 48px;
    height: 48px;
    min-height: 48px;
  }

  body.photos-archive-template-document .photos-archive-container {
    padding-inline: 14px;
  }

  body.photos-archive-template-document .photos-archive-hero__copy {
    left: 24px;
    right: 18px;
    bottom: 22px;
    max-width: 78%;
  }

  body.photos-archive-template-document .photos-archive-eyebrow {
    font-size: 14px;
  }

  body.photos-archive-template-document .photos-archive-hero h1 {
    font-size: clamp(38px, 11.5vw, 54px);
  }

  body.photos-archive-template-document .photos-archive-hero p:not(.photos-archive-eyebrow) {
    font-size: 16px;
  }

  body.photos-archive-template-document .photos-archive-preview-grid--album {
    gap: 9px;
  }

  body.photos-archive-template-document .photos-archive-featured-preview .photos-archive-section__head,
  body.photos-archive-template-document .photos-archive-app-shell[data-photo-archive-state="album"] .photos-archive-section__head {
    padding-inline: 10px;
  }

  body.photos-archive-template-document .photos-archive-mobile-actions,
  body.photos-archive-template-document .photos-archive-album-note {
    margin-inline: 10px;
  }

  body.photos-archive-template-document .photos-archive-included {
    margin-inline: 10px;
  }

  body.photos-archive-template-document .photos-archive-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.photos-archive-template-document .photos-archive-drop-card a {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  body.photos-archive-template-document .photos-archive-drop-card h3 {
    font-size: 22px;
  }
}

body.photos-archive-template-document .photos-archive-album-browser .photos-archive-section__head,
body.photos-archive-template-document .photos-archive-app-shell[data-photo-archive-state="album"] .photos-archive-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

body.photos-archive-template-document .photos-archive-rail-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

body.photos-archive-template-document .photos-archive-rail-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  min-height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(220, 169, 79, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--serena-photo-gold-light);
  cursor: pointer;
}

body.photos-archive-template-document .photos-archive-rail-controls button:hover,
body.photos-archive-template-document .photos-archive-rail-controls button:focus-visible {
  border-color: rgba(243, 205, 127, 0.82);
  background: rgba(220, 169, 79, 0.12);
  outline: none;
}

body.photos-archive-template-document .photos-archive-rail-controls svg {
  width: 22px;
  height: 22px;
}

body.photos-archive-template-document .photos-archive-rail-controls .is-prev svg {
  transform: rotate(180deg);
}

body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-album-rail,
body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-photo-rail {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: max(150px, calc((100% - 56px) / 5));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-album-rail::-webkit-scrollbar,
body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-photo-rail::-webkit-scrollbar {
  display: none;
}

body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-album-rail .photos-archive-preview-card,
body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-photo-rail .photos-archive-preview-card {
  scroll-snap-align: start;
}

body.photos-archive-template-document .photos-archive-album-card .photos-archive-preview-card__icon {
  inset: 11px 11px auto auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 202, 122, 0.56);
  border-radius: 999px;
  background: rgba(4, 4, 4, 0.55);
  color: var(--serena-photo-gold-light);
}

body.photos-archive-template-document .photos-archive-album-card .photos-archive-preview-card__icon svg {
  width: 22px;
  height: 22px;
}

body.photos-archive-template-document .photos-archive-album-card__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 36px 12px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(4, 4, 4, 0.84) 42%, rgba(4, 4, 4, 0.96));
}

body.photos-archive-template-document .photos-archive-album-card__copy strong,
body.photos-archive-template-document .photos-archive-album-card__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.photos-archive-template-document .photos-archive-album-card__copy strong {
  color: #fff7e8;
  font-family: var(--serena-photo-serif);
  font-size: 19px;
  font-weight: 500;
}

body.photos-archive-template-document .photos-archive-album-card__copy small {
  color: #d9c79e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.photos-archive-template-document .photos-archive-photo-rail .photos-archive-preview-card.is-teaser img {
  filter: brightness(0.98) saturate(1.02);
}

body.photos-archive-template-document .photos-archive-photo-rail .photos-archive-preview-card.is-teaser span {
  inset: auto 12px 12px auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(242, 202, 122, 0.75);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
}

body.photos-archive-template-document .photos-archive-photo-rail .photos-archive-preview-card.is-obscured img {
  filter: blur(8px) brightness(0.48) saturate(0.75);
  transform: scale(1.08);
}

body.photos-archive-template-document .photos-archive-photo-rail .photos-archive-preview-card em {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  padding: 7px 10px;
  border: 1px solid rgba(242, 202, 122, 0.48);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--serena-photo-gold-light);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.photos-archive-template-document .photos-archive-preview-card[hidden] {
  display: none !important;
}

@media (max-width: 799px) {
  body.photos-archive-template-document .photos-archive-rail-controls {
    display: none;
  }

  body.photos-archive-template-document .photos-archive-album-browser .photos-archive-section__head,
  body.photos-archive-template-document .photos-archive-app-shell[data-photo-archive-state="album"] .photos-archive-section__head {
    display: block;
  }

  body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-album-rail,
  body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-photo-rail {
    grid-auto-columns: calc((100% - 27px) / 4);
    gap: 9px;
    margin-inline: -2px;
    padding-inline: 2px;
  }

  body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-album-rail .photos-archive-preview-card:nth-child(n+5),
  body.photos-archive-template-document .photos-archive-preview-grid--album.photos-archive-photo-rail .photos-archive-preview-card:nth-child(n+5) {
    display: block;
  }

  body.photos-archive-template-document .photos-archive-album-card__copy {
    min-height: 38px;
    padding: 24px 7px 7px;
  }

  body.photos-archive-template-document .photos-archive-album-card__copy strong {
    font-size: 11px;
  }

  body.photos-archive-template-document .photos-archive-album-card__copy small {
    display: none;
  }

  body.photos-archive-template-document .photos-archive-album-card .photos-archive-preview-card__icon {
    inset: 7px 7px auto auto;
    width: 26px;
    height: 26px;
  }

  body.photos-archive-template-document .photos-archive-album-card .photos-archive-preview-card__icon svg,
  body.photos-archive-template-document .photos-archive-preview-card span svg {
    width: 17px;
    height: 17px;
  }

  body.photos-archive-template-document .photos-archive-photo-rail .photos-archive-preview-card.is-teaser span {
    right: 7px;
    bottom: 7px;
    width: 30px;
    height: 30px;
  }

  body.photos-archive-template-document .photos-archive-photo-rail .photos-archive-preview-card em {
    left: 6px;
    top: 6px;
    padding: 5px 7px;
    font-size: 8px;
  }
}
