/* 19.11: Top stories section (tabs, rank badge, hub blocks). Reuses catalog.css cards. Only transform/opacity transitions, no looping animation. */
.tp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.tp-tab { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none;
    color: #f0e2ec !important; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.tp-tab:hover { border-color: rgba(255, 140, 195, .5); background: rgba(255, 95, 162, .08); }
.tp-tab.on { color: #fff !important; border-color: transparent; background-image: linear-gradient(135deg, #ff6aa6, #d6377f); }
.tp-head { display: flex; align-items: center; gap: 8px; }
.tp-rank { display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 9px; border-radius: 999px; font-weight: 800; font-size: 13px; color: #fff;
    background-image: linear-gradient(135deg, #ff6aa6, #8a2be2); }
.tp-hot { color: #ffd9ea; font-weight: 700; }
.tp-block { margin: 0 0 22px; }
.tp-block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 12px; }
.tp-block-title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; color: #fff; }
.tp-all { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none;
    color: #fff !important; background: rgba(255, 95, 162, .14); border: 1px solid rgba(255, 140, 195, .35); }
.tp-more h2 { margin: 0 0 12px; font-size: 20px; color: #fff; }
@media (max-width: 760px) {
    .tp-block-title { font-size: 19px; }
    .tp-tab { height: 36px; padding: 0 14px; font-size: 13.5px; }
}
html:not(.dark-theme) .tp-tab { color: #462a3e !important; background-color: rgba(150, 40, 100, 0.038); border: 1px solid rgba(150, 40, 100, 0.14); }
html:not(.dark-theme) .tp-tab.on { color: #fff !important; border-color: transparent; }
html:not(.dark-theme) .tp-hot { color: #c20054; }
html:not(.dark-theme) .tp-block-title, html:not(.dark-theme) .tp-more h2 { color: #212121; }
html:not(.dark-theme) .tp-all { color: #212121 !important; }
