@charset "utf-8";

/* =========================================================
   JET Swipe View v3 - smartphone only
   - List / Swipe switch remains fixed and easy to reach
   - Horizontal swipe = next / previous escort
   - Vertical swipe up = profile detail
   - Detail view uses a black JET-style background
   Existing list/SEO markup remains the source of truth.
========================================================= */

.jet-view-switch,
.jet-swipe-feed {
  display: none;
}

@media (max-width: 768px) {
  .jet-view-switch {
    display: flex;
    align-items: center;
    width: 92%;
    margin: 4vw auto 3vw;
    padding: 1vw;
    border: 1px solid rgba(34, 34, 34, 0.14);
    border-radius: 999px;
    background: #f3f3f3;
    box-sizing: border-box;
  }

  .jet-view-switch__button {
    appearance: none;
    -webkit-appearance: none;
    flex: 1 1 50%;
    min-height: 11vw;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #333333;
    font-size: 3.6vw;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    cursor: pointer;
  }

  .jet-view-switch__button[aria-pressed="true"] {
    background: #ffffff;
    box-shadow: 0 1.2vw 3vw rgba(0, 0, 0, 0.12);
    color: #111111;
  }

  .jet-view-switch__button--swipe[aria-pressed="true"],
  .jet-view-switch__button--swipe:active {
    background: #ff315f;
    color: #ffffff;
  }

  body.jet-swipe-feed-open {
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.jet-swipe-feed-open #floatingGirlMovie {
    display: none !important;
  }

  .jet-swipe-feed {
    position: fixed;
    inset: 0;
    z-index: 100500;
    display: none;
    overflow: hidden;
    background: #050505;
    color: #ffffff;
  }

  .jet-swipe-feed.is-open {
    display: block;
  }

  /* Fixed, thumb-friendly List / Swipe control inside Swipe View. */
  .jet-swipe-feed__view-switch {
    position: fixed;
    z-index: 100511;
    top: max(8px, env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    min-height: 46px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(7, 7, 7, 0.66);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-sizing: border-box;
  }

  .jet-swipe-feed__view-button {
    appearance: none;
    -webkit-appearance: none;
    min-width: 0;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(13px, 3.7vw, 16px);
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
  }

  .jet-swipe-feed__view-button[aria-pressed="true"] {
    background: linear-gradient(135deg, #ff315f 0%, #ff5b7f 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 49, 95, 0.28);
  }

  .jet-swipe-feed__counter {
    position: fixed;
    z-index: 100509;
    top: calc(max(8px, env(safe-area-inset-top)) + 56px);
    right: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .jet-swipe-feed__stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #050505;
  }

  .jet-swipe-card {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    transition: transform 0.24s ease, opacity 0.18s ease;
    background: #111111;
    pointer-events: none;
    touch-action: none;
    will-change: transform, opacity;
  }

  .jet-swipe-card.is-active {
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
  }

  .jet-swipe-card.is-under {
    z-index: 2;
    opacity: 1;
    pointer-events: none;
  }

  .jet-swipe-card.is-no-transition {
    transition: none !important;
  }

  .jet-swipe-card__media,
  .jet-swipe-card__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .jet-swipe-card__media {
    overflow: hidden;
    background: #111111;
  }

  .jet-swipe-card__photo {
    display: block;
    object-fit: cover;
    object-position: center 18%;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
  }

  .jet-swipe-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.01) 24%,
      rgba(0, 0, 0, 0.03) 52%,
      rgba(0, 0, 0, 0.52) 72%,
      rgba(0, 0, 0, 0.94) 100%
    );
    pointer-events: none;
  }

  .jet-swipe-card__content {
    position: absolute;
    z-index: 4;
    left: 15px;
    right: 15px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .jet-swipe-card__name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 7px;
  }

  .jet-swipe-card__name {
    margin: 0;
    color: #ffffff;
    font-size: clamp(24px, 7vw, 31px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.02;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  }

  .jet-swipe-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #ff315f;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
  }

  .jet-swipe-card__availability {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 9px;
    color: #ffffff;
    font-size: clamp(12px, 3.3vw, 14px);
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.7);
  }

  .jet-swipe-card__availability::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 4px;
    border-radius: 50%;
    background: #35e67a;
    box-shadow: 0 0 0 3px rgba(53, 230, 122, 0.18);
  }

  .jet-swipe-card__availability.is-full::before {
    background: #b8b8b8;
    box-shadow: 0 0 0 3px rgba(184, 184, 184, 0.16);
  }

  .jet-swipe-card__intro {
    display: -webkit-box;
    overflow: hidden;
    max-width: 95%;
    min-height: 0;
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(14px, 3.8vw, 16px);
    line-height: 1.4;
    letter-spacing: 0.005em;
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.72);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .jet-swipe-card__intro.is-loading {
    opacity: 0.86;
  }

  .jet-swipe-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 0;
    margin: 0 0 11px;
  }

  .jet-swipe-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.24);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .jet-swipe-card__detail-button,
  .jet-swipe-detail__profile-link,
  .jet-swipe-detail__thumb,
  .jet-swipe-detail__back {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
  }

  /* A vertical control matches the upward gesture better than a horizontal CTA. */
  .jet-swipe-card__detail-button {
    position: absolute;
    z-index: 6;
    top: 51%;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 136px;
    min-height: 136px;
    padding: 12px 8px;
    overflow: hidden;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 36px;
    background: linear-gradient(180deg, #ff7a59 0%, #ff4d68 48%, #ff315f 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1.18;
    text-align: center;
    box-shadow: 0 12px 30px rgba(255, 49, 95, 0.34);
    touch-action: manipulation;
  }

  .jet-swipe-card__detail-button::before {
    content: "↑";
    display: block;
    margin: 0 0 8px;
    font-size: 29px;
    font-weight: 900;
    line-height: 1;
    animation: jetDetailArrowVertical 1.05s ease-in-out infinite;
  }

  .jet-swipe-card__detail-button::after {
    content: "";
    position: absolute;
    top: 112%;
    left: -20%;
    right: -20%;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    animation: jetDetailShineVertical 2.35s ease-in-out infinite;
    pointer-events: none;
  }

  .jet-swipe-card__gesture-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 9px 0 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.72);
    pointer-events: none;
  }

  .jet-swipe-card__gesture-hint span {
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .jet-swipe-card__gesture-hint span:first-child {
    text-align: left;
  }

  .jet-swipe-card__gesture-hint span:last-child {
    text-align: right;
  }

  .jet-swipe-feed__gesture-coach {
    position: fixed;
    z-index: 100514;
    top: 42%;
    left: 50%;
    width: min(84vw, 320px);
    padding: 15px 16px 14px;
    transform: translate(-50%, -50%) scale(0.96);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.70);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    pointer-events: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-sizing: border-box;
  }

  .jet-swipe-feed__gesture-coach.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
  }

  .jet-swipe-feed__gesture-coach-arrows {
    margin: 0 0 5px;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0.2em;
    line-height: 1;
    animation: jetBrowseArrows 1.05s ease-in-out infinite;
  }

  .jet-swipe-feed__gesture-coach strong {
    display: block;
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
  }

  .jet-swipe-feed__gesture-coach span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
  }

  .jet-swipe-feed__onboarding {
    position: fixed;
    z-index: 100514;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .jet-swipe-feed__onboarding.is-visible {
    display: flex;
  }

  .jet-swipe-feed__onboarding-box {
    width: min(100%, 360px);
    padding: 24px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    background: rgba(10, 10, 10, 0.88);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
  }

  .jet-swipe-feed__onboarding-title {
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: 900;
  }

  .jet-swipe-feed__onboarding p {
    margin: 10px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
  }

  .jet-swipe-feed__onboarding button {
    width: 100%;
    min-height: 48px;
    margin: 15px 0 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff315f, #ff6b70);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
  }

  /* Detail panel: opens upward, matching the swipe-up gesture. */
  .jet-swipe-detail {
    position: fixed;
    z-index: 100506;
    inset: 0;
    padding-top: calc(max(8px, env(safe-area-inset-top)) + 58px);
    transform: translateY(102%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: none;
    background: #050505;
    color: #ffffff;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .jet-swipe-detail.is-open {
    transform: translateY(var(--jet-detail-pull, 0px));
  }

  .jet-swipe-detail.is-pulling-down {
    transition: none;
  }

  .jet-swipe-detail__hero {
    position: relative;
    width: 100%;
    height: 40vh;
    height: 40dvh;
    min-height: 245px;
    max-height: 430px;
    overflow: hidden;
    background: #111111;
  }

  .jet-swipe-detail__gallery {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .jet-swipe-detail__gallery::-webkit-scrollbar {
    display: none;
  }

  .jet-swipe-detail__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    scroll-snap-align: start;
    background: #111111;
  }

  .jet-swipe-detail__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    user-select: none;
    -webkit-user-drag: none;
  }

  .jet-swipe-detail__photo-counter {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  .jet-swipe-detail__photo-hint {
    position: absolute;
    z-index: 2;
    left: 12px;
    bottom: 12px;
    display: none;
    min-height: 30px;
    padding: 0 11px;
    align-items: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 800;
    pointer-events: none;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  .jet-swipe-detail.has-multiple-photos .jet-swipe-detail__photo-hint {
    display: inline-flex;
  }

  .jet-swipe-detail__back {
    position: fixed;
    z-index: 100510;
    top: calc(max(8px, env(safe-area-inset-top)) + 62px);
    left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(52vw, 172px);
    min-height: 46px;
    margin: 0;
    padding: 0 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.82);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    touch-action: manipulation;
  }

  .jet-swipe-detail__body {
    padding: 11px 12px calc(24px + env(safe-area-inset-bottom));
    background: #050505;
  }

  .jet-swipe-detail__thumbs {
    display: flex;
    gap: 6px;
    margin: 0 -2px 10px;
    padding: 0 2px 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .jet-swipe-detail__thumbs::-webkit-scrollbar {
    display: none;
  }

  .jet-swipe-detail__thumb {
    flex: 0 0 52px;
    width: 52px;
    height: 66px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #191919;
    opacity: 0.7;
  }

  .jet-swipe-detail__thumb.is-active {
    border-color: #ff315f;
    opacity: 1;
  }

  .jet-swipe-detail__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }

  .jet-swipe-detail__name {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: clamp(25px, 6.7vw, 31px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.05;
  }

  .jet-swipe-detail__availability {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 10px;
    color: #42e886;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
  }

  .jet-swipe-detail__availability::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(66, 232, 134, 0.14);
  }

  .jet-swipe-detail__availability.is-full {
    color: #b9b9b9;
  }

  .jet-swipe-detail__stats {
    display: grid;
    grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1.65fr);
    gap: 7px;
    margin: 0 0 10px;
  }

  .jet-swipe-detail__stat {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(228, 196, 146, 0.24);
    border-radius: 12px;
    background: #111111;
  }

  .jet-swipe-detail__stat-label {
    display: block;
    margin: 0 0 4px;
    color: #e4c492;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
  }

  .jet-swipe-detail__stat-value {
    display: block;
    overflow-wrap: anywhere;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.32;
  }

  .jet-swipe-detail__section-title {
    margin: 0 0 8px;
    color: #e4c492;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .jet-swipe-detail__intro {
    margin: 0 0 15px;
    color: #eeeeee;
    font-size: 14px;
    line-height: 1.67;
  }

  .jet-swipe-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px;
  }

  .jet-swipe-detail__tag {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: #151515;
    color: #f0f0f0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }

  .jet-swipe-detail__profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff315f 0%, #ff5f78 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(255, 49, 95, 0.22);
  }

  .jet-swipe-detail__hint {
    margin: 7px 0 18px;
    color: #8e8e8e;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
  }

  @keyframes jetDetailArrowVertical {
    0%, 100% { transform: translateY(3px); }
    50% { transform: translateY(-7px); }
  }

  @keyframes jetDetailShineVertical {
    0%, 38% { top: 112%; opacity: 0; }
    50% { opacity: 1; }
    72%, 100% { top: -42%; opacity: 0; }
  }

  @keyframes jetBrowseArrows {
    0%, 100% { letter-spacing: 0.14em; opacity: 0.78; }
    50% { letter-spacing: 0.42em; opacity: 1; }
  }

  @media (max-height: 620px) {
    .jet-swipe-card__content {
      bottom: max(8px, env(safe-area-inset-bottom));
    }

    .jet-swipe-card__intro {
      margin-bottom: 7px;
      font-size: 13px;
      -webkit-line-clamp: 2;
    }

    .jet-swipe-card__tags {
      margin-bottom: 7px;
    }

    .jet-swipe-card__detail-button {
      top: 48%;
      width: 62px;
      height: 122px;
      min-height: 122px;
      font-size: 10px;
    }

    .jet-swipe-card__gesture-hint {
      margin-top: 6px;
      font-size: 10px;
    }

    .jet-swipe-detail__hero {
      height: 37dvh;
      min-height: 225px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .jet-swipe-card,
  .jet-swipe-detail {
    transition: none;
  }

  .jet-swipe-card__detail-button::before,
  .jet-swipe-card__detail-button::after,
  .jet-swipe-feed__gesture-coach-arrows {
    animation: none;
  }
}
