.profile-duo-card {
    position: relative;
    overflow: hidden;
    margin: 0 0 var(--spacing-xl);
    border: 1px solid rgba(0, 240, 255, .35);
    border-radius: 20px;
    background: radial-gradient(circle at 80% 20%, rgba(168, 85, 247, .15), transparent 50%),
                linear-gradient(135deg, rgba(10, 15, 29, .95), rgba(18, 24, 43, .98));
    box-shadow: 0 12px 35px rgba(0, 0, 0, .4), 0 0 20px rgba(0, 240, 255, .08);
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.profile-duo-card:hover {
    border-color: rgba(0, 240, 255, .65);
    box-shadow: 0 16px 45px rgba(0, 0, 0, .5), 0 0 30px rgba(0, 240, 255, .18);
    transform: translateY(-2px);
}
.profile-duo-card::after {
    position: absolute;
    inset: auto -8% -52% 42%;
    width: 280px;
    height: 280px;
    content: '';
    border-radius: 50%;
    background: rgba(168, 85, 247, .22);
    filter: blur(40px);
    pointer-events: none;
}
.profile-duo-card__topline,
.profile-duo-card__body { position: relative; z-index: 1; }
.profile-duo-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(5, 9, 20, .4);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
}
.profile-duo-card__topleft {
    display: flex;
    align-items: center;
    gap: 10px;
}
.profile-duo-card__emblem {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, .5);
    box-shadow: 0 0 10px rgba(0, 240, 255, .3);
    object-fit: cover;
}
.profile-duo-card__eyebrow {
    color: #00f0ff;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
}
.profile-duo-card__badges {
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-duo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.profile-duo-badge--synergy {
    background: rgba(0, 240, 255, .14);
    color: #00f0ff;
    border: 1px solid rgba(0, 240, 255, .4);
    box-shadow: 0 0 10px rgba(0, 240, 255, .15);
}
.profile-duo-badge--dominance {
    background: rgba(255, 50, 100, .14);
    color: #ff3264;
    border: 1px solid rgba(255, 50, 100, .4);
    box-shadow: 0 0 10px rgba(255, 50, 100, .15);
}

.profile-duo-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    padding: 28px 24px;
}
.profile-duo-card__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}
.profile-duo-card__intro h2 {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 10%, #00f0ff 55%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(0, 240, 255, 0.45));
    transition: filter 0.3s ease;
}
.profile-duo-card:hover .profile-duo-card__intro h2 {
    filter: drop-shadow(0 4px 20px rgba(0, 240, 255, 0.7));
}
.profile-duo-card__intro p {
    max-width: 480px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0.01em;
}
.profile-duo-card__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.profile-duo-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(249, 115, 22, 0.15));
    border: 1px solid rgba(239, 68, 68, 0.55);
    color: #ff6b6b;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.25);
    transition: all 0.3s ease;
}
.profile-duo-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.5);
    border-color: rgba(239, 68, 68, 0.8);
}
.profile-duo-tag i {
    color: #ff4757;
    font-size: 0.85rem;
    animation: battlePulse 2s infinite ease-in-out;
}
@keyframes battlePulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px #ff4757); }
}

.profile-duo-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 4px auto;
    width: 100%;
    max-width: 480px;
}
.profile-duo-person {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}
.profile-duo-avatar { display: grid; width: 88px; height: 88px; overflow: hidden; place-items: center; border: 3px solid #00f0ff; border-radius: 50%; background: #070d19; box-shadow: 0 0 18px rgba(0, 240, 255, .38), 0 8px 20px rgba(0, 0, 0, .4); transition: transform .25s ease, box-shadow .25s ease; }
.profile-duo-avatar:hover { transform: scale(1.06); box-shadow: 0 0 26px rgba(0, 240, 255, .65); }
.profile-duo-person--partner .profile-duo-avatar { border-color: #a855f7; box-shadow: 0 0 18px rgba(168, 85, 247, .38), 0 8px 20px rgba(0, 0, 0, .4); }
.profile-duo-person--partner .profile-duo-avatar:hover { box-shadow: 0 0 26px rgba(168, 85, 247, .65); }
.profile-duo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-duo-person__name { max-width: 160px; overflow: hidden; color: #f8fafc; font-weight: 800; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
a.profile-duo-person__name:hover { color: #00f0ff; }

.profile-duo-connection { display: grid; place-items: center; flex: 0 0 auto; }
.profile-duo-connection-node {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f0ff, #a855f7);
    color: #fff;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 22px rgba(0, 240, 255, .6), inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation: duoPulse 2.5s infinite ease-in-out;
    position: relative;
    cursor: default;
}
.profile-duo-connection-node i {
    transform: rotate(-15deg);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.profile-duo-card:hover .profile-duo-connection-node i {
    transform: rotate(0deg) scale(1.18);
}
@keyframes duoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 14px rgba(0, 240, 255, .5), inset 0 0 8px rgba(255, 255, 255, 0.2); }
    50% { transform: scale(1.14); box-shadow: 0 0 30px rgba(168, 85, 247, .9), inset 0 0 14px rgba(255, 255, 255, 0.5); }
}

.profile-duo-card__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
}
.profile-duo-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(168, 85, 247, .2), rgba(0, 240, 255, .2));
    border: 1px solid rgba(0, 240, 255, .45);
    color: #00f0ff;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .03em;
    transition: all .2s ease;
}
.profile-duo-card__link:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, .35), rgba(0, 240, 255, .35));
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 240, 255, .4);
    transform: translateY(-2px);
}

.profile-duo-settings-card { scroll-margin-top: 100px; }
.profile-duo-settings-intro { max-width: 650px; margin: 0 0 18px; color: var(--text-secondary); font-size: 1rem; line-height: 1.55; }
.profile-duo-find-players { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.profile-duo-settings-feedback { display: none; margin-bottom: 14px; padding: 10px 13px; border-radius: 9px; font-size: .9rem; }
.profile-duo-settings-feedback.is-visible { display: block; }
.profile-duo-settings-feedback.is-success { color: #b7f7d1; border: 1px solid rgba(34,197,94,.35); background: rgba(34,197,94,.12); }
.profile-duo-settings-feedback.is-error { color: #ffd0d0; border: 1px solid rgba(239,68,68,.4); background: rgba(239,68,68,.12); }
.profile-duo-settings-feedback.is-pending { display: flex; align-items: center; gap: 14px; padding: 18px; color: #fff0c7; border: 1px solid #a48743; border-left: 4px solid #ffd178; background: linear-gradient(125deg, #302719, #1c2436); border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.profile-duo-settings-feedback.is-pending::before { content: '⌛'; flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,209,120,.12); font-size: 1.3rem; }
.profile-duo-settings-feedback.is-pending > div { flex: 1; min-width: 0; }
.profile-duo-settings-feedback.is-pending strong { display: block; font-size: 1rem; color: #ffe1a0; }
.profile-duo-settings-feedback.is-pending p { margin: 5px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 600px) { .profile-duo-settings-feedback.is-pending { padding: 14px; } }
/* The shared notification visibility utility uses display:block !important. */
.profile-duo-settings-card #profileDuoFeedback.is-pending {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    column-gap: 18px;
    row-gap: 16px;
    padding: 20px;
    margin: 0 0 20px;
    border: 1px solid rgba(255, 209, 120, .35);
    border-left: 3px solid #ffd178;
    border-radius: 14px;
    background: linear-gradient(110deg, #28251f, #202432);
    box-sizing: border-box;
}
.profile-duo-settings-card #profileDuoFeedback.is-pending::before { width: 44px; height: 44px; margin: 0; }
.profile-duo-settings-card #profileDuoFeedback.is-pending > div { min-width: 0; }
.profile-duo-settings-card #profileDuoFeedback.is-pending strong { margin: 0; line-height: 1.4; font-size: 1rem; }
.profile-duo-settings-card #profileDuoFeedback.is-pending p { margin: 6px 0 0; color: #dce0e8; font-size: .9rem; line-height: 1.55; }
@media (max-width: 649px) {
    .profile-duo-settings-card #profileDuoFeedback.is-pending { grid-template-columns: 44px minmax(0, 1fr); padding: 16px; column-gap: 14px; }
    .profile-duo-settings-card #profileDuoFeedback.is-pending::before { align-self: start; }
}
.profile-duo-settings-empty { padding: 16px; color: var(--text-secondary); border: 1px dashed rgba(255,255,255,.16); border-radius: 12px; }
.profile-duo-settings-active,
.profile-duo-request { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid rgba(0,212,255,.2); border-radius: 13px; background: rgba(0,212,255,.055); }
.profile-duo-settings-active__icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; color: #8be9fd; border-radius: 12px; background: rgba(0,212,255,.14); }
.profile-duo-settings-active strong,
.profile-duo-request strong { display: block; color: var(--text-primary); }
.profile-duo-settings-active p { margin: 3px 0 0; color: var(--text-secondary); }
.profile-duo-settings-active p a { color: #9feeff; font-weight: 700; }
.profile-duo-settings-warning { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: #ffd9a0; font-size: .8rem; }
.profile-duo-settings-active .btn { margin-left: auto; }
.profile-duo-visibility-toggle { display: flex; align-items: flex-start; gap: 11px; margin-top: 15px; cursor: pointer; }
.profile-duo-visibility-toggle input { margin-top: 4px; accent-color: #00d4ff; }
.profile-duo-visibility-toggle span { display: grid; gap: 3px; }
.profile-duo-visibility-toggle small { color: var(--text-secondary); line-height: 1.45; }
.profile-duo-request { justify-content: space-between; }
.profile-duo-request + .profile-duo-request { margin-top: 10px; }
.profile-duo-request small { display: block; margin-top: 4px; color: var(--text-secondary); }
.profile-duo-request__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-duo-search { position: relative; max-width: 620px; margin-top: 4px; }
.profile-duo-search .form-label { margin-bottom: 8px; color: var(--text-primary); font-size: 1rem; font-weight: 700; }
.profile-duo-search__row { display: flex; gap: 8px; }
.profile-duo-search-results { display: grid; gap: 6px; max-height: 320px; margin-top: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.profile-duo-search-results:empty { display: none; }
.profile-duo-search-state { padding: 12px 13px; color: var(--text-secondary); border: 1px dashed rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.025); font-size: .86rem; }
.profile-duo-search-state.is-loading::before { display: inline-block; width: .72rem; height: .72rem; margin-right: .5rem; content: ''; vertical-align: -.05rem; border: 2px solid rgba(0,212,255,.25); border-top-color: var(--primary-color, #00d4ff); border-radius: 50%; animation: profile-duo-search-spin .7s linear infinite; }
.profile-duo-search-state.is-error { color: #ffd0d0; border-color: rgba(239,68,68,.35); }
.profile-duo-onboarding { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(0,212,255,.28); border-radius: 12px; background: linear-gradient(135deg, rgba(0,212,255,.09), rgba(168,85,247,.055)); }
.profile-duo-onboarding__icon { display: grid; width: 46px; height: 46px; place-items: center; color: var(--primary-color, #00d4ff); border-radius: 12px; background: rgba(0,212,255,.12); font-size: 1.05rem; }
.profile-duo-onboarding strong { display: block; color: var(--text-primary); }
.profile-duo-onboarding p { max-width: 520px; margin: 3px 0 0; color: var(--text-secondary); font-size: .82rem; line-height: 1.45; }
.profile-duo-onboarding__steps { display: grid; gap: 3px; max-width: 580px; margin: 8px 0 0; padding-left: 1.25rem; color: var(--text-secondary); font-size: .8rem; line-height: 1.4; }
.profile-duo-onboarding__steps li::marker { color: var(--primary-color, #00d4ff); font-weight: 800; }
.profile-duo-onboarding .btn { justify-self: end; white-space: nowrap; }
.profile-duo-search-result { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 10px 11px; text-align: left; color: var(--text-primary); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #151a27; cursor: pointer; }
.profile-duo-search-result:hover, .profile-duo-search-result:focus-visible { border-color: rgba(0,212,255,.65); background: #1b2636; outline: none; }
.profile-duo-search-result:disabled { cursor: wait; opacity: .65; }
.profile-duo-search-result.is-unavailable:disabled { cursor: default; opacity: .85; }
.profile-duo-search-result.is-unavailable em { color: var(--text-secondary); background: rgba(255,255,255,.1); }
.profile-duo-search-result img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.profile-duo-avatar-fallback { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #087b94; color: #fff; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.profile-duo-search-result > .profile-duo-avatar-fallback { width: 38px; height: 38px; display: grid; place-items: center; font-size: .85rem; }
.profile-duo-search-result span { display: grid; min-width: 0; gap: 2px; }
.profile-duo-search-result strong, .profile-duo-search-result small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-duo-search-result small { color: var(--text-secondary); }
.profile-duo-search-result em { padding: 6px 8px; color: #071118; border-radius: 7px; background: var(--primary-color, #00d4ff); font-size: .72rem; font-style: normal; font-weight: 800; white-space: nowrap; }
@keyframes profile-duo-search-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
    .profile-duo-card__topline { flex-direction: column; gap: 10px; text-align: center; }
    .profile-duo-card__body { padding: 22px 16px; }
    .profile-duo-card__intro p { max-width: none; }
}
@media (max-width: 520px) {
    .profile-duo-pair { gap: 16px; }
    .profile-duo-avatar { width: 72px; height: 72px; }
    .profile-duo-connection-node { width: 38px; height: 38px; font-size: 1rem; }
    .profile-duo-settings-active, .profile-duo-request { align-items: flex-start; flex-wrap: wrap; }
    .profile-duo-settings-active .btn { width: 100%; margin-left: 0; }
    .profile-duo-request > .btn { width: 100%; }
    .profile-duo-onboarding { grid-template-columns: 42px minmax(0,1fr); align-items: start; }
    .profile-duo-onboarding__icon { width: 42px; height: 42px; }
    .profile-duo-onboarding .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
    .profile-duo-search-result { grid-template-columns: 38px minmax(0,1fr); }
    .profile-duo-search-result em { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
    .profile-duo-card *, .profile-duo-card::after, .profile-duo-search-state::before { transition: none !important; animation: none !important; }
}

/* ============================================
   CINEMATIC DUO SHOWCASE
   Reference-led visual layer. Data, links and
   profile actions remain unchanged.
   ============================================ */
.profile-duo-card {
    isolation: isolate;
    margin-bottom: clamp(14px, 2vw, 26px);
    border: 1px solid rgba(48, 218, 255, .58);
    border-radius: 14px;
    background:
        radial-gradient(circle at 20% 55%, rgba(0, 193, 255, .2), transparent 28%),
        radial-gradient(circle at 80% 55%, rgba(192, 48, 255, .22), transparent 30%),
        linear-gradient(150deg, rgba(6, 20, 53, .98), rgba(4, 8, 28, .98) 58%, rgba(22, 7, 48, .98));
    box-shadow:
        0 26px 62px rgba(0, 0, 0, .52),
        0 0 0 1px rgba(122, 70, 255, .12),
        -10px 0 34px rgba(0, 199, 255, .09),
        10px 0 34px rgba(218, 48, 255, .09);
    transform: none;
}

.profile-duo-card:hover {
    border-color: rgba(91, 230, 255, .75);
    box-shadow:
        0 28px 68px rgba(0, 0, 0, .55),
        0 0 34px rgba(40, 194, 255, .12),
        0 0 38px rgba(187, 49, 255, .1);
    transform: none;
}

.profile-duo-card::before {
    position: absolute;
    top: 0;
    right: 5%;
    left: 5%;
    z-index: 2;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2ee4ff, #5f79ff 48%, #d63dff, transparent);
    box-shadow: 0 0 22px rgba(48, 218, 255, .8);
    content: '';
}

.profile-duo-card::after {
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    border-radius: inherit;
    background:
        linear-gradient(rgba(54, 164, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(54, 164, 255, .025) 1px, transparent 1px);
    background-size: 42px 42px;
    filter: none;
    opacity: .65;
}

.profile-duo-card__topline {
    min-height: 33px;
    padding: 7px clamp(9px, 1.5vw, 17px);
    border-bottom-color: rgba(78, 180, 255, .16);
    background: rgba(2, 8, 27, .68);
}

.profile-duo-card__emblem {
    width: 19px;
    height: 19px;
    border-color: rgba(67, 226, 255, .66);
    border-radius: 5px;
}

.profile-duo-card__eyebrow {
    color: #6cecff;
    font-size: .68rem;
    letter-spacing: .16em;
}

.profile-duo-card__badges {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.profile-duo-badge {
    min-height: 18px;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: .58rem;
}

.profile-duo-card__body {
    gap: 12px;
    min-height: 300px;
    padding: clamp(17px, 2.5vw, 32px) clamp(10px, 2.5vw, 33px) clamp(19px, 2.5vw, 29px);
}

.profile-duo-card__intro h2 {
    margin-bottom: 5px;
    font-family: Outfit, Poppins, sans-serif;
    font-size: clamp(1.45rem, 2.5vw, 2.05rem);
    line-height: .92;
    letter-spacing: .11em;
    filter: drop-shadow(0 0 18px rgba(41, 211, 255, .24));
}

.profile-duo-card:hover .profile-duo-card__intro h2 {
    filter: drop-shadow(0 0 20px rgba(41, 211, 255, .3));
}

.profile-duo-card__intro p {
    max-width: 660px;
    color: #e5ecf8;
    font-size: clamp(.78rem, .8vw, .9rem);
    font-weight: 650;
}

.profile-duo-card__tags {
    margin-top: 8px;
}

.profile-duo-tag {
    min-height: 19px;
    padding: 4px 9px;
    border-color: rgba(255, 69, 122, .62);
    background: rgba(115, 16, 54, .34);
    color: #ff9bb7;
    box-shadow: 0 0 22px rgba(255, 44, 107, .15);
}

.profile-duo-tag i,
.profile-duo-connection-node {
    animation: none;
}

.profile-duo-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
    gap: clamp(9px, 2vw, 24px);
    width: min(410px, 100%);
    max-width: 410px;
    margin: 3px auto 2px;
}

.profile-duo-person {
    gap: 7px;
}

.profile-duo-avatar {
    width: clamp(75px, 9vw, 105px);
    height: clamp(75px, 9vw, 105px);
    border-width: 2px;
    border-color: #32dfff;
    background:
        radial-gradient(circle, rgba(38, 160, 255, .25), rgba(2, 8, 24, .95));
    box-shadow:
        0 0 0 8px rgba(20, 117, 255, .07),
        0 0 34px rgba(34, 213, 255, .48),
        inset 0 0 32px rgba(34, 213, 255, .12);
}

.profile-duo-person--partner .profile-duo-avatar {
    border-color: #cc50ff;
    background:
        radial-gradient(circle, rgba(181, 58, 255, .25), rgba(13, 4, 31, .95));
    box-shadow:
        0 0 0 8px rgba(160, 44, 255, .07),
        0 0 34px rgba(196, 70, 255, .48),
        inset 0 0 32px rgba(196, 70, 255, .12);
}

.profile-duo-avatar:hover,
.profile-duo-person--partner .profile-duo-avatar:hover {
    transform: scale(1.025);
}

.profile-duo-person__name {
    max-width: 130px;
    color: #fff;
    font-family: Outfit, Poppins, sans-serif;
    font-size: clamp(.85rem, 1.35vw, 1rem);
    font-weight: 900;
    letter-spacing: -.01em;
    text-shadow: 0 5px 18px rgba(0, 0, 0, .7);
}

.profile-duo-connection-node {
    width: 39px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, .52);
    border-radius: 0;
    clip-path: polygon(50% 0, 92% 21%, 92% 72%, 50% 100%, 8% 72%, 8% 21%);
    background: linear-gradient(145deg, #10bff5, #5262f7 52%, #aa3bf3);
    font-size: .88rem;
    box-shadow: 0 0 28px rgba(51, 210, 255, .42);
}

.profile-duo-card:hover .profile-duo-connection-node i {
    transform: rotate(-15deg);
}

.profile-duo-card__meta {
    margin-top: 3px;
}

.profile-duo-card__link {
    justify-content: center;
    width: min(165px, 100%);
    min-height: 28px;
    padding: 6px 12px;
    border-color: rgba(151, 239, 255, .7);
    border-radius: 7px;
    background: linear-gradient(105deg, #079ee9, #3977ef 52%, #a830e7);
    color: #fff;
    font-family: Outfit, Poppins, sans-serif;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 0 28px rgba(42, 179, 255, .25), 0 12px 28px rgba(0, 0, 0, .3);
}

.profile-duo-card__link:hover {
    background: linear-gradient(105deg, #1fb7ff, #537eff 52%, #c33cff);
}

@media (max-width: 760px) {
    .profile-duo-card { border-radius: 10px; }
    .profile-duo-card__topline { align-items: stretch; padding: 7px 8px; }
    .profile-duo-card__topleft,
    .profile-duo-card__badges { justify-content: center; }
    .profile-duo-card__body { min-height: 0; padding: 15px 8px 17px; }
    .profile-duo-pair { grid-template-columns: minmax(0, 1fr) 27px minmax(0, 1fr); gap: 5px; }
    .profile-duo-avatar { width: clamp(58px, 14vw, 66px); height: clamp(58px, 14vw, 66px); border-width: 2px; }
    .profile-duo-connection-node { width: 25px; height: 29px; font-size: .72rem; }
    .profile-duo-person__name {
        max-width: 100%;
        min-height: 2em;
        overflow: visible;
        font-size: clamp(.72rem, 2.05vw, .88rem);
        line-height: 1;
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .profile-duo-card__badges { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .profile-duo-badge { justify-content: center; padding-inline: 4px; font-size: .5rem; }
    .profile-duo-pair { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 3px; }
    .profile-duo-avatar { width: clamp(52px, 18vw, 64px); height: clamp(52px, 18vw, 64px); }
    .profile-duo-connection-node { width: 24px; height: 28px; }
}
.profile-duo-guide {
    margin: 1.5rem 0 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.025);
}

.profile-duo-guide h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.profile-duo-guide ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-duo-guide li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
    line-height: 1.4;
}

.profile-duo-guide li > span {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    place-items: center;
    color: #071118;
    border-radius: 50%;
    background: var(--primary-color, #00d4ff);
    font-size: 0.78rem;
    font-weight: 800;
}

.profile-duo-guide li strong,
.profile-duo-guide li small { display: block; }
.profile-duo-guide li small { margin-top: 0.18rem; color: var(--text-secondary); font-size: 0.8rem; }
.profile-duo-guide__note { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0.9rem 0 0; padding-top: 0.8rem; color: var(--text-secondary); border-top: 1px solid rgba(255,255,255,.08); font-size: 0.8rem; line-height: 1.45; }
.profile-duo-guide__note i { margin-top: 0.15rem; color: var(--primary-color, #00d4ff); }

@media (max-width: 760px) {
    .profile-duo-guide ol { grid-template-columns: 1fr; }
}
