/* DropX — kétoldalúan megerősített párkapcsolati felkérés és közös poszt */
.relationship-request-panel {
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid rgba(220, 169, 55, .38);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(31, 25, 15, .96), rgba(12, 15, 19, .98));
    box-shadow: 0 8px 26px rgba(0, 0, 0, .2), inset 0 1px rgba(255,255,255,.035);
}
.relationship-request-heading { display:flex; align-items:center; gap:9px; color:#e8b83e; margin-bottom:12px; }
.relationship-request-heading span { margin-left:auto; min-width:22px; text-align:center; padding:2px 7px; border-radius:20px; background:rgba(224,174,55,.14); font-size:11px; }
.relationship-request-item { display:grid; grid-template-columns:42px minmax(0,1fr); gap:10px; align-items:center; padding:10px 0; border-top:1px solid rgba(255,255,255,.07); }
.relationship-request-avatar { width:42px; height:42px; object-fit:cover; border-radius:50%; border:1px solid #c99a2e; }
.relationship-request-copy { min-width:0; display:flex; flex-direction:column; gap:3px; color:#aab1bb; font-size:12px; }
.relationship-request-copy strong { color:#f0f2f5; font-size:13px; }
.relationship-request-actions { grid-column:1 / -1; display:flex; gap:8px; }
.relationship-request-actions button { flex:1; min-height:36px; border-radius:9px; border:1px solid rgba(216,169,56,.55); background:linear-gradient(135deg,#e4bd59,#a8791f); color:#17130a; font-weight:700; cursor:pointer; }
.relationship-request-actions .relationship-request-reject { background:rgba(255,255,255,.045); color:#cbd0d7; border-color:rgba(255,255,255,.15); }
.relationship-request-actions button:disabled { opacity:.55; cursor:wait; }
.romantic-relation-card { position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; align-items:center; gap:16px; padding:28px 20px; border:1px solid rgba(224,177,70,.52); border-radius:18px; background:radial-gradient(ellipse at 50% 0%,rgba(153,54,81,.24),transparent 58%),linear-gradient(135deg,#17141a,#0b0d12 65%,#1b1118); box-shadow:0 0 28px rgba(214,151,52,.12), inset 0 0 22px rgba(255,255,255,.025); text-align:center; }
.romantic-relation-card::before { content:""; position:absolute; inset:-45%; z-index:-1; background:conic-gradient(from 0deg,transparent 0 65%,rgba(235,190,89,.16),transparent 78%); animation:dx-romantic-orbit 18s linear infinite; }
.romantic-avatars-wrap { display:flex; align-items:center; justify-content:center; gap:12px; position:relative; z-index:1; }
.romantic-avatar-container { width:76px; height:76px; padding:3px; border-radius:50%; background:linear-gradient(135deg,#ffe7a0,#bd8128,#f7c4d0); box-shadow:0 0 18px rgba(237,180,71,.32); animation:dx-romantic-pulse 3s ease-in-out infinite; }
.romantic-avatar { width:100%; height:100%; display:block; object-fit:cover; border-radius:50%; border:2px solid #171219; }
.romantic-heart-center { color:#ff6b91; font-size:30px; text-shadow:0 0 15px rgba(255,75,125,.8); animation:dx-heart-beat 1.4s ease-in-out infinite; }
.romantic-title { color:#f4d17b; font-size:clamp(17px,2.2vw,22px); font-weight:800; letter-spacing:.02em; text-shadow:0 0 16px rgba(231,174,70,.2); }
.romantic-subtext { color:#d8d3d7; line-height:1.7; font-size:13px; }
.romantic-link { color:#f1c65e; font-weight:700; text-decoration:none; }
.romantic-link:hover { color:#fff0bd; }
.romantic-date-highlight { display:block; margin-top:8px; color:#ff9eb6; font-weight:700; }
.romantic-particles { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.romantic-particles span { position:absolute; bottom:-25px; left:var(--dx-left,12%); color:rgba(255,133,165,.7); font-size:18px; animation:dx-romantic-float 7s linear infinite; }
.romantic-particles span:nth-child(2) { left:32%; animation-delay:-2s; font-size:13px; }
.romantic-particles span:nth-child(3) { left:69%; animation-delay:-4s; font-size:22px; }
.romantic-particles span:nth-child(4) { left:88%; animation-delay:-1s; font-size:14px; }
.romantic-particles span:nth-child(5) { left:51%; animation-delay:-5s; font-size:12px; }
@keyframes dx-romantic-float { 0% { transform:translateY(0) rotate(0); opacity:0; } 15% { opacity:.8; } 85% { opacity:.65; } 100% { transform:translateY(-230px) rotate(28deg); opacity:0; } }
@keyframes dx-romantic-orbit { to { transform:rotate(360deg); } }
@keyframes dx-romantic-pulse { 0%,100% { box-shadow:0 0 14px rgba(237,180,71,.22); } 50% { box-shadow:0 0 25px rgba(237,180,71,.48); } }
@keyframes dx-heart-beat { 0%,100% { transform:scale(1); } 15% { transform:scale(1.2); } 30% { transform:scale(1); } 45% { transform:scale(1.13); } }
@media (prefers-reduced-motion: reduce) { .romantic-relation-card::before,.romantic-avatar-container,.romantic-heart-center,.romantic-particles span { animation:none; } }
@media (max-width:600px) { .relationship-request-panel { padding:11px; } .romantic-relation-card { padding:22px 12px; gap:13px; } .romantic-avatar-container { width:62px; height:62px; } }

/* Privát, mindkét érintett profil tetején rögzített kapcsolati felkérés. */
.dx-relationship-request-card { contain: layout paint; margin: 4px 0 10px; padding: 24px 18px; border-color: rgba(226,177,70,.72); background: radial-gradient(ellipse at 50% 0%,rgba(181,54,91,.19),transparent 60%),linear-gradient(135deg,#17141a,#090c11 68%,#1a1017); }
.dx-relationship-request-card .romantic-title { letter-spacing: .025em; }
.dx-relationship-inline-actions { width: min(100%, 440px); margin-top: 4px; }
.dx-relationship-inline-actions button { display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.relationship-pending-status,.relationship-private-note { display:flex; align-items:center; justify-content:center; gap:7px; color:#d6b96d; font-size:12px; }
.relationship-private-note { color:#8d929c; font-size:10px; }
.relationship-pending-tag { color:#e8c36a; }
.post-card.is-relationship-request-post .post-actions-footer { display:none; }
.profile-feed-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:16px 0 22px; padding:12px 14px; border:1px solid rgba(214,169,65,.25); border-radius:12px; background:rgba(10,13,17,.72); color:#969eaa; font-size:12px; }
.profile-feed-pagination a { color:#e5bd59; text-decoration:none; font-weight:700; }
.profile-feed-pagination a:hover { color:#fff0bd; }
@media (max-width:600px) { .dx-relationship-request-card { padding:20px 12px; } .dx-relationship-request-card .romantic-avatar-container { width:58px; height:58px; } .dx-relationship-inline-actions { flex-direction:column; } .profile-feed-pagination { flex-wrap:wrap; } }

/* Családi és egyéb nem romantikus kapcsolati státuszposztok egységes, reszponzív kártyája.
   A korábban mentett posztok HTML-jét is helyreállítja: a profilképek nem nőhetnek natív méretükre. */
.family-relation-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    min-width: 0;
    min-height: 220px;
    margin: 4px 0 10px;
    padding: 26px 20px 24px;
    overflow: hidden;
    border: 1px solid rgba(214, 174, 76, .55);
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(58, 111, 105, .2), transparent 58%),
        linear-gradient(140deg, #171b1c 0%, #0b0f12 66%, #151713 100%);
    box-shadow: 0 0 25px rgba(205, 164, 65, .1), inset 0 1px rgba(255,255,255,.035);
    text-align: center;
}
.family-relation-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -45%;
    pointer-events: none;
    background: conic-gradient(from 35deg, transparent 0 68%, rgba(225, 185, 91, .12), transparent 80%);
    animation: dx-family-orbit 22s linear infinite;
}
.family-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.family-particle {
    position: absolute;
    left: 14%;
    bottom: -22px;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(232, 194, 104, .75);
    border-radius: 2px;
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(222, 177, 72, .35);
    animation: dx-family-float 8s linear infinite;
}
.family-particle:nth-child(2) { left: 34%; animation-delay: -2.5s; width: 5px; height: 5px; }
.family-particle:nth-child(3) { left: 68%; animation-delay: -5s; }
.family-particle:nth-child(4) { left: 88%; animation-delay: -1.5s; width: 6px; height: 6px; }
.family-avatars-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    min-width: 0;
}
.family-avatar-container {
    position: relative;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 224, 151, .8);
    border-radius: 50%;
    background: linear-gradient(135deg, #ffe5a0, #b77c27 55%, #f1d18a);
    box-shadow: 0 0 17px rgba(220, 174, 74, .3);
    animation: dx-family-pulse 3.5s ease-in-out infinite;
}
.family-avatar-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 12px rgba(255, 236, 180, .35);
}
.family-relation-card .family-avatar,
.family-avatar-container .family-avatar {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border: 2px solid #111518;
    border-radius: 50%;
}
.family-icon-center {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(222, 183, 94, .55);
    border-radius: 50%;
    background: #171a19;
    color: #f0ca72;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 0 16px rgba(220, 174, 74, .2);
}
.family-text-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: min(100%, 620px);
    min-width: 0;
}
.family-title {
    color: #f0cf82;
    font-size: clamp(17px, 2.1vw, 21px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .015em;
    text-shadow: 0 0 14px rgba(222, 177, 72, .2);
}
.family-subtext {
    color: #d1d5d8;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.family-link {
    color: #e9c36e;
    font-weight: 700;
    text-decoration: none;
}
.family-link:hover { color: #fff0c2; text-decoration: underline; }
@keyframes dx-family-float {
    0% { transform: translate3d(0, 0, 0) rotate(45deg); opacity: 0; }
    16% { opacity: .65; }
    82% { opacity: .45; }
    100% { transform: translate3d(18px, -235px, 0) rotate(225deg); opacity: 0; }
}
@keyframes dx-family-orbit { to { transform: rotate(360deg); } }
@keyframes dx-family-pulse {
    0%, 100% { box-shadow: 0 0 13px rgba(220, 174, 74, .2); }
    50% { box-shadow: 0 0 23px rgba(220, 174, 74, .42); }
}
@media (max-width: 600px) {
    .family-relation-card { min-height: 190px; gap: 12px; padding: 20px 12px; border-radius: 14px; }
    .family-avatar-container { flex-basis: 60px; width: 60px; height: 60px; }
    .family-icon-center { flex-basis: 32px; width: 32px; height: 32px; font-size: 17px; }
    .family-avatars-wrap { gap: 9px; }
    .family-title { font-size: 17px; }
    .family-subtext { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .family-relation-card::before,
    .family-particle,
    .family-avatar-container { animation: none !important; }
}
