/* XemPhimFun 5.0 - trending only; catalog-v4 supplies shared card geometry. */
.xpf-trending-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.xpf-trending-heading h1{margin:0;padding:0;font-size:24px;font-weight:700;line-height:32px;color:var(--xc-text);letter-spacing:0}
.xpf-trending-heading p{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--xc-muted)}
.xpf-trending-periods{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.xpf-trending .xpf-trending-period{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 16px;border-radius:8px;border:1px solid var(--xc-border);color:var(--xc-secondary);font-size:14px;font-weight:500;line-height:20px;white-space:nowrap;transition:background .18s,color .18s}
.xpf-trending .xpf-trending-period.is-current{background:#e9e9ee;color:#08080c;border:0}
.xpf-trending .xpf-trending-period:not(.is-current):hover{background:var(--xc-surface);color:var(--xc-text)}
.xpf-trending-types{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.xpf-trending .xpf-trending-type{padding:6px 12px;border-radius:8px;font-size:14px;font-weight:500;line-height:20px;color:var(--xc-muted);transition:color .18s,background .18s;white-space:nowrap}
.xpf-trending .xpf-trending-type.is-current{background:rgba(255,255,255,.15);color:#fff}
.xpf-trending .xpf-trending-type:hover{color:var(--xc-text)}
.xpf-trending a:focus-visible{outline:2px solid #e9e9ee;outline-offset:3px}
.xpf-trending-total{font-weight:500;color:var(--xc-secondary)}
.xpf-trending-note{font-size:12px;line-height:18px;color:var(--xc-muted);margin:-8px 0 16px}
.xpf-trending[aria-busy=true] [data-xpf-trending-results]{opacity:.55;transition:opacity .15s}
.xpf-trending[aria-busy=true] .xpf-trending-periods,.xpf-trending[aria-busy=true] .xpf-trending-types{cursor:progress}
