/* Profile page styles – moved out of member.php on 2026-11-30 (was the big <style> block). Loaded before hp-profile.css. */
/* Modern Profile Page Styles */
.profile-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.profile-header {
    background: linear-gradient(135deg, #bf38ff 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.profile-avatar-section {
    flex-shrink: 0;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px -1px 30px rgb(255 255 255 / 30%);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0px -1px 40px rgb(255 255 255 / 50%);
}

.profile-info-section {
    flex-grow: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.profile-name {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.profile-location {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: normal;
    background: rgb(33 2 32 / 50%);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.profile-badge.verified {
    background: linear-gradient(135deg, #10ac84, #1dd1a1);
}

.profile-badge.vip {
    background: linear-gradient(135deg, #f9ca24, #f0932b);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}

.stat-item {
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    min-width: 0;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    display: block;
    word-break: break-word;
}

.stat-label {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.card-modern {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.card-modern:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.card-title-icon {
    font-size: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 10px;
    flex-wrap: wrap;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #64748b;
    font-size: 14px;
    word-break: break-word;
}

.info-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    word-break: break-word;
    text-align: right;
}

.about-text {
    line-height: 1.8;
    color: #475569;
    font-size: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    width: 100%;
}

.photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.photo-item:hover {
    transform: scale(1.05);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Photo like overlay and button */
.photo-item-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    width: 100%;
}
.photo-item-wrap .photo-item {
    aspect-ratio: unset;
    width: 100%;
    height: 100%;
}
.photo-item-wrap:hover .photo-item {
    transform: scale(1.05);
}
.photo-likes-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.65);
    color: #ff4d6a;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.photo-like-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #aaa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.photo-like-btn:hover {
    transform: scale(1.15);
    background: #fff;
}
.photo-like-btn.liked {
    color: #ff4d6a;
    background: #fff0f3;
}
.photo-like-btn.liked:hover {
    background: #ffe0e6;
}

/* Guestbook styles */
.guestbook-entries { max-height: 600px; overflow-y: auto; }
.gb-entry { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f1f5f9; }
.gb-entry:last-child { border-bottom: none; }
.gb-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.gb-content { flex: 1; min-width: 0; }
.gb-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.gb-username { font-weight: 700; color: #333; font-size: 13px; text-decoration: none; }
.gb-username:hover { color: #8c2485; }
.gb-time { font-size: 11px; color: #94a3b8; }
.gb-text { font-size: 14px; color: #475569; line-height: 1.5; word-wrap: break-word; }
.gb-delete { font-size: 11px; color: #dc2626; cursor: pointer; border: none; background: none; padding: 2px 6px; opacity: 0.5; }
.gb-delete:hover { opacity: 1; }
.gb-form { display: flex; gap: 10px; margin-top: 16px; }
.gb-input { flex: 1; padding: 10px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 14px; font-family: inherit; outline: none; resize: none; min-height: 42px; max-height: 120px; }
.gb-input:focus { border-color: #8c2485; }
.gb-submit { padding: 10px 20px; background: linear-gradient(135deg,#8c2485,#dd377d); color: #fff; border: none; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.gb-submit:hover { opacity: 0.9; }
.gb-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.gb-empty { text-align: center; padding: 24px; color: #94a3b8; font-style: italic; }
.gb-info { font-size: 11px; color: #94a3b8; margin-top: 8px; }

/* Recorded videos grid */
.recorded-videos-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:12px; }
.rec-video-item { border-radius:12px; overflow:hidden; background:#f8fafc; }
.rec-video-thumb { position:relative; aspect-ratio:9/16; cursor:pointer; overflow:hidden; background:#111; }
.rec-video-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.rec-video-thumb:hover img { transform:scale(1.05); }
.rec-play-overlay { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:44px; height:44px; background:rgba(220,38,38,.85); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:18px; transition:all .2s; pointer-events:none; }
.rec-video-thumb:hover .rec-play-overlay { background:rgba(220,38,38,1); transform:translate(-50%,-50%) scale(1.1); }
.rec-video-modal-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.92); z-index:99999; justify-content:center; align-items:center; }
.rec-video-modal-overlay.active { display:flex; }
.rec-video-modal { position:relative; width:min(360px, 90vw); height:85vh; max-height:640px; background:#000; border-radius:16px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.6); aspect-ratio:9/16; }
.rec-video-modal iframe { width:100%; height:100%; border:none; }
/* 2026-11-04: the player box had no height, so the Bunny iframe fell back to 150px */
#recVideoPlayer { position:absolute; inset:0; width:100%; height:100%; background:#000; }
#recVideoPlayer iframe { position:absolute; inset:0; width:100%; height:100%; display:block; }
.rec-video-modal .rv-load { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; font:700 14px Figtree,system-ui,sans-serif; gap:10px; pointer-events:none; }
.rec-video-modal .rv-load i { width:26px; height:26px; border:3px solid rgba(255,255,255,.25); border-top-color:#fff; border-radius:50%; animation:rvSpin .8s linear infinite; }
@keyframes rvSpin { to { transform:rotate(360deg); } }
.rec-video-modal .rv-fail { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:#fff; text-align:center; padding:20px; font:600 14px Figtree,system-ui,sans-serif; }
.rec-video-modal .rv-fail a { background:#B0177A; color:#fff; padding:10px 18px; border-radius:999px; text-decoration:none; font-weight:800; }
@media (max-width:640px){ .rec-video-modal { width:100vw; height:100dvh; max-height:none; border-radius:0; aspect-ratio:auto; } .rec-video-modal-close { top:max(10px, env(safe-area-inset-top)) !important; right:10px !important; z-index:5; background:rgba(0,0,0,.55); border-radius:50%; width:42px; height:42px; padding:0; line-height:42px; opacity:1; } }
.rec-video-modal-close { position:absolute; top:-42px; right:0; background:none; border:none; color:#fff; font-size:28px; cursor:pointer; font-weight:700; padding:4px 12px; opacity:.8; transition:opacity .2s; }
.rec-video-modal-close:hover { opacity:1; }
.rec-video-meta { padding:6px 10px; }
.rec-video-date { font-size:11px; color:#94a3b8; }

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.btn-action {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
}

.btn-outline {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    width: 100%;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    word-break: break-word;
}

.interest-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.video-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 100%;
    box-sizing: border-box;
}

.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    width: 100%;
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.forum-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.forum-post-item {
    padding: 16px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.forum-post-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.forum-post-title {
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.forum-post-meta {
    font-size: 12px;
    color: #64748b;
}

.banned-overlay {
    background-color: #fee;
    border: 2px solid #fcc;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.banned-text {
    color: #c00;
    font-weight: 700;
    font-size: 18px;
    word-wrap: break-word;
}

@media (max-width: 1024px) {
    .profile-body {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        order: 2;
    }
    
    .profile-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .profile-container {
        padding: 10px;
    }
    
    .profile-header {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .profile-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 22px;
    }
    
    .profile-location {
        justify-content: center;
        font-size: 14px;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .card-modern {
        padding: 16px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .profile-container {
        padding: 8px;
    }
    
    .profile-header {
        padding: 15px 10px;
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .profile-name {
        font-size: 18px;
    }
    
    .profile-location {
        font-size: 12px;
    }
    
    .profile-badge {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .profile-stats {
        gap: 8px;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .card-modern {
        padding: 12px;
        border-radius: 12px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 6px;
    }
    
    .info-row {
        font-size: 13px;
    }
}

/* Trust Score Styles (Enhanced from original) */
.trust-score-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.trust-score-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.trust-score-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.trust-score-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.trust-score-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin: 0;
}

.trust-score-value {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin: 12px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    word-break: break-word;
}

.trust-score-label {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.vote-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.vote-stat {
    flex: 1;
    min-width: 120px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.vote-stat:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.vote-stat-value {
    font-size: 32px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.vote-stat.positive .vote-stat-value {
    color: #7fff7f;
}

.vote-stat.negative .vote-stat-value {
    color: #ff7f7f;
}

.vote-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.trust-progress-container {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.trust-progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.trust-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
    background: linear-gradient(90deg, #ff6b6b 0%, #feca57 25%, #48dbfb 50%, #1dd1a1 75%, #10ac84 100%);
    background-size: 200% 100%;
}

.trust-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.7;
}

.vote-buttons-container {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.vote-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.vote-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.vote-btn:active::before {
    width: 300px;
    height: 300px;
}

.vote-btn-up {
    background: linear-gradient(135deg, #10ac84 0%, #1dd1a1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 172, 132, 0.4);
}

.vote-btn-up:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 172, 132, 0.5);
}

.vote-btn-up.voted {
    background: linear-gradient(135deg, #0d8a6a 0%, #17a689 100%);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.vote-btn-down {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(238, 90, 82, 0.4);
}

.vote-btn-down:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(238, 90, 82, 0.5);
}

.vote-btn-down.voted {
    background: linear-gradient(135deg, #c44540 0%, #d95550 100%);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.vote-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.vote-btn-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.vote-btn:hover .vote-btn-icon {
    transform: scale(1.2);
}

.vote-count-badge {
    background: rgba(255,255,255,0.25);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.vote-status {
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    margin-top: 16px;
    font-size: 14px;
    display: none;
    position: relative;
    z-index: 1;
}

.vote-status.show {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.vote-status.success {
    background: rgba(16, 172, 132, 0.2);
    color: #7fff7f;
}

.vote-status.error {
    background: rgba(238, 90, 82, 0.2);
    color: #ff7f7f;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.trust-badge.excellent {
    background: linear-gradient(135deg, #10ac84, #1dd1a1);
    color: white;
}

.trust-badge.good {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    color: white;
}

.trust-badge.neutral {
    background: linear-gradient(135deg, #feca57, #ff9f43);
    color: #333;
}

.trust-badge.poor {
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
    color: white;
}

/* Share Profile Section */
.share-profile-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.share-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
    color: white;
    opacity: 0.9;
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
    width: 100%;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    white-space: nowrap;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.share-btn:hover::before {
    width: 300px;
    height: 300px;
}

.share-twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.share-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d65d9 100%);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.share-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.share-copy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.share-message-preview {
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 12px;
    color: white;
    opacity: 0.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .trust-score-container {
        padding: 16px;
    }
    
    .trust-score-value {
        font-size: 36px;
    }
    
    .vote-stats {
        gap: 10px;
    }
    
    .vote-stat {
        padding: 12px;
        min-width: 100px;
    }
    
    .vote-stat-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .trust-score-container {
        padding: 12px;
    }
    
    .trust-score-value {
        font-size: 28px;
    }
    
    .vote-buttons-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .vote-btn {
        min-width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .share-buttons-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .share-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Additional mobile overflow protection */
* {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}
/* ===== 2026-11-03: profile redesign (overrides the older styles above) ===== */
.hpP{--pa:#B0177A;--pa2:#8f1263;--pink:#fbe8f3;--ink:#23112F;--mut:#7c6f86;--line:#ece6f0;--soft:#f7f3fa;--gold:#D9B26A;max-width:1120px!important;padding:18px 16px 40px!important;font-family:Figtree,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink)}
.hpP *{box-sizing:border-box}
/* hero */
.hpP-hero{position:relative;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 14px 40px rgba(35,17,47,.07);margin-bottom:14px}
.hpP-cover{height:150px;background:radial-gradient(120% 140% at 0% 0%,#B0177A 0%,#6d1550 42%,#23112F 100%);position:relative}
.hpP-cover:after{content:"";position:absolute;inset:0;background:radial-gradient(60% 90% at 85% 10%,rgba(217,178,106,.45),transparent 60%),radial-gradient(40% 60% at 30% 120%,rgba(255,255,255,.12),transparent 70%)}
.hpP-hero-in{display:grid;grid-template-columns:auto 1fr auto;gap:8px 24px;align-items:start;padding:0 28px 18px;margin-top:-74px;position:relative}
.hpP-id,.hpP-actions{padding-top:86px}
.hpP-av-wrap{position:relative;width:168px;height:168px;flex:none}
.hpP-av{width:168px;height:168px;border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 10px 30px rgba(35,17,47,.25);background:#f1ebf5;display:block}
.hpP-dot{position:absolute;right:14px;bottom:14px;width:24px;height:24px;border-radius:50%;background:#22c55e;border:4px solid #fff;box-shadow:0 0 0 0 rgba(34,197,94,.5);animation:hpPulse 2s infinite}
@keyframes hpPulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.45)}70%{box-shadow:0 0 0 10px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
.hpP-id{min-width:0;padding-bottom:4px}
.hpP-name{font:800 clamp(26px,3.2vw,34px)/1.1 Figtree,system-ui,sans-serif!important;color:var(--ink)!important;margin:0 0 6px!important;display:flex;align-items:center;flex-wrap:wrap;gap:6px;letter-spacing:-.02em}
.hpP-age{font-weight:500;color:var(--mut)}
.hpP-ver{display:inline-flex}
.hpP-vip{font:800 11px/1 Figtree,sans-serif;letter-spacing:.08em;color:#3a2604;background:linear-gradient(135deg,#F3D9A4,#C99A3E);padding:5px 9px;border-radius:999px}
.hpP-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:14.5px;color:var(--mut);font-weight:600}
.hpP-meta svg{vertical-align:-3px;margin-right:3px;color:var(--pa)}
.hpP-meta a{color:var(--ink)!important;text-decoration:none!important}
.hpP-meta a:hover{color:var(--pa)!important;text-decoration:underline!important}
.hpP-sep{opacity:.5}
.hpP-act.on{color:#16a34a}
.hpP-stars{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-size:14px;color:var(--ink)!important;text-decoration:none!important}
.hpP-stars span{color:var(--mut)}
.hpP-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.hpP-orig{margin-top:8px;font-size:13.5px;font-weight:600;color:var(--mut)}.hpP-orig b{color:var(--ink)}.hpP-orig.diff{color:#8a5a00}
.hpP-orig.warn{display:flex;gap:10px;align-items:flex-start;text-align:left;background:#fdecec;border:1px solid #f3b9b9;color:#8b1d1d;border-radius:12px;padding:10px 12px;font-weight:600;line-height:1.4;max-width:560px}.hpP-orig.warn b{color:#7a0f0f}.hpP-orig.warn .ic{font-size:18px;line-height:1.2}
@media (max-width:640px){.hpP-orig.warn{margin-left:auto;margin-right:auto}}
.hpP-chip{display:inline-flex;align-items:center;gap:6px;background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:5px 11px;font-size:13px;font-weight:700;color:#4a3f55}
.hpP-chip svg{width:15px;height:15px;color:var(--mut)}
.hpP-chip.hl{background:var(--pink);border-color:#f3cfe4;color:var(--pa2)}
.hpP-chip.hl svg{color:var(--pa)}
.hpP-chip.em-ok{background:#ecfdf3;border-color:#a6e9c2;color:#067647}.hpP-chip.em-no{background:#f6f4f8;border-color:#e2dce8;color:#7a6f85}
.hpP-chip.gold{background:linear-gradient(135deg,#fdf6e7,#f7e7c2);border-color:#efd9a6;color:#7a5410}
.hpP-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center;padding-bottom:6px}
.hpP-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink)!important;font:800 14.5px Figtree,system-ui,sans-serif;text-decoration:none!important;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,transform .1s,box-shadow .15s}
.hpP-btn:hover{background:var(--soft);border-color:#dccfe6}
.hpP-btn:active{transform:scale(.97)}
.hpP-btn svg{width:18px;height:18px}
.hpP-btn.primary{background:linear-gradient(135deg,#C21A86,#9b1469);border-color:transparent;color:#fff!important;box-shadow:0 8px 22px rgba(176,23,122,.3)}
.hpP-btn.primary:hover{background:linear-gradient(135deg,#a8166f,#82105a)}
.hpP-btn.icon{width:44px;padding:0}
.hpP-more{position:relative}
.hpP-menu{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:272px;max-width:none!important;background:#fff;border:1px solid #eee6f2;border-radius:18px;box-shadow:0 24px 50px -12px rgba(35,17,47,.28),0 2px 6px rgba(35,17,47,.06);padding:6px;transform-origin:top right}
.hpP-more.open .hpP-menu{display:block;animation:hpMenuIn .16s ease-out}
@keyframes hpMenuIn{from{opacity:0;transform:translateY(-4px) scale(.97)}}
.hpP-menu a,.hpP-menu button{display:flex!important;align-items:center;gap:12px;width:100%;margin:0!important;padding:9px 10px!important;border:0!important;border-radius:12px!important;background:none!important;box-shadow:none!important;font:inherit;text-align:left;color:#23112F!important;text-decoration:none!important;cursor:pointer;height:auto!important;min-height:0!important}
.hpP-menu a[hidden]{display:none!important}
.hpP-menu a:hover,.hpP-menu button:hover,.hpP-menu a:focus-visible,.hpP-menu button:focus-visible{background:#f7f2fa!important;outline:0}
.hpP-menu .mi{flex:none;width:36px;height:36px;border-radius:11px;background:#f6f1f9;color:#B0177A;display:inline-flex;align-items:center;justify-content:center;font-size:17px}
.hpP-menu .mi svg{width:18px;height:18px}
.hpP-menu b{display:block;font:800 14.5px/1.2 Figtree,system-ui,sans-serif}
.hpP-menu small{display:block;margin-top:2px;font:600 12px/1.3 Figtree,system-ui,sans-serif;color:#8c819a}
.hpP-menu hr{margin:6px 8px!important;border:0;border-top:1px solid #f0e9f3}
.hpP-menu a.dim .mi{background:#f3f2f5;color:#5b5466}
.hpP-menu a.warn b{color:#c2410c}
.hpP-menu a.warn .mi{background:#fff3ea;color:#c2410c}
@media (max-width:640px){
  .hpP-menu{position:fixed;left:10px;right:10px;top:auto;bottom:calc(10px + env(safe-area-inset-bottom));width:auto;z-index:100001;border-radius:22px;padding:8px}
  .hpP-more.open .hpP-menu{animation:hpSheetIn .22s cubic-bezier(.2,.8,.2,1)}
  .hpP-more.open::before{content:"";position:fixed;inset:0;background:rgba(20,10,28,.45);z-index:100000;animation:hpFade .2s}
  .hpP-menu a,.hpP-menu button{padding:11px 10px!important}
}
@keyframes hpSheetIn{from{transform:translateY(30px);opacity:0}}
/* 2026-11-05: own cover photo */
.hpP-hero.has-cover .hpP-cover{background-size:cover;background-repeat:no-repeat}
.hpP-hero.has-cover .hpP-cover:before{display:none}
.hpP-hero.has-cover .hpP-cover:after{background:linear-gradient(180deg,rgba(35,17,47,0) 45%,rgba(35,17,47,.35))}
.hpC-ctl{position:absolute;top:12px;right:12px;z-index:5;display:flex;gap:6px}
.hpC-ctl[hidden],.hpC-save[hidden],.hpC-prog[hidden]{display:none!important}
.hpC-b{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;margin:0;border:0;border-radius:999px;background:rgba(20,10,28,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff!important;font:800 13px Figtree,system-ui,sans-serif;cursor:pointer;text-decoration:none!important;transition:background .15s}
.hpC-b:hover{background:rgba(20,10,28,.75)}
.hpC-b.icon{width:36px;padding:0;justify-content:center}
.hpC-b svg{width:16px;height:16px}
.hpC-b.pri{background:#fff;color:#23112F!important}
.hpC-save{position:absolute;top:12px;left:12px;right:12px;z-index:6;display:flex;align-items:center;gap:6px}
.hpC-save span{margin-right:auto;padding:0 12px;height:36px;display:inline-flex;align-items:center;border-radius:999px;background:rgba(20,10,28,.55);color:#fff;font:700 13px Figtree,system-ui,sans-serif}
.hpP-hero.is-moving .hpP-cover{cursor:ns-resize;touch-action:none}
.hpP-hero.is-moving .hpP-cover:after{background:repeating-linear-gradient(0deg,transparent 0 33%,rgba(255,255,255,.25) 33% calc(33% + 1px)),linear-gradient(transparent,transparent)}
.hpC-prog{position:absolute;left:12px;right:12px;top:12px;z-index:6;height:36px;border-radius:999px;background:rgba(20,10,28,.6);overflow:hidden;display:flex;align-items:center;justify-content:center;color:#fff;font:800 13px Figtree,system-ui,sans-serif}
.hpC-prog i{position:absolute;left:0;top:0;bottom:0;width:0;background:#B0177A;transition:width .2s}
.hpC-prog span{position:relative}
.hpP-hero.is-busy .hpC-ctl{display:none}
@media (max-width:640px){.hpC-b span{display:none}.hpC-b{width:38px;height:38px;padding:0;justify-content:center}.hpC-save .hpC-b span,.hpC-save .hpC-b{width:auto;padding:0 14px}}
.hpP-hero:has(.hpP-more.open){position:relative;z-index:80;overflow:visible}
@keyframes hpFade{from{opacity:0}}
.hpP-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);background:linear-gradient(180deg,#fff,#fcfafd)}
.hpP-stats div{padding:12px 10px;text-align:center;border-right:1px solid var(--line)}
.hpP-stats div:last-child{border-right:0}
.hpP-stats b{display:block;font:800 18px Figtree,sans-serif;color:var(--ink)}
.hpP-stats span{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--mut)}
.hpP-safe{display:flex;gap:10px;align-items:flex-start;background:#fff8e8;border:1px solid #f1d79a;border-radius:16px;padding:10px 14px;margin:0 0 14px;font-size:13.5px;line-height:1.5;color:#5d4508}
.hpP-safe svg{flex:none;color:#c08a1a;margin-top:1px}
/* body: content left, details right; on phones content first */
.hpP .profile-body{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:16px!important;align-items:start}
.hpP .profile-main{order:1;gap:14px!important}
.hpP .profile-sidebar{order:2;gap:14px!important;position:sticky;top:84px}
/* cards */
.hpP .card-modern{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px 22px;box-shadow:0 6px 20px rgba(35,17,47,.04)!important;transform:none!important}
.hpP .card-modern:hover{transform:none!important;box-shadow:0 6px 20px rgba(35,17,47,.04)!important}
.hpP .card-title{font:800 17px Figtree,system-ui,sans-serif!important;color:var(--ink)!important;margin:0 0 14px!important;gap:10px}
.hpP .card-title-icon{width:34px;height:34px;border-radius:11px;background:var(--soft);display:inline-flex;align-items:center;justify-content:center;font-size:16px;flex:none}
.hpP .card-title a{color:var(--pa)!important;font-weight:800;font-size:13.5px!important;text-decoration:none}
.hpP .info-row{padding:10px 0;border-bottom:1px solid #f3eef6;align-items:center}
.hpP .info-label{font-weight:600;color:var(--mut);font-size:13.5px}
.hpP .info-value{font-weight:700;color:var(--ink);font-size:14px}
.hpP .about-text{font-size:15.5px;line-height:1.7;color:#3b3046}
/* photos: big first photo + grid */
.hpP .photo-gallery{grid-template-columns:repeat(4,1fr)!important;gap:8px!important}
.hpP .photo-gallery:has(> :nth-child(3)) > :first-child{grid-column:span 2;grid-row:span 2}
.hpP .photo-item{border-radius:14px!important;aspect-ratio:3/4}
.hpP .photo-gallery > :first-child .photo-item, .hpP .photo-gallery > .photo-item:first-child{height:100%}
.hpP .photo-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.hpP .photo-item:hover img{transform:scale(1.04)}
.hpP .interests-grid{gap:8px!important}
.hpP .interest-item{border-radius:999px!important;background:var(--soft)!important;border:1px solid var(--line)!important;padding:8px 14px!important;font-weight:700;color:#4a3f55}
/* mobile action bar */
.hpP-bar{display:none}
@media (max-width:980px){
  .hpP .profile-body{grid-template-columns:minmax(0,1fr)!important}
  .hpP .profile-sidebar{position:static}
  .hpP-hero-in{grid-template-columns:auto 1fr}
  .hpP-actions{grid-column:1/-1;justify-content:flex-start;padding-top:4px}
}
@media (max-width:640px){
  .hpP{padding:0 0 20px!important}
  .hpP-hero{border-radius:0 0 22px 22px;border-left:0;border-right:0;border-top:0}
  .hpP-cover{height:110px}
  .hpP-hero-in{grid-template-columns:1fr;justify-items:center;text-align:center;margin-top:-64px;padding:0 16px 14px}
  .hpP-id{padding-top:4px}
  .hpP-av-wrap,.hpP-av{width:128px;height:128px}
  .hpP-dot{right:8px;bottom:8px;width:20px;height:20px}
  .hpP-name{justify-content:center}
  .hpP-meta,.hpP-chips{justify-content:center}
  .hpP-actions{justify-content:center;width:100%}
  .hpP-actions .hpP-btn.primary{flex:1 1 100%}
  .hpP-actions .hpP-btn:not(.primary):not(.icon){flex:1}
  .hpP-stats b{font-size:16px}
  .hpP-stats span{font-size:10px;letter-spacing:.03em}
  .hpP-safe{margin:0 10px 12px}
  .hpP .profile-body{padding:0 10px}
  .hpP .card-modern{padding:16px;border-radius:18px}
  .hpP .photo-gallery{grid-template-columns:repeat(3,1fr)!important;gap:6px!important}
  .hpP .photo-gallery:has(> :nth-child(3)) > :first-child{grid-column:span 3;grid-row:auto}
  .hpP .photo-gallery:has(> :nth-child(3)) > :first-child .photo-item{aspect-ratio:4/5}
}
@media (max-width:760px){
  .hpP-bar{display:flex;align-items:center;gap:10px;position:fixed;left:8px;right:8px;bottom:calc(68px + env(safe-area-inset-bottom));z-index:8400;background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:18px;padding:8px 8px 8px 10px;box-shadow:0 12px 30px rgba(35,17,47,.16);transform:translateY(140%);opacity:0;transition:transform .25s ease,opacity .25s ease;pointer-events:none}
  .hpP-bar.show{transform:none;opacity:1;pointer-events:auto}
  /* 2026-11-26: the site notice at the bottom (#dailysearch: "write a personals ad" / "fix your email") sits in the same place - while it is open the message bar stays away instead of lying on top of it */
  body:has(#dailysearch:not([style*="display: none"]):not([style*="display:none"])) .hpP-bar{display:none!important}
  .hpP-bar-av{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:none}
  .hpP-bar-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
  .hpP-bar-t b{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hpP-bar-t span{font-size:12px;color:var(--mut);font-weight:600}
  .hpP-bar-t span.on{color:#16a34a}
  .hpP-bar .hpP-btn{height:40px;padding:0 20px}
}
/* 2026-11-03 v2: section nav, facts, empty states, locked photos */
.hpP-nav{position:sticky;top:64px;z-index:40;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin:0 0 14px;padding:5px;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:999px;box-shadow:0 6px 20px rgba(35,17,47,.05)}
.hpP-nav::-webkit-scrollbar{display:none}
.hpP-nav a{flex:none;padding:8px 15px;border-radius:999px;font:700 13.5px Figtree,system-ui,sans-serif;color:var(--mut)!important;text-decoration:none!important;white-space:nowrap}
.hpP-nav a:hover{color:var(--ink)!important;background:var(--soft)}
.hpP-nav a.on{background:var(--ink);color:#fff!important}
.hpP .card-modern{scroll-margin-top:130px}
.hpP-stats a{padding:12px 10px;text-align:center;border-right:1px solid var(--line);text-decoration:none!important;transition:background .15s}
.hpP-stats a:hover{background:var(--soft)}
.hpP-stats a:last-child{border-right:0}
.hpP-count{font-size:12px;font-weight:800;background:var(--soft);color:var(--mut);border-radius:999px;padding:2px 9px}
.hpP-facts .info-row{display:flex;justify-content:space-between;gap:12px}
.hpP-facts .info-label{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.hpP-facts .info-value{text-align:right;overflow-wrap:anywhere}
.hpP-facts .info-row:last-child{border-bottom:0}
.hpP-fi{width:26px;height:26px;border-radius:9px;background:var(--soft);display:inline-flex;align-items:center;justify-content:center;font-size:13px}
.hpP-badges{display:grid;gap:8px}
.hpP-badge{display:flex;gap:10px;align-items:center;background:#effaf3;border:1px solid #c9ecd6;border-radius:14px;padding:10px 12px}
.hpP-badge b{font-size:20px}
.hpP-badge span{display:flex;flex-direction:column;font-size:12.5px;color:#4b6b57;line-height:1.35}
.hpP-badge strong{color:#145c2e;font-size:14px}
.hpP-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:22px 12px;border:1.5px dashed #e6dfea;border-radius:16px;background:#fcfafd}
.hpP-empty > span{font-size:30px}
.hpP-empty p{margin:0;color:var(--mut);font-size:14px;line-height:1.5;max-width:380px}
.hpP-empty p b{display:block;color:var(--ink);font-size:15px;margin-bottom:2px}
.hpP .photo-gallery:empty{display:none!important}
.hpP-lock{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:linear-gradient(135deg,#f6e7f1,#ece2f6)!important;color:#7a3a66!important;text-decoration:none!important;font-size:22px}
.hpP-lock-main{background:linear-gradient(135deg,#C21A86,#4a1a5c)!important;color:#fff!important;padding:12px;text-align:center}
.hpP-lock-main b{font-size:16px}
.hpP-lock-main em{font-style:normal;font-size:13px;opacity:.9;line-height:1.35}
.hpP-clamp{max-height:none}
.hpP-clamp.is-clamped{max-height:9.5em;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.hpP-more-btn{margin-top:8px;background:none;border:0;padding:0;color:var(--pa);font:800 14px Figtree,system-ui,sans-serif;cursor:pointer}
.hpP .forum-posts{display:flex;flex-direction:column;gap:8px}
.hpP .forum-post-item{background:#fff!important;border:1px solid var(--line)!important;border-radius:14px!important;padding:12px 14px!important;box-shadow:none!important;transition:border-color .15s,background .15s}
.hpP .forum-post-item:hover{background:#faf6fc!important;border-color:#e4c4da!important}
.hpP .forum-post-title{color:var(--ink)!important;font-weight:700!important;font-size:15px!important;text-decoration:none!important;display:block;margin-bottom:4px}
.hpP .forum-post-meta,.hpP .forum-post-meta a{font-size:12.5px!important;color:var(--mut)!important;text-decoration:none}
.hpP .forum-post-meta a:hover{color:var(--pa)!important}
.hpP .gb-empty{font-style:normal!important;color:var(--mut)!important;font-size:14px!important;padding:14px 0!important}
@media (max-width:640px){.hpP-nav{top:56px;margin:0 10px 12px;border-radius:16px}}
/* 2026-11-04 v3: cover made from the member's photo */
.hpP-hero.has-photo .hpP-cover{background-size:cover;background-position:center 30%;height:190px}
.hpP-hero.has-photo .hpP-cover:before{content:"";position:absolute;inset:-40px;background:inherit;background-size:cover;background-position:center 30%;filter:blur(28px) saturate(1.3);transform:scale(1.15)}
.hpP-hero.has-photo .hpP-cover:after{background:linear-gradient(180deg,rgba(35,17,47,.25),rgba(35,17,47,.55) 70%,rgba(35,17,47,.75)),radial-gradient(60% 90% at 85% 10%,rgba(217,178,106,.25),transparent 60%)}
.hpP-hero.has-photo .hpP-hero-in{margin-top:-84px}
.hpP-reply{font-weight:700;color:#15803d}
.hpP-pub{position:relative;display:block}
.hpP-pub img{width:100%;height:100%;object-fit:cover}
.hpP-pubtag{position:absolute;left:8px;right:8px;bottom:8px;background:rgba(35,17,47,.8);color:#fff;font:800 12.5px Figtree,system-ui,sans-serif;padding:7px 10px;border-radius:999px;text-align:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hpP-sim{margin-top:14px}
.hpP-sim .card-title{margin-bottom:10px!important}
.hpP-simrow{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.hpP-simc{position:relative;display:block;border-radius:14px;overflow:hidden;aspect-ratio:3/4;background:#f3eff6;text-decoration:none!important;color:#fff!important}
.hpP-simc img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.hpP-simc:hover img{transform:scale(1.05)}
.hpP-simc span{position:absolute;left:0;right:0;bottom:0;padding:26px 9px 8px;background:linear-gradient(transparent,rgba(35,17,47,.85));font:800 13px Figtree,system-ui,sans-serif;line-height:1.25}
.hpP-simc small{display:block;font-weight:600;font-size:11px;opacity:.85}
.hpP-simc i{position:absolute;top:7px;right:7px;width:10px;height:10px;border-radius:50%;background:#22c55e;border:2px solid #fff}
@media (max-width:640px){.hpP-hero.has-photo .hpP-cover{height:150px}.hpP-hero.has-photo .hpP-hero-in{margin-top:-64px}.hpP-simrow{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -16px;padding:0 16px}.hpP-simrow::-webkit-scrollbar{display:none}.hpP-simc{flex:0 0 118px;scroll-snap-align:start}}
/* 2026-11-04: vanity metrics */
.hpV-wrap{border-top:1px solid var(--line);padding:14px 16px 16px;background:linear-gradient(180deg,#fff,#fcf8fd)}
.hpV-top{display:inline-flex;align-items:center;gap:6px;margin:0 6px 10px 0;padding:6px 12px;border-radius:999px;font:800 12.5px Figtree,system-ui,sans-serif;color:#6b4a0c;background:linear-gradient(135deg,#fdf3d8,#f3d9a4);box-shadow:0 4px 14px rgba(201,154,62,.25)}
.hpV-top.soft{background:#f3eff6;color:#5b4f66;box-shadow:none}
.hpV{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px}
.hpV-t{position:relative;display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid var(--line);text-decoration:none!important;color:var(--ink)!important;transition:transform .15s,box-shadow .15s,border-color .15s;overflow:hidden}
a.hpV-t:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(35,17,47,.08);border-color:#e4c4da}
.hpV-i{font-size:18px;line-height:1;margin-bottom:4px}
.hpV-n{font:800 26px/1.05 Figtree,system-ui,sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.hpV-l{font-size:12.5px;font-weight:700;color:var(--mut)}
.hpV-d{margin-top:6px;align-self:flex-start;font-size:11px;font-weight:800;color:#15803d;background:#e9f9ef;border-radius:999px;padding:2px 8px}
.hpV-followers{background:linear-gradient(135deg,#C21A86,#6d1a6c);border-color:transparent;color:#fff!important;box-shadow:0 10px 26px rgba(176,23,122,.28)}
.hpV-followers .hpV-l{color:rgba(255,255,255,.85)}
.hpV-followers .hpV-d{background:rgba(255,255,255,.2);color:#fff}
.hpV-followers:after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 70%)}
.hpV-n.bump{animation:hpVBump .5s ease}
@keyframes hpVBump{40%{transform:scale(1.18)}}
.hpP-btn.hp-follow{min-width:112px}
.hpP-btn.hp-follow:not(.on){background:#23112F;color:#fff!important;border-color:#23112F}
.hpP-btn.hp-follow:not(.on):hover{background:#3a2050}
.hpP-btn.hp-follow.on{background:#fff}
.hpP-btn.hp-follow.on:hover{color:#b3261e!important;border-color:#f3c2c2}
/* owner insights */
.hpI-spark{width:100%;height:64px;display:block;margin:6px 0 4px}
.hpI-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.hpI-row div{background:var(--soft);border-radius:12px;padding:10px}
.hpI-row b{display:block;font:800 20px Figtree,system-ui,sans-serif}
.hpI-row span{font-size:12px;color:var(--mut);font-weight:700}
.hpI-tip{margin-top:10px;font-size:13px;color:var(--mut);line-height:1.45}
.hpI-tip a{color:var(--pa);font-weight:800}
@media (max-width:640px){
  .hpV-wrap{padding:12px 10px 14px}
  .hpV{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -10px;padding:2px 10px 4px}
  .hpV::-webkit-scrollbar{display:none}
  .hpV-t{flex:0 0 120px;scroll-snap-align:start}
  .hpV-wrap{text-align:center}
}
@media (prefers-reduced-motion:reduce){.hpV-n.bump{animation:none}a.hpV-t:hover{transform:none}}
@media (prefers-reduced-motion:reduce){.hpP-dot{animation:none}.hpP .photo-item img{transition:none}}
/* ===== 2026-11-04 v4: profile – editorial look (serif display, cleaner cards, stat strip, blurred locked photos) ===== */
.hpP{--r:24px}
.hpP-hero{border:0;border-radius:28px;box-shadow:0 1px 2px rgba(35,17,47,.05),0 28px 60px -28px rgba(35,17,47,.28)}
.hpP-cover{height:200px;overflow:hidden}
.hpP-hero.has-photo .hpP-cover{height:250px}
.hpP-hero-in{margin-top:-100px!important;padding:0 30px 22px;gap:8px 28px}
.hpP-av-wrap{width:188px;height:188px}
.hpP-av{width:188px;height:188px;border-radius:40px;border:6px solid #fff;box-shadow:0 18px 40px -12px rgba(35,17,47,.45)}
.hpP-dot{right:-4px;bottom:-4px;width:26px;height:26px}
.hpP-id,.hpP-actions{padding-top:112px}
.hpP-name{font:800 clamp(32px,3.6vw,46px)/1.02 Figtree,system-ui,sans-serif!important;letter-spacing:-.01em;margin:0 0 8px!important}
.hpP-age{font-weight:400;color:#a397ae}
.hpP-meta{font-size:14.5px}
.hpP-chips{gap:6px;margin-top:12px}
.hpP-chip{background:#fff;border-color:#e9e2ee;font-weight:700;font-size:12.5px;padding:5px 11px}
.hpP-btn{height:46px;padding:0 20px;font-size:14.5px}
.hpP-btn.icon{width:46px}
.hpP-actions{gap:8px}
@media (min-width:641px){.hpP-hero-in{grid-template-columns:auto 1fr}.hpP-actions{grid-column:2;justify-content:flex-start;padding-top:8px!important;padding-bottom:0}.hpP-id{padding-bottom:0}}
.hpP .profile-sidebar .card-title{flex-wrap:nowrap}
.hpP .profile-sidebar .card-title a{white-space:nowrap}
/* stat strip */
.hpV-wrap{background:#fff;border-top:0;padding:4px 30px 26px}
.hpV-top{margin:0 6px 12px 0}
.hpV{display:flex;flex-wrap:wrap;gap:0;border:1px solid #eee7f2;border-radius:20px;overflow:hidden;background:#fff}
.hpV-t{flex:1 1 0;min-width:112px;border:0;border-right:1px solid #eee7f2;border-radius:0;background:transparent;padding:16px 18px 14px;box-shadow:none!important;transform:none!important}
.hpV-t:last-child{border-right:0}
a.hpV-t:hover{background:#faf6fc;border-color:#eee7f2}
.hpV-i{display:none}
.hpV-n{font:800 32px/1 Figtree,system-ui,sans-serif;letter-spacing:0;color:var(--ink)}
.hpV-l{margin-top:4px;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#8c819a}
.hpV-d{margin-top:8px;background:none;padding:0;font-size:12px;color:#15803d}
.hpV-followers{background:linear-gradient(160deg,#fff 0%,#fdf2f8 100%);color:var(--ink)!important;box-shadow:none}
.hpV-followers:after{display:none}
.hpV-followers .hpV-n{color:var(--pa)}
.hpV-followers .hpV-l{color:#9b4f80}
.hpV-followers .hpV-d{background:none;color:#15803d}
/* section nav */
.hpP-nav{border:0;border-radius:999px;padding:6px;background:rgba(255,255,255,.88);box-shadow:0 1px 2px rgba(35,17,47,.05),0 14px 30px -18px rgba(35,17,47,.3)}
.hpP-nav a{font-size:14px;padding:9px 16px}
/* cards */
.hpP .profile-body{gap:20px!important;grid-template-columns:minmax(0,1fr) 340px!important}
.hpP .profile-main,.hpP .profile-sidebar{gap:20px!important}
.hpP .card-modern{border:0;border-radius:var(--r);padding:24px 26px;box-shadow:0 1px 2px rgba(35,17,47,.05),0 16px 36px -24px rgba(35,17,47,.22)!important}
.hpP .card-modern:hover{box-shadow:0 1px 2px rgba(35,17,47,.05),0 16px 36px -24px rgba(35,17,47,.22)!important}
.hpP .card-title{font:800 25px/1.15 Figtree,system-ui,sans-serif!important;letter-spacing:-.005em;margin:0 0 16px!important;display:flex;align-items:center;gap:10px}
.hpP .card-title-icon{display:none!important}
.hpP .card-title a{font-family:Figtree,system-ui,sans-serif!important}
.hpP .hpP-count{font-family:Figtree,system-ui,sans-serif;font-size:12px;vertical-align:middle}
.hpP .profile-sidebar .card-title{font-size:20px!important}
.hpP .about-text{font-size:16.5px;line-height:1.75;color:#352a40}
.hpP .interest-item{background:#fff!important;border:1.5px solid #ece4f1!important}
/* photos */
.hpP .photo-gallery{grid-template-columns:repeat(3,1fr)!important;gap:10px!important}
.hpP .photo-gallery:has(> :nth-child(3)) > :first-child{grid-column:span 2;grid-row:span 2}
.hpP .photo-item{border-radius:18px!important}
.hpP-lock{position:relative;overflow:hidden;background:#2a1636!important}
.hpP-blur{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(16px) saturate(1.15) brightness(.9);transform:scale(1.25)}
.hpP-lock span{position:relative;z-index:1;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;font-size:19px;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.hpP-lock em{position:relative;z-index:1;font-style:normal;color:#fff;font:800 13px Figtree,system-ui,sans-serif;text-shadow:0 1px 6px rgba(0,0,0,.4)}
/* similar members inside the sidebar */
.hpP .profile-sidebar .hpP-simrow{grid-template-columns:repeat(3,1fr);gap:8px}
.hpP .profile-sidebar .hpP-simc span{font-size:12px;padding:22px 7px 7px}
.hpP .profile-sidebar .hpP-sim{margin-top:0}
.hpP .profile-sidebar{position:sticky}
@media (max-width:980px){.hpP .profile-body{grid-template-columns:minmax(0,1fr)!important}.hpP .profile-sidebar{position:static!important}}
@media (max-width:640px){
  .hpP-hero{border-radius:0 0 26px 26px}
  .hpP-cover,.hpP-hero.has-photo .hpP-cover{height:170px}
  .hpP-hero-in{margin-top:-74px!important;padding:0 16px 14px}
  .hpP-av-wrap,.hpP-av{width:140px;height:140px}
  .hpP-av{border-radius:32px;border-width:5px}
  .hpP-id{padding-top:6px}
  .hpP-actions{padding-top:4px}
  .hpP-name{font-size:34px!important}
  .hpV-wrap{padding:2px 10px 16px}
  .hpV{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;border-radius:16px;margin:0}
  .hpV-t{flex:0 0 auto;min-width:104px;padding:12px 14px}
  .hpV-n{font-size:26px}
  .hpP .card-modern{padding:18px;border-radius:20px}
  .hpP .card-title{font-size:22px!important}
  .hpP .photo-gallery{grid-template-columns:repeat(3,1fr)!important;gap:6px!important}
  .hpP .photo-item{border-radius:12px!important}
}
