﻿/* DJ HaSera mobile discography: presentation copied from the proven EiSi mobile discography. */
@media (max-width: 699px) {
body.service-dj-hasera.is-template-discography {
    min-height: 100dvh;
    overflow-y: auto !important;
    overflow-x: hidden;
    background: #030303;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  html:has(body.service-dj-hasera.is-template-discography),
  body.service-dj-hasera.is-template-discography.is-radio-eisi-menu-active {
    height: auto !important;
    min-height: 100dvh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  body.service-dj-hasera.is-template-discography .site-main,
  body.service-dj-hasera.is-template-discography .template-discography-main {
    min-height: 100dvh;
    margin: 0;
    padding: calc(28px + 15mm) 0 32px;
    overflow-x: hidden;
    background: transparent;
  }

  body.service-dj-hasera.is-template-discography .hma-album-gallery {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  body.service-dj-hasera.is-template-discography .hma-gallery-head {
    display: none;
  }

  body.service-dj-hasera.is-template-discography .hma-gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 5mm;
    align-items: center;
    width: 100%;
    max-width: none;
    overflow: visible;
  }

  body.service-dj-hasera.is-template-discography .hma-album-card {
    --eisi-discography-cover-size: min(calc(90vw - 12.6mm), 351px);
    display: flex;
    flex-direction: column;
    gap: 2mm;
    align-items: center;
    width: 100%;
    min-width: 0;
    color: #fff;
    text-decoration: none;
  }

  body.service-dj-hasera.is-template-discography .hma-album-card::before,
  body.service-dj-hasera.is-template-discography .hma-album-copy::after {
    content: "";
    display: block;
    width: calc(100% - 10mm);
    height: 1px;
    flex: 0 0 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 214, 214, .38) 16%, rgba(214, 214, 214, .68) 50%, rgba(214, 214, 214, .38) 84%, transparent);
    box-shadow: 0 1px 9px rgba(0, 0, 0, .72);
  }

  body.service-dj-hasera.is-template-discography .hma-album-card::before {
    order: 1;
  }

  body.service-dj-hasera.is-template-discography .hma-album-copy {
    order: 2;
    display: flex;
    position: relative;
    flex-direction: row;
    gap: 0;
    align-items: baseline;
    width: 100%;
    box-sizing: border-box;
    padding:
      0
      calc((100% - var(--eisi-discography-cover-size)) / 2)
      calc(2mm + 1px)
      calc((100% - var(--eisi-discography-cover-size)) / 2 + 8mm);
    text-align: left;
  }

  body.service-dj-hasera.is-template-discography .hma-album-copy strong {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    width: auto;
    box-sizing: border-box;
    padding: 0;
    text-align: left;
    overflow: hidden;
    color: rgba(194, 194, 194, .92);
    font: 800 clamp(17px, 4.8vw, 21px)/1.15 "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    letter-spacing: .025em;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
  }

  body.service-dj-hasera.is-template-discography .hma-album-copy > span:not(.eisi-mobile-album-meta) {
    display: none;
  }

  body.service-dj-hasera.is-template-discography .hma-album-copy > .eisi-mobile-album-meta {
    display: flex;
    flex: 1 0 96px;
    align-items: baseline;
    justify-content: space-between;
    min-width: 96px;
    margin-left: clamp(16px, 7vw, 15mm);
    color: rgba(194, 194, 194, .82);
    font: 800 clamp(16px, 4.35vw, 19px)/1.15 "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    letter-spacing: .02em;
    white-space: nowrap;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-count,
  body.service-dj-hasera.is-template-discography .eisi-mobile-album-total-time {
    display: block;
    flex: 0 0 auto;
    overflow: visible;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-overflow: clip;
    white-space: nowrap;
  }

  body.service-dj-hasera.is-template-discography .hma-album-copy::after {
    position: absolute;
    left: 5mm;
    bottom: 0;
    width: calc(100% - 10mm);
  }

  body.service-dj-hasera.is-template-discography .hma-cover {
    order: 3;
    display: block;
    width: var(--eisi-discography-cover-size);
    max-width: var(--eisi-discography-cover-size);
    aspect-ratio: 1;
    border-radius: 2px;
  }

  body.service-dj-hasera.is-template-discography .hma-cover img,
  body.service-dj-hasera.is-template-discography .hma-cover-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.service-dj-hasera.is-template-discography .hma-play-mark,
  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-card button,
  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-card audio {
    display: none !important;
  }

  body.service-dj-hasera.is-template-discography .hma-album-card[hidden] {
    display: none !important;
  }

  body.service-dj-hasera.is-template-discography.is-eisi-index-track-entry .hma-album-card:not(.is-eisi-index-entry-card),
  body.service-dj-hasera.is-template-discography.is-eisi-index-track-entry .eisi-mobile-discography-pagination {
    display: none !important;
  }

  body.service-dj-hasera.is-template-discography.is-eisi-index-track-entry .hma-gallery-grid {
    gap: 0;
  }

  body.service-dj-hasera.is-template-discography .hma-album-card {
    transition:
      transform .42s ease,
      filter .42s ease,
      opacity .34s ease;
  }

  body.service-dj-hasera.is-template-discography .hma-album-card.is-eisi-album-loading {
    filter: brightness(.72);
  }

  body.service-dj-hasera.is-template-discography .hma-album-card.is-eisi-album-open {
    transform: translateY(-1mm);
  }

  body.service-dj-hasera.is-template-discography .hma-album-card.is-eisi-player-transforming {
    opacity: 0;
    transform: translateY(-10px) scale(.985);
  }

  body.service-dj-hasera.is-template-discography .hma-album-card.is-eisi-player-active {
    display: none;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-expansion {
    box-sizing: border-box;
    width: 100%;
    height: 0;
    margin: -1mm 0 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      height .56s cubic-bezier(.22, .72, .22, 1),
      opacity .38s ease,
      transform .56s cubic-bezier(.22, .72, .22, 1);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-expansion.is-open {
    opacity: 1;
    transform: translateY(0);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-rail {
    --eisi-track-gap: 12px;
    --eisi-track-side: 12px;
    display: flex;
    gap: var(--eisi-track-gap);
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 4mm var(--eisi-track-side) 5mm;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-rail::-webkit-scrollbar {
    display: none;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-card {
    display: block;
    flex: 0 0 calc((100vw - (2 * var(--eisi-track-side)) - (2 * var(--eisi-track-gap))) / 3);
    width: calc((100vw - (2 * var(--eisi-track-side)) - (2 * var(--eisi-track-gap))) / 3);
    max-width: 118px;
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(214, 214, 214, .26);
    border-radius: 2px;
    background: rgba(6, 6, 6, .72);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .46);
    opacity: 0;
    transform: translateX(26px) scale(.96);
    scroll-snap-align: start;
    transition:
      opacity .46s ease calc(var(--eisi-track-index) * 65ms),
      transform .58s cubic-bezier(.22, .72, .22, 1) calc(var(--eisi-track-index) * 65ms);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-item {
    position: relative;
    flex: 0 0 calc((100vw - (2 * var(--eisi-track-side)) - (2 * var(--eisi-track-gap))) / 3);
    width: calc((100vw - (2 * var(--eisi-track-side)) - (2 * var(--eisi-track-gap))) / 3);
    max-width: 118px;
    aspect-ratio: 1;
    scroll-snap-align: start;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-item > .eisi-mobile-album-track-card {
    width: 100%;
    max-width: none;
    height: 100%;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-favorite {
    position: absolute;
    z-index: 4;
    right: 5px;
    bottom: 5px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 6px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .62);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .8));
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-favorite svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-favorite[aria-pressed="true"] {
    color: #e21b2d;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-card.is-active {
    border-color: rgba(229, 197, 108, .92);
    box-shadow: 0 0 0 2px rgba(229, 197, 108, .18), 0 0 22px rgba(229, 197, 108, .32);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-expansion.is-open .eisi-mobile-album-track-card {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    margin: -1mm 0 0;
    overflow: hidden;
    opacity: 0;
    background-color: #030303;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(10px);
    transition:
      height .54s cubic-bezier(.22, .72, .22, 1),
      opacity .42s ease,
      transform .54s cubic-bezier(.22, .72, .22, 1),
      background-image .32s ease;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player.is-visible {
    height: min(128vw, 500px);
    opacity: 1;
    transform: translateY(0);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player-mount {
    position: relative;
    width: 100%;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player-mount > .hstw-track-sound-wave {
    --hstw-cover-size: min(calc(81vw - 11.34mm), 316px);
    --hstw-wave-width: var(--hstw-cover-size);
    --hstw-wave-height: min(24vw, 98px);
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 3mm 12px 64px;
    background: transparent;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player .hstw-backdrop {
    filter: blur(24px) saturate(1.22) brightness(.76);
    opacity: .86;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player .hstw-backdrop::after {
    background:
      radial-gradient(ellipse at center, rgba(0, 0, 0, .04), rgba(0, 0, 0, .34) 64%, rgba(0, 0, 0, .72) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .08) 42%, rgba(0, 0, 0, .62));
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player .hstw-variant-non-stop .hstw-shell {
    transform: none;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player .hstw-cover {
    width: var(--hstw-cover-size);
    max-height: min(45dvh, 390px);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player .hstw-play-mark {
    display: block !important;
    width: clamp(58px, 17vw, 76px);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player .hstw-meta {
    margin-top: 12px;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player .hstw-meta strong {
    font-size: clamp(19px, 5.5vw, 25px);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player .hstw-meta span {
    font-size: clamp(10px, 2.7vw, 12px);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-player .hstw-wave-button {
    margin-top: -2px;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-tools {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    width: min(calc(81vw - 11.34mm), 316px);
    height: 58px;
    border-top: 1px solid rgba(216, 190, 98, .46);
    background: rgba(7, 7, 7, .28);
    transform: translateX(-50%);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-tools button {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 58px;
    padding: 3px 8px;
    border: 0;
    border-right: 1px solid rgba(216, 190, 98, .22);
    border-radius: 0;
    color: rgba(255, 255, 255, .72);
    background: transparent;
    font: 900 11px/1 Arial, sans-serif;
    letter-spacing: .035em;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-tools button:last-child {
    border-right: 0;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-tools button > span {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-tools button.is-active {
    color: #26e866;
    background: rgba(29, 196, 85, .025);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-tools svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-empty {
    flex: 0 0 calc(100% - 24px);
    margin: 0;
    padding: 6mm 0;
    color: rgba(194, 194, 194, .78);
    font: 700 15px/1.35 "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    text-align: center;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-pagination {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: center;
    width: calc(100% - 10mm);
    max-width: 390px;
    margin: 6mm auto 3mm;
    padding: 3mm 0;
    border-top: 1px solid rgba(214, 214, 214, .48);
    border-bottom: 1px solid rgba(214, 214, 214, .28);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-page-numbers {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-page-arrow,
  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-page-number {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(214, 214, 214, .34);
    border-radius: 50%;
    background: rgba(12, 12, 12, .78);
    color: rgba(216, 216, 216, .92);
    font: 800 16px/1 "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    cursor: pointer;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-page-arrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-page-arrow.is-previous::before {
    transform: rotate(-135deg) translate(-1px, 1px);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-page-arrow.is-next::before {
    transform: rotate(45deg) translate(-1px, 1px);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-page-number.is-current {
    border-color: rgba(224, 193, 99, .84);
    background: rgba(224, 193, 99, .18);
    color: #e0c163;
    box-shadow: 0 0 14px rgba(224, 193, 99, .16);
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-page-arrow:disabled {
    opacity: .26;
    cursor: default;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-discography-page-ellipsis {
    display: inline-grid;
    place-items: center;
    min-width: 14px;
    color: rgba(194, 194, 194, .68);
    font: 800 16px/1 Arial, sans-serif;
  }

  body.service-dj-hasera.is-template-discography .radio-mobile-menu-navigation {
    top: calc(20px + 51.16px);
    bottom: auto;
  }
}

@media (max-width: 699px) {
  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-card {
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.service-dj-hasera.is-template-discography .eisi-mobile-album-track-card.is-active {
    border: 0 !important;
    outline: 3px solid #d8d8d8;
    outline-offset: -3px;
    background: transparent !important;
    box-shadow: none !important;
  }
}
