/* ==========================================================================
   FILE: site-feed.css
   ROLE: site
   Feed and card system: fd-grid/fd-card tiles, search hero, like button effects,
   sort modal.
   Loaded on: album, image, profile, nsfw/*, search, tags, favourites, 404 and
   tiktok feed pages.
   NOT on: home (/), static pages, /moderator/*, addnewaa/hmaraindex/ofindex/404_report.
   ========================================================================== */

/* Design: see new-design-php/docs/design-system.md + page-patterns.md */
/* ==========================================================================
   HOTPIC — feed pages (NSFW feed, album detail, search / tag / model lists)
   Preview build: loaded by preview/feed-demo.html after ../assets/css/chrome.css.
   Everything is fd-* so the block can later be merged into site-chrome.css or kept
   as assets/css/feed.css and linked by the real feed pages.
   ========================================================================== */

:root {
    /* fd-* tokens are global so .fd-card works outside .hp-feed pages too
       (/album/ related, /i/ related, etc.) */
    --fd-accent: var(--hp-color-accent);
    --fd-accent-deep: var(--hp-color-accent-deep);
    --fd-card-bg: linear-gradient(180deg, rgba(var(--hp-color-white-rgb), .058) 0%, rgba(var(--hp-color-white-rgb), .018) 100%);
    --fd-line: var(--hp-color-border-soft);
    --fd-muted: var(--hp-color-text-muted);
    --fd-soft: var(--hp-color-text-soft);
}.hp-feed {
    color: var(--hp-color-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}.hp-feed *,
.hp-feed *::before,
.hp-feed *::after {
    box-sizing: border-box;
}.fd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 11px;
    border: 1px solid var(--fd-line);
    border-radius: 999px;
    background: rgba(var(--hp-color-white-rgb), .04);
    color: var(--hp-color-accent-soft);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}.fd-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fd-accent);
    box-shadow: 0 0 0 4px rgba(var(--hp-color-accent-rgb), .22);
}.fd-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 6px;
    font-size: clamp(26px, 5.6vw, 40px);
    line-height: 1.06;
    letter-spacing: -.03em;
    font-weight: 800;
}.fd-title small {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--fd-muted);
}/* ---------- toolbar ---------- */
.fd-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0 18px;
}.fd-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--fd-line);
    border-radius: 12px;
    background: rgba(var(--hp-color-white-rgb), .035);
    color: var(--fd-soft);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
    white-space: nowrap;
}.fd-btn:hover {
    border-color: rgba(var(--hp-color-white-rgb), .22);
    background: rgba(var(--hp-color-white-rgb), .06);
    color: var(--hp-color-white);
}.fd-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}/* count / active filter chip */
.fd-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--fd-line);
    border-radius: 999px;
    background: rgba(var(--hp-color-white-rgb), .035);
    color: var(--fd-muted);
    font-size: 11.5px;
    white-space: nowrap;
}.fd-tag b {
    color: var(--fd-soft);
    font-weight: 600;
}/* ---------- grid ---------- */
.fd-page-head {
    padding: clamp(16px, 3vw, 28px);
    border: 1px solid var(--fd-line);
    border-radius: 20px;
    background: radial-gradient(circle at 100% 0%, rgba(var(--hp-color-accent-rgb), .12), transparent 42%), var(--fd-card-bg);
}.fd-eyebrow {
    margin: 0 0 7px;
    color: var(--hp-color-accent-soft);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}.fd-page-head .fd-title {
    margin: 0;
    color: var(--hp-color-white);
    font-size: clamp(1.45rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.04em;
}.fd-description {
    margin: 8px 0 0;
    color: var(--fd-muted);
    font-size: 13px;
}.fd-grid--ai { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }.fd-grid--models { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }.fd-grid--profile,
.fd-grid--flair { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }/* custom grid cell — replaces the old Bootstrap .col-* wrappers on album/image loops */
.fd-cell { display: contents; }.fd-card--ai .fd-card__media,
.fd-card--model .fd-card__media { aspect-ratio: 3 / 4; }.fd-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}.fd-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--fd-line);
    border-radius: 16px;
    background: var(--fd-card-bg);
    color: var(--hp-color-white);
    text-decoration: none;
    transition: transform .2s cubic-bezier(.22, 1, .36, 1),
        border-color .2s ease, box-shadow .2s ease;
}.fd-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--hp-color-accent-rgb), .45);
    box-shadow: 0 18px 40px rgba(var(--hp-color-black-rgb), .45), 0 0 0 1px rgba(var(--hp-color-accent-rgb), .12) inset;
}.fd-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--hp-color-surface-3);
}.fd-card__media > .fd-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}.fd-card:hover .fd-card__media > .fd-card__img {
    transform: scale(1.04);
}.fd-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(var(--hp-color-black-rgb), .62) 100%);
    pointer-events: none;
}.fd-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    padding: 3px 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--hp-color-accent), var(--hp-color-accent-deep));
    color: var(--hp-color-white);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(var(--hp-color-accent-deep-rgb), .35);
}.fd-card__body {
    padding: 9px 10px 10px;
}.fd-card__title {
    margin: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--hp-color-white);
}.fd-card__meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 5px;
    color: var(--fd-muted);
    font-size: 10.5px;
    white-space: nowrap;
}.fd-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}.fd-card__meta svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    opacity: .8;
}.fd-card__meta .fd-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(var(--hp-color-white-rgb), .28);
}/* ---------- list view ---------- */

/* ---------- skeleton / loader ---------- */
.fd-skeleton .fd-card {
    pointer-events: none;
}.fd-skeleton .fd-card__media,
.fd-skeleton .fd-card__title,
.fd-skeleton .fd-card__meta {
    background: linear-gradient(90deg, rgba(var(--hp-color-white-rgb), .05) 25%, var(--hp-color-border) 50%, rgba(var(--hp-color-white-rgb), .05) 75%);
    background-size: 200% 100%;
    animation: fd-shimmer 1.4s infinite linear;
    border-radius: 6px;
    color: transparent;
}.fd-skeleton .fd-card__media {
    border-radius: 0;
}.fd-skeleton .fd-card__title {
    height: 12px;
    margin: 2px 0 6px;
    width: 72%;
}.fd-skeleton .fd-card__meta {
    height: 10px;
    width: 50%;
}@keyframes fd-shimmer {
    to {
        background-position: -200% 0;
    }
}@keyframes fd-spin {
    to {
        transform: rotate(360deg);
    }
}.fd-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 44px 20px;
    border: 1px solid var(--fd-line);
    border-radius: 18px;
    background: rgba(var(--hp-color-white-rgb), .025);
    text-align: center;
}.fd-empty svg {
    width: 28px;
    height: 28px;
    stroke: var(--hp-color-accent-soft);
}.fd-empty b {
    font-size: 14px;
}.fd-empty small {
    color: var(--fd-muted);
    font-size: 12.5px;
}/* ---------- desktop ---------- */
@media screen and (min-width: 768px) {
    .fd-shell {
        padding: 0 24px 64px;
    }

    .fd-head {
        padding: 30px 0 18px;
    }

    .fd-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .fd-card__body {
        padding: 11px 12px 12px;
    }

    .fd-card__title {
        font-size: 13.5px;
    }

    .fd-title small {
        font-size: 13px;
    }
}@media screen and (min-width: 1200px) {.fd-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }}/* ---------- production album card (old feed loops converted) ---------- */
.fd-card--album .fd-card__media {
    display: block;
    aspect-ratio: 3 / 4;
}.fd-card--album .fd-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}.fd-card__actions {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 16px);
}.fd-card__action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(var(--hp-color-canvas-rgb), 0.62);
    border: 1px solid var(--hp-color-border-strong);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%);
    color: rgba(var(--hp-color-white-rgb), 0.9);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.4;
}.fd-card__action a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: inherit;
    text-decoration: none;
}.fd-card__action img {
    display: block;
    opacity: 0.9;
}.fd-card__badge--count {
    top: auto;
    left: auto;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: none;
}.fd-card__badge--count img {
    display: block;
    margin: 0;
}.fd-card__body .fd-card__title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--hp-color-white);
    text-decoration: none;
}.fd-card__meta a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--fd-muted);
    text-decoration: none;
}.fd-card__meta a:hover {
    color: var(--hp-color-white);
}.fd-card__meta img {
    display: block;
    opacity: 0.75;
}.fd-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}.fd-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(var(--hp-color-white-rgb), 0.05);
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.08);
    color: rgba(var(--hp-color-white-rgb), 0.6);
    font-size: 10px;
    line-height: 1.6;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}.fd-card__tag--danger { color: #ff9aab; border-color: rgba(255, 77, 109, .2); }.fd-card__tag--danger:hover { color: #fff; background: rgba(220, 53, 69, .22); }.fd-card__tag:hover {
    color: var(--hp-color-white);
    border-color: rgba(var(--hp-color-accent-rgb), 0.5);
}/* keep album cards uniform: one tag row, clamped to 3 pills + "+N" */
.fd-card--album {
    height: 100%;
}.fd-card--album .fd-card__body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}.fd-card__tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    margin-top: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}.fd-card__tags::-webkit-scrollbar {
    display: none;
}.fd-card__tag {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
}.fd-card__tag--more {
    color: var(--hp-color-accent-soft);
    border-color: rgba(var(--hp-color-accent-rgb), 0.4);
}/* ---------- feed section headers ---------- */
.fd-section-head {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 34px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(var(--hp-color-white-rgb), 0.08);
}.fd-section-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--hp-color-accent) 0%, rgba(var(--hp-color-accent-rgb), 0) 100%);
}.fd-section-head__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--hp-color-accent-soft);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}.fd-section-head__title {
    margin: 0;
    font-size: clamp(18px, 3.2vw, 26px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--hp-color-white);
}.hp-pagination-row {
    margin-top: 22px !important;
    margin-bottom: 28px !important;
    padding-bottom: 8px;
}@media screen and (max-width: 767px) {.fd-section-head {
        margin-top: 26px;
        margin-bottom: 12px;
    }.hp-pagination-row {
        margin-bottom: 22px !important;
    }}/* ---------- tag page (/t/) hero ---------- */
.fd-tag-hero {
    position: relative;
    margin: 8px 0 6px;
    padding: 30px 20px 26px;
    border-radius: var(--hp-radius-2xl);
    border: 1px solid var(--hp-color-border);
    background:
        radial-gradient(120% 150% at 50% -30%,
            rgba(var(--hp-color-accent-rgb), 0.24) 0%,
            rgba(var(--hp-color-accent-rgb), 0) 62%),
        linear-gradient(180deg,
            rgba(var(--hp-color-white-rgb), 0.05) 0%,
            rgba(var(--hp-color-white-rgb), 0.015) 100%);
    text-align: center;
    overflow: hidden;
}.fd-tag-hero__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: var(--hp-radius-pill);
    border: 1px solid rgba(var(--hp-color-accent-rgb), 0.35);
    background: rgba(var(--hp-color-accent-rgb), 0.14);
    color: var(--hp-color-accent-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}.fd-tag-hero__title {
    margin: 0;
    color: var(--hp-color-text);
    font-size: clamp(28px, 7vw, 46px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: capitalize;
}.fd-tag-hero__hash {
    margin-right: 2px;
    color: var(--hp-color-accent);
}.fd-tag-hero__sub {
    margin: 10px 0 0;
    color: var(--hp-color-text-muted);
    font-size: 12.5px;
    letter-spacing: 0.01em;
}.fd-tag-hero__desc {
    max-width: 46rem;
    margin: 14px auto 0;
    color: var(--hp-color-text-soft);
    font-size: 13px;
    line-height: 1.6;
}.fd-tag-hero__desc p {
    margin: 0;
}.fd-tag-hero__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}@media screen and (max-width: 767px) {.fd-tag-hero {
        padding: 24px 16px 22px;
        border-radius: var(--hp-radius-xl);
    }}/* ---------- search page (/search/) hero ---------- */
.fd-search-hero {
    position: relative;
    margin: 8px 0 24px;
    padding: 34px 20px 30px;
    border-radius: var(--hp-radius-2xl);
    border: 1px solid var(--hp-color-border);
    background:
        radial-gradient(120% 150% at 50% -30%,
            rgba(var(--hp-color-accent-rgb), 0.22) 0%,
            rgba(var(--hp-color-accent-rgb), 0) 62%),
        linear-gradient(180deg,
            rgba(var(--hp-color-white-rgb), 0.05) 0%,
            rgba(var(--hp-color-white-rgb), 0.015) 100%);
    text-align: center;
    overflow: hidden;
}.fd-search-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: var(--hp-radius-pill);
    border: 1px solid rgba(var(--hp-color-accent-rgb), 0.35);
    background: rgba(var(--hp-color-accent-rgb), 0.14);
    color: var(--hp-color-accent-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}.fd-search-hero__eyebrow svg {
    width: 12px;
    height: 12px;
}.fd-search-hero__title {
    margin: 0;
    color: var(--hp-color-text);
    font-size: clamp(26px, 6.4vw, 44px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    word-break: break-word;
}.fd-search-hero__form {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 34rem;
    margin: 20px auto 2px;
    padding: 6px 6px 6px 14px;
    border-radius: var(--hp-radius-pill);
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.12);
    background: rgba(var(--hp-color-white-rgb), 0.05);
    transition: border-color 0.15s ease, background 0.15s ease;
}.fd-search-hero__form:focus-within {
    border-color: rgba(var(--hp-color-accent-rgb), 0.55);
    background: rgba(var(--hp-color-white-rgb), 0.07);
}.fd-search-hero__icon {
    display: flex;
    color: var(--hp-color-text-muted);
}.fd-search-hero__icon svg {
    width: 18px;
    height: 18px;
}.fd-search-hero__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hp-color-text);
    font-size: 14px;
    outline: none;
}.fd-search-hero__input::placeholder {
    color: rgba(var(--hp-color-white-rgb), 0.42);
}.fd-search-hero__input::-webkit-search-cancel-button {
    filter: invert(1) opacity(0.5);
}.fd-search-hero__submit {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--hp-radius-pill);
    background: linear-gradient(180deg, var(--hp-color-accent) 0%, var(--hp-color-accent-mid) 48%, var(--hp-color-accent-deep) 100%);
    color: var(--hp-color-white);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.1s ease;
}.fd-search-hero__submit:hover {
    filter: brightness(1.08);
}.fd-search-hero__submit:active {
    transform: scale(0.98);
}/* section wrapper + count on the search page */
.fd-search-section {
    margin: 0 0 6px;
}/* no results */
.fd-search-empty {
    margin: 26px 0 40px;
    padding: 44px 22px 46px;
    border-radius: var(--hp-radius-2xl);
    border: 1px dashed rgba(var(--hp-color-white-rgb), 0.14);
    background: rgba(var(--hp-color-white-rgb), 0.025);
    text-align: center;
}.fd-search-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 1px solid rgba(var(--hp-color-accent-rgb), 0.3);
    background: rgba(var(--hp-color-accent-rgb), 0.12);
    color: var(--hp-color-accent-soft);
}.fd-search-empty__title {
    margin: 0 0 6px;
    color: var(--hp-color-text);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}.fd-search-empty__sub {
    margin: 0 0 18px;
    color: var(--hp-color-text-muted);
    font-size: 13px;
}.fd-search-empty__cta {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 20px;
    border-radius: var(--hp-radius-pill);
    border: 1px solid rgba(var(--hp-color-accent-rgb), 0.45);
    background: rgba(var(--hp-color-accent-rgb), 0.16);
    color: var(--hp-color-accent-soft);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}.fd-search-empty__cta:hover {
    background: rgba(var(--hp-color-accent-rgb), 0.24);
    color: #fff;
}/* ---------- video cards (search results) ---------- */
.fd-grid--video {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}.fd-card--video {
    border-radius: var(--hp-radius-xl);
    border: 1px solid var(--hp-color-border);
    background: linear-gradient(180deg,
            rgba(var(--hp-color-white-rgb), 0.05) 0%,
            rgba(var(--hp-color-white-rgb), 0.015) 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}.fd-card--video .fd-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(var(--hp-color-black-rgb), 0.6);
}.fd-card--video .fd-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}.fd-card--video .fd-card__body {
    padding: 10px 12px 12px;
}@media screen and (max-width: 767px) {.fd-search-hero {
        padding: 26px 16px 24px;
        border-radius: var(--hp-radius-xl);
    }.fd-search-hero__form {
        padding-left: 12px;
    }.fd-search-hero__submit {
        padding: 0 14px;
    }}/* ---------- sort & filter toolbar ---------- */
.fd-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}.fd-toolbar .fd-btn {
    height: 38px;
}.fd-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    flex-shrink: 0;
}.fd-btn span {
    white-space: nowrap;
}.fd-menu {
    min-width: 200px;
    padding: 6px;
}.fd-menu .dropdown-item {
    padding: .5rem .75rem;
    border-radius: 8px;
    font-size: 13px;
}/* ---------- sort modal (layout) ---------- */
#sortModal.fd-sort-modal .modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(var(--hp-color-white-rgb), 0.08);
}#sortModal.fd-sort-modal .modal-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--hp-color-white);
}#sortModal.fd-sort-modal .modal-body {
    padding: 18px 20px;
}#sortModal.fd-sort-modal .modal-footer {
    padding: 14px 20px 18px;
    gap: 8px;
    border-top: 1px solid rgba(var(--hp-color-white-rgb), 0.08);
}.fd-sort-group + .fd-sort-group {
    margin-top: 18px;
}.fd-sort-label {
    display: block;
    margin-bottom: 8px;
    color: var(--hp-color-accent-soft);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}#sortModal.fd-sort-modal .fd-sort-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid var(--hp-color-border);
    background: rgba(var(--hp-color-white-rgb), 0.04) !important;
    color: rgba(var(--hp-color-white-rgb), 0.65) !important;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}#sortModal.fd-sort-modal .fd-sort-pill:hover span {
    border-color: rgba(var(--hp-color-white-rgb), 0.24);
    color: var(--hp-color-white) !important;
}#sortModal.fd-sort-modal .fd-sort-pill input:checked + span {
    background: linear-gradient(180deg, var(--hp-color-accent) 0%, var(--hp-color-accent-mid) 48%, var(--hp-color-accent-deep) 100%) !important;
    border-color: transparent !important;
    color: var(--hp-color-white) !important;
    box-shadow: 0 6px 16px rgba(var(--hp-color-accent-deep-rgb), 0.35);
}.fd-sort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}.fd-sort-btn--ghost {
    background: rgba(var(--hp-color-white-rgb), 0.05);
    border-color: var(--hp-color-border);
    color: var(--hp-color-white);
}.fd-sort-btn--ghost:hover {
    background: var(--hp-color-border-soft);
}.fd-sort-btn--primary {
    background: linear-gradient(180deg, var(--hp-color-accent) 0%, var(--hp-color-accent-mid) 48%, var(--hp-color-accent-deep) 100%);
    color: var(--hp-color-white);
    box-shadow: 0 8px 20px rgba(var(--hp-color-accent-deep-rgb), 0.3);
}.fd-sort-btn--primary:hover {
    box-shadow: 0 10px 24px rgba(var(--hp-color-accent-deep-rgb), 0.45);
}/* fully opaque sort modal (readability on busy feeds) */
#sortModal.fd-sort-modal .modal-content {
    background: var(--hp-color-surface-2) !important;
}.modal:focus {
    outline: none;
}/* centered round play button on album cards */
.fd-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--hp-color-white);
    filter: drop-shadow(0 1px 4px rgba(var(--hp-color-black-rgb), 0.75));
    pointer-events: none;
}.fd-play svg {
    width: 30px;
    height: 30px;
    margin-left: 2px;
}.fd-card:hover .fd-play {
    background: transparent;
    border-color: transparent;
    transform: translate(-50%, -50%) scale(1.05);
}/* ---------- like button on feed cards (album page parity) ---------- */
.fd-card__action .options {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}.fd-card__action .options .hp-icon {
    transition: transform .18s ease, color .18s ease, fill .18s ease;
    transform-origin: center;
}.fd-card__action .options:hover .hp-icon {
    transform: scale(1.16);
}.fd-card__action .options:active .hp-icon {
    transform: scale(.9);
}/* liked state: accent fill (matches .hp-album-actions .is-liked) */
.fd-card__action .options .hp-icon.is-liked {
    color: var(--hp-color-accent);
    fill: currentColor;
    stroke: currentColor;
    -webkit-filter: drop-shadow(0 0 6px rgba(var(--hp-color-accent-rgb), 0.55));
    filter: drop-shadow(0 0 6px rgba(var(--hp-color-accent-rgb), 0.55));
}.fd-card__action .options .hp-icon.heart-animated {
    animation: hpCardHeartPop .66s cubic-bezier(.2, .9, .3, 1.35);
}@keyframes hpCardHeartPop {
    0% { transform: scale(1); }
    16% { transform: scale(1.7) rotate(-8deg); }
    34% { transform: scale(.86) rotate(4deg); }
    52% { transform: scale(1.24) rotate(-2deg); }
    72% { transform: scale(.96); }
    100% { transform: scale(1); }
}/* expanding ring behind the heart */
.hp-like-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(var(--hp-color-accent-rgb), 0.75);
    background: rgba(var(--hp-color-accent-rgb), 0.18);
    pointer-events: none;
    animation: hpLikeBurst .62s ease-out forwards;
}@keyframes hpLikeBurst {
    0% { transform: scale(.4); opacity: .9; }
    55% { opacity: .45; }
    100% { transform: scale(3.6); opacity: 0; }
}@media (prefers-reduced-motion: reduce) {.fd-card__action .options .hp-icon,
    .fd-card__action .options .hp-icon.heart-animated,
    .hp-like-burst {
        animation: none !important;
        transition: none !important;
    }}/* ---------- sort modal polish ---------- */
#sortModal.fd-sort-modal .modal-dialog {
    max-width: 460px;
    width: calc(100% - 28px);
}#sortModal.fd-sort-modal .modal-header {
    align-items: flex-start;
    padding: 18px 22px 14px;
}.fd-sort-head {
    min-width: 0;
    padding-right: 10px;
}#sortModal.fd-sort-modal .modal-title {
    font-size: 16px;
}.fd-sort-sub {
    margin: 3px 0 0;
    color: rgba(var(--hp-color-white-rgb), 0.45);
    font-size: 12px;
    line-height: 1.4;
}#sortModal.fd-sort-modal .hp-modal-close {
    margin-top: 1px;
    flex-shrink: 0;
}#sortModal.fd-sort-modal .modal-body {
    padding: 20px 22px 6px;
}#sortModal.fd-sort-modal .modal-footer {
    padding: 16px 22px 18px;
}.fd-sort-group + .fd-sort-group {
    margin-top: 20px;
}#sortModal.fd-sort-modal .fd-sort-pill span {
    min-width: 66px;
    height: 38px;
}#sortModal.fd-sort-modal .modal-footer .fd-sort-btn {
    min-width: 96px;
}/* ---------- filter dropdown polish ---------- */
.fd-menu {
    min-width: 224px;
    padding: 8px;
}.fd-menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    color: rgba(var(--hp-color-white-rgb), 0.72);
    font-size: 13px;
}.fd-menu .dropdown-item::after {
    content: "\2192";
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    color: var(--hp-color-accent-soft);
}.fd-menu .dropdown-item:hover::after,
.fd-menu .dropdown-item:focus::after {
    opacity: 0.9;
    transform: none;
}@media screen and (max-width: 480px) {#sortModal.fd-sort-modal .modal-footer .fd-sort-btn {
        flex: 1;
    }}/* make the option pills fill the modal width (removes the dead space on the right) */
#sortModal.fd-sort-modal .fd-sort-pills {
    display: flex;
    gap: 8px;
}#sortModal.fd-sort-modal .fd-sort-pill {
    flex: 1 1 0;
    min-width: 0;
}#sortModal.fd-sort-modal .fd-sort-pill span {
    width: 100%;
    min-width: 0;
}#sortModal.fd-sort-modal .modal-dialog {
    max-width: 430px;
}/* compact sort modal (smaller instead of stretched wide) */
#sortModal.fd-sort-modal .modal-dialog {
    max-width: 372px;
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
}#sortModal.fd-sort-modal .modal-header {
    padding: 16px 18px 12px;
}#sortModal.fd-sort-modal .modal-title {
    font-size: 15px;
}.fd-sort-sub {
    font-size: 11.5px;
}#sortModal.fd-sort-modal .modal-body {
    padding: 16px 18px 4px;
}.fd-sort-group + .fd-sort-group {
    margin-top: 16px;
}.fd-sort-label {
    margin-bottom: 7px;
    font-size: 10px;
}#sortModal.fd-sort-modal .fd-sort-pills {
    gap: 6px;
}#sortModal.fd-sort-modal .fd-sort-pill span {
    height: 36px;
    padding: 0 6px;
    font-size: 12px;
}#sortModal.fd-sort-modal .modal-footer {
    padding: 14px 18px 16px;
    gap: 8px;
}#sortModal.fd-sort-modal .modal-footer .fd-sort-btn {
    height: 38px;
    min-width: 0;
    font-size: 12.5px;
}/* sort modal — copy the header-nav glass + segmented tab treatment */
#sortModal.fd-sort-modal .modal-content {
    background: linear-gradient(180deg,
            rgba(var(--hp-color-overlay-top-rgb), 0.72) 0%,
            rgba(var(--hp-color-overlay-mid-rgb), 0.84) 60%,
            rgba(var(--hp-color-overlay-bottom-rgb), 0.92) 100%) !important;
    border: 1px solid var(--hp-color-border-on-glass) !important;
    border-radius: 22px !important;
    -webkit-backdrop-filter: blur(28px) saturate(135%);
    backdrop-filter: blur(28px) saturate(135%);
    box-shadow: 0 18px 48px rgba(var(--hp-color-black-rgb), 0.42) !important;
}#sortModal.fd-sort-modal .modal-header,
#sortModal.fd-sort-modal .modal-footer {
    border-color: rgba(var(--hp-color-white-rgb), 0.08) !important;
}.fd-sort-seg {
    position: relative;
    display: flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(var(--hp-color-white-rgb), 0.05);
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.06);
    box-shadow: inset 0 1px 0 rgba(var(--hp-color-white-rgb), 0.06);
}.fd-sort-seg__thumb {
    position: absolute;
    top: 3px;
    left: 0;
    height: 32px;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(180deg,
            rgba(var(--hp-color-white-rgb), 0.08) 0%,
            rgba(var(--hp-color-white-rgb), 0.05) 52%,
            rgba(var(--hp-color-white-rgb), 0.18) 100%);
    box-shadow: inset 0 1px 0 rgba(var(--hp-color-white-rgb), 0.24);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}#sortModal.fd-sort-modal .fd-sort-seg__btn {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 8px;
    margin: 0;
    border-radius: 999px;
    color: rgba(var(--hp-color-white-rgb), 0.5);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: color 0.25s ease;
}#sortModal.fd-sort-modal .fd-sort-seg__btn input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}#sortModal.fd-sort-modal .fd-sort-seg__btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}#sortModal.fd-sort-modal .fd-sort-seg__btn:has(input:checked) {
    color: var(--hp-color-white);
}#sortModal.fd-sort-modal .fd-sort-seg__btn:hover {
    color: var(--hp-color-white);
}/* Filters menu — same nav glass recipe as the sort modal */
.dropdown-menu.fd-menu {
    background: linear-gradient(180deg,
            rgba(var(--hp-color-overlay-top-rgb), 0.72) 0%,
            rgba(var(--hp-color-overlay-mid-rgb), 0.84) 60%,
            rgba(var(--hp-color-overlay-bottom-rgb), 0.92) 100%) !important;
    border: 1px solid var(--hp-color-border-on-glass) !important;
    border-radius: 18px !important;
    padding: 8px !important;
    -webkit-backdrop-filter: blur(28px) saturate(135%);
    backdrop-filter: blur(28px) saturate(135%);
    box-shadow: 0 18px 48px rgba(var(--hp-color-black-rgb), 0.42) !important;
}.fd-menu .dropdown-item {
    padding: 10px 12px !important;
    border-radius: 10px !important;
    color: rgba(var(--hp-color-white-rgb), 0.65) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}.fd-menu .dropdown-item:hover,
.fd-menu .dropdown-item:focus {
    background: rgba(var(--hp-color-white-rgb), 0.08) !important;
    color: var(--hp-color-white) !important;
}/* filter items as glass pills (nav-pill aesthetic) */
.fd-menu .dropdown-item {
    background: rgba(var(--hp-color-white-rgb), 0.035) !important;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.06) !important;
    margin-bottom: 6px;
}.fd-menu li:last-child .dropdown-item {
    margin-bottom: 0;
}.fd-menu .dropdown-item::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(var(--hp-color-accent-soft-rgb), 0.65);
    transition: background 0.15s ease;
}.fd-menu .dropdown-item:hover {
    background: rgba(var(--hp-color-accent-rgb), 0.16) !important;
    border-color: rgba(var(--hp-color-accent-rgb), 0.4) !important;
}.fd-menu .dropdown-item:hover::before {
    background: var(--hp-color-white);
}/* left-align filter labels with the dot */
.fd-menu .dropdown-item {
    justify-content: flex-start !important;
    gap: 10px !important;
}.fd-menu .dropdown-item::after {
    margin-left: auto !important;
}.hp-moderator-dashboard .table tbody tr {
    background-color: rgba(var(--hp-color-black-rgb), .55) !important;
    border-top: 1px solid rgba(var(--hp-color-white-rgb), .05) !important;
}.hp-moderator-dashboard .table tbody tr:hover {
    background-color: rgba(var(--hp-color-white-rgb), .06) !important;
}.reason-list .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    min-width: 0;
}.reason-list .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--hp-color-accent);
}.reason-list .form-check-label {
    cursor: pointer;
    margin: 0;
    color: rgba(var(--hp-color-white-rgb), .88);
    user-select: none;
    font-size: .85rem;
    line-height: 1.25;
    word-break: break-word;
}/* Account, auth, and moderator pages share the central surface system. */
.hp-account-edit,
.hp-auth-page,
.hp-block-page,
.hp-moderator-page {
    color: var(--hp-color-white);
}.hp-account-edit > .row > .col-lg-8 > .card,
.hp-auth-card {
    background: linear-gradient(155deg, rgba(var(--hp-color-white-rgb), .065), rgba(var(--hp-color-white-rgb), .025)) !important;
    border: 1px solid var(--hp-color-border-soft) !important;
    border-radius: 22px !important;
    box-shadow: 0 20px 60px rgba(var(--hp-color-black-rgb), .28) !important;
}.hp-auth-card {
    max-width: 430px;
    padding: clamp(22px, 4vw, 34px);
}.hp-auth-page > .row {
    max-width: 1100px;
    align-items: center;
    row-gap: 24px;
}.hp-auth-page .display-1 {
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -.05em;
}.hp-auth-page .form-control {
    padding: 12px 15px;
}.hp-auth-page .reset-btn {
    min-height: 46px;
}.hp-profile-pic-holder {
    width: 124px;
    height: 124px;
    position: relative;
    overflow: hidden;
}.hp-profile-pic-holder .pic {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}.hp-profile-pic-holder .upload-file-block {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--hp-color-black-rgb), .7);
    color: var(--hp-color-white);
    opacity: 0;
    transition: opacity .2s ease;
}.hp-profile-pic-holder:hover .upload-file-block,
.hp-profile-pic-holder:focus-within .upload-file-block {
    opacity: 1;
}.hp-profile-pic-holder .uploadProfileInput {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}.hp-account-edit .input-group .social-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}.hp-account-edit .form-control.social-input {
    padding-left: 40px;
}.hp-account-edit .card-title {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hp-color-border-soft);
    font-size: 1.05rem;
}.hp-album-detail > .fd-grid--album-media {
    margin-top: 24px;
}.fd-grid--album-media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
    gap: 12px;
}.fd-card--album-media {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--fd-line);
    border-radius: 16px;
    background: var(--fd-card-bg);
}.fd-card--album-media img,
.fd-card--album-media video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
}.fd-grid--edit-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
    gap: 14px;
}.fd-card--edit-image {
    overflow: hidden;
    border: 1px solid var(--fd-line);
    border-radius: 16px;
    background: var(--fd-card-bg);
}.fd-card--edit-image img,
.fd-card--edit-image video {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}.hp-album-hero {
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid var(--fd-line);
    border-radius: 24px;
    background: radial-gradient(ellipse at 90% 0%, rgba(var(--hp-color-accent-rgb), .18), transparent 54%), var(--fd-card-bg);
}.hp-block-page {
    max-width: 940px;
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid rgba(var(--hp-color-white-rgb), .12);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(var(--hp-color-white-rgb), .08), rgba(var(--hp-color-white-rgb), .025));
}.hp-block-page .details {
    border: 1px solid rgba(var(--hp-color-white-rgb), .1);
}.hp-moderator-page .card {
    border-radius: 16px;
}.hp-moderator-reports .card-body {
    min-height: auto !important;
}.hp-moderator-reports .card img {
    display: block;
    max-width: 100%;
    height: auto;
}@supports (backdrop-filter: blur(10px)) {
    .hp-moderator-reports .card {
        backdrop-filter: blur(10px) !important;
    }
}@media (max-width: 767.98px) {.hp-moderator-reports .card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }}@media (max-width: 767.98px) {.hp-auth-page {
        padding-top: 24px;
        padding-bottom: 24px;
    }.hp-profile-pic-holder {
        width: 104px;
        height: 104px;
    }}/* icon stragglers on detail pages */
.hp-i-codes .btn .hp-icon { width: 16px; height: 16px; }.fd-tag-hero__hash.hp-icon {
    width: clamp(26px, 6vw, 40px);
    height: clamp(26px, 6vw, 40px);
    margin-right: 4px;
    vertical-align: -6px;
    color: var(--hp-color-accent);
}/* ==========================================================================
   404 — page not found
   ========================================================================== */
.hp-404 {
    padding-top: clamp(18px, 3vw, 32px);
}.hp-404-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
    border: 1px solid var(--fd-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 0%, rgba(var(--hp-color-accent-rgb), .18), transparent 46%),
        radial-gradient(circle at 100% 100%, rgba(var(--hp-color-accent-rgb), .10), transparent 42%),
        var(--fd-card-bg);
    text-align: center;
}.hp-404-title {
    margin: 6px 0 0;
    font-size: clamp(20px, 3.6vw, 30px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--hp-color-white);
}.hp-404-text {
    max-width: 560px;
    margin: 10px auto 0;
    color: var(--fd-muted);
    font-size: 13.5px;
    line-height: 1.6;
}.hp-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}.hp-404-actions .btn {
    border-radius: 12px;
    padding: 11px 22px;
    font-weight: 700;
}.hp-404 .fd-section-head {
    margin-top: 30px;
}/* ==========================================================================
   Feed pages: unify vertical rhythm (page top / toolbar / section heading)
   ========================================================================== */
@media screen and (min-width: 768px) {
    .hp-page-container {
        padding-top: 0 !important;
    }

    .hp-feed .fd-toolbar {
        margin: 0 0 20px !important;
    }

    .hp-feed .fd-section-head {
        margin-top: 20px !important;
        margin-bottom: 16px !important;
    }
}@media screen and (max-width: 767px) {.hp-feed .fd-toolbar {
        margin: 0 0 16px !important;
    }.hp-feed .fd-section-head {
        margin-top: 16px !important;
        margin-bottom: 12px !important;
    }}/* pages.css `.container h2 { margin-top: 1.2em }` was winning over the
   section title and adding ~31px above every heading inside feed containers */
.container .fd-section-head__title {
    margin-top: 0 !important;
}/* tags scroll horizontally inside the card;chips keep their natural width */
.fd-card__tags {
    min-width: 0;
}.fd-card__tag {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
}.fd-card__tag svg {
    flex: 0 0 auto;
}/* video cards on profile pages */
.fd-card--video .fd-card__media {
    display: block;
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
}.fd-card--video .fd-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}.hp-video-grid {
    margin-bottom: 18px;
}/* horizontal card row (photos / videos sections on profile pages) */
.fd-grid--scroll {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 240px;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--hp-color-white-rgb), 0.18) transparent;
}.fd-grid--scroll::-webkit-scrollbar {
    height: 4px;
}.fd-grid--scroll::-webkit-scrollbar-thumb {
    background: rgba(var(--hp-color-white-rgb), 0.18);
    border-radius: 4px;
}@media screen and (max-width: 767px) {.fd-grid--scroll {
        grid-auto-columns: calc(46% - 7px);
    }.fd-grid--scroll .fd-card__title {
        font-size: 12.5px;
    }}@media screen and (min-width: 768px) and (max-width: 1199px) {.fd-grid--scroll {
        grid-auto-columns: 210px;
    }}/* horizontal card rows with arrow controls (profile photos / videos) */
.hp-hrow {
    position: relative;
}.hp-hrow__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--hp-color-border-strong);
    border-radius: 50%;
    background: rgba(var(--hp-color-canvas-rgb), 0.78);
    color: var(--hp-color-white);
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}.hp-hrow__btn--prev { left: -14px; }.hp-hrow__btn--next { right: -14px; }.hp-hrow__btn.is-visible {
    opacity: 1;
    pointer-events: auto;
}.hp-hrow__btn:hover {
    background: rgba(var(--hp-color-accent-rgb), 0.85);
    border-color: transparent;
}.hp-hrow__btn:focus-visible {
    opacity: 1;
    pointer-events: auto;
    outline: 2px solid rgba(var(--hp-color-accent-rgb), 0.7);
    outline-offset: 2px;
}.fd-grid--scroll {
    scroll-snap-type: x proximity;
    align-items: start;
}.fd-grid--scroll > * {
    scroll-snap-align: start;
}/* "See all" pill in a section head */
.fd-section-head__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border: 1px solid rgba(var(--hp-color-accent-rgb), 0.55);
    border-radius: 999px;
    background: rgba(var(--hp-color-accent-rgb), 0.16);
    color: var(--hp-color-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}.fd-section-head__link:hover {
    background: rgba(var(--hp-color-accent-rgb), 0.85);
    border-color: transparent;
    color: var(--hp-color-white);
}.fd-section-head__link:focus-visible {
    outline: 2px solid rgba(var(--hp-color-accent-rgb), 0.7);
    outline-offset: 2px;
}@media (hover: none) {.hp-hrow__btn {
        display: none;
    }}