.duo-friend-guide {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .8rem;
    align-items: start;
    width: 100%;
    margin: 1rem 0;
    padding: 1rem 1rem 1rem 1.1rem;
    border: 1px solid rgba(55, 221, 255, .72);
    border-left: 5px solid #2bdcff;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(5, 24, 48, .98), rgba(25, 13, 57, .98));
    color: #f7fbff;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .28), 0 0 24px rgba(41, 203, 255, .12);
}

.duo-friend-guide__number { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #20d6ff, #9b45ff); color: #06101f; font-weight: 900; }
.duo-friend-guide__copy { min-width: 0; }
.duo-friend-guide__eyebrow { margin: 0 0 .18rem; color: #83eaff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.duo-friend-guide h2 { margin: 0; color: #fff; font-size: 1rem; line-height: 1.25; }
.duo-friend-guide p { margin: .38rem 0 0; color: rgba(235, 244, 255, .82); font-size: .86rem; line-height: 1.45; }
.duo-friend-guide__direction { display: flex; align-items: center; gap: .4rem; margin-top: .7rem; color: #7cecff; font-size: .78rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.duo-friend-guide__direction::before { content: '↓'; display: inline-grid; width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 50%; background: #27d8ff; color: #06101f; font-size: .9rem; }
.duo-friend-guide__action { display: inline-flex; align-items: center; justify-content: center; min-height: 2.25rem; margin-top: .7rem; padding: .45rem .75rem; border-radius: .55rem; background: #24d4ff; color: #06101f; font-size: .8rem; font-weight: 800; text-decoration: none; }
.duo-friend-guide__close { width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 1.15rem; line-height: 1; }
.duo-friend-guide-target { position: relative; z-index: 4; isolation: isolate; overflow: visible; outline: 3px solid #2bdcff !important; outline-offset: 4px; box-shadow: 0 0 0 7px rgba(43, 220, 255, .16), 0 0 30px rgba(43, 220, 255, .5) !important; animation: duo-friend-guide-pulse 1.8s ease-in-out infinite; }
.duo-friend-guide-target::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -8px;
    padding: 3px;
    border-radius: calc(var(--radius-md, .65rem) + 6px);
    background: linear-gradient(135deg, #20dfff, #ffffff 48%, #a44cff);
    pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: duo-friend-guide-border-breathe 1.25s ease-in-out infinite;
}
@keyframes duo-friend-guide-pulse { 50% { outline-color: #b35cff; box-shadow: 0 0 0 9px rgba(179, 92, 255, .15), 0 0 34px rgba(179, 92, 255, .5) !important; } }
@keyframes duo-friend-guide-border-breathe {
    0%, 100% { transform: scale(.985); opacity: .7; }
    50% { transform: scale(1.035); opacity: 1; }
}
@media (max-width: 560px) {
    .duo-friend-guide { grid-template-columns: auto minmax(0, 1fr) auto; gap: .62rem; margin: .85rem 0; padding: .85rem .75rem .85rem .85rem; }
    .duo-friend-guide__number { width: 2rem; height: 2rem; }
    .duo-friend-guide h2 { font-size: .95rem; }
    .duo-friend-guide p { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
    .duo-friend-guide-target,
    .duo-friend-guide-target::after { animation: none; }
}
