/* Album pages (split from album.css) */

/* Album / single-image pages */

/* ---------- hero card ---------- */
.hp-album .hp-album-head{
    position: relative;
    margin: 6px 0 18px;
    padding: 24px 18px 20px;
    border: 1px solid var(--hp-color-border);
    border-radius: var(--hp-radius-2xl);
    background:
        radial-gradient(120% 140% at 50% -30%,
            rgba(var(--hp-color-accent-rgb), 0.22) 0%,
            rgba(var(--hp-color-accent-rgb), 0) 60%),
        linear-gradient(180deg,
            rgba(var(--hp-color-white-rgb), 0.05) 0%,
            rgba(var(--hp-color-white-rgb), 0.015) 100%);
    color: var(--hp-color-text);
    text-align: center;
    overflow: hidden;
}.hp-album-head__title h1,
.hp-album-head .display-6{
    margin: 0;
    color: var(--hp-color-text);
    font-size: clamp(22px, 4.6vw, 34px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
}/* description text passed through the legacy .tags wrapper */
.hp-album-head .tags{
    max-height: none;
    overflow: visible;
    color: var(--hp-color-text-soft);
    font-size: 13px;
    line-height: 1.6;
}/* ---------- tag / model / site chips ---------- */
.hp-album-tags{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    max-height: none;
    overflow: visible;
}.hp-album-tags .btn,
.hp-album-tags .btn-outline-secondary{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 6px 12px !important;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.12) !important;
    border-radius: var(--hp-radius-pill) !important;
    background: rgba(var(--hp-color-white-rgb), 0.05) !important;
    color: var(--hp-color-text-soft) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    text-transform: capitalize;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}.hp-album-tags .btn img{
    width: 14px !important;
    height: 14px !important;
    opacity: 0.8;
}.hp-album-tags .btn:hover{
    background: rgba(var(--hp-color-accent-rgb), 0.18) !important;
    border-color: rgba(var(--hp-color-accent-rgb), 0.42) !important;
    color: var(--hp-color-white) !important;
}/* ---------- uploader / stats meta row ---------- */
.hp-album-meta{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    margin: 16px 0 0 !important;
    padding-top: 16px;
    border-top: 1px solid var(--hp-color-border);
    color: var(--hp-color-text-muted);
    font-size: 12.5px;
}.hp-album-meta .col-auto{
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}.hp-album-meta a{
    color: var(--hp-color-accent-soft);
    font-weight: 600;
}.hp-album-meta img{
    width: 16px !important;
    height: 16px !important;
    margin-right: 3px;
    opacity: 0.7;
    vertical-align: -3px;
}.hp-album-meta .btn{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 !important;
    padding: 5px 10px !important;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.10) !important;
    border-radius: var(--hp-radius-pill) !important;
    background: rgba(var(--hp-color-white-rgb), 0.04) !important;
    color: var(--hp-color-text-soft) !important;
    font-size: 11.5px !important;
}.hp-album-meta .btn img{
    width: 14px !important;
    height: 14px !important;
}/* ---------- action buttons ---------- */
.hp-album-actions{
    margin: 18px 0 20px !important;
}.hp-album-actions > .d-flex,
.hp-album-tools{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center !important;
    gap: 8px;
}.hp-album-actions .btn .fw-light{
    color: inherit !important;
}/* ---------- comments ---------- */
.hp-comments{
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--hp-color-border);
    border-radius: var(--hp-radius-2xl);
    background: linear-gradient(180deg,
            rgba(var(--hp-color-white-rgb), 0.035) 0%,
            rgba(var(--hp-color-white-rgb), 0.012) 100%);
}.hp-comments h2{
    margin-bottom: 14px !important;
    color: var(--hp-color-text);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}.hp-comments #commentsSection > .mb-4{
    margin-bottom: 0 !important;
    padding: 12px 0;
    border-bottom: 1px solid rgba(var(--hp-color-white-rgb), 0.07);
}.hp-comments #commentsSection img.rounded-circle{
    width: 34px;
    height: 34px;
    object-fit: cover;
}.hp-comments .media-body{
    color: var(--hp-color-text-soft);
    font-size: 13px;
    line-height: 1.6;
}.hp-comments #commentForm{
    margin-top: 16px;
}.hp-comments .form-control{
    background: rgba(var(--hp-color-white-rgb), 0.05);
    border-color: var(--hp-color-border);
    color: var(--hp-color-text);
}.hp-comments .form-control:focus{
    border-color: rgba(var(--hp-color-accent-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--hp-color-accent-rgb), 0.16);
}.hp-comments button[type="submit"]{
    margin-top: 4px;
    padding: 9px 18px !important;
    border: 0 !important;
    background: linear-gradient(180deg,
            var(--hp-color-accent) 0%,
            var(--hp-color-accent-mid) 48%,
            var(--hp-color-accent-deep) 100%) !important;
    color: var(--hp-color-white) !important;
    box-shadow: 0 8px 20px rgba(var(--hp-color-accent-deep-rgb), 0.3);
}@media screen and (max-width: 767px) {.hp-album .hp-album-head {
        padding: 20px 14px 18px;
        border-radius: var(--hp-radius-xl);
    }.hp-album-actions .btn {
        padding: 8px 10px !important;
        min-height: 38px;
    }.hp-album-grid img,
    .hp-album-grid video {
        aspect-ratio: 1 / 1;
    }}/* in the rail the wrapper replaces the card chrome, so the sidebar card is
   transparent and the panel renders identically to mobile */
.hp-album-side__card:has(.comments-section-wrap){
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}.comments-section-wrap .hp-comments{
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}.comments-section-wrap .hp-comments h2{
    display: block !important;
    margin: 0 0 10px !important;
    color: var(--hp-color-text);
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
}.comments-section-wrap #commentsSection > div{
    margin: 0 !important;
    padding: 10px 0 !important;
    border: 0;
    border-bottom: 1px solid rgba(var(--hp-color-white-rgb), 0.07);
    border-radius: 0;
    background: none;
}.comments-section-wrap #commentsSection > div:first-child{
    padding-top: 0 !important;
}.comments-section-wrap #commentsSection > div:last-child{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0;
}/* the composer / login CTA keeps the same distance from the list in both states */
.comments-section-wrap #commentsSection ~ div{
    margin-top: 14px;
}/* cards delimit the list, so the composer only needs breathing room */
.comments-section-wrap #commentsSection:has(> div) ~ div{
    padding-top: 6px;
}.comments-section-wrap #commentsSection img.rounded-circle{
    width: 24px !important;
    height: 24px !important;
}.comments-section-wrap #commentsSection h5{
    margin: 0 6px 0 0 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
}.comments-section-wrap #commentsSection small{
    color: var(--hp-color-text-dim) !important;
    font-size: 10px !important;
}.comments-section-wrap #commentsSection + div p.text-white-50{
    margin-bottom: 12px !important;
}/* ==========================================================================
   ALBUM META STATS — videos / photos / views (same look for button and span)
   ========================================================================== */
.hp-album-meta__stats{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 10px;
}.hp-stat{
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--hp-color-text-soft);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
}.hp-stat img{
    display: block;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    flex-shrink: 0;
    opacity: 0.75;
}.hp-stat__value{
    color: var(--hp-color-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}.hp-stat__label{
    display: none;
    color: var(--hp-color-text-dim);
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1;
}/* inline "/24h" counter that sits next to the total-views stat */
.hp-stat__trend{
    color: var(--hp-color-text-muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}/* ==========================================================================
   ALBUM DETAIL — sidebar (server-rendered, no JS layout shift)
   Desktop: two columns (media | album meta + actions + comments).
   Mobile/tablet: wrappers flatten with display:contents + order, giving the
   original stacked order: head -> actions -> media -> comments.
   ========================================================================== */
.hp-album-layout{
    display: flex;
    flex-direction: column;
}.hp-album-side,
.hp-album-main,
.hp-album-side__card{
    display: contents;
}/* report form sits right under the action buttons on mobile (it is a direct
   child of the flattened actions card, so without an order it would land first) */
.hp-album-layout #reportForm{
    order: 3;
}/* ==========================================================================
   FLAG ALBUM REPORT FORM — one design for desktop and mobile
   Identical panel, radio rows, fields and full-width accent Submit.
   ========================================================================== */
#reportForm.collapse:not(.show){
    display: none !important;
}#reportForm{
    margin: 12px 0 18px !important;
    padding: 16px !important;
    border: 1px solid var(--hp-color-border);
    border-radius: 16px;
    background: rgba(var(--hp-color-white-rgb), 0.035);
}#reportForm > h5{
    margin: 0 0 12px !important;
    color: var(--hp-color-accent-soft);
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    line-height: 1.2;
}#reportForm form.reportForm{
    display: flex !important;
    flex-direction: column;
    margin: 0 !important;
}#reportForm .form-check{
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 0 !important;
    margin: 0 0 2px !important;
    padding: 6px 0 !important;
    border-radius: 8px;
    line-height: 1.3;
    transition: background 0.15s ease;
}#reportForm .form-check:hover{
    background: rgba(var(--hp-color-white-rgb), 0.04);
}#reportForm .form-check-input{
    float: none !important;
    flex: 0 0 auto;
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    border-color: rgba(var(--hp-color-white-rgb), 0.3) !important;
    background-color: transparent !important;
    cursor: pointer;
}#reportForm .form-check-input:checked{
    background-color: var(--hp-color-accent) !important;
    border-color: var(--hp-color-accent) !important;
}#reportForm .form-check-label{
    margin: 0 !important;
    color: var(--hp-color-text-soft);
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
}#reportForm label[for="optional"]{
    display: block;
    margin: 12px 0 6px;
    color: var(--hp-color-text-dim);
    font-size: 12px;
}#reportForm textarea.form-control{
    min-height: 78px;
    padding: 10px 12px;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.10);
    border-radius: 10px;
    background: rgba(var(--hp-color-white-rgb), 0.04);
    color: var(--hp-color-text);
    font-size: 13px;
    line-height: 1.4;
}#reportForm .btn{
    width: 100%;
    margin: 12px 0 0 !important;
    padding: 11px 0 !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(180deg, var(--hp-color-accent) 0%, var(--hp-color-accent-mid) 55%, var(--hp-color-accent-deep) 100%) !important;
    color: var(--hp-color-white) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}#reportForm .btn:hover{
    filter: brightness(1.08);
}/* mobile stacked order (DOM order is aside -> main, so order fixes it) */
.hp-album-layout > .hp-album-head,
.hp-album-layout .hp-album-head{
    order: 1;
}.hp-album-layout .hp-album-actions{
    order: 2;
}.hp-album-layout .hp-album-grid{
    order: 3;
}.hp-album-layout .hp-album-tools{
    order: 4;
}.hp-album-layout .comments-section-wrap{
    order: 5;
}.hp-album-layout .hp-album-main > *{
    order: 10;
}.hp-album-layout .hp-album-main > .hp-album-grid{
    order: 3;
}.hp-album-layout .hp-album-main > .hp-album-tools{
    order: 4;
}@media screen and (min-width: 1200px) {.hp-album-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        column-gap: 22px;
        align-items: start;
    }/* real CSS grid (matches the approved preview: 5 columns, 10px gaps) */
    .hp-album-grid {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
        --bs-gutter-x: 10px;
        --bs-gutter-y: 10px;
    }.hp-album-grid img,
    .hp-album-grid video {
        aspect-ratio: 1 / 1;
    }.hp-album-side {
        display: flex;
        flex-direction: column;
        gap: 12px;
        grid-column: 2;
        grid-row: 1;
        position: sticky;
        top: 18px;
        max-height: calc(100vh - 36px);
        overflow: auto;
        /* scrollable but with no visible scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }.hp-album-side::-webkit-scrollbar {
        width: 0;
        height: 0;
    }.hp-album-main {
        display: block;
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }.hp-album-side__card {
        display: block;
        padding: 16px;
        border: 1px solid rgba(var(--hp-color-white-rgb), 0.12);
        border-radius: 18px;
        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%);
        box-shadow: 0 18px 48px rgba(var(--hp-color-black-rgb), 0.42);
        -webkit-backdrop-filter: blur(28px) saturate(135%);
        backdrop-filter: blur(28px) saturate(135%);
    }/* compact the moved album pieces inside the narrow column */
    .hp-album-side .hp-album-head {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: none !important;
    }.hp-album-side .hp-album-head__title h1 {
        font-size: 16px !important;
        line-height: 1.35 !important;
        text-align: left !important;
    }.hp-album-side .hp-album-tags {
        margin: 10px 0 0 !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }.hp-album-side .hp-album-tags .btn {
        padding: 4px 8px !important;
        font-size: 10.5px !important;
    }.hp-album-side .hp-album-meta {
        margin: 12px 0 0 !important;
        padding-top: 12px !important;
        justify-content: flex-start !important;
        gap: 8px 12px !important;
        font-size: 11.5px !important;
    }.hp-album-side .hp-album-meta > .col-auto {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }.hp-album-side .hp-album-meta__who {
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--hp-color-text-dim);
        font-size: 10.5px;
        line-height: 1.3;
    }.hp-album-side .hp-album-meta__who img {
        width: 16px !important;
        height: 16px !important;
        border-radius: 50%;
        opacity: 0.8;
        flex-shrink: 0;
    }.hp-album-side .hp-album-meta__who a {
        color: var(--hp-color-accent-soft);
        font-weight: 600;
        text-decoration: none;
    }.hp-album-side .hp-album-meta__stats {
        gap: 0 10px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }.hp-album-side .hp-album-meta__stats .hp-stat {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 4px;
        width: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
        color: var(--hp-color-text-soft) !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        text-align: left !important;
        cursor: default;
    }.hp-album-side .hp-album-meta__stats button.hp-stat {
        cursor: pointer;
    }.hp-album-side .hp-album-meta__stats button.hp-stat:hover {
        color: var(--hp-color-accent-soft) !important;
    }.hp-album-side .hp-album-meta__stats .hp-stat + .hp-stat {
        position: relative;
        padding-left: 10px !important;
    }.hp-album-side .hp-album-meta__stats .hp-stat + .hp-stat::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 1px;
        height: 10px;
        transform: translateY(-50%);
        background: rgba(var(--hp-color-white-rgb), 0.14);
    }.hp-album-side .hp-album-meta__stats .hp-stat img {
        width: 14px !important;
        height: 14px !important;
        opacity: 0.7;
    }.hp-album-side .hp-album-meta__stats .hp-stat__value {
        color: var(--hp-color-text) !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
    }.hp-album-side .hp-album-meta__stats .hp-stat__label {
        display: inline !important;
        color: var(--hp-color-text-dim) !important;
        font-size: 10.5px !important;
        font-weight: 500 !important;
    }/* ---------- Actions: one row, like is the wide primary ---------- */
    .hp-album-side .hp-album-actions.row,
    .hp-album-side .hp-album-actions {
        margin: 0 !important;
    }.hp-album-side .hp-album-actions > div {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        gap: 6px !important;
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: flex-start !important;
    }.hp-album-side .hp-album-actions > div > div {
        display: flex;
        flex: 0 0 auto;
        min-width: 0;
    }/* like button gets ~45% of the row */
    /* desktop: the like tile fills the remaining width (icon tiles stay 44px) */
    .hp-album-side .hp-album-actions > div > div:has(.options) {
        flex: 1 1 0;
    }/* invisible/removed actions must not take a slot */
    .hp-album-side .hp-album-actions > div > div:not(:has(*)),
    .hp-album-side .hp-album-actions > div > div:has(.d-sm-none) {
        display: none !important;
    }.hp-album-side .hp-album-actions .btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 100%;
        min-height: 34px !important;
        margin: 0 !important;
        padding: 6px 8px !important;
        border: 1px solid rgba(var(--hp-color-white-rgb), 0.09) !important;
        border-radius: 10px !important;
        background: rgba(var(--hp-color-white-rgb), 0.04) !important;
        color: var(--hp-color-text-soft) !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        line-height: 1.1;
        overflow: hidden;
        white-space: nowrap;
        transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }.hp-album-side .hp-album-actions .btn img {
        width: 15px !important;
        height: 15px !important;
        margin: 0 !important;
        flex-shrink: 0;
        opacity: 0.85;
    }.hp-album-side .hp-album-actions .btn > span {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        text-transform: capitalize;
    }.hp-album-side .hp-album-actions .btn:hover {
        border-color: rgba(var(--hp-color-accent-rgb), 0.45) !important;
        background: rgba(var(--hp-color-accent-rgb), 0.14) !important;
        color: var(--hp-color-white) !important;
    }/* primary like tile */
    .hp-album-side .hp-album-actions .btn.options {
        color: var(--hp-color-text) !important;
        border-color: rgba(var(--hp-color-accent-rgb), 0.35) !important;
        background: rgba(var(--hp-color-accent-rgb), 0.10) !important;
    }.hp-album-side .hp-album-actions .btn.options:hover {
        background: rgba(var(--hp-color-accent-rgb), 0.20) !important;
    }/* the Comments section sits right below in the same rail: drop the shortcut */
    .hp-album-side .hp-album-actions > div > div:has(a[href="#commentsSection"]) {
        display: none !important;
    }}/* ==========================================================================
   ALBUM STATS — mobile parity
   The photo/video counts are <button class="btn ..."> while views is a <span>.
   Strip the Bootstrap button chrome so all three render identically outside
   the desktop rail (the rail has its own explicit styling).
   ========================================================================== */
.hp-album-meta__stats .hp-stat,
.hp-album-meta__stats .hp-stat.btn,
.hp-album-meta__stats .hp-stat.btn.btn-outline-secondary{
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    height: 16px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--hp-color-text-soft) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    vertical-align: middle;
    text-transform: none;
}.hp-album-meta__stats .hp-stat.btn:hover,
.hp-album-meta__stats .hp-stat.btn:focus,
.hp-album-meta__stats .hp-stat.btn:active,
.hp-album-meta__stats .hp-stat.btn:focus-visible{
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--hp-color-text) !important;
    outline: none !important;
}.hp-album-meta__stats .hp-stat.btn img{
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
}/* album like button: same pop + burst as the feed/NSFW album cards.
   The keyframes (hpCardHeartPop / hpLikeBurst) live in feed.css, which every page loads. */
.hp-album-actions .options{
    position: relative;
}.hp-album-actions .hp-like-host{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}/* button labels were .fw-light (300) outside the rail — normalise the weight */
.hp-album-actions .fw-light{
    font-weight: 600 !important;
}.hp-play-glyph{
    width: 20px !important;
    height: 20px !important;
    fill: currentColor;
    stroke: none;
    color: #fff;
}/* ==========================================================================
   ALBUM TEXT TOKENS — one token per role on both breakpoints
   ========================================================================== */
.hp-album-meta__who{
    color: var(--hp-color-text-muted) !important;
}.hp-album-meta__who a{
    color: var(--hp-color-accent-soft) !important;
    font-weight: 600 !important;
    text-decoration: none;
}/* the like tile reads as the primary action in both layouts */
.hp-album-actions .options,
.hp-album-actions .options .fw-light{
    color: var(--hp-color-text) !important;
}/* shared secondary label weight for every action button */
.hp-album-actions .btn .fw-light{
    font-weight: 600 !important;
}/* ==========================================================================
   ICON ↔ LABEL SPACING — one rule set (the flex gap already spaces them, so
   icon margins must be zero or the gap doubles up)
   ========================================================================== */
.hp-album-tags .btn{
    gap: 3px !important;
}.hp-album-actions .btn{
    gap: 4px !important;
}.hp-album-meta__who{
    gap: 5px !important;
}.hp-album-meta__stats .hp-stat{
    gap: 4px !important;
}.hp-i-select{
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    padding: 6px 30px 6px 10px;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.10);
    border-radius: 9px;
    background-color: rgba(var(--hp-color-white-rgb), 0.04);
    color: var(--hp-color-text);
    font-size: 11px;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.55) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.55) 50%, transparent 50%);
    background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}.hp-i-select:focus{
    outline: none;
    border-color: rgba(var(--hp-color-accent-rgb), 0.5);
}.hp-i-textarea{
    display: block;
    width: 100%;
    min-height: 74px;
    padding: 8px 10px;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.10);
    border-radius: 9px;
    background: rgba(var(--hp-color-white-rgb), 0.04);
    color: var(--hp-color-text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10.5px;
    line-height: 1.45;
    resize: vertical;
}.hp-i-textarea:focus{
    outline: none;
    border-color: rgba(var(--hp-color-accent-rgb), 0.5);
}/* secondary action tiles are icon-only (no clipped labels) */
.hp-album-side .hp-album-actions .btn:not(.options) .fw-light,
.hp-album-side .hp-album-actions .btn:not(.options) .fav-btn-label{
    display: none !important;
}.hp-album-side .hp-album-actions .btn:not(.options){
    padding: 0 !important;
}like keeps its count)
   ========================================================================== */
.hp-album-actions{
    margin: 0 !important;
}.hp-album-actions > div{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 6px !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: flex-start !important;
}.hp-album-actions > div > div{
    display: flex;
    flex: 0 0 auto;
    min-width: 0;
}.hp-album-actions > div > div:has(.options){
    flex: 1 1 auto;
}.hp-album-actions > div > div:not(:has(*)){
    display: none !important;
}.hp-album-actions .btn{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 34px;
    margin: 0 !important;
    padding: 6px 8px !important;
    border: 1px solid rgba(var(--hp-color-white-rgb), 0.09) !important;
    border-radius: 10px !important;
    background: rgba(var(--hp-color-white-rgb), 0.04) !important;
    color: var(--hp-color-text-soft) !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.1;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}.hp-album-actions .btn:not(.options){
    width: 44px !important;
    min-width: 44px;
    padding: 0 !important;
}.hp-album-actions .btn:not(.options) .fw-light,
.hp-album-actions .btn:not(.options) .fav-btn-label{
    display: none !important;
}.hp-album-actions .btn.options{
    color: var(--hp-color-text) !important;
    border-color: rgba(var(--hp-color-accent-rgb), 0.35) !important;
    background: rgba(var(--hp-color-accent-rgb), 0.10) !important;
}.hp-album-actions .btn:hover{
    border-color: rgba(var(--hp-color-accent-rgb), 0.45) !important;
    background: rgba(var(--hp-color-accent-rgb), 0.14) !important;
    color: var(--hp-color-white) !important;
}/* ==========================================================================
   GALLERY CODES PANEL — same bordered panel as the Flag Album form
   ========================================================================== */
/* mobile: open right under the action buttons (same slot as the report form) */
.hp-album-layout #linksForm{
    order: 3;
}/* ==========================================================================
   ALBUM META ORDER — stats first, uploader line second (both breakpoints)
   ========================================================================== */
.hp-album-meta{
    display: flex !important;
    flex-wrap: wrap;
}.hp-album-meta__stats{
    order: 1;
}.hp-album-meta__who{
    order: 2;
}/* ---------- floating action stack ---------- */
.hp-mod-actions{
    position: fixed !important;
    right: 18px;
    bottom: 24px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}.hp-mod-actions__row{
    display: flex;
    align-items: center;
    gap: 10px;
}.hp-mod-fab{
    display: inline-grid !important;
    place-items: center;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--hp-color-border-strong) !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg,
            rgba(var(--hp-color-white-rgb), 0.14) 0%,
            rgba(var(--hp-color-white-rgb), 0.05) 100%) !important;
    color: var(--hp-color-text) !important;
    box-shadow: 0 12px 30px rgba(var(--hp-color-black-rgb), 0.50) !important;
    -webkit-backdrop-filter: var(--hp-glass-blur);
    backdrop-filter: var(--hp-glass-blur);
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}.hp-mod-fab:hover{
    border-color: rgba(var(--hp-color-white-rgb), 0.34) !important;
    transform: translateY(-1px);
}.hp-mod-fab:focus-visible{
    outline: 2px solid rgba(var(--hp-color-accent-rgb), 0.65);
    outline-offset: 2px;
}.hp-mod-fab--restrict{
    color: var(--hp-color-danger-text) !important;
}.hp-mod-fab--restrict:hover{
    background: rgba(var(--hp-color-danger-rgb), 0.30) !important;
    border-color: rgba(var(--hp-color-danger-rgb), 0.55) !important;
}.hp-mod-fab--unrestrict{
    color: var(--hp-color-success-text) !important;
}.hp-mod-fab--unrestrict:hover{
    background: rgba(var(--hp-color-success-rgb), 0.30) !important;
    border-color: rgba(var(--hp-color-success-rgb), 0.55) !important;
}.hp-mod-fab--select.is-on{
    border-color: rgba(var(--hp-color-accent-rgb), 0.75) !important;
    background: linear-gradient(180deg, var(--hp-color-accent) 0%, var(--hp-color-accent-deep) 100%) !important;
    color: var(--hp-color-white) !important;
    box-shadow: 0 14px 34px rgba(var(--hp-color-accent-deep-rgb), 0.45) !important;
}/* ---------- batch chip (left of the Select FAB) ---------- */
.hp-mod-batch{
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 8px 6px 12px !important;
    border: 1px solid var(--hp-color-border-strong);
    border-radius: 999px;
    background: rgba(var(--hp-color-canvas-rgb), 0.66);
    -webkit-backdrop-filter: var(--hp-glass-blur);
    backdrop-filter: var(--hp-glass-blur);
    box-shadow: 0 12px 30px rgba(var(--hp-color-black-rgb), 0.50);
    white-space: nowrap;
}.hp-mod-batch__count{
    color: var(--hp-color-text-soft);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
}.hp-mod-batch__btn{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 6px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: rgba(var(--hp-color-white-rgb), 0.08) !important;
    color: var(--hp-color-text) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}.hp-mod-batch__btn:hover{
    background: rgba(var(--hp-color-white-rgb), 0.16) !important;
}.hp-mod-batch__btn--restrict{
    background: rgba(var(--hp-color-danger-rgb), 0.30) !important;
    color: var(--hp-color-danger-text) !important;
}.hp-mod-batch__btn--restrict:hover{
    background: rgba(var(--hp-color-danger-rgb), 0.46) !important;
}.hp-mod-batch__btn--unrestrict{
    background: rgba(var(--hp-color-success-rgb), 0.30) !important;
    color: var(--hp-color-success-text) !important;
}.hp-mod-batch__btn--unrestrict:hover{
    background: rgba(var(--hp-color-success-rgb), 0.46) !important;
}.hp-mod-batch__btn--close{
    width: 26px;
    height: 26px;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(var(--hp-color-white-rgb), 0.06) !important;
    color: var(--hp-color-text-muted) !important;
    font-size: 12px !important;
}/* ---------- per-thumb moderator tools ---------- */
.hp-mod-tools{
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}.hp-mod-chip{
    display: inline-grid !important;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--hp-color-border-strong) !important;
    border-radius: 10px !important;
    background: rgba(var(--hp-color-canvas-rgb), 0.62) !important;
    color: rgba(var(--hp-color-white-rgb), 0.92) !important;
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}.hp-mod-chip:hover{
    /* restrict action: hovering means "about to hide this" → danger tint */
    border-color: rgba(var(--hp-color-danger-rgb), 0.70) !important;
    background: rgba(var(--hp-color-danger-rgb), 0.30) !important;
    color: var(--hp-color-danger-text) !important;
}.hp-mod-chip:focus-visible{
    outline: 2px solid rgba(var(--hp-color-accent-rgb), 0.65);
    outline-offset: 2px;
}only the glyph changes to lock-open */
.hp-mod-chip--hidden{
    border-color: var(--hp-color-border-strong) !important;
    background: rgba(var(--hp-color-canvas-rgb), 0.62) !important;
    color: rgba(var(--hp-color-white-rgb), 0.92) !important;
}/* unrestrict action: hovering means "about to reveal this" → success tint */
.hp-mod-chip--hidden:hover{
    border-color: rgba(var(--hp-color-success-rgb), 0.70) !important;
    background: rgba(var(--hp-color-success-rgb), 0.30) !important;
    color: var(--hp-color-success-text) !important;
}.hp-mod-badge{
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 6;
    padding: 3px 8px;
    border: 1px solid rgba(var(--hp-color-accent-rgb), 0.85);
    border-radius: 999px;
    background: rgba(var(--hp-color-canvas-rgb), 0.72);
    color: var(--hp-color-accent-soft);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.35;
    pointer-events: none;
}/* ---------- batch-select checkbox: 42px tap target, no plate behind it ---------- */
.mod-sel-box.hp-mod-check{
    z-index: 8;
    /* same 6px inset from the tile corner as .hp-mod-tools (the hideImgBtn chip) */
    margin: 0 !important;
    padding: 6px;
    border-radius: 12px;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}/* moderator batch-select checkbox — same geometry/chrome as .hp-mod-chip */
.mod-sel-input{
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: 0;
    border: 1px solid var(--hp-color-border-strong);
    border-radius: 10px;
    background: rgba(var(--hp-color-canvas-rgb), 0.62);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}.mod-sel-input:hover{
    border-color: var(--hp-color-accent-soft);
}.mod-sel-input:checked{
    /* keep the same light rim as .hp-mod-chip so both read as one size */
    border-color: var(--hp-color-border-strong);
    background-color: transparent;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--hp-color-accent) 0%, var(--hp-color-accent-mid) 55%, var(--hp-color-accent-deep) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 14px 14px, 100% 100%;
    box-shadow: none;
}.mod-sel-input:focus-visible{
    outline: 2px solid rgba(var(--hp-color-accent-rgb), 0.75);
    outline-offset: 2px;
}@media (prefers-reduced-motion: reduce) {.mod-sel-input {
        transition: none;
    }}@media screen and (max-width: 767px) {/* clear the fixed bottom nav */
    .hp-mod-actions {
        right: 12px;
        bottom: calc(var(--hp-nav-height) + 16px + env(safe-area-inset-bottom, 0px));
    }.hp-mod-fab {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
    }.hp-mod-actions,
    .hp-mod-actions__row {
        gap: 8px;
    }.hp-mod-tools {
        top: 5px;
        left: 5px;
        gap: 5px;
    }.hp-mod-chip {
        width: 34px;
        height: 34px;
    }.hp-mod-batch {
        gap: 6px;
        padding: 5px 6px 5px 10px !important;
    }.hp-mod-batch__btn {
        padding: 6px 10px !important;
    }}/* ==========================================================================
   MOD MODALS — Restrict / Unrestrict album · image
   Bootstrap's chrome is replaced by the redesign's glass panel: icon badge,
   title + one-line explanation, bordered reason rows, ghost cancel + accent
   confirm. Selectors are namespaced so the dialog keeps working with
   data-bs-dismiss and the existing jQuery handlers.
   ========================================================================== */
.hp-mod-modal{
    padding: 0 !important;
    border: 1px solid var(--hp-color-border-strong) !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg,
            var(--hp-color-surface-2) 0%,
            var(--hp-color-surface) 100%) !important;
    box-shadow: 0 26px 64px rgba(var(--hp-color-black-rgb), 0.60) !important;
    color: var(--hp-color-text) !important;
    overflow: hidden;
}