/* ═══ 爆款榜单卡片样式 · 首页与复刻页共用(2026-09-05,配 viral_cards.js)═══
   一排 4 张;封面角标(平台 / 时长 / 品类 / 日期);标题下三格数据;底部按钮由页面给。
   只用 --ed-* token,别硬编码色(夜间模式会露馅);封面上的角标是压在图上的,允许固定深底白字。 */
.hp-feedgrid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
@media (max-width: 1100px) { .hp-feedgrid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 959px)  { .hp-feedgrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .hp-vstat b { font-size: 13px; } }
.hp-vcard { background:var(--ed-card); border: 1px solid var(--ed-border); border-radius: 18px; overflow: hidden; transition: box-shadow .18s ease; }
.hp-vcard:hover { box-shadow: 0 16px 36px rgba(32,31,27,.11); }
.hp-vcover { position: relative; aspect-ratio: 3/4; background: repeating-linear-gradient(45deg,#EDEFF6 0 12px,#F5F7FB 12px 24px); overflow: hidden; }
.hp-vcover img, .hp-vcover video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-muteb { position: absolute; right: 10px; top: 40px; width: 30px; height: 30px; border: none; border-radius: 50%; background: rgba(24,23,19,.6); color: #fff; font-size: 11px; cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; font-family: inherit; }
.hp-vbadge { position: absolute; left: 10px; top: 10px; color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 7px; z-index: 2; }
.hp-vdur { position: absolute; right: 10px; top: 10px; background: rgba(24,23,19,.66); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 6px; z-index: 2; }
.hp-vcat { position: absolute; left: 10px; bottom: 10px; max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(24,23,19,.66); color: #fff; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; z-index: 2; }
.hp-vdate { position: absolute; right: 10px; bottom: 10px; background: rgba(24,23,19,.66); color: #fff; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; z-index: 2; }
.hp-vbody { padding: 12px 14px 14px; }
.hp-vtitle { font-size: 14.5px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 43px; color: var(--ed-text); }
.hp-vstats { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 10px; }
.hp-vstat { background: var(--ed-s1); border-radius: 10px; padding: 7px 6px; text-align: center; }
.hp-vstat b { display: block; font-size: 14px; font-weight: 800; color: var(--ed-text); letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-vstat span { display: block; font-size: 11px; color: var(--ed-w1); margin-top: 1px; }
.hp-vacts { display: flex; gap: 8px; margin-top: 12px; }
.hp-vdl { flex: 1; display: flex; }
/* 卡片菜单(2026-09-07 报告 一.1.1):⋯ 按钮 + 挂在 body 上的浮层 */
.hp-vmore { flex: none; width: 34px; padding: 9px 0; border-radius: 10px; border: 1px solid var(--ed-border); background: var(--ed-card); color: var(--ed-w1); font-size: 15px; line-height: 1; cursor: pointer; font-family: inherit; }
.hp-vmore:hover { border-color: var(--ed-dash); color: var(--ed-t2); }
.hp-vmenu { position: fixed; z-index: 99999; background: var(--ed-card); border: 1px solid var(--ed-border); border-radius: 12px; box-shadow: 0 12px 34px rgba(32,31,27,.2); padding: 5px; min-width: 152px; }
.hp-vmenu button { display: block; width: 100%; text-align: left; border: none; background: transparent; color: var(--ed-text); font-size: 13.5px; font-family: inherit; padding: 9px 11px; border-radius: 8px; cursor: pointer; }
.hp-vmenu button:hover { background: var(--ed-s1); }
.hp-vbtn1 { flex: 1.6; padding: 9px 0; border-radius: 10px; border: 1px solid var(--ed-brand); background: var(--ed-brand); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.hp-vbtn1:hover { background: var(--ed-brand-deep); border-color: var(--ed-brand-deep); }
.hp-vbtn2 { flex: 1; padding: 9px 0; border-radius: 10px; border: 1px solid var(--ed-border); background:var(--ed-card); color: var(--ed-t3); font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.hp-vbtn2:hover { border-color: var(--ed-dash); color: var(--ed-t2); }
.hp-dlwrap { flex: 1; position: relative; border-radius: 10px; border: 1px solid var(--ed-brand-line); background: var(--ed-brand-bg); overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 35px; }
.hp-dlbar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ed-brand-soft); transition: width .4s ease; }
.hp-dldone { flex: 1; padding: 9px 0; border-radius: 10px; border: 1px solid var(--ed-brand-line); background: var(--ed-brand-bg); color: var(--ed-brand-deep); font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; }
/* 品类下拉:原生 select 铺在按钮上层(透明),外观由 label 画 —— 不写自定义弹层,少一套要维护的交互 */
.hp-catsel { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ed-border); background: var(--ed-card); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; cursor: pointer; }
.hp-catsel span { color: var(--ed-w1); }
.hp-catsel b { font-weight: 700; color: var(--ed-text); }
.hp-catsel i { font-style: normal; color: var(--ed-w2); font-size: 11px; }
.hp-catsel select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
/* 榜单工具栏:标题行(标题 + 平台)/ 筛选行(品类 + 排序 + 搜索) */
.hp-feedhead { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hp-feedtools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.hp-feedtools .grow { flex: 1; min-width: 200px; }
