/* v28.47 — قسم العشاق (js/couples.js) */
.duo { --s: 72px; position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto; align-items: center; justify-content: center; font-size: calc(var(--s) / 10); padding: 1em 0 1.6em; direction: ltr; }
.duo.big { --s: 92px; }
.duo .p { position: relative; width: 10em; height: 10em; display: grid; place-items: center; z-index: 2; }
.duo .p img { width: 8.6em; height: 8.6em; border-radius: 50%; object-fit: cover; border: .25em solid #0B0A1F; position: relative; z-index: 2; background: #241f4d; }
.duo .mid { position: relative; z-index: 3; width: 4em; display: grid; place-items: center; margin: 0 -1em; }
.duo .mid svg { width: 3.6em; height: 3.6em; color: #FF2D7A; filter: drop-shadow(0 0 .5em #FF2D7Aaa); animation: cpBeat 1.3s ease-in-out infinite; }
@keyframes cpBeat { 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } 60% { transform: scale(1); } }
.duo .since { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 4; padding: .25em .9em; border-radius: 1em; background: #FF2D7A26; border: .08em solid #FF2D7A66;
  color: #FFC2D6; font-size: 1.25em; font-weight: 600; white-space: nowrap; direction: rtl; }
.d-twin .p img { box-shadow: 0 0 0 .16em #FF2D7A, 0 0 1.2em #FF2D7A66; }
.d-twin .link { position: absolute; top: calc(50% - .4em); left: 22%; right: 22%; height: .25em; z-index: 1; background: linear-gradient(90deg, #FF2D7A, #F472B6, #FF2D7A); box-shadow: 0 0 .8em #FF2D7A; border-radius: 1em; }
.d-halves { --heart: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21s-8-4.7-10-9.8C.7 7.4 3 4 6.6 4c2.1 0 3.6 1.2 5.4 3.2C13.8 5.2 15.3 4 17.4 4 21 4 23.3 7.4 22 11.2 20 16.3 12 21 12 21z'/></svg>"); }
.d-halves .p::after { content: ""; position: absolute; top: 50%; width: 3.4em; height: 3.4em; margin-top: -1.7em; z-index: 3; background: #FF2D7A; filter: drop-shadow(0 0 .4em #FF2D7A);
  -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
.d-halves .pa::after { left: 7.6em; clip-path: inset(0 50% 0 0); }
.d-halves .pb::after { right: 7.6em; clip-path: inset(0 0 0 50%); }
.d-halves .p img { box-shadow: 0 0 0 .14em #F9A8D4; }
.d-halves .mid { width: 2em; }
.d-thread .p img { box-shadow: 0 0 0 .14em #EF4444; }
.d-thread svg.th { position: absolute; left: 4em; right: 4em; top: 1em; width: calc(100% - 8em); height: 60%; z-index: 1; overflow: visible; }
.d-thread svg.th path { fill: none; stroke: #EF4444; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 7; animation: cpDash 1.4s linear infinite; }
@keyframes cpDash { to { stroke-dashoffset: -30; } }
.d-thread .knot { position: absolute; top: 1.4em; left: 50%; width: 1.2em; height: 1.2em; margin-left: -.6em; z-index: 3; border-radius: 50%; background: #EF4444; box-shadow: 0 0 .8em #EF4444; }
.d-ring .p img { box-shadow: 0 0 0 .16em #F4B4A0, 0 0 0 .5em #F4B4A022; }
.d-ring .mid svg { color: #F4B4A0; filter: drop-shadow(0 0 .5em #F4B4A0aa); animation: cpBob 2.6s ease-in-out infinite; }
@keyframes cpBob { 50% { transform: translateY(-.35em); } }
@media (prefers-reduced-motion: reduce) { .duo *, .duo *::after { animation: none !important; } }

.cp-card { margin: 14px 16px 4px; padding: 12px 12px 8px; border-radius: 18px; background: linear-gradient(160deg, #FF2D7A14, #8B5CF614); border: 1px solid #FF2D7A33; direction: rtl; }
.cp-top b { font-size: 13.5px; }
.cp-ask, .cp-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px auto 0; height: 42px; padding: 0 18px; border-radius: 21px;
  background: #FF2D7A1f; border: 1px solid #FF2D7A55; color: #FFC2D6; font-size: 14px; font-weight: 600; }
.cp-note { margin: 12px 16px 0; width: calc(100% - 32px); height: auto; min-height: 44px; padding: 8px 14px; text-align: right; }
.cp-ask svg, .cp-note svg { width: 18px; height: 18px; color: #FF2D7A; flex: none; }
.cp-pane, .cp-req { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.cp-styles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cp-styles .duo { --s: 40px; padding: .6em 0 .6em; }
.cp-row { display: flex; gap: 8px; }
.cp-row .fr-btn { margin-top: 0; }
