/* ─────────────────────────────────────────────────────────────────
   hp-profile.css — profile page, look and layout (2026-11-24)
   Loaded by member.php after its own styles, so everything here wins without touching the markup.
   To go back to the old look: remove the <link> to this file in member.php.
   ───────────────────────────────────────────────────────────────── */
body:has(.hpP){background:#F5EFF9!important}
.hp-promo-wrap:has(+ .hpP),.hp-promo-wrap:empty{display:none}
body .hpP{--pa:#B0177A;--pa2:#8E1262;--ink:#1D0B29;--ink2:#2B1239;--mut:#665B72;--line:#E6DEEE;--soft:#F5EFF9;--gold:#E6C079;--ok:#18794E;
  max-width:1200px!important;padding:20px 18px 60px!important;overflow:visible!important}

/* ── hero ───────────────────────────────────────────────────────── */
body .hpP .hpP-hero{border-radius:28px;border:1px solid var(--line);box-shadow:0 18px 50px rgba(35,17,47,.10);margin-bottom:16px;background:#fff}
body .hpP .hpP-cover{height:200px}
body .hpP .hpP-hero:not(.has-cover) .hpP-cover{background-image:none!important;
  background:radial-gradient(700px 320px at 88% -20%,rgba(176,23,122,.75),transparent 62%),radial-gradient(520px 300px at 0% 120%,rgba(230,192,121,.28),transparent 60%),linear-gradient(150deg,var(--ink) 0%,var(--ink2) 100%)!important;filter:none!important;transform:none!important}
body .hpP .hpP-hero:not(.has-cover) .hpP-cover:before,body .hpP .hpP-hero:not(.has-cover) .hpP-cover:after{display:none!important}
body .hpP .hpP-hero.has-cover .hpP-cover{height:270px}
body .hpP .hpP-hero-in{grid-template-columns:auto minmax(0,1fr);gap:0 30px;padding:0 32px 26px;margin-top:-104px!important;align-items:start}
body .hpP .hpP-av-wrap{width:208px;height:260px;grid-row:1 / span 2}
body .hpP .hpP-av{width:208px;height:260px;border-radius:26px;border:5px solid #fff;box-shadow:0 18px 44px rgba(29,11,41,.30);object-fit:cover}
body .hpP .hpP-dot{right:-4px;bottom:16px;width:24px;height:24px;border:4px solid #fff;box-shadow:0 0 0 0 rgba(34,197,94,.5);animation:hpPulse 2.2s ease-out infinite}
@keyframes hpPulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}70%{box-shadow:0 0 0 12px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
body .hpP .hpP-id{padding-top:118px;padding-bottom:0}
body .hpP .hpP-name{font:800 clamp(30px,3.6vw,44px)/1.05 Figtree,system-ui,sans-serif!important;letter-spacing:-.035em;margin:0 0 10px!important;color:var(--ink)!important}
body .hpP .hpP-age{font-weight:500;color:#8C7F99}
body .hpP .hpP-meta{font-size:15.5px;gap:6px 10px;margin-top:10px;color:var(--mut)}
body .hpP .hpP-act.on{color:var(--ok);font-weight:800}
body .hpP .hpP-orig{margin-top:10px;font-size:14px}
/* where they are right now (hp_curcountry.php) */
body .hpP .hpP-now{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:7px 14px 7px 10px;border-radius:999px;background:#EEF8F1;border:1px solid #BFE5CC;color:#0F5132;font-size:14px;font-weight:700;line-height:1.3}
body .hpP .hpP-now i{flex:none;width:9px;height:9px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 4px rgba(34,197,94,.2)}
body .hpP .hpP-now.past{background:var(--soft);border-color:var(--line);color:var(--mut)}
body .hpP .hpP-now.past i{background:#B3A6BF;box-shadow:none}
body .hpP .hpP-now.diff{background:#FFF6DF;border-color:#EFD9A4;color:#6B4A0C}
body .hpP .hpP-now.diff i{background:#E0A021;box-shadow:0 0 0 4px rgba(224,160,33,.2)}
body .hpP .hpP-now small{font-weight:600;font-size:13px;opacity:.85}
body .hpP .hpP-chips{gap:7px;margin-top:14px}
body .hpP .hpP-chip{padding:7px 13px;font-size:13.5px;background:#fff;border-color:var(--line);color:var(--ink)}
body .hpP .hpP-chip.hl{background:#FBEAF4;border-color:#F1C9E0;color:var(--pa2);font-size:14.5px}
body .hpP .hpP-actions{grid-column:2;padding-top:18px;padding-bottom:0;justify-content:flex-start;gap:10px}
body .hpP .hpP-btn{height:50px;padding:0 22px;font-size:15.5px;border:1.5px solid var(--line);transition:transform .12s,box-shadow .12s,background .15s,border-color .15s}
body .hpP .hpP-btn:hover{border-color:var(--pa);background:#fff;transform:translateY(-1px)}
body .hpP .hpP-btn.icon{width:50px;padding:0}
body .hpP .hpP-btn.primary{height:54px;padding:0 34px;font-size:16.5px;background:linear-gradient(180deg,#C21A88,var(--pa));border-color:transparent;box-shadow:0 12px 28px rgba(176,23,122,.34)}
body .hpP .hpP-btn.primary:hover{background:linear-gradient(180deg,#C21A88,var(--pa));box-shadow:0 16px 34px rgba(176,23,122,.42)}
body .hpP .hpP-btn.hp-follow{background:var(--ink);border-color:var(--ink);color:#fff!important}
body .hpP .hpP-btn.hp-follow.on{background:#fff;color:var(--ink)!important;border-color:var(--line)}
/* numbers under the hero: one quiet row instead of boxes */
body .hpP .hpV-wrap{background:#FBF8FD;border-top:1px solid var(--line);padding:6px 20px 8px}
body .hpP .hpV{display:flex;flex-wrap:wrap;gap:0}
body .hpP .hpV-t{flex:1 1 130px;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:2px 8px;border:0;border-radius:14px;background:none;padding:14px 16px;box-shadow:none!important}
body .hpP .hpV-t:hover{background:#fff;transform:none}
body .hpP .hpV-t + .hpV-t{border-left:1px solid var(--line);border-radius:0}
body .hpP .hpV-i{display:none}
body .hpP .hpV-n{font-size:24px;color:var(--ink)}
body .hpP .hpV-l{font-size:13.5px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--mut)}
body .hpP .hpV-d{flex-basis:100%;font-size:12.5px}
body .hpP .hpV-followers{background:none!important}
body .hpP .hpV-followers .hpV-n{color:var(--pa)}

/* ── strip between hero and body ───────────────────────────────── */
body .hpP .hpAI{border-radius:18px;border:1px solid var(--line);background:#fff;margin-bottom:12px}
body .hpP .hpP-safe{border-radius:18px;padding:13px 18px;font-size:14px;margin-bottom:12px}
body .hpP .hpP-nav{top:70px;padding:6px;margin-bottom:16px;border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(35,17,47,.07)}
body .hpP .hpP-nav a{padding:10px 18px;font-size:14.5px;border-radius:13px}

/* ── body: content left, facts right ───────────────────────────── */
body .hpP .profile-body{grid-template-columns:minmax(0,1fr) 360px!important;gap:20px!important}
body .hpP .card-modern{border-radius:24px;padding:26px 28px;border:1px solid var(--line);box-shadow:0 10px 30px rgba(35,17,47,.06)!important;margin-bottom:16px}
body .hpP .card-modern:hover{box-shadow:0 10px 30px rgba(35,17,47,.06)!important}
body .hpP .card-title{font:800 21px/1.2 Figtree,system-ui,sans-serif!important;letter-spacing:-.02em;margin:0 0 16px!important}
body .hpP .card-title-icon{display:none}
body .hpP .hpP-count{font-size:13px;font-weight:800;background:var(--soft);border-radius:999px;padding:3px 10px;color:var(--mut)}
/* photos: big tiles; one photo is shown large instead of lost in an empty row */
body .hpP .photo-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body .hpP .photo-gallery:has(> :nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))!important}
body .hpP .photo-gallery:has(> :only-child){grid-template-columns:minmax(0,340px)!important}
body .hpP .photo-gallery:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,300px))!important}
body .hpP .photo-item{border-radius:18px!important;aspect-ratio:4/5;box-shadow:0 8px 22px rgba(35,17,47,.12)}
body .hpP .photo-like-btn{box-shadow:0 4px 12px rgba(0,0,0,.25)}
/* about */
body .hpP #about{font-size:17px;line-height:1.7;color:#2E2338}
body .hpP #about .card-title ~ *{font-size:17px!important;line-height:1.7!important;font-weight:500!important;color:#2E2338}
/* facts */
body .hpP .hpP-facts .info-row{padding:13px 0;border-bottom:1px solid #F1EAF5;font-size:15px;align-items:center}
body .hpP .hpP-facts .info-label{color:var(--mut);font-weight:600}
body .hpP .hpP-facts .info-value{font-weight:800;color:var(--ink)}

/* ── phones and tablets ─────────────────────────────────────────── */
@media (max-width:960px){
  body .hpP .profile-body{grid-template-columns:1fr!important}
}
@media (max-width:760px){
  body .hpP{padding:10px 10px 90px!important}
  body .hpP .hpP-hero{border-radius:22px}
  body .hpP .hpP-cover{height:150px}
  body .hpP .hpP-hero.has-cover .hpP-cover{height:190px}
  body .hpP .hpP-hero-in{grid-template-columns:1fr;padding:0 18px 20px;margin-top:-110px!important;justify-items:center;text-align:center}
  body .hpP .hpP-av-wrap{width:168px;height:210px;grid-row:auto}
  body .hpP .hpP-av{width:168px;height:210px;border-radius:22px}
  body .hpP .hpP-id{padding-top:14px}
  body .hpP .hpP-name,body .hpP .hpP-meta,body .hpP .hpP-chips{justify-content:center}
  body .hpP .hpP-actions{grid-column:1;justify-content:center;width:100%}
  body .hpP .hpP-btn.primary{flex:1 1 100%}
  body .hpP .hpV-t{flex:1 1 33%;padding:12px 10px}
  body .hpP .hpV-t + .hpV-t{border-left:0}
  body .hpP .card-modern{padding:20px 18px;border-radius:20px}
  body .hpP .photo-gallery,body .hpP .photo-gallery:has(> :nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .hpP .photo-gallery:has(> :only-child){grid-template-columns:1fr!important}
  body .hpP .hpP-nav{top:56px;border-radius:14px}
}
@media (prefers-reduced-motion:reduce){body .hpP *{animation:none!important;transition:none!important}}
