/* ── Login ── */
.pp-login-wrap {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 68px;
}

.pp-login-card {
    background: #fff;
    border: 1px solid #e2eaff;
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(26, 111, 232, 0.08);
}

.pp-login-logo {
    height: 60px;
    margin-bottom: 1.2rem;
    object-fit: contain;
}

.pp-login-card h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.pp-login-card p {
    font-size: 13.5px;
    color: #7a9fd8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pp-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: #5865F2;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}

.pp-discord-btn:hover {
    background: #4752c4;
    transform: translateY(-1px);
    color: #fff;
}

/* ── Welcome bar ── */
.pp-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e2eaff;
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.pp-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e2eaff;
}

.pp-welcome-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.pp-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eff5ff;
    color: #1a6fe8;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #c8daff;
}

.pp-logout-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff5f5;
    border: 1px solid #ffd0d0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #c0392b;
    text-decoration: none;
    transition: background 0.15s;
    flex-shrink: 0;
}

.pp-logout-btn:hover {
    background: #ffe0e0;
}

/* ── Grid ── */
.pp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ── Cards ── */
.pp-card {
    background: #fff;
    border: 1px solid #e2eaff;
    border-radius: 14px;
    padding: 1.3rem 1.5rem;
}

.pp-card-desc {
    font-size: 13.5px;
    color: #7a9fd8;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

/* ── PR Asset ── */
.pp-assets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pp-asset-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8faff;
    border: 1px solid #e2eaff;
    border-radius: 10px;
    padding: 12px 14px;
}

.pp-asset-icon {
    width: 40px;
    height: 40px;
    background: #eff5ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6fe8;
    font-size: 18px;
    flex-shrink: 0;
}

.pp-asset-name {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a2e;
}

.pp-asset-sub {
    display: block;
    font-size: 12px;
    color: #7a9fd8;
    margin-top: 2px;
}

.pp-download-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #1a6fe8;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
    flex-shrink: 0;
}

.pp-download-btn:hover {
    background: #0a4fc4;
    color: #fff;
}

/* ── Stats ── */
.pp-stats-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pp-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eff5ff;
    border: 1px solid #c8daff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1a3d6e;
    margin-bottom: 4px;
}

.pp-total-row strong {
    font-size: 15px;
    color: #1a6fe8;
}

.pp-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f8faff;
    border: 1px solid #e2eaff;
    border-radius: 10px;
    padding: 10px 14px;
}

.pp-stat-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: capitalize;
}

.pp-stat-release {
    display: block;
    font-size: 11px;
    color: #7a9fd8;
    margin-top: 2px;
}

.pp-stat-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1a6fe8;
    flex-shrink: 0;
}

/* ── States ── */
.pp-state {
    color: #7a9fd8;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 2rem 0;
}

.pp-state-error {
    color: #c0392b;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .pp-grid {
        grid-template-columns: 1fr;
    }

    .pp-welcome {
        flex-wrap: wrap;
    }

    .pp-logout-btn {
        margin-left: 0;
    }
}