
.ppro-aff {
    font-family: 'Poppins', sans-serif;
    color: #0f172a;
    line-height: 1.6;
    background: #f8fafc; /* bg-slate-50 */
    /* Padding 90px top na desktopie */
    padding-top: 90px;
    padding-bottom: 60px;
}
.ppro-aff * { box-sizing: border-box; }

/* -- Utility Colors -- */
.ppro-aff__text-emerald { color: #065f46; }

/* -- Header -- */
.ppro-aff__header-wrap {
    max-width: 1200px; margin: 0 auto; padding: 24px;
}
.ppro-aff__header {
    position: relative; height: 112px; border-radius: 24px;
    background: linear-gradient(135deg, #1ea7e6, #19b9c8, #33c58f, #8fd15a);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.4);
    display: flex; align-items: center; padding-left: 24px;
}
.ppro-aff__header-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.7); border-radius: 999px;
    padding: 6px 12px; font-size: 13px; font-weight: 600; color: #1e293b;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.6);
}
/* ZMIANA: Font Awesome size */
.ppro-aff__icon-sm { 
    font-size: 16px; 
    color: #059669; 
    display: inline-block;
}

.ppro-aff__close-btn {
    position: absolute; top: 12px; right: 16px; width: 32px; height: 32px;
    border-radius: 50%; background: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.7); color: #475569;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    backdrop-filter: blur(4px); transition: background 0.2s;
}
.ppro-aff__close-btn:hover { background: #fff; }
.ppro-aff__close-btn i { font-size: 16px; }

/* -- Layout -- */
.ppro-aff__grid-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; gap: 24px;
}
@media(min-width: 1024px) {
    .ppro-aff__grid-container { grid-template-columns: 8fr 4fr; }
}

/* -- Cards -- */
.ppro-aff__card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
    padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); margin-bottom: 24px;
}

/* -- Hero -- */
.ppro-aff__hero-grid {
    display: flex; flex-direction: column; gap: 24px;
}
@media(min-width: 1024px) {
    .ppro-aff__hero-grid { flex-direction: row; justify-content: space-between; }
    .ppro-aff__hero-content { max-width: 65%; }
    .ppro-aff__hero-widget { width: 280px; flex-shrink: 0; }
}

.ppro-aff__h1 {
    font-size: 36px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: #0f172a; margin: 0 0 12px 0;
}
@media(min-width: 768px) { .ppro-aff__h1 { font-size: 44px; } }
@media(min-width: 1280px) { .ppro-aff__h1 { font-size: 52px; } }

.ppro-aff__lead {
    font-size: 17px; line-height: 1.6; color: #334155; margin-bottom: 20px; max-width: 65ch;
}

.ppro-aff__pills-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ppro-aff__pill {
    display: inline-flex; background: #ecfdf5; color: #047857;
    padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}

.ppro-aff__micro-note { font-size: 15px; color: #475569; margin-bottom: 24px; }

.ppro-aff__btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: #0f172a; color: #fff; font-weight: 600; font-size: 15px;
    padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer;
    transition: background 0.2s;
}
.ppro-aff__btn-primary:hover { background: #1e293b; }

/* Widget (Desktop) */
.ppro-aff__widget-box {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px;
}
.ppro-aff__widget-title { font-size: 15px; font-weight: 600; color: #0f172a; margin: 0 0 12px 0; }
.ppro-aff__widget-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ppro-aff__widget-tags span {
    display: inline-flex; border: 1px solid #bae6fd; background: #f0f9ff; color: #0369a1;
    font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.ppro-aff__btn-soft-green {
    width: 100%; display: inline-flex; align-items: center; justify-content: center;
    background: #ecfdf5; color: #065f46; font-size: 13px; font-weight: 600;
    padding: 10px; border-radius: 999px; border: 0; cursor: pointer;
    transition: background 0.2s;
}
.ppro-aff__btn-soft-green:hover { background: #d1fae5; }

.ppro-aff__mobile-only { display: none; margin-top: 16px; }
@media(max-width: 1023px) {
    .ppro-aff__hero-widget { display: none; }
    .ppro-aff__mobile-only { display: flex; }
}

/* -- Sections Common -- */
.ppro-aff__section-head { display: flex; gap: 12px; margin-bottom: 24px; align-items: flex-start; position: relative; }
.ppro-aff__step-badge {
    width: 32px; height: 32px; border-radius: 50%; background: #059669; color: #fff;
    font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ppro-aff__h2 { font-size: 24px; font-weight: 600; color: #0f172a; margin: 0 0 4px 0; line-height: 1.2; }
.ppro-aff__sub { font-size: 15px; color: #475569; margin: 0; }
.ppro-aff__tooltip-wrap { margin-left: auto; }
.ppro-aff__info-icon {
    width: 20px; height: 20px; background: rgba(15,23,42,0.8); color: #fff;
    border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; cursor: help; position: relative;
}
.ppro-aff__info-icon:hover::after {
    content: attr(data-tooltip); position: absolute; bottom: 100%; right: 0;
    width: 260px; background: #000; color: #fff; padding: 12px; border-radius: 12px;
    font-size: 11px; font-weight: 400; line-height: 1.4; z-index: 20; margin-bottom: 8px;
}

/* -- Section 2 Steps -- */
.ppro-aff__steps-grid-3 { display: grid; gap: 12px; }
@media(min-width: 768px) { .ppro-aff__steps-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.ppro-aff__mini-card {
    border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; background: #fff;
}
.ppro-aff__mini-card--emerald { border-color: #a7f3d0; background: #ecfdf5; }

.ppro-aff__mc-head { display: flex; justify-content: space-between; margin-bottom: 12px; }
.ppro-aff__num-badge {
    width: 32px; height: 32px; background: #059669; color: #fff; font-size: 14px; font-weight: 600;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.ppro-aff__num-badge--green { background: #10b981; } 
/* ZMIANA: Font Awesome zamiast SVG */
.ppro-aff__icon-emerald { 
    font-size: 20px; 
    color: #059669; 
    display: inline-block;
}

.ppro-aff__mc-title { font-size: 18px; font-weight: 600; color: #0f172a; margin: 0 0 4px 0; }
.ppro-aff__text { font-size: 15px; color: #475569; margin: 0; line-height: 1.5; }

.ppro-aff__dashed-box {
    border: 1px dashed #bae6fd; background: #f0f9ff; border-radius: 12px; padding: 16px; margin-top: 16px;
}
.ppro-aff__strong-sm { font-size: 15px; font-weight: 600; color: #0f172a; margin-bottom: 4px; }
.ppro-aff__text-sm { font-size: 15px; color: #475569; margin: 0; }

.ppro-aff__social-row { margin-top: 24px; }
.ppro-aff__label-sm { font-size: 13px; color: #64748b; }
.ppro-aff__social-icons { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ppro-aff__social-btn {
    width: 36px; height: 36px; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); border: 1px solid transparent;
    transition: background 0.2s;
    font-size: 18px; /* Rozmiar dla ikony FA */
}
.ppro-aff__social-btn:hover { background: #f8fafc; }

/* Social Brand Colors */
.ppro-aff__social-btn--fb { border-color: rgba(24, 119, 242, 0.3); color: #1877F2; }
.ppro-aff__social-btn--in { border-color: rgba(228, 64, 95, 0.3); color: #E4405F; }
.ppro-aff__social-btn--li { border-color: rgba(10, 102, 194, 0.3); color: #0A66C2; }
.ppro-aff__social-btn--yt { border-color: rgba(255, 0, 0, 0.3); color: #FF0000; }
.ppro-aff__social-btn--tk { border-color: #cbd5e1; color: #111; }
.ppro-aff__social-btn--x { border-color: #cbd5e1; color: #111; }

/* -- Section 3 Grid -- */
.ppro-aff__steps-grid-4 { display: grid; gap: 12px; }
@media(min-width: 768px) { .ppro-aff__steps-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* -- Section 4 Scenarios -- */
.ppro-aff__scenarios-grid { display: grid; gap: 12px; margin-bottom: 24px; }
@media(min-width: 768px) { .ppro-aff__scenarios-grid { grid-template-columns: repeat(3, 1fr); } }

.ppro-aff__scenario-btn {
    border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; text-align: left;
    background: #fff; cursor: pointer; transition: all 0.2s;
}
.ppro-aff__scenario-btn:hover { background: #f8fafc; }
.ppro-aff__scenario-btn.is-active { border-color: #a7f3d0; background: #ecfdf5; }

.ppro-aff__sc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ppro-aff__sc-head span { font-size: 13px; font-weight: 600; color: #64748b; }
.ppro-aff__check-icon { font-size: 14px; font-weight: 700; color: #059669; visibility: hidden; }
.ppro-aff__scenario-btn.is-active .ppro-aff__check-icon { visibility: visible; }

.ppro-aff__sc-title { font-size: 15px; font-weight: 600; color: #0f172a; margin: 0 0 12px 0; min-height: 46px; }

.ppro-aff__sc-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px 12px; margin-bottom: 8px; }
.ppro-aff__label-xs { font-size: 13px; color: #64748b; display: block; margin-bottom: 2px; }
.ppro-aff__val { font-size: 18px; font-weight: 600; color: #0f172a; }

.ppro-aff__sc-dashed {
    background: rgba(236,253,245,0.6); border: 1px dashed #a7f3d0; border-radius: 12px; padding: 8px 12px;
}
.ppro-aff__val-sm { font-size: 13px; font-weight: 600; }

.ppro-aff__summary-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; }
.ppro-mt-10 { margin-top: 10px; }

/* -- Sidebar -- */
.ppro-aff__video-stack { display: flex; flex-direction: column; gap: 24px; }
.ppro-aff__video-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.ppro-aff__vid-title { font-size: 18px; font-weight: 600; color: #0f172a; line-height: 1.3; margin: 0 0 8px 0; }
.ppro-aff__vid-desc-row { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.ppro-aff__vid-thumb {
    position: relative; padding-top: 56.25%; background: #f1f5f9; border-radius: 16px; overflow: hidden; margin-bottom: 16px;
}
.ppro-aff__play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    /* Font size dla ikony */
    font-size: 62px;
    color: #fff;
    /* Cień tekstu zastępujący filtr SVG */
    text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.ppro-aff__vid-actions { display: flex; flex-direction: column; gap: 8px; }
.ppro-aff__btn-dark {
    width: 100%; background: #0f172a; color: #fff; font-size: 13px; font-weight: 600;
    padding: 10px; border-radius: 999px; border: 0; cursor: pointer; transition: background 0.2s;
}
.ppro-aff__btn-dark:hover { background: #1e293b; }

/* -- Modal -- */
.ppro-aff__modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000;
    display: none; align-items: center; justify-content: center;
}
.ppro-aff__modal-overlay.is-visible { display: flex; }
.ppro-aff__modal {
    background: #fff; width: 92vw; max-width: 860px; max-height: 85vh;
    border-radius: 24px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex; flex-direction: column;
}
.ppro-aff__modal-header {
    padding: 20px; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: flex-start;
}
.ppro-aff__modal-h3 { font-size: 20px; font-weight: 600; margin: 0 0 4px 0; color: #0f172a; }
.ppro-aff__modal-close {
    background: #fff; border: 1px solid #e2e8f0; width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #475569; font-size: 16px;
}
.ppro-aff__modal-body {
    padding: 20px; overflow-y: auto;
}
.ppro-aff__modal-footer {
    padding: 20px; border-top: 1px solid #f1f5f9; display: flex; justify-content: flex-end;
}

/* Modal Grid */
.ppro-aff__modal-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media(min-width: 768px) { .ppro-aff__modal-grid { grid-template-columns: 1fr 1fr; } }

.ppro-aff__cat-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; }
.ppro-aff__cat-badge {
    display: inline-block; background: #ecfdf5; color: #047857; font-size: 15px; font-weight: 600;
    padding: 6px 12px; border-radius: 999px; margin-bottom: 12px;
}
.ppro-aff__cat-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.ppro-aff__role-badge {
    border: 1px solid #bae6fd; background: #f0f9ff; color: #0369a1;
    font-size: 15px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}

/* -- Spacer -- */
.ppro-aff__spacer { height: 40px; }

/* --- KROK 5: PROFIL & QR --- */
.ppro-aff__bg-emerald { background-color: #10b981 !important; }

.ppro-aff__profile-card {
    border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; margin-bottom: 24px;
    background: #fff;
}
.ppro-aff__profile-cover {
    height: 80px; background: linear-gradient(135deg, #0ea5e9, #22c55e);
}
.ppro-aff__profile-body {
    padding: 0 24px 24px 24px; position: relative;
    display: flex; flex-direction: column; gap: 12px;
}
@media(min-width: 768px) {
    .ppro-aff__profile-body { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-top: 12px; }
}

.ppro-aff__avatar-wrap {
    margin-top: -40px; position: relative; width: 80px; height: 80px;
}
.ppro-aff__avatar-img {
    width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.ppro-aff__aura-badge {
    position: absolute; bottom: 4px; right: 4px; width: 16px; height: 16px;
    background: #000; border: 2px solid #fff; border-radius: 50%;
}

.ppro-aff__profile-info { flex-grow: 1; padding-top: 8px; }
@media(min-width: 768px) { .ppro-aff__profile-info { padding-left: 16px; padding-top: 0; } }

.ppro-aff__profile-name { font-size: 18px; font-weight: 700; color: #0f172a; margin: 0; display: flex; align-items: center; gap: 8px; }
.ppro-aff__flag { font-size: 16px; }
.ppro-aff__city { font-size: 13px; font-weight: 400; color: #64748b; }
.ppro-aff__profile-role { font-size: 13px; color: #475569; margin: 4px 0; }
.ppro-aff__rating-row { font-size: 13px; color: #64748b; }
.ppro-aff__stars { color: #f59e0b; letter-spacing: 1px; }

.ppro-aff__profile-actions {
    display: flex; gap: 8px; position: absolute; top: 12px; right: 12px;
}
@media(min-width: 768px) { .ppro-aff__profile-actions { position: static; } }

.ppro-aff__round-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e2e8f0;
    background: #fff; color: #475569; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
    font-size: 18px; /* Dla ikon */
}
.ppro-aff__round-btn:hover { background: #f8fafc; color: #0f172a; border-color: #cbd5e1; }

/* QR Panel */
.ppro-aff__qr-panel {
    border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; background: #fff; margin-bottom: 24px;
}
.ppro-aff__qr-head { margin-bottom: 16px; font-weight: 600; color: #0f172a; font-size: 15px; }
.ppro-aff__qr-body { display: flex; flex-direction: column; gap: 24px; align-items: center; }
@media(min-width: 640px) { .ppro-aff__qr-body { flex-direction: row; align-items: flex-start; } }

.ppro-aff__qr-code img { width: 160px; height: 160px; border-radius: 12px; border: 1px solid #e2e8f0; padding: 8px; }
.ppro-aff__qr-content { flex-grow: 1; width: 100%; display: flex; flex-direction: column; gap: 12px; }

.ppro-aff__input-group { display: flex; gap: 8px; }
.ppro-aff__mono-input {
    flex-grow: 1; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 12px;
    font-family: monospace; font-size: 13px; color: #334155; background: #f8fafc; outline: none;
}
.ppro-aff__btn-copy {
    white-space: nowrap; padding: 8px 16px; border-radius: 8px; border: 1px solid #0f172a;
    background: #0f172a; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
}
.ppro-aff__btn-copy:hover { background: #334155; border-color: #334155; }

.ppro-aff__code-box {
    display: flex; align-items: center; justify-content: space-between; border: 1px dashed #cbd5e1;
    background: #fff; padding: 10px 16px; border-radius: 8px;
}
.ppro-aff__code-label { font-size: 12px; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.ppro-aff__code-val { font-family: monospace; font-size: 20px; font-weight: 700; color: #0f172a; letter-spacing: 1px; }
.ppro-aff__btn-black-sm {
    padding: 6px 12px; background: #0f172a; color: #fff; border-radius: 6px; font-size: 12px; border: 0; cursor: pointer;
}

.ppro-aff__btn-green-full {
    display: block; text-align: center; background: #10b981; color: #fff; font-weight: 600;
    padding: 12px; border-radius: 8px; text-decoration: none; transition: background 0.2s;
}
.ppro-aff__btn-green-full:hover { background: #059669; }

.ppro-aff__cyber-id-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #475569; margin-top: 4px; }

/* --- KROK 6: BENEFITS --- */
.ppro-aff__benefits-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media(min-width: 640px) { .ppro-aff__benefits-grid { grid-template-columns: 1fr 1fr; } }

.ppro-aff__ben-card { border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; background: #fff; }
.ppro-aff__ben-span-row { grid-column: span 1; }
@media(min-width: 640px) { .ppro-aff__ben-span-row { grid-column: span 2; } }

.ppro-aff__ben-icon { font-size: 24px; margin-bottom: 12px; }
.ppro-aff__ben-title { font-size: 15px; font-weight: 600; color: #0f172a; margin: 0 0 8px 0; }
.ppro-aff__ben-text { font-size: 13px; color: #475569; margin: 0; line-height: 1.5; }

/* --- KROK 7: PORÓWNANIE --- */
.ppro-aff__compare-grid { display: grid; gap: 16px; }
@media(min-width: 768px) { .ppro-aff__compare-grid { grid-template-columns: 1fr 1fr; } }

.ppro-aff__compare-col { padding: 24px; border-radius: 16px; border: 1px solid #e2e8f0; }
.ppro-aff__bg-gray { background: #f8fafc; }
.ppro-aff__bg-green-light { background: #f0fdf4; border-color: #bbf7d0; }

.ppro-aff__cmp-title { font-size: 16px; font-weight: 700; margin: 0 0 16px 0; color: #0f172a; }
.ppro-aff__list-bad { list-style: none; padding: 0; margin: 0; }
.ppro-aff__list-bad li { 
    position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 14px; color: #64748b; 
}
.ppro-aff__list-bad li::before { 
    content: "✕"; position: absolute; left: 0; color: #ef4444; font-weight: 700; 
}

.ppro-aff__list-good { list-style: none; padding: 0; margin: 0; }
.ppro-aff__list-good li { 
    position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 14px; color: #15803d; font-weight: 500; 
}
.ppro-aff__list-good li::before { 
    content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 700; 
}

/* --- KROK 8: BIBLIOTEKA --- */
.ppro-aff__pres-grid { display: grid; gap: 16px; }
@media(min-width: 768px) { .ppro-aff__pres-grid { grid-template-columns: 1fr 1fr; } }

.ppro-aff__pres-item { 
    border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; background: #fff;
    display: flex; flex-direction: column;
}
.ppro-aff__pres-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.ppro-aff__pres-icon { width: 32px; height: 32px; background: #e0f2fe; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ppro-aff__pres-tag { 
    font-size: 11px; background: #f1f5f9; color: #475569; padding: 4px 8px; border-radius: 99px; font-weight: 600; 
}

.ppro-aff__pres-title { font-size: 15px; font-weight: 600; color: #0f172a; margin: 0 0 4px 0; line-height: 1.4; }
.ppro-aff__pres-meta { font-size: 12px; color: #64748b; margin: 0 0 16px 0; }

.ppro-aff__pres-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.ppro-aff__btn-ghost-sm {
    padding: 6px 12px; background: #fff; border: 1px solid #cbd5e1; color: #475569; 
    border-radius: 6px; font-size: 12px; text-decoration: none; cursor: pointer;
}
.ppro-aff__btn-ghost-sm:hover { background: #f8fafc; }

.ppro-aff__pres-preview { 
    background: #f8fafc; border-radius: 8px; padding: 12px; font-size: 13px; color: #475569; margin-top: auto; 
}
.ppro-aff__pres-msg-box { margin-bottom: 8px; white-space: pre-line; }
.ppro-aff__link-toggle { 
    background: none; border: none; color: #0284c7; font-size: 12px; font-weight: 600; cursor: pointer; padding: 0; 
}

.ppro-aff__disclaimer-box { 
    margin-top: 24px; padding: 16px; background: #f8fafc; border-radius: 12px; 
    display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
@media(min-width: 768px) { 
    .ppro-aff__disclaimer-box { flex-direction: row; align-items: center; justify-content: space-between; } 
}
.ppro-aff__text-xs { font-size: 12px; color: #64748b; line-height: 1.5; margin: 0; }

/* =======================
   Video thumbs
======================= */
.ppro-aff__vid-thumb{
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background: #0b1220;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.ppro-aff__vid-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    filter: saturate(1.05);
}

.ppro-aff__vid-thumb:focus{
    outline: 2px solid rgba(16,185,129,.55);
    outline-offset: 3px;
}

.ppro-aff__play-btn{
    position: absolute;
    /* Centrowanie ikony play */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ppro-aff__vid-thumb:hover .ppro-aff__vid-img{
    transform: scale(1.04);
    transition: transform .18s ease;
}

/* =======================
   Video modal
======================= */
#aff-video-modal{
    display: none; /* aktywuje .is-visible */
    align-items: center;
    justify-content: center;
    padding: 18px;
}

#aff-video-modal.is-visible{
    display: flex;
}

.ppro-aff__video-modal{
    width: min(980px, 96vw);
    border-radius: 18px;
    background: #0b1220;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 30px 90px rgba(0,0,0,.55);
    position: relative;
    padding: 14px;
}

.ppro-aff__video-close{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    cursor: pointer;
}

.ppro-aff__video-frame-wrap{
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.ppro-aff__video-frame-wrap iframe{
    width: 100%;
    height: 100%;
    display: block;
}

.ppro-aff__video-meta{
    padding: 12px 4px 4px;
}

.ppro-aff__video-h3{
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.ppro-aff__video-p{
    margin: 0;
    color: rgba(255,255,255,.78);
}
