/* Mobil Armut tarzı yatay kart önizlemesi — mevcut sekme çubuklarının üstünde */

body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards {
  display: none;
}

@media (max-width: 767px) {
  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards {
    --statione-nav-card-gap: 1rem;
    /* İçerik genişliğinde ~2.5 kart + 2 aralık → üçüncü kart yarım görünür */
    --statione-nav-card-w: calc(
      (
          100vw - var(--statione-market-inline-start, 0.75rem) -
            var(--statione-market-inline-end, 0.75rem) - (2 * var(--statione-nav-card-gap))
        ) / 2.5
    );

    display: flex;
    flex-direction: column;
    gap: 1.85rem;
    width: 100%;
    margin: 0;
    padding: 0.1rem 0 0.75rem;
    box-sizing: border-box;
    border-bottom: none;
    box-shadow: none;
    transition:
      gap 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      margin 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards.is-compact {
    gap: 0.65rem;
    margin: 0 0 0.65rem;
    padding: 0.05rem 0 0.1rem;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__duo {
    display: contents;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__section {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    min-width: 0;
    transition: gap 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__section--welcome {
    /* Selam ↔ kartlar: Sekmeler başlığı ↔ kartlar kadar ferah */
    gap: 0.95rem;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__section {
    gap: 0.35rem;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__section--welcome {
    gap: 0.4rem;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__title {
    margin: 0;
    padding: 0 0.05rem;
    font-family: Metropolis;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #1a1a1f;
    transition:
      font-size 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      opacity 0.28s ease;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__media.has-status-face {
    padding: 0.55rem 0.6rem;
    box-sizing: border-box;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-face {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    width: 100%;
    height: 100%;
    min-width: 0;
    text-align: center;
    color: color-mix(in srgb, #1a1a1f 78%, transparent);
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    margin: 0 0 0.1rem;
    color: color-mix(in srgb, #1a1a1f 72%, transparent);
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-icon
    svg {
    width: 100%;
    height: 100%;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-primary {
    display: block;
    max-width: 100%;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-secondary {
    display: block;
    max-width: 100%;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    opacity: 0.82;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__media.has-status-face {
    padding: 0.28rem 0.32rem;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__status-icon {
    width: 1.15rem;
    height: 1.15rem;
    margin-bottom: 0.05rem;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__status-primary {
    font-size: 0.68rem;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__status-secondary {
    font-size: 0.55rem;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__title {
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0;
    color: color-mix(in srgb, #1a1a1f 72%, transparent);
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__scroller {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--statione-nav-card-gap);
    width: calc(100% + var(--statione-market-inline-end, 0.75rem));
    max-width: none;
    margin: 0;
    margin-right: calc(-1 * var(--statione-market-inline-end, 0.75rem));
    /* Sol: seçim/çerçeve taşması kesilmesin; sağda peep */
    padding: 4px var(--statione-market-inline-end, 0.75rem) 0.25rem 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    transition: gap 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__scroller {
    gap: 0.45rem;
    padding: 2px 2px 0.05rem;
    width: 100%;
    margin-right: 0;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__scroller::-webkit-scrollbar {
    display: none;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__card {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    width: var(--statione-nav-card-w);
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    scroll-snap-align: start;
    transition:
      width 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      gap 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__card {
    width: 4.35rem;
    gap: 0;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: none;
    border: 1px solid color-mix(in srgb, #000000 8%, transparent);
    isolation: isolate;
    transform: translateZ(0);
    transition:
      width 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      height 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      border-radius 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__media {
    width: 4.35rem;
    height: 2.45rem;
    aspect-ratio: auto;
    border-radius: 10px;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media.has-image {
    background: #ececec;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media.is-locked::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__lock {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    pointer-events: none;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__lock svg {
    width: 1.65rem;
    height: 1.65rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__lock
    svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__card.is-locked {
    cursor: default;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__card-slot {
    flex: 0 0 auto;
    display: contents;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__card.is-selected
    .statione-mobile-nav-cards__media {
    /* Dış box-shadow scroller overflow’da sol kenarı kesiyordu */
    border-color: transparent;
    border-width: 1px;
    box-shadow: none;
  }

  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media-letter {
    font-size: 1.65rem;
    font-weight: 650;
    line-height: 1;
    color: color-mix(in srgb, #1a1a1f 55%, transparent);
    user-select: none;
    transition:
      font-size 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      opacity 0.28s ease;
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__media-letter {
    font-size: 1rem;
    opacity: 0.35;
  }

  /* Geniş: etiket fotoğrafın altında */
  body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__label {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    color: #1a1a1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
      font-size 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      padding 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      color 0.28s ease,
      background 0.28s ease,
      text-shadow 0.28s ease,
      max-width 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__label--wrap {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.78rem;
    line-height: 1.25;
    min-height: 2.9em;
  }

  /* Kompakt: etiket fotoğrafın üstünde */
  body.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-width: none;
    padding: 1.05rem 0.28rem 0.28rem;
    font-size: 0.58rem;
    font-weight: 650;
    line-height: 1.15;
    color: #ffffff;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
    border-radius: 0 0 10px 10px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.38) 55%,
      transparent 100%
    );
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {
    body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards,
    body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__section,
    body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__title,
    body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__scroller,
    body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__card,
    body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media,
    body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media-letter,
    body.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__label {
      transition: none;
    }
  }
}


/* FORCE_MOBILE_CHROME: same as max-width 767px */

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards {
    --statione-nav-card-gap: 1rem;
    /* İçerik genişliğinde ~2.5 kart + 2 aralık → üçüncü kart yarım görünür */
    --statione-nav-card-w: calc(
      (
          100vw - var(--statione-market-inline-start, 0.75rem) -
            var(--statione-market-inline-end, 0.75rem) - (2 * var(--statione-nav-card-gap))
        ) / 2.5
    );

    display: flex;
    flex-direction: column;
    gap: 1.85rem;
    width: 100%;
    margin: 0;
    padding: 0.1rem 0 0.75rem;
    box-sizing: border-box;
    border-bottom: none;
    box-shadow: none;
    transition:
      gap 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      margin 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards.is-compact {
    gap: 0.65rem;
    margin: 0 0 0.65rem;
    padding: 0.05rem 0 0.1rem;
  }

  /* Mobil: duo çocukları üst flex gap’e katılsın (sıkışmayı önler) */
  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__duo {
    display: contents;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__section {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    min-width: 0;
    transition: gap 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__section--welcome {
    /* Selam ↔ kartlar: Sekmeler başlığı ↔ kartlar kadar ferah */
    gap: 0.95rem;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__section {
    gap: 0.35rem;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__section--welcome {
    gap: 0.4rem;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__title {
    margin: 0;
    padding: 0 0.05rem;
    font-family: Metropolis;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #1a1a1f;
    transition:
      font-size 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      opacity 0.28s ease;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__media.has-status-face {
    padding: 0.55rem 0.6rem;
    box-sizing: border-box;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-face {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    width: 100%;
    height: 100%;
    min-width: 0;
    text-align: center;
    color: color-mix(in srgb, #1a1a1f 78%, transparent);
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    margin: 0 0 0.1rem;
    color: color-mix(in srgb, #1a1a1f 72%, transparent);
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-icon
    svg {
    width: 100%;
    height: 100%;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-primary {
    display: block;
    max-width: 100%;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__status-secondary {
    display: block;
    max-width: 100%;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    opacity: 0.82;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__media.has-status-face {
    padding: 0.28rem 0.32rem;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__status-icon {
    width: 1.15rem;
    height: 1.15rem;
    margin-bottom: 0.05rem;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__status-primary {
    font-size: 0.68rem;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__status-secondary {
    font-size: 0.55rem;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__title {
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0;
    color: color-mix(in srgb, #1a1a1f 72%, transparent);
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__scroller {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--statione-nav-card-gap);
    width: calc(100% + var(--statione-market-inline-end, 0.75rem));
    max-width: none;
    margin: 0;
    margin-right: calc(-1 * var(--statione-market-inline-end, 0.75rem));
    /* Sol: seçim/çerçeve taşması kesilmesin; sağda peep */
    padding: 4px var(--statione-market-inline-end, 0.75rem) 0.25rem 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    transition: gap 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__scroller {
    gap: 0.45rem;
    padding: 2px 2px 0.05rem;
    width: 100%;
    margin-right: 0;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__scroller::-webkit-scrollbar {
    display: none;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__card {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    width: var(--statione-nav-card-w);
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    scroll-snap-align: start;
    transition:
      width 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      gap 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__card {
    width: 4.35rem;
    gap: 0;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: none;
    border: 1px solid color-mix(in srgb, #000000 8%, transparent);
    isolation: isolate;
    transform: translateZ(0);
    transition:
      width 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      height 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      border-radius 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__media {
    width: 4.35rem;
    height: 2.45rem;
    aspect-ratio: auto;
    border-radius: 10px;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media.has-image {
    background: #ececec;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__media.is-locked::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__lock {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    pointer-events: none;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__lock
    svg {
    width: 1.65rem;
    height: 1.65rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__lock
    svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__card.is-locked {
    cursor: default;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__card-slot {
    flex: 0 0 auto;
    display: contents;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__card.is-selected
    .statione-mobile-nav-cards__media {
    /* Dış box-shadow scroller overflow’da sol kenarı kesiyordu */
    border-color: transparent;
    border-width: 1px;
    box-shadow: none;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media-letter {
    font-size: 1.65rem;
    font-weight: 650;
    line-height: 1;
    color: color-mix(in srgb, #1a1a1f 55%, transparent);
    user-select: none;
    transition:
      font-size 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      opacity 0.28s ease;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__media-letter {
    font-size: 1rem;
    opacity: 0.35;
  }

  /* Geniş: etiket fotoğrafın altında */
  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__label {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    color: #1a1a1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
      font-size 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      padding 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1)),
      color 0.28s ease,
      background 0.28s ease,
      text-shadow 0.28s ease,
      max-width 0.38s var(--statione-ios-ease, cubic-bezier(0.32, 0.72, 0, 1));
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__label--wrap {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.78rem;
    line-height: 1.25;
    min-height: 2.9em;
  }

  /* Kompakt: etiket fotoğrafın üstünde */
  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-width: none;
    padding: 1.05rem 0.28rem 0.28rem;
    font-size: 0.58rem;
    font-weight: 650;
    line-height: 1.15;
    color: #ffffff;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
    border-radius: 0 0 10px 10px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.38) 55%,
      transparent 100%
    );
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {
    body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards,
    body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__section,
    body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__title,
    body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__scroller,
    body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__card,
    body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media,
    body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__media-letter,
    body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__label {
      transition: none;
    }
  }

/* Masaüstü: kart genişliğini mobil tavanında tut (mobil 100vw formülüne dokunma) */
@media (min-width: 768px) {
  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards {
    --statione-nav-card-w: calc(
      (
          26.75rem - var(--statione-market-inline-start, 0.75rem) -
            var(--statione-market-inline-end, 0.75rem) - (2 * var(--statione-nav-card-gap))
        ) / 2.5
    );
  }

  /* Masaüstü: Sekmeler (eski Defterler + Departmanlar yan yana düzeni kaldırıldı) */
  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated .statione-mobile-nav-cards__duo {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    min-width: 0;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards.is-compact
    .statione-mobile-nav-cards__duo {
    gap: 0.65rem;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__duo
    .statione-mobile-nav-cards__section {
    flex: 0 1 auto;
    min-width: 0;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__section--departments {
    order: 1;
  }

  /* Defterler artık Sekmeler kartı; duo yalnızca sekmeler */
  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__duo:not(:has(.statione-mobile-nav-cards__section--defters)) {
    display: block;
    width: 100%;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__section--defters {
    order: 2;
  }

  body.statione-force-mobile-chrome.statione-market-layout.statione-is-authenticated
    .statione-mobile-nav-cards__duo
    .statione-mobile-nav-cards__scroller {
    width: 100%;
    margin-right: 0;
    padding-right: 0.2rem;
  }
}
