:root {
    --bg:         #0b0b0d;
    --bg-raised:  #141418;
    --bg-hover:   #1c1c22;
    --border:     #242430;
    --text:       #ededf0;
    --text-dim:   #8a8a95;
    --text-muted: #585862;
    --accent:     #D32875;   /* hot pink, matched to logo "EST. 2014" pill */
    --accent-dim: #9c1c58;
    --live:       #22c55e;
    --radius:     4px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-mono:    'JetBrains Mono', 'SF Mono', monospace;
    --font-body:    system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.5; }

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */

.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.site-header__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo__img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: block;
}

.logo__text {
    line-height: 1;
}

.site-header__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-nav {
    display: flex;
    gap: 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-nav a {
    color: var(--text-dim);
    transition: color 0.15s;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}

.site-nav a:hover {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.page-heading {
    padding: 32px 0 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.page-heading h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.page-heading__count {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-dim);
}

.live-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 0 var(--live);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Main ---------- */

.site-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
}

/* ---------- Filters ---------- */

.filters-bar {
    margin-bottom: 24px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter__label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.filter select {
    background: var(--bg-raised);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    min-width: 140px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.filter select:hover  { border-color: var(--accent-dim); }
.filter select:focus  { outline: none; border-color: var(--accent); }

.filter-reset {
    align-self: flex-end;
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    border: 1px dashed var(--accent-dim);
    border-radius: var(--radius);
}

.filter-reset:hover { background: rgba(255, 56, 96, 0.08); }

/* ---------- Grid ---------- */

.cam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.cam-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.15s, border-color 0.15s;
    display: flex;
    flex-direction: column;
}

.cam-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.cam-card__thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #000;
    overflow: hidden;
}

.cam-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.cam-card:hover .cam-card__thumb img { transform: scale(1.04); }

.cam-card__thumb--placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1c1c22 0%, #2a2a36 100%);
}

.cam-card__viewers {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--live);
}

.cam-card__badges {
    position: absolute;
    top: 8px; right: 8px;
    display: flex;
    gap: 4px;
}

.badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 3px 6px;
    border-radius: 2px;
    backdrop-filter: blur(4px);
}

.badge--hd {
    background: rgba(0, 0, 0, 0.72);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.badge--new {
    background: var(--accent);
    color: #fff;
}

.cam-card__meta {
    padding: 10px 12px 4px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.cam-card__name {
    font-weight: 600;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cam-card__age {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
}

.cam-card__tags {
    padding: 4px 12px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    background: rgba(255, 56, 96, 0.1);
    color: var(--accent);
    border-radius: 2px;
}

.tag--muted {
    background: rgba(138, 138, 149, 0.1);
    color: var(--text-dim);
}

/* ---------- Empty state / pagination / footer ---------- */

.empty-state {
    padding: 80px 0;
    text-align: center;
    color: var(--text-dim);
}

.empty-state a {
    color: var(--accent);
    margin-left: 8px;
    text-decoration: underline;
}

.pagination {
    margin: 32px 0;
    display: flex;
    justify-content: center;
}

.pagination nav { display: flex; gap: 4px; }
.pagination span, .pagination a {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-raised);
    font-family: var(--font-mono);
    font-size: 13px;
}
.pagination a:hover { border-color: var(--accent); }
.pagination .active span { background: var(--accent); color: #fff; border-color: var(--accent); }

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 80px;
    padding: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.site-footer a { color: var(--text-dim); text-decoration: underline; }

@media (max-width: 640px) {
    /* Nav drops to its own full-width row under the logo rather than being
       hidden — Girls/Guys/Trans/Couples are the only way across the network,
       and on the feed there's no other navigation on screen at all. */
    .site-header__inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 16px;
    }

    .site-nav {
        display: flex;
        order: 3;
        width: 100%;
        gap: 16px;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid var(--border);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar { display: none; }
    .site-nav a { white-space: nowrap; }

    .filters { gap: 8px; }
    .filter select { min-width: 110px; font-size: 13px; }
    .cam-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
}

/* FootQueen branding overrides */
.logo__img {
    height: 36px;
    width: auto;
    display: block;
}
.logo__text {
    display: none;
}
.page-heading__sub {
    font-size: 1.05rem;
    font-weight: 400;
    color: #aaa;
    margin-top: 0.5rem;
    max-width: 720px;
    line-height: 1.5;
}

/* Laravel default pagination SVG fix — constrain arrow size */
.pagination svg {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}
.pagination nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}
.pagination nav > div:first-child {
    display: none; /* hide duplicate "Previous / Next" text row */
}
.pagination nav a,
.pagination nav span {
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    color: #fff;
    background: rgba(255,255,255,0.05);
    text-decoration: none;
    font-size: 0.9rem;
}
.pagination nav a:hover {
    background: rgba(255,255,255,0.1);
}

/* ============================================
   FootQueen polish pass — Path A
   ============================================ */

:root {
    --accent: #e85d22;
    --accent-hot: #ff7a3c;
    --accent-dim: rgba(232, 93, 34, 0.15);
    --bg-base: #0f0b12;
    --bg-card: #1a141f;
    --bg-card-hover: #241b2c;
    --border: rgba(255, 255, 255, 0.08);
    --text-dim: #a8a0b0;
    --text-muted: #6b6577;
}

body {
    background: radial-gradient(ellipse at top, #1a0f1f 0%, var(--bg-base) 50%) fixed;
    color: #f0ebf5;
}

/* Header — sticky with accent underline */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 11, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 var(--accent-dim);
}

.logo__img {
    height: 32px !important;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(232, 93, 34, 0.3));
    transition: filter 0.3s ease;
}
.logo:hover .logo__img {
    filter: drop-shadow(0 0 18px rgba(232, 93, 34, 0.6));
}

.site-nav a {
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.site-nav a:hover {
    color: #fff;
}
.site-nav a:hover::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.live-pulse {
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Page heading — warm, textured */
.page-heading h1 {
    background: linear-gradient(135deg, #fff 0%, var(--accent-hot) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
}

.page-heading__sub {
    color: var(--text-dim) !important;
}

.page-heading__count {
    color: var(--accent-hot) !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Filter bar — pill dropdowns */
.filters-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
}

.filter__label {
    color: var(--text-muted) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.filter select {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 0.5rem 2rem 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    cursor: pointer;
    transition: all 0.2s;
}
.filter select:hover,
.filter select:focus {
    border-color: var(--accent) !important;
    background: var(--bg-card-hover) !important;
    outline: none;
}

/* Cam cards — depth, hover lift, accent glow */
.cam-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.25s ease;
    position: relative;
}
.cam-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 50%, var(--accent-dim));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.cam-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 12px 32px -8px rgba(232, 93, 34, 0.35), 0 4px 12px rgba(0,0,0,0.4);
}
.cam-card:hover::before {
    opacity: 1;
}

.cam-card__thumb img {
    transition: transform 0.4s ease;
}
.cam-card:hover .cam-card__thumb img {
    transform: scale(1.04);
}

/* Viewer count pill */
.cam-card__viewers {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(6px);
    border-radius: 999px !important;
    padding: 0.25rem 0.6rem !important;
    font-size: 0.75rem !important;
    font-family: 'JetBrains Mono', monospace;
}

.live-dot {
    background: #22c55e !important;
    box-shadow: 0 0 8px #22c55e;
}

/* HD/NEW badges */
.badge {
    border-radius: 4px !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem !important;
    font-weight: 700;
}
.badge--hd {
    background: var(--accent) !important;
    color: #fff !important;
}
.badge--new {
    background: #22c55e !important;
    color: #0a1b0f !important;
}

/* Tag pills under name */
.tag {
    background: rgba(255,255,255,0.06) !important;
    color: var(--text-dim) !important;
    border-radius: 4px !important;
    padding: 0.15rem 0.5rem !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.04em;
}
.tag--muted {
    color: var(--text-muted) !important;
    font-family: 'JetBrains Mono', monospace;
}

/* Username + age */
.cam-card__name {
    font-weight: 600;
    color: #fff;
}
.cam-card__age {
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* Footer — subtle */
.site-footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}
.site-footer a {
    color: var(--text-dim);
}
.site-footer a:hover {
    color: var(--accent-hot);
}

/* Pagination polish */
.pagination nav a,
.pagination nav span {
    background: var(--bg-card) !important;
    border: 1px solid var(--border);
    transition: all 0.15s;
}
.pagination nav a:hover {
    background: var(--accent-dim) !important;
    border-color: var(--accent);
    color: var(--accent-hot) !important;
}
.pagination nav span[aria-current="page"] {
    background: var(--accent) !important;
    border-color: var(--accent);
}

/* ============================================
   Feed layout variant — Instagram-style single column
   ============================================ */

.ig-feed {
    max-width: 470px;
    margin: 0 auto;
}

.ig-feed .page-heading {
    text-align: center;
    padding: 24px 0 20px;
}

.ig-feed .page-heading__sub a {
    color: var(--accent-hot);
    text-decoration: underline;
}

.ig-feed__notice {
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.ig-posts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ig-post {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.ig-post__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}

.ig-post__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hot) 100%);
    padding: 2px;
    display: block;
}

.ig-post__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    display: block;
}

.ig-post__headmeta {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.ig-post__user {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ig-post__sub {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.ig-post__live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--live);
    flex-shrink: 0;
}

.ig-post__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #000;
    overflow: hidden;
}

.ig-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

@media (hover: hover) {
    .ig-post:hover .ig-post__media img {
        transform: scale(1.02);
    }
}

.ig-post__media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1c1c22 0%, #2a2a36 100%);
}

.ig-post__badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 4px;
}

.ig-post__preview-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--accent-hot);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.15s;
}

.ig-post__media--live .ig-post__preview-hint {
    opacity: 0;
}

.ig-post__live-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 2;
    background: #000;
}

/* Warming up in the background, not shown yet — still loads (no `loading=lazy`,
   no display:none) so the fetch actually runs ahead of when it's needed. */
.ig-post__live-embed--preloading {
    opacity: 0;
    pointer-events: none;
}

/* Sits on top of the iframe so wheel/touch-scroll bubble to the page instead
   of getting captured by the embedded (cross-origin) document. */
.ig-post__live-embed-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
    cursor: pointer;
}

.ig-post__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 4px;
}

.ig-post__heart {
    font-size: 22px;
    line-height: 1;
    color: var(--accent-hot);
}

.ig-post__count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
}

.ig-post__caption {
    padding: 6px 14px 14px;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.ig-post__caption strong {
    color: #fff;
    margin-right: 6px;
}

.ig-post__tag {
    color: var(--accent-hot);
    margin-right: 4px;
}

.ig-post__cta {
    display: block;
    text-align: center;
    padding: 12px;
    margin: 0 14px 14px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    transition: background 0.15s;
}

.ig-post__cta:hover {
    background: var(--accent-hot);
}

/* The card currently playing a live preview — hover on desktop, or the
   card in view on mobile — gets a visible highlight so it's obvious which
   one you're watching. */
.ig-post--active {
    border-color: var(--accent-hot);
    box-shadow: 0 0 0 2px var(--accent-hot), 0 12px 32px -8px rgba(232, 93, 34, 0.45);
}

/* "Scroll for next" nudge — mobile only, shown once when the first card
   auto-activates and dismissed on the user's first scroll. */
.ig-scroll-hint {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    border: 1px solid var(--accent-hot);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.03em;
    padding: 10px 16px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ig-scroll-hint.is-visible {
    opacity: 1;
    animation: ig-scroll-hint-bounce 1.4s ease-in-out infinite;
}

@keyframes ig-scroll-hint-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 640px) {
    .ig-feed { max-width: 100%; }
}

/* Tablet-ish widths (iPad Mini portrait, split view, small windows): the
   default 470px column would sit stranded in the middle of the page. */
@media (min-width: 641px) and (max-width: 779px) {
    .ig-feed { max-width: 580px; }
}

/* Snap each post to the middle of the viewport as you scroll — the
   TikTok/Reels "one at a time" feel — without hijacking scroll on the
   rest of the page (proximity, not mandatory). Keyed to `hover: none`
   rather than a width, so it matches the same test the script uses to
   decide between scroll-autoplay and hover-to-preview: every device that
   autoplays on scroll also snaps, tablets included. */
@media (hover: none) {
    body.is-feed-page {
        scroll-snap-type: y proximity;
    }

    body.is-feed-page .ig-post {
        scroll-snap-align: center;
        scroll-snap-stop: normal;
    }
}

/* The "scroll for next" nudge belongs to the scroll-autoplay path only. */
@media (hover: hover) {
    .ig-scroll-hint { display: none; }
}

/* Widen into a multi-column wall as viewport grows — a single 470px
   column centered in a 1600px page reads as broken, not minimal.
   Pointer devices only: the multi-column grid needs hover to choose which
   card previews. Without it, the scroll-autoplay path has to pick between
   cards that are side by side and equally visible, and the choice jumps
   around as you scroll. */
@media (hover: hover) and (min-width: 780px) {
    .ig-feed { max-width: 1000px; }

    .ig-posts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
        gap: 24px;
    }
}

@media (hover: hover) and (min-width: 1240px) {
    .ig-feed { max-width: 1520px; }

    .ig-posts {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets: one column at a comfortable reading width, and a media box
   capped so a whole card — preview, viewer count, CTA — fits on screen
   at once instead of the CTA sitting below the fold on every post. */
@media (hover: none) and (min-width: 780px) {
    .ig-feed { max-width: 640px; }

    .ig-post__media { max-height: 58vh; }
}

.ig-feed .page-heading__sub {
    margin-left: auto;
    margin-right: auto;
}

/* Infinite-scroll anchor. Without JS (or after a failed batch) it's a plain
   "load more" link to the next page; with JS it's a spinner that appears
   while the next batch is in flight. */
.ig-feed__more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 24px 0 40px;
}

.ig-feed__more-link {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 22px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ig-feed__more-link:hover {
    border-color: var(--accent);
    color: var(--accent-hot);
}

.ig-feed__more.is-auto .ig-feed__more-link {
    display: none;
}

.ig-feed__more.is-auto.has-error .ig-feed__more-link {
    display: inline-block;
}

.ig-feed__more-spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-top-color: var(--accent-hot);
    border-radius: 50%;
    animation: ig-feed-spin 0.7s linear infinite;
}

.ig-feed__more.is-loading .ig-feed__more-spinner {
    display: block;
}

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

@media (prefers-reduced-motion: reduce) {
    .ig-feed__more-spinner { animation-duration: 2s; }
}

/* ---------- Filter bar ---------- */

/* Inside the feed the bar is scoped to the post column, so it lines up with
   the cards instead of spanning the full page width. */
.ig-feed .filters-bar {
    border-top: 0;
    padding-top: 0;
    margin-bottom: 20px;
}

/* Centered only where the row is guaranteed to fit. Centering a row that
   overflows pushes its first items past the left edge, where scrolling can't
   reach them — on phones the bar starts flush-left and scrolls instead. */
@media (min-width: 641px) {
    .ig-feed .filters {
        justify-content: center;
    }
}

.filter-apply {
    align-self: flex-end;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Phones: one horizontally scrollable row of pills. The labels come off —
   every select already reads as its own label ("Feet", "Any age", "Any
   hair"), and the vertical space matters more on the feed. */
@media (max-width: 640px) {
    .filters-bar {
        padding: 0.85rem 0;
        margin-bottom: 1rem;
    }

    .filters {
        flex-wrap: nowrap;
        align-items: center;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .filters::-webkit-scrollbar { display: none; }

    .filter,
    .filter-reset,
    .filter-apply { flex: 0 0 auto; }

    .filter__label { display: none; }
}

.ig-feed__end {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 24px 0 48px;
}

/* ============================================
   Performer profile page — /cam/{username}

   Laid out like a creator page (OnlyFans and friends): a wide cover, an
   avatar breaking over its edge, name + stats + bio, then a tight media
   wall. The one departure is that the cover isn't a static banner — it's
   the live room, so the video is the first thing on screen rather than
   sitting below a screenful of profile furniture.
   ============================================ */

.pf {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* The page owns the top of the viewport: the cover runs to the edges and
   under where the header would be, so the site chrome is scrolled past
   rather than pinned over the video. */
body.is-profile-page .site-header {
    position: static;
}

body.is-profile-page .site-main {
    padding-top: 0;
}

/* ---------- Cover / live stage ---------- */

.pf__cover {
    position: relative;
    /* Cancels .site-main's gutter so the cover is full-bleed, then the
       identity block below steps back into the column. */
    margin: 0 -24px;
}

.pf__stage {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #0a070c;
    overflow: hidden;
}

.pf__stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf__stage-empty {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #241b2c 0%, #120d16 100%);
}

/* Keeps the floating controls legible over a bright frame, and gives the
   avatar something to sit against. */
.pf__stage-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 28%),
        linear-gradient(to top, rgba(15, 11, 18, 0.85) 0%, transparent 40%);
}

.pf__stage--offline img {
    filter: grayscale(0.75) brightness(0.45);
}

.pf__stage-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 2;
    /* No background of its own: the thumbnail stays painted underneath, so a
       frame an ad blocker blanks out falls back to a still of the room
       instead of a black rectangle. */
}

.pf__stage-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    cursor: pointer;
}

/* Floating controls sit above the embed so they stay visible once it mounts. */
.pf__back,
.pf__livetag,
.pf__viewers,
.pf__stage-hint,
.pf__stage-plate {
    position: absolute;
    z-index: 4;
}

.pf__back {
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: rgba(10, 7, 12, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
}

.pf__back svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pf__back:hover {
    background: rgba(10, 7, 12, 0.85);
    border-color: var(--accent-hot);
}

.pf__livetag {
    top: 14px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.pf__livetag .live-dot {
    background: #fff;
}

.pf__viewers {
    top: 46px;
    right: 12px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(10, 7, 12, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
}

.pf__stage-hint {
    bottom: 14px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(10, 7, 12, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--accent-hot);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: opacity 0.2s;
}

.pf__stage--live .pf__stage-hint {
    opacity: 0;
}

.pf__stage-plate {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(10, 7, 12, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
}

/* ---------- Identity ---------- */

.pf__id {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    /* Pulls the avatar up over the cover's lower edge. */
    margin-top: -34px;
    position: relative;
    z-index: 5;
}

.pf__avatar {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-base);
    padding: 3px;
    display: block;
}

.pf__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* The live ring — the one piece of colour that says "on air" at a glance. */
.pf__avatar.is-live {
    background: linear-gradient(135deg, var(--accent-hot) 0%, var(--accent) 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 6px 20px -6px rgba(232, 93, 34, 0.6);
}

.pf__idmeta {
    min-width: 0;
    padding-bottom: 4px;
}

.pf__name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    overflow-wrap: anywhere;
}

.pf__hd {
    flex-shrink: 0;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pf__handle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-top: 3px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.pf__avail {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--live);
}

.pf__unavail {
    color: var(--text-muted);
}

/* ---------- Stats ---------- */

.pf__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin-top: 18px;
    padding: 14px 4px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pf__stats li {
    flex: 1 1 0;
    min-width: 70px;
    text-align: center;
}

.pf__stats b {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.pf__stats span {
    display: block;
    margin-top: 2px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- Bio and details ---------- */

.pf__subject {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #f0ebf5;
    overflow-wrap: anywhere;
}

.pf__bio {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dim);
    overflow-wrap: anywhere;
}

.pf__bio p + p {
    margin-top: 10px;
}

/* Long bios are clamped with a fade into a "show more" button. Applied by
   script only (see the profile view), so a visitor without JS gets the whole
   bio rather than a permanently truncated one. */
.pf__bio.is-clamped {
    max-height: 190px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 130px, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 130px, transparent 100%);
}

/* `display` here outranks the UA stylesheet's `[hidden] { display: none }`,
   so the attribute has to be honored explicitly — otherwise the toggle shows
   on every bio, including the short ones that are never clamped. */
.pf__bio-toggle[hidden] {
    display: none;
}

.pf__bio-toggle {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--accent-hot);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.pf__bio-toggle:hover {
    text-decoration: underline;
}

.pf__details {
    list-style: none;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pf__details li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text-dim);
    overflow-wrap: anywhere;
}

.pf__details svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--text-muted);
}

.pf__chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

/* Body stats come through as free text ("5'4"(165cm), 108 lbs(49 kg), 34D"),
   long enough to claim a whole row each and turn the chip row into a list.
   Smaller type and tighter padding keeps two or three per line instead. */
.pf__chips li {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--text-dim);
}

/* ---------- Join box ---------- */

.pf__join {
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(232, 93, 34, 0.1) 0%, rgba(232, 93, 34, 0.02) 100%);
    border: 1px solid rgba(232, 93, 34, 0.25);
}

.pf__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-hot) 0%, var(--accent) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    box-shadow: 0 8px 24px -10px rgba(232, 93, 34, 0.9);
    transition: filter 0.15s, transform 0.12s;
}

.pf__cta:hover {
    filter: brightness(1.08);
}

.pf__cta:active {
    transform: translateY(1px);
}

.pf__join-note {
    margin-top: 9px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.pf__tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.pf__tags a {
    display: block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(232, 93, 34, 0.08);
    color: var(--accent-hot);
    font-family: var(--font-mono);
    font-size: 11px;
    transition: background 0.15s;
}

.pf__tags a:hover {
    background: rgba(232, 93, 34, 0.2);
}

/* ---------- Media wall ---------- */

.pf__media {
    margin-top: 30px;
}

.pf__media-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}

.pf__media-head h2 {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pf__tabs {
    display: flex;
    gap: 4px;
}

.pf__tab {
    padding: 5px 12px;
    border-radius: 999px;
    background: none;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.pf__tab:hover {
    color: #fff;
}

.pf__tab.is-active {
    background: rgba(232, 93, 34, 0.12);
    border-color: rgba(232, 93, 34, 0.35);
    color: var(--accent-hot);
}

/* Three across on a phone, like a creator page's media tab — the tiles are
   the content, so they get the room rather than captions and card borders. */
.pf__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.pf__grid[data-filter="video"] .pf-tile.is-photo,
.pf__grid[data-filter="photo"] .pf-tile.is-video {
    display: none;
}

.pf-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
}

.pf-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.pf-tile__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 45%);
    pointer-events: none;
}

@media (hover: hover) {
    .pf-tile:hover img {
        transform: scale(1.06);
    }
}

.pf-tile__lock {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 7, 12, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
}

.pf-tile__lock svg {
    width: 12px;
    height: 12px;
}

.pf-tile__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 7, 12, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    color: #fff;
}

.pf-tile__play svg {
    width: 15px;
    height: 15px;
    margin-left: 2px;
}

.pf-tile__foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 6px 7px;
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 1.2;
}

.pf-tile__count {
    color: rgba(255, 255, 255, 0.82);
}

.pf-tile__price {
    color: var(--accent-hot);
    font-weight: 600;
    white-space: nowrap;
}

.pf__media-note {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ---------- Foot ---------- */

.pf__foot {
    padding: 32px 0 8px;
    text-align: center;
}

.pf__foot a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    transition: border-color 0.15s, color 0.15s;
}

.pf__foot a svg {
    width: 14px;
    height: 14px;
}

.pf__foot a:hover {
    border-color: var(--accent);
    color: var(--accent-hot);
}

/* Phones only — see the media query below. */
.pf__dock {
    display: none;
}

/* ---------- Phones ---------- */

@media (max-width: 640px) {
    .pf__name { font-size: 22px; }

    .pf__avatar {
        width: 74px;
        height: 74px;
    }

    .pf__id { margin-top: -28px; }

    .pf__stats li { min-width: 62px; }

    .pf__stats b { font-size: 15px; }

    /* The join box moves to a docked bar, so the inline one would be a
       duplicate button a thumb's width above it. */
    .pf__join { display: none; }

    .pf__dock {
        display: block;
        position: sticky;
        bottom: 0;
        z-index: 40;
        margin: 20px -24px 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: linear-gradient(to top, var(--bg-base) 55%, rgba(15, 11, 18, 0));
    }

    .pf__dock .pf__cta {
        font-size: 14px;
        padding: 14px 18px;
    }
}

/* Above the phone breakpoint the cover stops being full-bleed and becomes a
   rounded banner inside the column, which is what makes it read as a profile
   rather than a hero image. */
@media (min-width: 641px) {
    .pf__cover {
        margin: 0;
        border-radius: 16px;
        overflow: hidden;
    }

    .pf__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
}

@media (min-width: 900px) {
    .pf { max-width: 860px; }

    .pf__grid { grid-template-columns: repeat(5, 1fr); }
}
