/**
 * PVIP Feed - TikTok-style vertical feed
 * Apple-inspired clean design: generous whitespace, subtle glass morphism,
 * SF Pro typography, restrained color palette
 * Mobile-first responsive
 */

/* ===== App-like behavior: block browser zoom, select, callouts ===== */
.pvip-feed-page {
    touch-action: pan-y;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
}

.pvip-feed-page * {
    -webkit-touch-callout: none;
}

/* ===== Splash Screen ===== */
.pvip-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    z-index: 999999;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0ms 600ms;
    /* Prevent parent overflow:hidden from clipping */
    overflow: visible;
}

.pvip-splash.fade-out {
    opacity: 0;
    visibility: hidden;
}

.pvip-splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    /* Ensure content is truly centered on mobile */
    margin: auto;
    padding: 32px 16px;
}

.pvip-splash-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    animation: pvip-splash-breathe 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 24px rgba(220, 72, 129, 0.3));
}

@keyframes pvip-splash-breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.04); opacity: 0.9; }
}

/* Splash quote */
.pvip-splash-quote {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    letter-spacing: 0.01em;
    text-align: center;
    margin: 0;
    padding: 0 32px;
    max-width: 280px;
    line-height: 1.5;
    animation: pvip-splash-quote-in 800ms ease-out 300ms both;
}

@keyframes pvip-splash-quote-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar loader */
.pvip-splash-loader {
    width: 120px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.pvip-splash-bar {
    width: 40%;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #dc4881, #e91e63, #9c27b0);
    animation: pvip-splash-slide 1.2s ease-in-out infinite;
}

@keyframes pvip-splash-slide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ===== Reset for immersive feed ===== */
.pvip-feed-page {
    margin: 0;
    padding: 0;
    background: var(--pvip-bg-dark);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--pvip-text);
    letter-spacing: -0.01em;
}

.pvip-feed-page * {
    box-sizing: border-box;
}

/* ===== Feed Container ===== */
#pvip-feed-container {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
}

/* Hide scrollbar */
#pvip-feed-container::-webkit-scrollbar {
    display: none;
}
#pvip-feed-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== Feed Card (100vh) — stacked, no vertical scroll ===== */
.pvip-feed-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--pvip-bg-card);
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}

.pvip-feed-card.dragging {
    transition: none !important;
}

.pvip-feed-card.swiping-out {
    transition: transform var(--pvip-base), opacity var(--pvip-base);
    pointer-events: none;
}

.pvip-feed-card.swiping-out.swipe-left {
    transform: translateX(-120vw) rotate(-20deg);
    opacity: 0;
}

.pvip-feed-card.swiping-out.swipe-right {
    transform: translateX(120vw) rotate(20deg);
    opacity: 0;
}

.pvip-feed-card.swiping-out.swipe-up {
    transform: translateY(-120vh);
    opacity: 0;
}

/* ===== Slideshow ===== */
.pvip-card-slideshow {
    position: absolute;
    inset: 0;
    z-index: var(--pvip-z-card);
}

.pvip-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 500ms ease;
    -webkit-user-drag: none;
}

.pvip-card-photo.active {
    opacity: 1;
    z-index: 2;
}

/* Tap zones for manual slideshow navigation */
.pvip-tap-zone {
    position: absolute;
    top: 0;
    height: 55%;
    z-index: 5;
    cursor: pointer;
}

.pvip-tap-left {
    left: 0;
    width: 25%;
}

.pvip-tap-right {
    right: 0;
    width: 25%;
}

/* ===== Slideshow Dots — Minimal, Apple-style ===== */
.pvip-slideshow-dots {
    position: absolute;
    top: calc(12px + var(--pvip-safe-top));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: var(--pvip-z-overlay);
    padding: 3px 8px;
    border-radius: var(--pvip-radius-full);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.pvip-dot {
    width: 5px;
    height: 5px;
    border-radius: var(--pvip-radius-full);
    background: rgba(255, 255, 255, 0.35);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.pvip-dot.active {
    width: 18px;
    background: #fff;
}

/* ===== Photo Counter — Subtle, offset to avoid filter button ===== */
.pvip-photo-counter {
    position: absolute;
    top: calc(12px + var(--pvip-safe-top));
    right: 56px;
    z-index: var(--pvip-z-overlay);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.2);
    padding: 3px 10px;
    border-radius: var(--pvip-radius-full);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    letter-spacing: 0.02em;
}

/* ===== Card Overlay — Softer gradient, more breathing room ===== */
.pvip-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--pvip-z-overlay);
    padding: 0 20px;
    padding-bottom: calc(102px + var(--pvip-safe-bottom));
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.65) 30%,
        rgba(0, 0, 0, 0.25) 55%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-end;
    min-height: 45%;
}

/* Model info */
.pvip-card-name-link {
    text-decoration: none;
    color: inherit;
}

.pvip-card-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--pvip-text);
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.pvip-card-bio {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 0 8px rgba(0, 0, 0, 0.35);
    letter-spacing: 0;
}

.pvip-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

/* Category badge — Subtle glass pill */
.pvip-card-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    padding: 3px 10px;
    border-radius: var(--pvip-radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
}

/* Tags — Light, unobtrusive */
.pvip-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pvip-tag {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

/* Social link button — Minimal glass pill */
.pvip-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    color: var(--pvip-text);
    text-decoration: none;
    border-radius: var(--pvip-radius-full);
    font-weight: 600;
    font-size: 13px;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    letter-spacing: 0;
    margin-top: 4px;
}

.pvip-social-btn:active {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(0.97);
}

.pvip-social-btn svg,
.pvip-social-btn .pvip-social-icon {
    opacity: 0.8;
}

/* ===== Action Buttons — Tinder-style per-card ===== */
.pvip-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding-top: 18px;
}

.pvip-action-btn {
    width: 68px;
    height: 68px;
    border-radius: var(--pvip-radius-full);
    border: 2px solid;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), background 150ms, box-shadow 150ms, border-color 150ms;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.pvip-action-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.pvip-action-btn:active {
    transform: scale(0.90);
}

/* Dislike (X) */
.pvip-action-btn.pvip-btn-dislike {
    color: var(--pvip-dislike);
    border-color: var(--pvip-dislike);
}

.pvip-action-btn.pvip-btn-dislike:hover {
    box-shadow: 0 0 16px var(--pvip-dislike-glow), 0 2px 12px rgba(0, 0, 0, 0.3);
    background: rgba(244, 67, 54, 0.15);
}

.pvip-action-btn.pvip-btn-dislike:active {
    box-shadow: 0 0 22px var(--pvip-dislike-glow);
    background: rgba(244, 67, 54, 0.25);
}

/* Hyped (Star) — slightly smaller middle button */
.pvip-action-btn.pvip-btn-hyped {
    width: 56px;
    height: 56px;
    color: var(--pvip-hyped);
    border-color: var(--pvip-hyped);
}

.pvip-action-btn.pvip-btn-hyped svg {
    width: 26px;
    height: 26px;
}

.pvip-action-btn.pvip-btn-hyped:hover {
    box-shadow: 0 0 16px var(--pvip-hyped-glow), 0 2px 12px rgba(0, 0, 0, 0.3);
    background: rgba(255, 193, 7, 0.15);
}

.pvip-action-btn.pvip-btn-hyped:active {
    box-shadow: 0 0 22px var(--pvip-hyped-glow);
    background: rgba(255, 193, 7, 0.25);
}

/* Like (Heart) */
.pvip-action-btn.pvip-btn-like {
    color: var(--pvip-like);
    border-color: var(--pvip-like);
}

.pvip-action-btn.pvip-btn-like:hover {
    box-shadow: 0 0 16px var(--pvip-like-glow), 0 2px 12px rgba(0, 0, 0, 0.3);
    background: rgba(76, 175, 80, 0.15);
}

.pvip-action-btn.pvip-btn-like:active {
    box-shadow: 0 0 22px var(--pvip-like-glow);
    background: rgba(76, 175, 80, 0.25);
}

/* ===== Swipe Indicators ===== */
.pvip-swipe-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.5);
    font-size: 80px;
    opacity: 0;
    transition: opacity var(--pvip-fast), transform var(--pvip-fast);
    pointer-events: none;
    z-index: var(--pvip-z-controls);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.pvip-indicator-left {
    left: var(--pvip-xl);
    color: var(--pvip-dislike);
}

.pvip-indicator-right {
    right: var(--pvip-xl);
    color: var(--pvip-like);
}

.pvip-indicator-up {
    top: 30%;
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    color: var(--pvip-hyped);
}

.pvip-swipe-indicator.visible {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.pvip-indicator-up.visible {
    transform: translateX(-50%) scale(1);
}

/* Stamp overlays — thinner, elegant */
.pvip-stamp {
    position: absolute;
    top: 18%;
    z-index: var(--pvip-z-controls);
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    border: 3.5px solid;
    border-radius: var(--pvip-radius-md);
    padding: 6px 18px;
    opacity: 0;
    transition: opacity var(--pvip-fast);
    pointer-events: none;
    letter-spacing: 3px;
}

.pvip-stamp-like {
    right: var(--pvip-xl);
    color: var(--pvip-like);
    border-color: var(--pvip-like);
    transform: rotate(12deg);
}

.pvip-stamp-nope {
    left: var(--pvip-xl);
    color: var(--pvip-dislike);
    border-color: var(--pvip-dislike);
    transform: rotate(-12deg);
}

.pvip-stamp.visible {
    opacity: 0.85;
}

/* ===== MQA Badges — Minimal glass pills ===== */
.pvip-mqa-badges {
    position: absolute;
    top: calc(10px + var(--pvip-safe-top));
    left: 12px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    z-index: 5;
    pointer-events: none;
}

.pvip-mqa-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: var(--pvip-radius-full);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.pvip-mqa-favorite {
    background: rgba(220, 72, 129, 0.18);
    color: rgba(255, 180, 210, 0.95);
}

.pvip-mqa-featured {
    background: rgba(220, 72, 129, 0.18);
    color: rgba(255, 180, 210, 0.95);
}

.pvip-mqa-boost {
    background: rgba(78, 205, 196, 0.18);
    color: rgba(150, 240, 230, 0.95);
}

.pvip-mqa-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.pvip-mqa-label {
    display: inline;
}

/* ===== Bottom Navigation — Clean, ultra-thin separator ===== */
.pvip-feed-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    padding-bottom: var(--pvip-safe-bottom);
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-top: 0.5px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: var(--pvip-z-nav);
}

.pvip-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 500;
    transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--pvip-sm);
    min-width: 64px;
    letter-spacing: 0.01em;
    background: none;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.pvip-nav-link.active {
    color: #fff;
}

.pvip-nav-link:active {
    color: var(--pvip-primary);
}

.pvip-nav-link i,
.pvip-nav-link svg {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

/* ===== Toast — Apple-style pill, dark luxury ===== */
.pvip-toast {
    position: fixed;
    top: calc(18% + var(--pvip-safe-top));
    left: 50%;
    transform: translateX(-50%) scale(0.92) translateY(6px);
    background: rgba(18, 18, 18, 0.72);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    color: rgba(255, 255, 255, 0.92);
    padding: 10px 28px;
    border-radius: 100px;
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4),
                inset 0 0.5px 0 rgba(255, 255, 255, 0.06);
    z-index: var(--pvip-z-toast);
    opacity: 0;
    transition: opacity 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    letter-spacing: 0.04em;
    text-transform: lowercase;
}

.pvip-toast.show {
    opacity: 1;
    transform: translateX(-50%) scale(1) translateY(0);
}

.pvip-toast.toast-like {
    background: rgba(18, 18, 18, 0.72);
    border-color: rgba(255, 255, 255, 0.1);
}

.pvip-toast.toast-dislike {
    background: rgba(18, 18, 18, 0.72);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
}

/* ===== Loading States ===== */
.pvip-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    height: 100dvh;
    gap: var(--pvip-md);
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.pvip-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-top-color: rgba(255, 255, 255, 0.45);
    border-radius: var(--pvip-radius-full);
    animation: pvip-spin 0.7s linear infinite;
}

@keyframes pvip-spin {
    to { transform: rotate(360deg); }
}

.pvip-end-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    height: 100dvh;
    gap: 12px;
    color: rgba(255, 255, 255, 0.4);
    padding: var(--pvip-xl);
    text-align: center;
}

.pvip-end-message p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

.pvip-end-message a {
    color: var(--pvip-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* ===== Shuffle Transition ===== */
.pvip-shuffle-transition {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    height: 100dvh;
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
    animation: pvip-shuffle-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pvip-shuffle-transition.fade-out {
    animation: pvip-shuffle-out 0.4s ease forwards;
}

.pvip-shuffle-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(220, 72, 129, 0.2), rgba(129, 21, 104, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pvip-shuffle-spin 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pvip-shuffle-icon svg {
    color: var(--pvip-primary);
    filter: drop-shadow(0 0 8px rgba(220, 72, 129, 0.4));
}

.pvip-shuffle-text {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
    opacity: 0;
    animation: pvip-shuffle-text-in 0.4s 0.3s ease forwards;
}

@keyframes pvip-shuffle-in {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes pvip-shuffle-out {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(1.05); }
}

@keyframes pvip-shuffle-spin {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes pvip-shuffle-text-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Card Main Wrapper (slides up to reveal info deck) ===== */
.pvip-card-main {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: transform 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

.pvip-feed-card.info-expanded .pvip-card-main {
    transform: translateY(-70dvh);
}

.pvip-feed-card.info-peeking .pvip-card-main {
    transition: none;
}

/* ===== Info Deck Panel ===== */
.pvip-card-info-deck {
    position: absolute;
    top: 30dvh;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: var(--pvip-bg-card, #0a0a0a);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.pvip-feed-card.info-expanded .pvip-card-info-deck {
    opacity: 1;
    pointer-events: auto;
}

.pvip-info-handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 8px;
}

.pvip-info-handle-bar {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.pvip-info-content {
    padding: 0 20px 100px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pvip-info-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--pvip-text);
    margin: 0;
    letter-spacing: -0.02em;
}

.pvip-info-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pvip-info-cat-chip {
    display: inline-block;
    background: rgba(220, 72, 129, 0.15);
    color: rgba(255, 180, 210, 0.95);
    padding: 4px 12px;
    border-radius: var(--pvip-radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 0.5px solid rgba(220, 72, 129, 0.2);
}

.pvip-info-bio {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pvip-info-stats {
    display: flex;
    gap: 24px;
    padding: 8px 0;
}

.pvip-info-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.pvip-info-stat-val {
    font-size: 18px;
    font-weight: 700;
    color: var(--pvip-text);
    letter-spacing: -0.02em;
}

.pvip-info-stat-lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pvip-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pvip-info-tag {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.pvip-info-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    color: var(--pvip-text);
    text-decoration: none;
    border-radius: var(--pvip-radius-full);
    font-weight: 600;
    font-size: 14px;
    transition: all 200ms ease;
    align-self: flex-start;
}

.pvip-info-social-btn:active {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0.97);
}

/* CTA Button */
.pvip-info-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: var(--pvip-radius-md);
    background: linear-gradient(135deg, #dc4881, #c2185b);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
    box-shadow: 0 4px 16px rgba(220, 72, 129, 0.3);
    margin-top: 4px;
}

.pvip-info-cta:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(220, 72, 129, 0.4);
}

/* ===== Info Hint (below actions) ===== */
.pvip-info-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    font-weight: 400;
    padding-top: 8px;
    animation: pvip-hint-pulse 2.5s ease-in-out infinite;
}

.pvip-info-hint svg {
    opacity: 0.5;
}

.pvip-feed-card.info-expanded .pvip-info-hint {
    display: none;
}

@keyframes pvip-hint-pulse {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50%      { opacity: 0.7; transform: translateY(3px); }
}

/* ===== Inline Pills (social + categories on overlay) ===== */
.pvip-card-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 2px;
}

.pvip-inline-social {
    margin-top: 0;
}

.pvip-card-cat-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    padding: 3px 10px;
    border-radius: var(--pvip-radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
}

/* ===== Name Row (name + badge icons) ===== */
.pvip-card-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pvip-card-name-row .pvip-card-name-link {
    display: inline;
    max-width: 50vw;
    overflow: hidden;
    flex-shrink: 1;
    min-width: 0;
}

.pvip-card-name-row .pvip-card-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pvip-name-badges {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.pvip-name-badge {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.pvip-badge-favorite {
    color: #f48fb1;
}

.pvip-badge-featured {
    color: #ffd54f;
}

.pvip-badge-boost {
    color: #ef5350;
}

/* ===== Camera Nav Button (disabled state) ===== */
.pvip-nav-camera {
    background: none;
    border: none;
    cursor: default;
}

.pvip-nav-camera[disabled] {
    opacity: 0.35;
}

/* ===== Hamburger Menu Modal ===== */
.pvip-hamburger-menu {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

.pvip-hamburger-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.pvip-hamburger-menu-card {
    position: relative;
    width: min(320px, calc(100vw - 48px));
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: var(--pvip-radius-lg);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
    padding: 48px 0 16px;
    overflow: hidden;
}

.pvip-hamburger-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 150ms ease;
    padding: 0;
}

.pvip-hamburger-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pvip-hamburger-links {
    display: flex;
    flex-direction: column;
}

.pvip-hamburger-link {
    display: block;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: background 150ms ease;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.05);
}

.pvip-hamburger-link:last-child {
    border-bottom: none;
}

.pvip-hamburger-link:active {
    background: rgba(255, 255, 255, 0.08);
}

/* ===== Responsive — Tablet & Desktop ===== */
@media (min-width: 768px) {
    #pvip-feed-container {
        max-width: 440px;
        margin: 0 auto;
        border-left: 0.5px solid rgba(255, 255, 255, 0.06);
        border-right: 0.5px solid rgba(255, 255, 255, 0.06);
    }

    .pvip-feed-nav {
        max-width: 360px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 28px;
        bottom: 16px;
    }

    /* Filter: anchor to feed container on desktop */
    .pvip-filter-toggle {
        right: calc(50% - 200px);
    }

    .pvip-filter-drawer {
        right: calc(50% - 200px);
    }

    .pvip-card-name {
        font-size: 28px;
    }

    .pvip-stamp {
        font-size: 48px;
    }

    /* MQA Badges: plain icon-only on desktop — no backgrounds */
    .pvip-mqa-badge .pvip-mqa-label {
        display: none;
    }

    .pvip-mqa-badge {
        background: none !important;
        box-shadow: none !important;
        border: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0;
        border-radius: 0;
        min-width: auto;
        min-height: auto;
        font-size: 18px;
    }

    .pvip-mqa-icon {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .pvip-card-name {
        font-size: 30px;
    }
}

/* ===== Accessibility: Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    .pvip-feed-card,
    .pvip-card-main,
    .pvip-card-photo,
    .pvip-card-info-deck,
    .pvip-swipe-indicator,
    .pvip-stamp,
    .pvip-toast,
    .pvip-action-btn,
    .pvip-social-btn,
    .pvip-info-cta,
    .pvip-hamburger-menu,
    .pvip-nav-link,
    .pvip-dot {
        transition-duration: 0ms !important;
    }

    .pvip-spinner {
        animation-duration: 2s;
    }

    .pvip-slideshow-dots,
    .pvip-card-badge,
    .pvip-social-btn,
    .pvip-action-btn,
    .pvip-feed-nav,
    .pvip-filter-toggle,
    .pvip-filter-drawer,
    .pvip-shuffle-transition {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .pvip-filter-drawer,
    .pvip-shuffle-transition {
        transition-duration: 0ms !important;
    }

    .pvip-splash-logo,
    .pvip-shuffle-icon,
    .pvip-info-hint {
        animation: none !important;
    }

    .pvip-splash-bar {
        animation-duration: 3s;
    }

    .pvip-splash {
        transition-duration: 0ms !important;
    }
}

/* ===== Filter Toggle Button — top-right ===== */
.pvip-filter-toggle {
    position: fixed;
    top: calc(12px + var(--pvip-safe-top));
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: var(--pvip-z-overlay);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    transition: background 150ms ease, color 150ms ease;
    padding: 0;
}

.pvip-filter-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.pvip-filter-toggle.active {
    background: rgba(220, 72, 129, 0.3);
    border-color: rgba(220, 72, 129, 0.4);
    color: #fff;
}

/* Active filter badge */
.pvip-filter-toggle .pvip-filter-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dc4881;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===== Filter Drawer ===== */
.pvip-filter-drawer {
    position: fixed;
    top: calc(52px + var(--pvip-safe-top));
    right: 12px;
    width: min(300px, calc(100vw - 24px));
    max-height: 50vh;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 16px;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: var(--pvip-z-overlay);
    padding: 0;
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.pvip-filter-drawer.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.pvip-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.pvip-filter-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pvip-filter-clear {
    background: none;
    border: none;
    color: rgba(220, 72, 129, 0.8);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 150ms ease, color 150ms ease;
}

.pvip-filter-clear:hover {
    background: rgba(220, 72, 129, 0.1);
    color: #dc4881;
}

.pvip-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px 16px;
    overflow-y: auto;
    max-height: calc(50vh - 50px);
    -webkit-overflow-scrolling: touch;
}

.pvip-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms ease;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
}

.pvip-filter-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.pvip-filter-pill.selected {
    background: rgba(220, 72, 129, 0.2);
    border-color: rgba(220, 72, 129, 0.4);
    color: #fff;
}

.pvip-filter-pill .pvip-pill-count {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
}

.pvip-filter-pill.selected .pvip-pill-count {
    color: rgba(255, 255, 255, 0.55);
}

/* ===== Blur Toggle Override — small icon, top-left ===== */
body.pvip-feed-page #gbt-toggle-container,
body.pvip-feed-page #gbt-toggle-container.gbt-position-bottom-right,
body.pvip-feed-page #gbt-toggle-container.gbt-position-bottom-left {
    top: calc(12px + var(--pvip-safe-top)) !important;
    left: 12px !important;
    bottom: auto !important;
    right: auto !important;
}

body.pvip-feed-page #gbt-toggle-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

body.pvip-feed-page #gbt-toggle-btn .gbt-text {
    display: none;
}

body.pvip-feed-page #gbt-toggle-btn .gbt-icon {
    width: 16px;
    height: 16px;
}

body.pvip-feed-page #gbt-toggle-btn:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.pvip-feed-page #gbt-toggle-btn.active {
    background: rgba(233, 30, 99, 0.3);
    border-color: rgba(233, 30, 99, 0.3);
}

body.pvip-feed-page #gbt-toggle-btn::before,
body.pvip-feed-page #gbt-toggle-btn::after {
    display: none;
}

/* ===== Profile Modal (iframe) — deck-sized ===== */
.pvip-profile-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

.pvip-profile-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Inner card — same proportions as feed deck */
.pvip-profile-modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: calc(100dvh - 80px);
    max-height: 900px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--pvip-bg-dark, #0a0a0a);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

/* Close — small pill top-right, inside the card */
.pvip-profile-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease, transform 150ms ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.pvip-profile-modal-close:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: scale(1.1);
}

.pvip-profile-modal-close:active {
    transform: scale(0.95);
}

.pvip-profile-modal iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: var(--pvip-bg-dark, #0a0a0a);
    border-radius: 16px;
}

/* Mobile: full width, no border-radius */
@media (max-width: 480px) {
    .pvip-profile-modal-card {
        height: 100dvh;
        max-height: none;
        border-radius: 0;
    }

    .pvip-profile-modal iframe {
        border-radius: 0;
    }

    .pvip-profile-modal-close {
        top: calc(10px + var(--pvip-safe-top));
    }
}
