/* Aggregator frontend styles (2025-ready, RTL-aware, dark-mode via CSS vars) */
.agg-card{border:1px solid var(--pk-c-border,#eee);border-radius:8px;overflow:hidden;background:var(--pk-bg-card,#fff);box-shadow:0 1px 2px var(--pk-c-block-shadow,rgba(0,0,0,.06))}
.agg-card .agg-thumb img{width:100%;height:auto;border-radius:6px}
.agg-title{font-size:1.05rem;line-height:1.4}
.agg-meta .badge{vertical-align:middle}
.agg-badge-pos{background:#e8f7ef;color:#0a8f4e;padding:2px 6px;border-radius:999px}
.agg-badge-neu{background:#f2f2f2;color:#666;padding:2px 6px;border-radius:999px}
.agg-badge-neg{background:#fdecea;color:#a31616;padding:2px 6px;border-radius:999px}
.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:6px}
.agg-save-btn .fa{font-size:14px}
.agg-save-btn.is-saved .fa{color:#f39c12}
#home-load-more{min-width:160px}
.agg-skeleton{animation:aggSh 1.2s infinite linear;background:linear-gradient(90deg,#eee,#f7f7f7,#eee);background-size:200% 100%}
@keyframes aggSh{0%{background-position:200% 0}100%{background-position:-200% 0}}
.agg-modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;z-index:10000}
.agg-modal .box{background:var(--pk-bg-card,#fff);color:var(--pk-c-font,#333);border-radius:8px;max-width:720px;width:92%;max-height:80vh;overflow:auto;padding:16px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
/* Dark tune-ups */
body.puock-dark .agg-badge-neu{background:#2b2f34;color:#bbb}
body.puock-dark .agg-badge-pos{background:#183f2b;color:#6ee7a0}
body.puock-dark .agg-badge-neg{background:#442326;color:#ffb4b4}
