/* Никах Нур — единый стиль анкет (профиль + поиск).
   Только оформление. Без :has(), чтобы работало и в старых мобильных браузерах.
   Счётчики (.nav-badge, .site-live-badge) НЕ затрагиваются — остаются красными.
   Откат: удалить строку <link ... nur-redesign.css> из profile.php / search.php. */
:root{--nr-gold:#d5ad50;--nr-gold-soft:#ecd9a4;--nr-deep:#075747;--nr-ink:#084d40;--nr-text:#315f68;--nr-muted:#6e8d8d;--nr-line:#dfe9e4;--nr-mint:#e3f4ea}

/* ===================== ПРОФИЛЬ ===================== */
body.profile-page .profile-hero{border-radius:26px!important;border:1px solid rgba(205,222,216,.8)!important;background:rgba(255,255,252,.94)!important;box-shadow:0 14px 34px rgba(29,76,61,.08)!important}
body.profile-page .profile-photo{border:0!important;border-radius:22px!important;box-shadow:0 8px 20px rgba(29,76,61,.12)!important}
body.profile-page .presence{display:inline-flex!important;align-items:center;gap:7px;background:var(--nr-mint)!important;color:var(--nr-deep)!important;font-weight:700!important;border-radius:999px!important}
body.profile-page .profile-title{font-family:'DM Serif Display',Georgia,'Times New Roman',serif!important;font-weight:400!important;color:var(--nr-ink)!important;line-height:1.04!important;letter-spacing:-.01em}
body.profile-page .profile-meta,body.profile-page .meta-row{color:var(--nr-text)!important}
body.profile-page .meta-row svg{color:var(--nr-deep)!important;stroke:var(--nr-deep)!important}
body.profile-page .hero-actions .profile-button.primary{background:linear-gradient(135deg,#0a6a56,#128567)!important;color:#fff!important;border-color:#0a6a56!important;border-radius:999px!important;font-weight:700!important;box-shadow:0 10px 22px rgba(10,106,86,.22)!important}
body.profile-page .hero-actions .profile-button{border-radius:999px!important}

/* «О себе»: заголовок с золотой линией и ромбом, строки: иконка · название · значение */
body.profile-page .profile-section{border-radius:26px!important;border:1px solid rgba(205,222,216,.8)!important;background:rgba(255,255,252,.95)!important;box-shadow:0 14px 34px rgba(29,76,61,.07)!important}
body.profile-page .section-heading{font-family:'DM Serif Display',Georgia,'Times New Roman',serif!important;font-weight:400!important;color:var(--nr-ink)!important;align-items:center!important}
body.profile-page .section-heading::after{content:"";flex:1 1 auto;height:12px;margin-left:10px;min-width:40px;background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1l5 5-5 5-5-5z' fill='%23d5ad50'/%3E%3C/svg%3E") right center/12px 12px no-repeat,
  linear-gradient(90deg,rgba(213,173,80,0),#d5ad50) left center/calc(100% - 12px) 1px no-repeat}
body.profile-page .facts{display:block!important}
body.profile-page .profile-section .fact{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:center!important;column-gap:14px!important;padding:12px 0!important;margin:0!important;border:0!important;border-top:1px solid var(--nr-line)!important;background:transparent!important}
body.profile-page .profile-section .fact-label{display:flex!important;align-items:center!important;gap:12px!important;color:var(--nr-text)!important;font-weight:500!important;min-width:0}
body.profile-page .profile-section .fact-label svg{flex:0 0 26px;width:26px!important;height:26px!important;fill:none;stroke:var(--nr-deep);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.profile-page .profile-section .fact b{color:var(--nr-ink)!important;font-weight:800!important;text-align:left!important;overflow-wrap:anywhere}
body.profile-page .about-copy{color:var(--nr-text)!important;line-height:1.55!important;margin:0 0 10px!important}
body.profile-page .interest-section,body.profile-page .edit-card{border-radius:26px!important}
body.profile-page .chip{background:var(--nr-mint)!important;color:var(--nr-deep)!important;border:1px solid #cfe6da}

/* ===================== ПОИСК (карточки анкет) ===================== */
/* Всегда по две анкеты в ряд на телефонах (на любом устройстве и в любом браузере). */
body.search-screen .profile-grid,body.search-screen.site-main .search-page .profile-grid,body.search-screen .search-page .profile-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.search-screen .profile-grid .profile{position:relative!important;min-width:0!important;overflow:hidden!important;border:1px solid rgba(205,222,216,.85)!important;border-radius:22px!important;background:rgba(255,255,252,.96)!important;box-shadow:0 10px 24px rgba(29,76,61,.08)!important;transform:none!important}
body.search-screen .profile-grid .profile:hover{transform:none!important;box-shadow:0 14px 30px rgba(29,76,61,.13)!important}
body.search-screen .profile-grid .profile>a{display:block!important;padding:9px 9px 12px!important;color:var(--nr-ink)!important;text-decoration:none!important}
body.search-screen .profile-grid .profile-media{position:relative!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1.08!important;padding:0!important;margin:0!important;border:0!important;border-radius:19px!important;overflow:hidden!important;box-shadow:0 6px 16px rgba(29,76,61,.12)!important;background:#eef6f1!important}
body.search-screen .profile-grid .profile-media:before{display:none!important;content:none!important}
body.search-screen .profile-grid .profile-media>*:not(.online-dot):not(.demo-badge){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
body.search-screen .profile-grid .profile-body{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:auto!important;min-width:0!important;padding:10px 3px 0!important;background:transparent!important;color:var(--nr-text)!important}
body.search-screen .profile-grid .profile-body h3{margin:0 0 5px!important;font-family:'DM Serif Display',Georgia,'Times New Roman',serif!important;font-size:20px!important;font-weight:400!important;line-height:1.1!important;color:var(--nr-ink)!important;text-shadow:none!important;overflow-wrap:anywhere}
body.search-screen .profile-grid .profile-body p{margin:2px 0 0!important;font-size:13px!important;line-height:1.3!important;color:var(--nr-text)!important;text-shadow:none!important;overflow-wrap:anywhere}
body.search-screen .profile-grid .profile-body p:before{color:var(--nr-deep)!important}
body.search-screen .profile-grid .profile-body .profile-goal{display:inline-block!important;max-width:100%;margin-top:8px!important;padding:6px 11px!important;border:0!important;border-radius:999px!important;background:var(--nr-mint)!important;color:var(--nr-deep)!important;font-size:11.5px!important;font-weight:700!important;line-height:1.3!important;text-shadow:none!important}
body.search-screen .profile-grid .online-dot{top:6px!important;left:6px!important;right:auto!important;padding:4px 8px!important;border-radius:999px!important;background:rgba(250,255,251,.95)!important;color:var(--nr-deep)!important;font-size:10px!important;font-weight:700!important;box-shadow:0 2px 6px rgba(0,0,0,.12)}
body.search-screen .profile-grid .profile:after{content:none!important;display:none!important}
@media(min-width:760px){body.search-screen .profile-grid,body.search-screen.site-main .search-page .profile-grid,body.search-screen .search-page .profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}body.search-screen .profile-grid .profile-body h3{font-size:23px!important}body.search-screen .profile-grid .profile-body p{font-size:14px!important}}
@media(min-width:1100px){body.search-screen .profile-grid,body.search-screen.site-main .search-page .profile-grid,body.search-screen .search-page .profile-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* ===================== ГОСТИ ===================== */
body.guests-page{background:radial-gradient(ellipse at 88% 6%,rgba(220,240,224,.85) 0,rgba(250,252,247,.3) 34%,transparent 52%),#fbfcf7!important}
body.guests-page .page-heading{margin:16px 0 16px!important}
body.guests-page .page-heading h1{margin:0 0 8px!important;font-family:'DM Serif Display',Georgia,'Times New Roman',serif!important;font-weight:400!important;font-size:34px!important;line-height:1.08!important;letter-spacing:-.01em;color:var(--nr-ink)!important}
body.guests-page .page-heading h1::after{content:"";display:block;height:12px;margin-top:10px;background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1l5 5-5 5-5-5z' fill='%23d5ad50'/%3E%3C/svg%3E") right center/12px 12px no-repeat,
  linear-gradient(90deg,rgba(213,173,80,0),#d5ad50) left center/calc(100% - 12px) 1px no-repeat}
body.guests-page .page-heading .muted{margin:0!important;color:var(--nr-muted)!important;font-size:15px!important;line-height:1.45!important}
body.guests-page .guest-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
body.guests-page .guest-row.card{display:grid!important;grid-template-columns:84px minmax(0,1fr) auto!important;align-items:center!important;column-gap:16px!important;padding:12px 14px 12px 12px!important;border:1px solid rgba(205,222,216,.85)!important;border-radius:24px!important;background:rgba(255,255,252,.96)!important;box-shadow:0 12px 28px rgba(29,76,61,.08)!important;color:var(--nr-ink)!important;text-decoration:none!important}
body.guests-page .guest-avatar{flex:none!important;width:84px!important;height:84px!important;min-width:84px!important;min-height:84px!important;max-width:84px!important;max-height:84px!important;border:2.5px solid var(--nr-gold)!important;border-radius:22px!important;box-shadow:0 6px 16px rgba(29,76,61,.12)!important;overflow:hidden!important}
body.guests-page .guest-avatar>img,body.guests-page .guest-private{border-radius:0!important}
body.guests-page .guest-online{right:7px!important;bottom:7px!important}
body.guests-page .guest-info{min-width:0!important}
body.guests-page .guest-info h3{margin:0 0 5px!important;font-family:'DM Serif Display',Georgia,'Times New Roman',serif!important;font-weight:400!important;font-size:25px!important;line-height:1.08!important;color:var(--nr-ink)!important;overflow-wrap:anywhere}
body.guests-page .guest-info p{margin:0!important;font-size:14.5px!important;line-height:1.35!important;color:var(--nr-text)!important}
body.guests-page .guest-row>span:last-child{display:grid!important;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--nr-mint);color:var(--nr-deep)!important;font-size:22px!important;line-height:1;font-weight:700}
body.guests-page .empty-state.card{border-radius:24px!important;border:1px solid rgba(205,222,216,.85)!important;background:rgba(255,255,252,.96)!important}
body.guests-page .empty-state h3{font-family:'DM Serif Display',Georgia,serif!important;font-weight:400!important;color:var(--nr-ink)!important}

/* Hide only the large photo verification badge; keep the online pulse untouched. */
body.profile-page .photo-verified{display:none!important}


/* Hide only the photo-corner presence dot; keep text status animations untouched. */
body.profile-page .profile-photo .presence-dot{display:none!important}
