/* Nerd-Pastell Author Profiles */

.widget:has(.npap-card),
.pastel-window:has(.npap-card) {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.widget:has(.npap-card) > .window-title,
.pastel-window:has(.npap-card) > .window-title {
    display: none !important;
}

.pastel-window:has(.npap-card) > *,
.widget:has(.npap-card) > * {
    margin-inline: 0 !important;
}

.sidebar .widget:has(.npap-card),
.sidebar .pastel-window:has(.npap-card) {
    width: 100% !important;
}

.npap-card {
    width: 100%;
    overflow: hidden;
    border: 2px solid #d8c8f3;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 50px rgba(100, 78, 160, 0.16);
}

.npap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    color: #fff;
    font-family: "Space Mono", ui-monospace, monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #9f82e8, #c4a9f7);
}

.npap-body {
    position: relative;
    padding: 18px 24px 20px;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 120, 173, 0.18), transparent 26%),
        radial-gradient(circle at 82% 30%, rgba(111, 220, 207, 0.16), transparent 24%),
        radial-gradient(circle at 60% 92%, rgba(169, 139, 232, 0.14), transparent 28%),
        linear-gradient(180deg, #fffafe 0%, #fff7fb 100%);
}

.npap-body::before {
    position: absolute;
    inset: 12px;
    content: "";
    border-radius: 18px;
    background-image:
        radial-gradient(circle, rgba(255, 209, 102, 0.58) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255, 120, 173, 0.36) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(111, 220, 207, 0.38) 0 1px, transparent 2px);
    background-size: 68px 68px, 94px 94px, 120px 120px;
    background-position: 10px 12px, 32px 48px, 70px 20px;
    opacity: 0.55;
    pointer-events: none;
}

.npap-list,
.npap-twinkle {
    position: relative;
    z-index: 1;
}

.npap-list {
    display: grid;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.npap-list li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.npap-list a {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    color: #2f2a60;
    text-decoration: none;
}

.npap-list a:not(:has(.npap-icon-wrap)) {
    grid-template-columns: 1fr;
}

.npap-list a:hover strong {
    color: #ff78ad;
}

.npap-icon-wrap {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 2px solid #bfa7f3;
    border-radius: 12px;
    box-shadow:
        0 8px 14px rgba(100, 78, 160, 0.08),
        inset 0 0 0 2px rgba(255,255,255,0.85);
}

.npap-icon {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 0 !important;
    image-rendering: pixelated;
}

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

.npap-copy strong {
    color: #2f2a60;
    font-family: "Space Mono", ui-monospace, monospace;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.18;
    transition: color 160ms ease;
}

.npap-copy small {
    color: #8b84ad;
    font-family: "Nunito", system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
}

.npap-twinkle {
    position: absolute;
    font-size: 1.1rem;
    line-height: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.npap-twinkle-1 {
    top: 16px;
    left: 24px;
    color: #ffd166;
}

.npap-twinkle-2 {
    right: 30px;
    top: 46px;
    color: #ff8fc0;
}

.npap-twinkle-3 {
    right: 74px;
    bottom: 24px;
    color: #6fdccf;
}
