/* bdn-tin-tuc-feed.css — Tin tức bóng đá hub render styles.
 * Scoped to .bdn-tt-feed root to avoid theme conflicts.
 * Mirrors plans/.../visuals/mockup-tin-tuc-bong-da.html. */

.bdn-tt-feed{--btt-bg:#f7f8fa;--btt-card:#fff;--btt-line:#e4e7ec;--btt-ink:#101828;--btt-muted:#667085;--btt-brand:#0a5cff;--btt-brand-soft:#eaf1ff;--btt-live:#e02d2d;--btt-live-soft:#ffe5e5;--btt-pending:#f0a000;--btt-pending-soft:#fff4d9;--btt-ok:#079455;--btt-ok-soft:#d1fadf;--btt-r:10px;--btt-shadow:0 1px 2px rgba(16,24,40,.05);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;color:var(--btt-ink)}
.bdn-tt-feed *,.bdn-tt-feed *::before,.bdn-tt-feed *::after{box-sizing:border-box}
.bdn-tt-section{margin:26px 0 0}
.bdn-tt-h2{font-size:18px;margin:0 0 12px;display:flex;align-items:center;gap:10px;color:var(--btt-ink)}
.bdn-tt-count{font-size:12px;font-weight:500;color:var(--btt-muted);background:#fff;border:1px solid var(--btt-line);padding:2px 8px;border-radius:999px}

/* Match cards (sections 1 & 2) */
.bdn-tt-card{background:var(--btt-card);border:1px solid var(--btt-line);border-radius:var(--btt-r);padding:12px 14px;box-shadow:var(--btt-shadow);margin-bottom:10px;display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;transition:border-color .15s}
.bdn-tt-card:hover{border-color:#cdd5e0}
.bdn-tt-card--live{border-color:var(--btt-live-soft)}
.bdn-tt-teams{flex:1;min-width:0}
.bdn-tt-teams-row{display:flex;align-items:center;gap:8px;font-weight:600;flex-wrap:wrap}
.bdn-tt-vs{color:var(--btt-muted);font-weight:500;margin:0 2px}
.bdn-tt-meta{font-size:12.5px;color:var(--btt-muted);margin-top:3px}
.bdn-tt-league{color:#344054;font-weight:500}
.bdn-tt-kick{font-variant-numeric:tabular-nums;text-align:right;min-width:80px;font-size:13px;color:#344054;line-height:1.2}
.bdn-tt-kick b{display:block;font-size:15px;color:var(--btt-ink);margin-bottom:1px}
.bdn-tt-cta{font-size:13px;font-weight:500;padding:6px 12px;border-radius:8px;white-space:nowrap;border:1px solid transparent;flex-shrink:0}
.bdn-tt-cta.is-ready{background:var(--btt-brand);color:#fff}
.bdn-tt-cta.is-pending{background:var(--btt-pending-soft);color:#8a5d00;border-color:#f0d480}
.bdn-tt-cta.is-live{background:var(--btt-live-soft);color:#a01313;border-color:#f4b8b8}
.bdn-tt-pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--btt-live);margin-right:6px;animation:bdn-tt-pulse 1.2s infinite}
@keyframes bdn-tt-pulse{0%,100%{opacity:1}50%{opacity:.3}}

/* Highlights grid (section 3) */
.bdn-tt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.bdn-tt-vcard{background:var(--btt-card);border:1px solid var(--btt-line);border-radius:var(--btt-r);overflow:hidden;box-shadow:var(--btt-shadow);text-decoration:none;color:inherit;display:block;transition:transform .15s}
.bdn-tt-vcard:hover{transform:translateY(-2px)}
.bdn-tt-thumb{position:relative;aspect-ratio:16/9;background:#0b1220 center/cover no-repeat}
.bdn-tt-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.5))}
.bdn-tt-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.bdn-tt-play svg{width:18px;height:18px;fill:var(--btt-ink);margin-left:3px}
.bdn-tt-duration{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.75);color:#fff;font-size:11px;padding:2px 6px;border-radius:4px;z-index:2}
.bdn-tt-vtitle{padding:10px 12px 4px;font-size:14px;font-weight:500;line-height:1.35}
.bdn-tt-vmeta{padding:0 12px 12px;font-size:12px;color:var(--btt-muted)}

/* Other news list (section 4) */
.bdn-tt-news{display:flex;gap:12px;background:var(--btt-card);border:1px solid var(--btt-line);border-radius:var(--btt-r);padding:12px;margin-bottom:8px;box-shadow:var(--btt-shadow);text-decoration:none;color:inherit;align-items:center;transition:border-color .15s}
.bdn-tt-news:hover{border-color:#cdd5e0}
.bdn-tt-news.is-sticky{border-color:var(--btt-brand);background:#fcfdff}
.bdn-tt-nthumb{flex-shrink:0;width:96px;height:64px;border-radius:6px;background:#dde3ed center/cover no-repeat}
.bdn-tt-nbody{flex:1;min-width:0}
.bdn-tt-ntitle{font-weight:600;font-size:14.5px;line-height:1.35;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bdn-tt-nmeta{font-size:12px;color:var(--btt-muted)}
.bdn-tt-badge{display:inline-block;font-size:11px;font-weight:600;padding:2px 7px;border-radius:4px;margin-right:6px;text-transform:uppercase;letter-spacing:.02em;vertical-align:1px}
.bdn-tt-badge--sticky{background:var(--btt-brand-soft);color:var(--btt-brand)}
.bdn-tt-badge--ket-qua{background:var(--btt-ok-soft);color:#075c34}
.bdn-tt-badge--bao-cao{background:#f2e8ff;color:#5f3dc4}
.bdn-tt-badge--live{background:var(--btt-live-soft);color:var(--btt-live)}
.bdn-tt-badge--pre-match{background:var(--btt-pending-soft);color:#8a5d00}
.bdn-tt-badge--prediction{background:#e6f2ff;color:#0a5cff}
.bdn-tt-badge--du-doan{background:#f0e6ff;color:#5f3dc4}

/* Mobile */
@media (max-width:560px){
  .bdn-tt-card{flex-wrap:wrap}
  .bdn-tt-kick{min-width:auto}
  .bdn-tt-cta{width:100%;text-align:center}
  .bdn-tt-news .bdn-tt-nthumb{width:72px;height:54px}
}
