@media (max-width: 860px), (min-width: 861px) and (max-width: 1180px) and (hover: none), (min-width: 861px) and (max-width: 1180px) and (pointer: coarse) {
  html[data-layout='mobile-tablet'] {
    --mobile-page-width: min(92vw, 800px);
    --mobile-page-half-width: min(46vw, 400px);
    --mobile-image-width: min(92vw, 900px);
    --mobile-counter-rail-width: 1rem;
    --mobile-counter-rail-gap: 0.5rem;
    --mobile-safe-top: env(safe-area-inset-top, 0px);
    --mobile-header-height: calc(var(--nav-height) + var(--mobile-safe-top));
    --mobile-header-gap: calc(var(--mobile-header-height) + 1rem);
    --font-size-big: clamp(1.35rem, 7vw, 2.2rem);
    --editorial-title-size: var(--font-size-big);
  }

  @keyframes mobileNavListIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes mobileNavItemIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  html[data-layout='mobile-tablet'],
  html[data-layout='mobile-tablet'] body {
    min-height: 100%;
    overflow-x: hidden;
    overscroll-behavior-y: auto;
  }

  html[data-layout='mobile-tablet'] .container {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
    background: #fff;
    padding: 0;
  }

  html[data-layout='mobile-tablet'] nav {
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
    transform: none;
    z-index: 900;
    width: 100vw;
    height: var(--mobile-header-height);
    min-height: var(--mobile-header-height);
    padding: var(--mobile-safe-top) 0.9rem 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
    align-items: center;
    background: #fff;
    overflow: visible;
  }

  html[data-layout='mobile-tablet'] nav .navCenter,
  html[data-layout='mobile-tablet'] nav .navRight {
    display: none;
  }

  html[data-layout='mobile-tablet'] nav.navHome {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  html[data-layout='mobile-tablet'] .siteHeader {
    display: none;
  }

  html[data-layout='mobile-tablet'] .notFoundContent {
    min-height: 100svh;
    padding-top: var(--mobile-header-height);
    box-sizing: border-box;
  }

  html[data-layout='mobile-tablet'] .homePage article {
    display: none;
  }

  html[data-layout='mobile-tablet'] nav .navAlbumInfo {
    display: none;
  }

  html[data-layout='mobile-tablet'] nav .navTop,
  html[data-layout='mobile-tablet'] nav .navArtist {
    min-width: 0;
  }

  html[data-layout='mobile-tablet'] nav .navTop {
    display: contents;
  }

  html[data-layout='mobile-tablet'] nav .navIndexLink {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-top: 0;
    font-size: 0.72rem;
    line-height: 1;
  }

  html[data-layout='mobile-tablet'] nav .navIndexLink a {
    display: inline-block;
    transition: transform 180ms ease, font-style 180ms ease;
  }

  html[data-layout='mobile-tablet'] nav .navIndexLink a:focus-visible,
  html[data-layout='mobile-tablet'] nav .navIndexLink a:active {
    transform: translateX(0.35em);
    font-style: italic;
  }

  html[data-layout='mobile-tablet'] nav .navArtist {
    grid-column: 1;
    grid-row: 1;
  }

  html[data-layout='mobile-tablet'] nav .navArtist a {
    display: inline-block;
    max-width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html[data-layout='mobile-tablet'] .navBurger {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.22rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  html[data-layout='mobile-tablet'] nav .navBottom {
    display: none;
  }

  html[data-layout='mobile-tablet'] .navBurger .burgerLine {
    display: block;
    width: 1.25rem;
    height: 1.5px;
    background: currentColor;
    transition: width 180ms ease, transform 180ms ease, opacity 180ms ease;
  }

  html[data-layout='mobile-tablet'] .navBurger .burgerLine:nth-child(2) {
    width: 1rem;
  }

  html[data-layout='mobile-tablet'] nav.menu-open .navBurger .burgerLine:nth-child(2) {
    width: 1.25rem;
  }

  html[data-layout='mobile-tablet'] .navMobileMenu {
    display: none;
    position: absolute;
    top: calc(var(--nav-height) - 0.1rem);
    left: 0.9rem;
    right: 0.9rem;
    z-index: 910;
    box-sizing: border-box;
    max-height: calc(100vh - var(--nav-height) - 1rem);
    overflow: auto;
    padding: 0.7rem 0;
    background: #fff;
    border: 0;
  }

  html[data-layout='mobile-tablet'] nav.menu-open .navMobileMenu {
    display: none;
  }

  html[data-layout='mobile-tablet'] .navMobileGroup,
  html[data-layout='mobile-tablet'] .navMobileSection {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0;
  }

  html[data-layout='mobile-tablet'] .navMobileGroup + .navMobileGroup,
  html[data-layout='mobile-tablet'] .navMobileSection + .navMobileSection,
  html[data-layout='mobile-tablet'] .navMobileSection + .navMobileGroup,
  html[data-layout='mobile-tablet'] .navMobileGroup + .navMobileSection {
    margin-top: 0.65rem;
  }

  html[data-layout='mobile-tablet'] .navMobileSectionToggle {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  html[data-layout='mobile-tablet'] .navMobilePlus {
    transition: transform 220ms ease;
  }

  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobilePlus {
    transform: rotate(45deg);
  }

  html[data-layout='mobile-tablet'] .navMobileSectionList {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding-top: 0.35rem;
    padding-left: 0.85rem;
  }

  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList {
    display: flex;
    animation: mobileNavListIn 180ms ease both;
  }

  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link {
    animation: mobileNavItemIn 190ms ease both;
  }

  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(1) { animation-delay: 0ms; }
  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(2) { animation-delay: 30ms; }
  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(3) { animation-delay: 60ms; }
  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(4) { animation-delay: 90ms; }
  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(5) { animation-delay: 120ms; }
  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(6) { animation-delay: 150ms; }
  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(7) { animation-delay: 180ms; }
  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(8) { animation-delay: 210ms; }
  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(9) { animation-delay: 240ms; }
  html[data-layout='mobile-tablet'] .navMobileSection.is-open .navMobileSectionList .link:nth-child(10) { animation-delay: 270ms; }

  html[data-layout='mobile-tablet'] .navMobileSectionList .link,
  html[data-layout='mobile-tablet'] .navMobileGroup .link {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  html[data-layout='mobile-tablet'] .container .albumTextColumnBg,
  html[data-layout='mobile-tablet'] .albumCounterGridRight,
  html[data-layout='mobile-tablet'] .scrollIndicator,
  html[data-layout='mobile-tablet'] .slideshowCaption {
    display: none !important;
  }

  html[data-layout='mobile-tablet'] article {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: var(--mobile-page-width);
    max-width: var(--mobile-page-width);
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
    margin: var(--mobile-header-gap) auto 1.5rem;
    padding: 0;
    text-align: left;
    background: transparent;
  }

  html[data-layout='mobile-tablet'] .albumPageTitle {
    display: block;
    width: var(--mobile-page-width);
    max-width: var(--mobile-page-width);
    margin: var(--mobile-header-gap) auto 1.5rem;
    font-size: var(--font-size-standard);
    font-weight: 300;
    line-height: 1.2;
  }

  html[data-layout='mobile-tablet'] .albumPageTitle + article {
    margin-top: 0;
  }

  html[data-layout='mobile-tablet'] .container[data-has-images='true'] article {
    margin-top: 0;
    margin-bottom: 1.2rem;
  }

  html[data-layout='mobile-tablet'] .container[data-has-images='true'] .albumPageTitle {
    position: sticky;
    top: var(--mobile-header-height);
    z-index: 880;
    box-sizing: border-box;
    margin-top: var(--mobile-header-gap);
    margin-bottom: 0.85rem;
    padding: 0.45rem 0;
    background: #fff;
  }

  html[data-layout='mobile-tablet'] .siteIndexContainer {
    min-height: 100vh;
    padding: var(--mobile-header-gap) 1rem 0 !important;
  }

  html[data-layout='mobile-tablet'] .siteIndex {
    width: var(--mobile-page-width);
    max-width: 100%;
    margin: 0 auto;
  }

  html[data-layout='mobile-tablet'] .siteIndexHeader h1 {
    margin: 0 0 2.5rem;
    font-size: var(--font-size-standard);
    font-weight: 300;
  }

  html[data-layout='mobile-tablet'] .siteIndexContent {
    display: block;
  }

  html[data-layout='mobile-tablet'] .siteIndexContent h1 {
    margin: 2.5rem 0 0.75rem;
    font-size: var(--font-size-standard);
    font-weight: 300;
    font-style: normal;
  }

  html[data-layout='mobile-tablet'] .siteIndexContent ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  html[data-layout='mobile-tablet'] .siteIndexContent h1:first-child {
    margin-top: 0;
  }

  html[data-layout='mobile-tablet'] .siteIndexContent a {
    display: inline-block;
    font-size: var(--editorial-title-size);
    font-weight: 300;
    line-height: 1.05;
    transform: translateX(0);
    transition: transform 220ms ease, font-style 220ms ease;
  }

  html[data-layout='mobile-tablet'] .siteIndexContent a:focus-visible,
  html[data-layout='mobile-tablet'] .siteIndexContent a:active {
    transform: translateX(0.35em);
    font-style: italic;
  }

  html[data-layout='mobile-tablet'] .articleSectionCounter,
  html[data-layout='mobile-tablet'] .articleSectionImage:empty {
    display: none !important;
  }

  html[data-layout='mobile-tablet'] .aboutProfile {
    grid-template-columns: min(52vw, 220px) minmax(0, 1fr);
    align-items: end;
    gap: 1rem;
  }

  html[data-layout='mobile-tablet'] .aboutProfilePhoto {
    width: min(52vw, 220px);
  }

  html[data-layout='mobile-tablet'] .aboutProfileLink {
    font-size: var(--font-size-small);
  }

  html[data-layout='mobile-tablet'] .collection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 68vh;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 1rem calc(50vh + 3rem);
    overflow: visible;
  }

  html[data-layout='mobile-tablet'] .collection img {
    position: sticky !important;
    top: 50vh !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: var(--mobile-image-width);
    max-height: calc(100vh - var(--nav-height) - 2rem);
    object-fit: contain;
    align-self: center;
    margin: 0 auto;
    transform:
      translate3d(var(--stack-shift-x, 0px), calc(-50% + var(--stack-shift-y, 0px)), 0) !important;
    opacity: 1 !important;
    z-index: auto !important;
  }

  /* The configured editorial modes mirror desktop without changing touch navigation. */
  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] {
    padding: 0;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100vw;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: visible;
    background: #fff;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection > .homeMobileTitleFrame {
    position: sticky;
    top: 0;
    left: 0;
    display: block;
    flex: 0 0 100dvh;
    align-self: stretch;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
    transform: none;
    background: #fff;
    isolation: isolate;
    contain: paint;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection img {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    display: block;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: center center;
    transform: none !important;
    opacity: 1 !important;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection img.is-portrait {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100dvh !important;
    object-fit: cover;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection > .homeMobileTitleFrame > img {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: center center;
    transform: none !important;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection > .homeMobileTitleFrame > img.is-portrait {
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    transform: none !important;
    object-fit: cover;
  }

  html[data-layout='mobile-tablet'] .homePage[data-collection-mode='fullscreen-stack'] .collection img.is-portrait,
  html[data-layout='mobile-tablet'] .homePage[data-collection-mode='fullscreen-stack'] .collection > .homeMobileTitleFrame > img.is-portrait {
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    object-fit: contain;
    object-position: center center;
    background: #fff;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] nav,
  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .homeCounterRail {
    color: #fff;
    background: transparent;
    mix-blend-mode: difference;
  }

  html[data-layout='mobile-tablet'].album-ribbon-page,
  html[data-layout='mobile-tablet'].album-ribbon-page body {
    background: #fff;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='album-ribbon'] .collection {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: var(--mobile-page-width);
    max-width: var(--mobile-page-width);
    min-height: 100svh;
    margin: 0 auto;
    padding: 1rem 0 10svh;
    box-sizing: border-box;
    gap: 0;
    overflow: visible;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='album-ribbon'] .collectionImageItem {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    width: var(--ribbon-width, 92%);
    max-width: 100%;
    margin: 0 0 var(--ribbon-gap-after, 10svh) var(--ribbon-left, 4%);
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='album-ribbon'] .collectionImageItem > img {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: block;
    align-self: stretch;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none;
    margin: 0 !important;
    object-fit: contain;
    transform: none !important;
    opacity: 1 !important;
    transition: none;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='album-ribbon'] .collectionImageItem > .collectionImageCaption {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0.45rem 0 0;
    padding: 0;
    box-sizing: border-box;
  }

  html[data-layout='mobile-tablet'] .homeCounterRail {
    position: fixed;
    top: calc(var(--nav-height) + 0.75rem);
    right: max(
      0.45rem,
      calc(
        50vw - var(--mobile-page-half-width) -
        var(--mobile-counter-rail-width) -
        var(--mobile-counter-rail-gap)
      )
    );
    z-index: 870;
    display: block;
    width: var(--mobile-counter-rail-width);
    max-height: calc(100svh - var(--nav-height) - 1.5rem);
    overflow: hidden;
  }

  html[data-layout='mobile-tablet'] .homeCounterRail .albumCounterGrid {
    display: grid;
    width: var(--mobile-counter-rail-width);
    max-width: var(--mobile-counter-rail-width);
    margin: 0;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  html[data-layout='mobile-tablet'] .homeCounterRail .albumCounterCell,
  html[data-layout='mobile-tablet'] .homeCounterRail .albumCounterCell.is-active {
    color: inherit;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='album-ribbon'] .homeCounterRail {
    color: #fff;
    mix-blend-mode: difference;
  }

  html[data-layout='mobile-tablet'] .homeMobileTitleFrame {
    position: sticky;
    top: 50vh;
    display: block;
    width: fit-content;
    max-width: var(--mobile-image-width);
    align-self: center;
    margin: 0 auto;
    will-change: transform;
    transform:
      translate3d(var(--stack-shift-x, 0px), calc(-50% + var(--stack-shift-y, 0px)), 0);
    transform-origin: center;
  }

  html[data-layout='mobile-tablet'] .collection .homeMobileTitleFrame > img {
    position: relative !important;
    top: auto !important;
    display: block;
    max-height: calc(100vh - var(--nav-height) - 2rem);
    transform: none !important;
  }

  html[data-layout='mobile-tablet'] .homeMobileTitle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    width: max-content;
    max-width: 82%;
    margin: 0;
    padding: 0.22em 0.48em 0.26em;
    transform: translate(-50%, -50%);
    pointer-events: none;
    color: #fff;
    background: rgb(0 0 0 / 48%);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    font-family: var(--site-font-family);
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: none;
    white-space: normal;
  }

  html[data-layout='mobile-tablet'] .collection img:last-child {
    margin-bottom: 0;
  }

  html[data-layout='mobile-tablet'] .stage,
  html[data-layout='mobile-tablet'] .gallery {
    display: none !important;
  }

  html[data-layout='mobile-tablet'] .imageZoomOverlay.is-mobile {
    padding: 0;
  }

  html[data-layout='mobile-tablet'] .imageZoomOverlay.is-mobile .imageZoomFrame {
    position: fixed;
    inset: 1rem;
    width: calc(100vw - 2rem);
    height: calc(100dvh - 2rem);
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
  }

  html[data-layout='mobile-tablet'] .imageZoomOverlay.is-mobile .imageZoomImage {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  html[data-layout='mobile-tablet'] .imageZoomOverlay.is-mobile .imageZoomPanel {
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    right: auto;
    bottom: auto;
    left: 0.5rem;
    width: min(88vw, 34rem);
    max-width: calc(100vw - 1rem);
    transform: none;
    z-index: 5;
  }

  html[data-layout='mobile-tablet'] .imageZoomOverlay.is-mobile .imageZoomPanel.is-collapsed {
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    right: 0.5rem;
    bottom: auto;
    left: auto;
    display: block;
    width: 2.25rem;
    min-width: 2.25rem;
    max-width: 2.25rem;
    min-height: 2.25rem;
    transform: none;
    overflow: visible;
  }

  html[data-layout='mobile-tablet'] .imageZoomOverlay.is-mobile .imageZoomPanel.is-collapsed .imageZoomPanelToggle {
    top: 0;
    right: 0;
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    transform: none;
  }

  html[data-layout='mobile-tablet'] .imageZoomOverlay.is-mobile .imageZoomPreview {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
  }
}

@media (min-width: 861px) and (max-width: 1180px) and (hover: none), (min-width: 861px) and (max-width: 1180px) and (pointer: coarse) {
  html[data-layout='mobile-tablet'] {
    --mobile-page-width: min(84vw, 820px);
    --mobile-page-half-width: min(42vw, 410px);
    --mobile-image-width: min(84vw, 900px);
  }
}

@media (max-width: 1180px) and (pointer: coarse) and (orientation: landscape) {
  html[data-layout='mobile-tablet'] {
    --mobile-page-width: min(86vw, 760px);
    --mobile-page-half-width: min(43vw, 380px);
    --mobile-image-width: min(86vw, calc(100vh - var(--nav-height) - 2rem));
  }

  html[data-layout='mobile-tablet'] .container[data-has-images='true'] article {
    margin-bottom: 1rem;
  }

  html[data-layout='mobile-tablet'] .collection {
    gap: 56vh;
  }
}

@media (max-width: 600px) and (orientation: portrait) {
  html[data-layout='mobile-tablet'] {
    --mobile-portrait-rail-space:
      calc(var(--mobile-counter-rail-width) + var(--mobile-counter-rail-gap) + 0.75rem);
    --mobile-portrait-content-width:
      calc(100vw - 2rem - var(--mobile-portrait-rail-space));
  }

  html[data-layout='mobile-tablet'] .homeCounterRail {
    top: calc(var(--mobile-header-height) + 0.75rem);
    right: 0.45rem;
    max-height: calc(100svh - var(--mobile-header-height) - 1.5rem);
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='album-ribbon'] .collection {
    align-items: center;
    width: var(--mobile-portrait-content-width);
    max-width: var(--mobile-portrait-content-width);
    margin-right: calc(1rem + var(--mobile-portrait-rail-space));
    margin-left: 1rem;
    padding-top: 1.5rem;
  }

  html[data-layout='mobile-tablet'] .container[data-has-images='true'] .albumPageTitle,
  html[data-layout='mobile-tablet'] .container[data-has-images='true'] article {
    width: var(--mobile-portrait-content-width);
    max-width: var(--mobile-portrait-content-width);
    margin-right: calc(1rem + var(--mobile-portrait-rail-space));
    margin-left: 1rem;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='album-ribbon'] .collectionImageItem {
    align-self: center;
    width: var(--ribbon-width, 100%) !important;
    max-width: 100% !important;
    margin-bottom: 8svh !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='album-ribbon'] .collectionImageItem > img {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='album-ribbon'] .collectionImageItem > .collectionImageCaption {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.45rem 0 0 !important;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection {
    width: 100vw;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection > .homeMobileTitleFrame {
    padding: 0;
  }

  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection > .homeMobileTitleFrame > img,
  html[data-layout='mobile-tablet'] .container[data-collection-mode='fullscreen-stack'] .collection > .homeMobileTitleFrame > img.is-portrait {
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center center;
    transform: none !important;
  }

  html[data-layout='mobile-tablet'] .homePage[data-collection-mode='fullscreen-stack'] .collection img.is-portrait,
  html[data-layout='mobile-tablet'] .homePage[data-collection-mode='fullscreen-stack'] .collection > .homeMobileTitleFrame > img.is-portrait {
    object-fit: cover;
    object-position: center center;
  }

  html[data-layout='mobile-tablet'] .homePage[data-collection-mode='fullscreen-stack'] .homeMobileTitle {
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    display: block !important;
    width: max-content !important;
    max-width: min(82%, calc(100vw - 3rem)) !important;
    margin: 0 !important;
    padding: 0.22em 0.48em 0.26em !important;
    transform: translate(-50%, -50%) !important;
    color: #fff !important;
    background: rgb(0 0 0 / 48%) !important;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    mix-blend-mode: normal !important;
  }
}
