/* ================================
   TVS SPORTS EVENT
   Clean, minimal, thin borders, white-based
   ================================ */

.tvs-se * {
  box-sizing: border-box;
}

/* Smooth scroll & light scrollbar */
.tvs-se ::-webkit-scrollbar {
  width: 8px;
}
.tvs-se ::-webkit-scrollbar-track {
  background: #e8e8e8;
}
.tvs-se ::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 4px;
}

/* VOD Grid Wrapper */
.tvs-vod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

/* VOD Card */
.tvs-vod-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  color: #111;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

/* Hover */
.tvs-vod-card:hover {
  border-color: #b5b5b5;
}

/* Thumbnail */
.tvs-vod-thumb {
  position: relative;
  padding-top: 56.25%;
  background: #f2f2f2;
}
.tvs-vod-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title + Info */
.tvs-vod-body {
  padding: 12px 14px;
}
.tvs-vod-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ======================================
   TVS VOD SINGLE – SUKMA Minimal Theme
   ====================================== */

/* Main wrapper */
.tvs-vod-player-wrapper {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 20px;
  margin: 30px 0;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .tvs-vod-player-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------
   Player
   --------------------------- */
.tvs-vod-player-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
}

.tvs-vod-responsive-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------------------------
   Playlist container
   --------------------------- */
.tvs-vod-playlist-wrapper {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 320px;
}

/* Header */
.tvs-vod-playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #f7f9fc;
  border-bottom: 1px solid #e5e5e5;
}

.tvs-vod-playlist-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  flex: 1;
  color: #111;
}

/* Nav buttons */
.tvs-vod-nav-btn {
  border: none;
  background: #efefef;
  border-radius: 50%;
  padding: 6px;
  cursor: pointer;
  transition: background .15s ease;
}
.tvs-vod-nav-btn:hover {
  background: #dedede;
}
.tvs-vod-nav-btn[disabled] {
  opacity: .35;
  cursor: default;
}

/* ---------------------------
   Playlist Items 
   --------------------------- */
.tvs-vod-playlist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 480px;
  overflow-y: auto;
}

.tvs-vod-playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
  transition: background .15s ease;
}

.tvs-vod-playlist-item:hover {
  background: #f8f8f8;
}

.tvs-vod-playlist-item.is-active {
  background: #e9f2ff;
}

/* Video counter */
.tvs-vod-list-counter {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* Thumbnail */
.tvs-vod-playlist-item img {
  width: 90px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

/* Title */
.tvs-vod-video-title {
  font-size: 13px;
  font-weight: 500;
  color: #222;
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 580px) {
  .tvs-vod-playlist-item img {
    width: 70px;
    height: 40px;
  }
}


/* Live Player layout */
.tvs-live-primary-wrapper {
  max-width: 1000px;
  margin: 0 auto 30px;
}

.tvs-live-player-shell {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.tvs-live-player-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.tvs-live-player-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Live List Grid */
.tvs-live-stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
  gap: 18px;
}

/* Live Card – Minimal look */
.tvs-live-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}

/* Thumb */
.tvs-live-card .live-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Info */
.tvs-live-card .live-info {
  padding: 12px;
}
.tvs-live-card .live-sport-tag {
  font-size: 11px;
  font-weight: 600;
  color: #CE1126;
  margin-bottom: 4px;
  display: inline-block;
}
.tvs-live-card h3 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 600;
}

/* Status (minimal) */
.tvs-live-card .live-status {
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.status-live { background: #e03131; }
.status-upcoming { background: #1971c2; }
.status-ended { background: #6c757d; }

/* Watch button */
.tvs-live-card .live-btn {
  margin-top: 10px;
  display: block;
  padding: 8px;
  background: #CE1126;
  color: #fff !important;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
}

.tvs-sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 18px;
}

/* Sports Card minimal */
.tvs-sport-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 0;     /* NO rounded corners */
  padding: 10px;
  text-align: center;
}

/* Sport Banner */
.sport-banner img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

/* Sport Logo */
.sport-logo {
  height: 60px;
  margin: 10px auto;
}

/* Info */
.sport-info {
  padding: 8px 4px;
}

/* Medal container */
.tvs-medal-board {
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 14px;
  font-size: 13px;
  box-shadow: none;
}

/* Header */
.tvs-medal-board__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.tvs-medal-board__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Legend pills */
.tvs-medal-board__legend {
  display: flex;
  gap: 6px;
}
.tvs-medal-legend {
  background: #f1f1f1;
  padding: 2px 6px;
  font-size: 11px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tvs-medal-legend::before {
  content: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.tvs-medal-legend--gold::before { background: #f5c243; }
.tvs-medal-legend--silver::before { background: #c0c5d2; }
.tvs-medal-legend--bronze::before { background: #c47a3b; }

/* Table */
.tvs-medal-table {
  width: 100%;
  border-collapse: collapse;
}

/* Header blue like PDF */
.tvs-medal-table thead th {
  background: #fff;
  color: #000;
  font-size: 12px;
  padding: 6px;
  text-transform: uppercase;
}

/* Rows */
.tvs-medal-table tbody tr:nth-child(even) {
  background: #f5f7fa;
}
.tvs-medal-cell {
  padding: 6px 8px;
  border-bottom: 1px solid #e2e2e2;
  text-align: center;
}

/* Country cell */
.tvs-medal-cell--country {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tvs-medal-flag {
  width: 26px;
  height: 18px;
  object-fit: cover;
}

/* Medal colours */
.tvs-medal-cell--gold { color: #c7951a; font-weight: 700; }
.tvs-medal-cell--silver { color: #7d8492; font-weight: 700; }
.tvs-medal-cell--bronze { color: #9b5c25; font-weight: 700; }
.tvs-medal-cell--total { font-weight: 700; }