/* =============================================
   Dark Code — PDF Resources Page  (pdf.css)
   ============================================= */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO BANNER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pdf-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    background: var(--darker);
    overflow: hidden;
}

/* ambient blobs */
.ph-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
.ph-b1 {
    width: 580px; height: 580px;
    background: radial-gradient(circle, rgba(231,76,60,.13) 0%, transparent 70%);
    top: -200px; left: -200px;
    animation: phDrift 22s ease-in-out infinite alternate;
}
.ph-b2 {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(108,99,255,.10) 0%, transparent 70%);
    bottom: -120px; right: -150px;
    animation: phDrift 26s ease-in-out infinite alternate-reverse;
}
.ph-b3 {
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(46,204,113,.07) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation: phDrift 18s ease-in-out infinite alternate;
}
@keyframes phDrift {
    from { transform: translate(0,0)       scale(1);    }
    to   { transform: translate(40px,30px) scale(1.12); }
}

/* floating language icons */
.ph-float {
    position: absolute;
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.65rem;
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    z-index: 1;
    animation: phFloat 6s ease-in-out infinite;
}
.ph-f1 { background:rgba(55,118,171,.18);  color:#3776AB; top:14%;   left:4%;   animation-delay:0s;   }
.ph-f2 { background:rgba(247,223,30,.14);  color:#F7DF1E; top:18%;   right:6%;  animation-delay:1.0s; }
.ph-f3 { background:rgba(231,111,0,.16);   color:#e76f00; top:55%;   left:3%;   animation-delay:2.0s; }
.ph-f4 { background:rgba(0,173,181,.16);   color:#00adb5; bottom:18%;left:8%;   animation-delay:0.5s; }
.ph-f5 { background:rgba(97,218,251,.14);  color:#61DAFB; bottom:22%;right:5%;  animation-delay:1.5s; }
.ph-f6 { background:rgba(240,80,50,.16);   color:#f05032; top:38%;   right:4%;  animation-delay:2.5s; }
@keyframes phFloat {
    0%,100% { transform: translateY(0)     rotate(0deg);  }
    50%     { transform: translateY(-18px) rotate(6deg);  }
}

/* inner content */
.ph-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

/* eyebrow tag */
.ph-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(231,76,60,.12);
    border: 1px solid rgba(231,76,60,.30);
    color: #e74c3c;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: .80rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInUp .6s ease-out both;
}

/* headline */
.ph-title {
    font-size: clamp(2.1rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--light);
    margin-bottom: 22px;
    animation: fadeInUp .6s ease-out .1s both;
}
.ph-accent {
    background: linear-gradient(135deg, #e74c3c, #ff6584);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* subtitle */
.ph-sub {
    font-size: 1.08rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.75;
    animation: fadeInUp .6s ease-out .2s both;
}

/* stats row */
.ph-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp .6s ease-out .3s both;
}
.ph-stat       { text-align: center; }
.ph-stat-n     { display:block; font-size:2rem; font-weight:800; background:linear-gradient(135deg,#e74c3c,#ff6584); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.ph-stat-l     { display:block; font-size:.78rem; color:var(--gray); text-transform:uppercase; letter-spacing:1.5px; }
.ph-div        { width:1px; height:44px; background:rgba(255,255,255,.12); }

/* search bar */
.ph-search {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    max-width: 580px;
    margin: 0 auto 32px;
    transition: border-color .3s, box-shadow .3s;
    animation: fadeInUp .6s ease-out .4s both;
}
.ph-search:focus-within {
    border-color: rgba(231,76,60,.50);
    box-shadow: 0 0 0 3px rgba(231,76,60,.12);
}
.ph-search > i.fa-search {
    color: var(--gray);
    font-size: .95rem;
    margin-right: 10px;
    flex-shrink: 0;
}
.ph-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--light);
    font-size: .95rem;
    padding: 8px 0;
}
.ph-search input::placeholder { color: var(--gray); }
.ph-search button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 40px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .3s, box-shadow .3s;
}
.ph-search button:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 16px rgba(231,76,60,.40);
}

/* filter tabs */
.ph-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: fadeInUp .6s ease-out .5s both;
}
.ph-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    color: var(--gray);
    padding: 9px 20px;
    border-radius: 30px;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
}
.ph-tab:hover {
    background: rgba(231,76,60,.10);
    border-color: rgba(231,76,60,.30);
    color: var(--light);
}
.ph-tab.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(231,76,60,.35);
}

/* active nav highlight */
.pdf-nav-active { color: #e74c3c !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PDF MAIN SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pdf-main {
    background: var(--dark);
    padding: 80px 0 110px;
}

/* section header */
.pm-head {
    text-align: center;
    margin-bottom: 56px;
}
.pm-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--light) 0%, var(--gray) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.pm-sub {
    color: var(--gray);
    font-size: .96rem;
    margin-bottom: 16px;
}
.pm-sub code {
    background: rgba(231,76,60,.12);
    border: 1px solid rgba(231,76,60,.22);
    color: #e87b6e;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: .88rem;
}
.pm-count {
    display: inline-block;
    background: rgba(231,76,60,.10);
    border: 1px solid rgba(231,76,60,.20);
    color: #e74c3c;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: .84rem;
    font-weight: 600;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CARDS GRID
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

/* ── Single card ── */
.pc {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px;
    padding: 0 0 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity .5s ease,
        transform .5s ease,
        box-shadow .3s ease,
        border-color .3s ease,
        background .3s ease;
}
.pc.pc-vis {
    opacity: 1;
    transform: translateY(0);
}
.pc:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.38);
    border-color: rgba(231,76,60,.25);
    background: rgba(255,255,255,.055);
}

/* coloured top stripe */
.pc-bar {
    height: 4px;
    width: 100%;
    flex-shrink: 0;
}

/* card top row */
.pc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 0;
    margin-bottom: 16px;
}
.pc-ico {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.30);
    flex-shrink: 0;
}
.pc-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
.pct {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.pct-lang  { background:rgba(55,118,171,.20);  color:#5b9bd5; border:1px solid rgba(55,118,171,.30); }
.pct-skill { background:rgba(108,99,255,.20);  color:#9d97ff; border:1px solid rgba(108,99,255,.30); }
.pct-fw    { background:rgba(46,204,113,.18);  color:#4ecb77; border:1px solid rgba(46,204,113,.30); }
.pct-tool  { background:rgba(243,156,18,.18);  color:#f5a83e; border:1px solid rgba(243,156,18,.30); }
.pct-sheet { background:rgba(231,76,60,.18);   color:#e87b6e; border:1px solid rgba(231,76,60,.30); }
.pct-free  { background:rgba(46,204,113,.12);  color:#2ecc71; border:1px solid rgba(46,204,113,.25); }

/* card body */
.pc-body {
    flex: 1;
    padding: 0 22px;
    margin-bottom: 20px;
}
.pc-body h3 {
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 8px;
    line-height: 1.35;
}
.pc-body p {
    font-size: .875rem;
    color: var(--gray);
    line-height: 1.65;
    margin-bottom: 12px;
}
.pc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .76rem;
    color: var(--gray);
}
.pc-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.pc-meta i {
    color: rgba(231,76,60,.75);
    font-size: .78rem;
}

/* ── View button (replaces download) ── */
.pc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 22px;
    padding: 13px 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff !important;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
    width: calc(100% - 44px);
    box-sizing: border-box;
}
.pc-btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transform: translateX(-100%);
    transition: transform .4s ease;
}
.pc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(231,76,60,.42);
    color: #fff !important;
}
.pc-btn:hover::after { transform: translateX(100%); }
.pc-btn:active       { transform: translateY(0); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NO RESULTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pm-empty {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px 20px;
    text-align: center;
    gap: 16px;
}
.pm-empty-ico {
    width: 80px; height: 80px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: var(--gray);
    opacity: .5;
}
.pm-empty h3 { font-size: 1.5rem; color: var(--light); }
.pm-empty p  { color: var(--gray); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOAST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pdf-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(90px);
    background: rgba(20,20,36,.96);
    border: 1px solid rgba(231,76,60,.40);
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: .92rem;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(0,0,0,.45);
    backdrop-filter: blur(14px);
    z-index: 99999;
    white-space: nowrap;
    opacity: 0;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .45s ease;
}
.pdf-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.pdf-toast i { color: #2ecc71; font-size: 1.1rem; }

/* reuse main-site fadeInUp */
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(24px); }
    to   { opacity:1; transform:translateY(0);    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PDF VIEWER MODAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Overlay */
.pdf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 18, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.pdf-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Modal box — very large, fills most of the viewport */
.pdf-modal {
    background: #0d0d1e;
    border: 1px solid rgba(231,76,60,.20);
    border-radius: 22px;
    width: 100%;
    max-width: 1100px;
    /* tall enough to show at least one A4 page comfortably */
    height: calc(100vh - 24px);
    max-height: 960px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 40px 100px rgba(0,0,0,.75),
        0 0 0 1px rgba(255,255,255,0.04),
        0 0 60px rgba(231,76,60,.06);
    transform: translateY(28px) scale(0.97);
    transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
}
.pdf-modal-overlay.open .pdf-modal {
    transform: translateY(0) scale(1);
}

/* Modal header */
.pdf-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
    background: rgba(255,255,255,.025);
    min-height: 68px;
}
.pdf-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.pdf-modal-title-wrap {
    flex: 1;
    min-width: 0;
}
.pdf-modal-title {
    font-size: 15px;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 3px;
    line-height: 1.3;
}
.pdf-modal-subtitle {
    font-size: 11.5px;
    color: #64748b;
    margin: 0;
    letter-spacing: .3px;
}

/* Header action buttons */
.pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ─── Download & Rate action buttons ─── */
.pm-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #cbd5e1;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .22s ease;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .2px;
}
.pm-action-btn i { font-size: 12px; }

.pm-download-btn:hover {
    background: linear-gradient(135deg,#e74c3c,#c0392b);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(231,76,60,.40);
    transform: translateY(-1px);
}
.pm-rate-btn:hover {
    background: linear-gradient(135deg,#f39c12,#d68910);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(243,156,18,.38);
    transform: translateY(-1px);
}

@media (max-width: 540px) {
    .pm-action-btn span { display: none; }
    .pm-action-btn { padding: 8px 11px; gap: 0; }
}

/* ─── Rating Panel ─── */
.pdf-rating-panel {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg,#0d1120,#0a0e1a);
    border-top: 1px solid rgba(243,156,18,.28);
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.34,1.4,.64,1);
    z-index: 20;
    box-shadow: 0 -12px 40px rgba(0,0,0,.45);
}
.pdf-rating-panel.open {
    transform: translateY(0);
}
.rp-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    flex-wrap: wrap;
}
.rp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.rp-title {
    font-size: 13px;
    font-weight: 700;
    color: #f39c12;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.rp-title i { color: #f39c12; font-size: 12px; }
.rp-close {
    width: 26px; height: 26px;
    border-radius: 7px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
    color: #94a3b8;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
    transition: all .2s;
}
.rp-close:hover { background: rgba(239,68,68,.20); color: #ef4444; border-color: rgba(239,68,68,.30); }
.rp-stars {
    display: flex;
    gap: 6px;
    align-items: center;
}
.rp-star {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.18);
    font-size: 28px;
    padding: 4px 2px;
    line-height: 1;
    transition: color .15s ease, transform .15s ease;
}
.rp-star:hover,
.rp-star.active {
    color: #f39c12;
    transform: scale(1.22);
}
.rp-hint {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    flex: 1;
    min-width: 100px;
    white-space: nowrap;
}

/* ─── Footer meta extras ─── */
.meta-dl-info {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12px !important;
    color: #64748b !important;
}
.meta-dl-info i { color: rgba(231,76,60,.75) !important; font-size: 11px !important; }
.meta-rating-info {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12px !important;
    color: #f39c12 !important;
}
.meta-rating-info i { font-size: 11px !important; }

.pm-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.pm-close-btn:hover {
    background: rgba(239,68,68,.18);
    color: #ef4444;
    border-color: rgba(239,68,68,.35);
}

/* ── iframe body — takes all available space ── */
.pdf-modal-body {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: #12122a;
    /* ensure the iframe area is tall, showing at least 1 full A4 page */
    min-height: 0;
}
.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #fff;
}

/* Loading state */
.pdf-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: #12122a;
    z-index: 2;
    transition: opacity 0.3s ease;
}
.pdf-loader.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader-spinner {
    width: 52px;
    height: 52px;
    border: 3px solid rgba(231,76,60,.15);
    border-top-color: #e74c3c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
    font-size: 13.5px;
    color: #64748b;
    letter-spacing: .3px;
}
.loader-sub {
    font-size: 11.5px;
    color: #3d4a60;
    margin-top: -10px;
}

/* Error state */
.pdf-error {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #12122a;
    z-index: 3;
    padding: 32px;
    text-align: center;
}
.pdf-error.show { display: flex; }
.pdf-error-ico {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(239,68,68,.10);
    border: 1px solid rgba(239,68,68,.20);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    color: #ef4444;
    opacity: 0.8;
}
.pdf-error h4 {
    font-size: 18px;
    color: #f1f5f9;
    margin: 0;
    font-weight: 700;
}
.pdf-error p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    max-width: 340px;
    line-height: 1.65;
}

/* Modal footer */
.pdf-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
    background: rgba(255,255,255,.025);
    flex-wrap: wrap;
    min-height: 64px;
}
.pdf-modal-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.pdf-modal-meta span {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: .2px;
}
.pdf-modal-meta span i {
    font-size: 11px;
    color: rgba(231,76,60,.7);
}
.meta-free {
    color: #22c55e !important;
}
.meta-free i {
    color: #22c55e !important;
}

/* Download button inside modal footer */
.pdf-modal-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 26px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    border-radius: 12px;
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.22s, box-shadow 0.22s, opacity 0.22s;
    box-shadow: 0 5px 20px rgba(231,76,60,.35);
    letter-spacing: .35px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.pdf-modal-dl-btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transform: translateX(-100%);
    transition: transform .4s ease;
}
.pdf-modal-dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(231,76,60,.50);
    color: #fff !important;
    opacity: 0.94;
}
.pdf-modal-dl-btn:hover::after { transform: translateX(100%); }
.pdf-modal-dl-btn:active { transform: translateY(0); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE — 1024px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .pc-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .ph-f3, .ph-f4 { display: none; }

    .pdf-modal {
        max-width: 96vw;
        height: calc(100vh - 16px);
        max-height: none;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE — 768px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .pdf-hero   { padding: 120px 0 70px; min-height: auto; }
    .ph-title   { font-size: 2rem; }
    .ph-sub     { font-size: .98rem; }
    .ph-stat-n  { font-size: 1.6rem; }
    .ph-div     { display: none; }
    .ph-stats   { gap: 18px; }
    .ph-float   { width: 48px; height: 48px; font-size: 1.35rem; }
    .ph-f5, .ph-f6 { display: none; }

    .ph-search  { border-radius: 16px; padding: 5px 5px 5px 16px; }
    .ph-search button span { display: none; }
    .ph-search button { padding: 12px 14px; }

    .pc-grid    { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
    .pm-title   { font-size: 1.9rem; }

    /* Modal — tablet */
    .pdf-modal-overlay { padding: 8px; }
    .pdf-modal {
        border-radius: 18px;
        height: calc(100vh - 16px);
        max-height: none;
    }
    .pdf-modal-header  { padding: 13px 16px; min-height: 60px; }
    .pdf-modal-footer  { padding: 12px 16px; min-height: 58px; }
    .pdf-modal-title   { font-size: 14px; }
    .pdf-modal-dl-btn  { padding: 10px 20px; font-size: 13px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE — 600px (mobile landscape / large phone)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 600px) {
    /* Modal fills almost the entire screen */
    .pdf-modal-overlay { padding: 0; align-items: flex-end; }
    .pdf-modal {
        border-radius: 20px 20px 0 0;
        height: 96vh;
        max-height: none;
        width: 100%;
        max-width: 100%;
    }
    /* hide less important meta on small screens */
    .pdf-modal-meta .meta-dl,
    .pdf-modal-meta .meta-pages { display: none; }
    .pdf-modal-dl-btn { width: 100%; justify-content: center; }
    .pdf-modal-footer { flex-direction: column; gap: 10px; align-items: stretch; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE — 540px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 540px) {
    .pdf-hero   { padding: 110px 0 55px; }
    .ph-title   { font-size: 1.8rem; }
    .ph-sub     { font-size: .92rem; }
    .ph-float   { display: none; }
    .ph-tabs    { gap: 7px; }
    .ph-tab     { padding: 7px 13px; font-size: .80rem; }
    .ph-tab i   { display: none; }

    .pc-grid    { grid-template-columns: 1fr; gap: 14px; }
    .pc-btn     { margin: 0 16px; padding: 12px 16px; width: calc(100% - 32px); }
    .pc-top, .pc-body { padding-left: 16px; padding-right: 16px; }

    .pdf-toast  { font-size: .80rem; padding: 12px 20px; }
    .pm-title   { font-size: 1.7rem; }

    .pdf-modal-header { padding: 12px 14px; gap: 10px; min-height: 56px; }
    .pdf-modal-icon   { width: 38px; height: 38px; font-size: 16px; }
    .pdf-modal-title  { font-size: 13px; }
    .pdf-modal-subtitle { display: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE — 380px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 380px) {
    .ph-title   { font-size: 1.6rem; }
    .ph-tag     { font-size: .72rem; padding: 6px 14px; }
    .pc-btn     { font-size: .84rem; }
    .pm-title   { font-size: 1.5rem; }

    .pdf-modal  { height: 100vh; border-radius: 0; }
    .pdf-modal-overlay { padding: 0; }
}
/* ═══════════════════════════════════════════════════
   CARD ACTION BUTTONS — 3-button row at card bottom
   ═══════════════════════════════════════════════════ */

/* remove old padding-bottom from card since actions handle it */
.pc { padding-bottom: 0; }

.pc-actions {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 4px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

/* ── Base button style ── */
.pca-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 14px 8px;
    background: rgba(255,255,255,.025);
    border: none;
    border-right: 1px solid rgba(255,255,255,.06);
    color: #94a3b8;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    overflow: hidden;
    transition:
        background .28s ease,
        color .28s ease,
        transform .22s cubic-bezier(.34,1.56,.64,1);
}
.pca-btn:last-child { border-right: none; }

/* shine sweep on hover */
.pca-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        transparent 30%,
        rgba(255,255,255,.14) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform .45s ease;
    pointer-events: none;
}
.pca-btn:hover .pca-shine { transform: translateX(100%); }

/* icon circle */
.pca-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .28s;
}
.pca-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .8px;
    transition: color .28s;
}

/* ── View PDF button ── */
.pca-view .pca-icon {
    background: rgba(231,76,60,.12);
    color: #e74c3c;
    border: 1px solid rgba(231,76,60,.22);
}
.pca-view:hover {
    background: linear-gradient(180deg, rgba(231,76,60,.18) 0%, rgba(231,76,60,.08) 100%);
    color: #ff8070;
}
.pca-view:hover .pca-icon {
    background: rgba(231,76,60,.28);
    transform: scale(1.18) translateY(-2px);
    box-shadow: 0 6px 18px rgba(231,76,60,.35);
}
.pca-view:active { transform: scale(.96); }

/* ── Download button ── */
.pca-download .pca-icon {
    background: rgba(46,204,113,.12);
    color: #2ecc71;
    border: 1px solid rgba(46,204,113,.22);
}
.pca-download:hover {
    background: linear-gradient(180deg, rgba(46,204,113,.18) 0%, rgba(46,204,113,.08) 100%);
    color: #5dde91;
}
.pca-download:hover .pca-icon {
    background: rgba(46,204,113,.28);
    transform: scale(1.18) translateY(-2px);
    box-shadow: 0 6px 18px rgba(46,204,113,.35);
}
.pca-download:active { transform: scale(.96); }

/* bounce animation on download click */
.pca-download.downloading .pca-icon {
    animation: dlBounce .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes dlBounce {
    0%   { transform: scale(1) translateY(0); }
    40%  { transform: scale(1.3) translateY(-5px); }
    70%  { transform: scale(.95) translateY(1px); }
    100% { transform: scale(1) translateY(0); }
}

/* ── Rate button ── */
.pca-rate .pca-icon {
    background: rgba(243,156,18,.12);
    color: #f39c12;
    border: 1px solid rgba(243,156,18,.22);
}
.pca-rate:hover {
    background: linear-gradient(180deg, rgba(243,156,18,.18) 0%, rgba(243,156,18,.08) 100%);
    color: #f5b942;
}
.pca-rate:hover .pca-icon {
    background: rgba(243,156,18,.28);
    transform: scale(1.18) translateY(-2px) rotate(15deg);
    box-shadow: 0 6px 18px rgba(243,156,18,.38);
}
.pca-rate:active { transform: scale(.96); }

/* rated state */
.pca-rate.rated .pca-icon {
    background: rgba(243,156,18,.30);
    color: #f39c12;
    box-shadow: 0 0 12px rgba(243,156,18,.40);
}

/* ═══════════════════════════════════════════════════
   INLINE CARD RATING POPUP
   ═══════════════════════════════════════════════════ */
.pc-rate-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(.92);
    background: #0d1526;
    border: 1px solid rgba(243,156,18,.30);
    border-radius: 18px;
    padding: 18px 20px 14px;
    box-shadow:
        0 20px 60px rgba(0,0,0,.60),
        0 0 0 1px rgba(255,255,255,.05),
        0 0 30px rgba(243,156,18,.08);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity .28s ease,
        transform .32s cubic-bezier(.34,1.56,.64,1);
    min-width: 220px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.pc-rate-popup::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 13px; height: 13px;
    background: #0d1526;
    border-right: 1px solid rgba(243,156,18,.30);
    border-bottom: 1px solid rgba(243,156,18,.30);
}
.pc-rate-popup.open {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* popup label */
.prp-label {
    font-size: .72rem;
    font-weight: 700;
    color: #f39c12;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 12px;
}

/* popup stars */
.prp-stars {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 10px;
}
.prp-star {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.15);
    font-size: 22px;
    padding: 2px;
    line-height: 1;
    transition: color .14s, transform .18s cubic-bezier(.34,1.56,.64,1);
}
.prp-star.hover,
.prp-star.selected {
    color: #f39c12;
    transform: scale(1.28);
}
.prp-star.selected { text-shadow: 0 0 10px rgba(243,156,18,.60); }

.prp-hint {
    font-size: .68rem;
    color: #64748b;
    margin: 0;
}

/* close X on popup */
.prp-close {
    position: absolute;
    top: 8px; right: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 7px;
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    color: #64748b;
    font-size: 9px;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.prp-close:hover { background: rgba(239,68,68,.18); color: #ef4444; }

/* clip popup when card is near top of viewport */
@media (max-height: 600px) {
    .pc-rate-popup { bottom: auto; top: calc(100% + 10px); }
    .pc-rate-popup::after { bottom: auto; top: -7px; border-right: none; border-bottom: none; border-left: 1px solid rgba(243,156,18,.30); border-top: 1px solid rgba(243,156,18,.30); }
}

/* ── Extra: card needs overflow visible for popup ── */
.pc { overflow: visible; }
.pc-actions { overflow: hidden; border-radius: 0 0 20px 20px; }

/* ── Responsive tweaks ── */
@media (max-width: 540px) {
    .pca-btn { padding: 12px 5px; }
    .pca-icon { width: 28px; height: 28px; font-size: .80rem; }
    .pca-label { font-size: .60rem; }
    .pc-rate-popup { min-width: 190px; }
}


/* ═══════════════════════════════════════════════════════════
   REDESIGN v2 — Compact & Clean
   ═══════════════════════════════════════════════════════════ */

/* ── Card actions: single column ── */
.pc-actions {
    grid-template-columns: 1fr !important;
    border-radius: 0 0 20px 20px;
}

/* ── GREEN View PDF button ── */
.pca-view-only {
    width: 100%;
    border-right: none !important;
    border-radius: 0 0 20px 20px;
    padding: 12px 10px 14px;
    background: rgba(34,197,94,.06);
    color: #22c55e;
    font-size: .70rem;
    letter-spacing: .8px;
    gap: 5px;
    transition: background .28s ease, color .22s ease, transform .20s cubic-bezier(.34,1.56,.64,1);
}
.pca-view-only .pca-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.25);
    color: #22c55e;
    font-size: .82rem;
    transition: all .28s cubic-bezier(.34,1.56,.64,1);
}
.pca-view-only .pca-label {
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #22c55e;
    text-transform: uppercase;
}
.pca-view-only:hover {
    background: rgba(34,197,94,.14);
    color: #4ade80;
}
.pca-view-only:hover .pca-icon {
    background: rgba(34,197,94,.28);
    border-color: rgba(34,197,94,.50);
    transform: scale(1.18) translateY(-2px);
    box-shadow: 0 6px 16px rgba(34,197,94,.35);
    color: #4ade80;
}
.pca-view-only .pca-shine {
    background: linear-gradient(105deg, transparent 30%, rgba(34,197,94,.16) 50%, transparent 70%);
}
.pca-view-only:hover .pca-shine { transform: translateX(100%); }
.pca-view-only:active { transform: scale(.96); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MODAL FOOTER — compact & beautiful
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pdf-modal-footer {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px 16px 14px !important;
    background: rgba(8,12,24,.70) !important;
    border-top: 1px solid rgba(255,255,255,.07) !important;
    min-height: auto !important;
}

/* ── Meta row ── */
.pmf-meta-row {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.pmf-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    color: #334155;
    font-weight: 500;
    padding: 0 10px;
    border-right: 1px solid rgba(255,255,255,.06);
}
.pmf-meta-item:last-child { border-right: none; }
.pmf-meta-item i { font-size: 9px; }
.pmf-free { color: #22c55e !important; }
.pmf-free i { color: #22c55e !important; }
.pmf-dl i { color: rgba(231,76,60,.55) !important; }
.pmf-rt { color: #f59e0b !important; }
.pmf-rt i { color: #f59e0b !important; }

/* ── Action buttons row ── */
.pmf-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

/* ── Base button ── */
.pmf-btn {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    overflow: hidden;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .2px;
    color: #fff;
    transition: transform .24s cubic-bezier(.34,1.56,.64,1), box-shadow .24s ease, filter .20s ease;
}
.pmf-btn:active { transform: scale(.94) !important; }

/* shine */
.pmf-btn-shine {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.20) 50%, transparent 75%);
    transform: translateX(-110%);
    transition: transform .45s ease;
    pointer-events: none;
}
.pmf-btn:hover .pmf-btn-shine { transform: translateX(110%); }

/* icon */
.pmf-btn-icon {
    width: 26px; height: 26px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem;
    background: rgba(255,255,255,.18);
    flex-shrink: 0;
    transition: transform .26s cubic-bezier(.34,1.56,.64,1);
}

/* text */
.pmf-btn-text { display: flex; flex-direction: column; gap: 1px; }
.pmf-btn-label { font-size: 12px; font-weight: 800; line-height: 1; }
.pmf-btn-sub { font-size: 9.5px; font-weight: 500; opacity: .60; }

/* ── Download — red ── */
.pmf-download-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 14px rgba(239,68,68,.28), inset 0 1px 0 rgba(255,255,255,.14);
}
.pmf-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(239,68,68,.42);
    filter: brightness(1.06);
}
.pmf-download-btn:hover .pmf-btn-icon { transform: scale(1.10) rotate(-8deg); }
.pmf-download-btn.downloading .pmf-btn-icon {
    animation: pmfDlBounce .50s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pmfDlBounce {
    0%   { transform: scale(1) translateY(0); }
    35%  { transform: scale(1.38) translateY(-5px) rotate(-12deg); }
    65%  { transform: scale(.92) translateY(2px) rotate(4deg); }
    100% { transform: scale(1) translateY(0) rotate(0); }
}

/* ── Rate — amber ── */
.pmf-rate-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 14px rgba(245,158,11,.26), inset 0 1px 0 rgba(255,255,255,.16);
}
.pmf-rate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245,158,11,.40);
    filter: brightness(1.06);
}
.pmf-rate-btn:hover .pmf-btn-icon { transform: scale(1.10) rotate(14deg); }

/* Rated state */
.pmf-rate-btn.modal-rated {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    box-shadow: 0 4px 14px rgba(22,163,74,.30) !important;
}

/* ── Close button ── */
.pmf-close-btn {
    width: 42px; height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #475569;
    font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .20s ease;
}
.pmf-close-btn:hover {
    background: rgba(239,68,68,.14);
    border-color: rgba(239,68,68,.25);
    color: #ef4444;
    transform: rotate(90deg);
}

/* ── Rating Panel ── */
.pdf-rating-panel {
    background: linear-gradient(180deg, #090d1b 0%, #0c1120 100%) !important;
    border-top: 1px solid rgba(245,158,11,.25) !important;
}
.rp-star {
    font-size: 28px !important;
    transition: color .13s ease, transform .18s cubic-bezier(.34,1.56,.64,1) !important;
}
.rp-star:hover, .rp-star.active {
    color: #f59e0b !important;
    transform: scale(1.25) rotate(-5deg) !important;
    text-shadow: 0 0 14px rgba(245,158,11,.55);
}

/* ── Card rating popup ── */
.pc-rate-popup {
    min-width: 230px !important;
    padding: 16px 18px 13px !important;
    background: linear-gradient(145deg, #0d1526, #0f1a2e) !important;
    border: 1px solid rgba(245,158,11,.30) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.60), 0 0 0 1px rgba(255,255,255,.04), 0 0 30px rgba(245,158,11,.08) !important;
}
.prp-label { font-size: .70rem !important; color: #f59e0b !important; margin-bottom: 12px !important; }
.prp-stars { gap: 6px !important; margin-bottom: 10px !important; }
.prp-star {
    font-size: 23px !important;
    transition: color .13s, transform .18s cubic-bezier(.34,1.56,.64,1) !important;
}
.prp-star.hover {
    color: #fbbf24 !important;
    transform: scale(1.28) rotate(-8deg) !important;
}
.prp-star.selected {
    color: #f59e0b !important;
    transform: scale(1.26) !important;
    text-shadow: 0 0 14px rgba(245,158,11,.65) !important;
    animation: starPop .38s cubic-bezier(.34,1.8,.64,1) !important;
}
@keyframes starPop {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.60) rotate(-10deg); }
    75%  { transform: scale(1.12) rotate(5deg); }
    100% { transform: scale(1.26); }
}
.prp-hint { font-size: .65rem !important; color: #475569 !important; }

/* Confetti dots */
.rating-burst {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: burstOut .60s ease-out forwards;
}
@keyframes burstOut {
    0%   { transform: translate(0,0) scale(1.2); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .pmf-btn-sub { display: none; }
    .pmf-btn { padding: 9px 10px; }
    .pmf-close-btn { width: 38px; height: 38px; }
}
@media (max-width: 540px) {
    .pca-view-only { padding: 11px 8px 13px; }
    .pca-view-only .pca-icon { width: 28px; height: 28px; }
}