.plp-standalone {
    margin: 0;
}

.plp-public-profile,
.plp-public-profile * {
    box-sizing: border-box;
}

.plp-public-profile {
    min-height: 100vh;
    padding: 24px 14px 40px;
    color: #f8fafc;
    background:
        radial-gradient(circle at 15% 0%, rgba(79, 70, 229, 0.45), transparent 36%),
        linear-gradient(145deg, #111827, #1e1b4b);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.plp-profile-shell {
    width: min(100%, 620px);
    margin: 0 auto;
}

.plp-profile-header {
    padding: 14px 14px 24px;
    text-align: center;
}

.plp-profile-photo {
    display: grid;
    width: 104px;
    height: 104px;
    margin: 0 auto 16px;
    object-fit: cover;
    place-items: center;
    color: #fff;
    background: #4f46e5;
    border: 3px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    font-size: 25px;
    font-weight: 700;
}

.plp-profile-header h1 {
    margin: 0 0 8px;
    color: inherit;
    font-size: clamp(27px, 7vw, 38px);
    line-height: 1.15;
}

.plp-profile-header p {
    max-width: 520px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.55;
}

.plp-public-links {
    display: grid;
    gap: 11px;
}

.plp-public-link {
    position: relative;
    display: grid;
    min-height: 72px;
    align-items: center;
    grid-template-columns: 50px minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 10px 14px 10px 10px;
    overflow: hidden;
    color: #111827;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.plp-public-link:hover,
.plp-public-link:focus-visible {
    color: #111827;
    border-color: #a5b4fc;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
    outline: none;
    transform: translateY(-2px);
}

.plp-public-link:focus-visible {
    box-shadow: 0 0 0 4px rgba(165, 180, 252, 0.72), 0 14px 34px rgba(0, 0, 0, 0.25);
}

.plp-public-link.is-highlighted {
    background: linear-gradient(135deg, #fef3c7, #fff);
    border-color: #fbbf24;
}

.plp-link-visual {
    display: grid;
    width: 50px;
    height: 50px;
    overflow: hidden;
    place-items: center;
    background: #eef2ff;
    border-radius: 13px;
}

.plp-link-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plp-link-emoji {
    font-size: 25px;
    line-height: 1;
}

.plp-link-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.plp-link-copy strong,
.plp-link-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.plp-link-copy strong {
    color: #111827;
    font-size: 16px;
    line-height: 1.25;
}

.plp-link-copy small {
    display: -webkit-box;
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.plp-link-badge {
    padding: 5px 8px;
    color: #4338ca;
    background: #e0e7ff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.is-highlighted .plp-link-badge {
    color: #92400e;
    background: #fde68a;
}

.plp-link-arrow {
    color: #94a3b8;
    font-size: 26px;
    line-height: 1;
}

@media (min-width: 600px) {
    .plp-public-profile {
        padding-top: 38px;
    }

    .plp-profile-header {
        padding-bottom: 28px;
    }

    .plp-public-link {
        min-height: 80px;
        grid-template-columns: 58px minmax(0, 1fr) auto auto;
        padding: 10px 18px 10px 10px;
    }

    .plp-link-visual {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 380px) {
    .plp-public-profile {
        padding-inline: 10px;
    }

    .plp-public-link {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        gap: 9px;
        border-radius: 15px;
    }

    .plp-link-visual {
        width: 46px;
        height: 46px;
    }

    .plp-link-badge {
        position: absolute;
        top: 7px;
        right: 8px;
    }

    .plp-link-arrow {
        grid-column: 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .plp-public-link {
        transition: none;
    }
}
