
  .legendfm-widget {
    max-width: 900px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    padding: 20px 10px;
  }

  .legendfm-channel {
    margin-bottom: 40px;
    padding: 15px;
 
  }

  .channel-yumifm {
    background: #f0f8ff;
    border: 2px solid #0077cc;
  }

  .channel-legendfm {
    background: #fff0f5;
    border: 2px solid #cc0066;
  }

  .channel-naufm {
    background: #f5fff0;
    border: 2px solid #339933;
  }

  .legendfm-channel-title {
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 16px;
    text-align: center;
  }

  .legendfm-channel-title a {
    text-decoration: none;
    color: #222;
  }

  .legendfm-videos {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap; /* keep 3 in row, no wrap */
    justify-content: center;
  }

  .legendfm-card {
    flex: 1 1 280px;
    max-width: 320px;
    border: 1px solid #ddd;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
  }

  .legendfm-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .legendfm-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .legendfm-card .info {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex-grow: 1;
  }

  .legendfm-card a {
    color: inherit;
    text-decoration: none;
  }

  .legendfm-card a:hover {
    text-decoration: underline;
  }

  .legendfm-nav {
    text-align: center;
    margin-top: 12px;
  }

  .legendfm-nav button {
    background-color: #222;
    color: white;
    border: none;
    padding: 8px 18px;
    margin: 0 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
  }

  .legendfm-nav button:disabled {
    background-color: #999;
    cursor: not-allowed;
  }

  .error-message {
    text-align: center;
    color: #cc0033;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
  }

  @media (max-width: 900px) {
    .legendfm-videos {
      flex-wrap: wrap;
    }
  }

  @media (max-width: 600px) {
    .legendfm-videos {
      flex-direction: column;
      gap: 24px;
    }
    .legendfm-card {
      max-width: 100%;
      flex: none;
    }
  }
/* YU STORI */


  .yu-stori-widget-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: Arial, sans-serif;
  }

  .yu-stori-header-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .yu-stori-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
  }

  .yu-stori-subscribe-btn {
  background: red;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.95rem;
}

/* Add this to prevent blue underline on hover */
.yu-stori-subscribe-btn:hover {
  text-decoration: none;
  color: white; /* Ensures it doesn't change on hover */
}


  .yu-stori-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .yu-stori-video-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #fff;
    display: flex;
    flex-direction: column;
  }

  .yu-stori-video-card iframe {
    width: 100%;
    height: 200px;
    border: none;
  }

  .yu-stori-card-info {
    padding: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
  }

  .yu-stori-pagination {
    text-align: center;
    margin-top: 20px;
  }

  .yu-stori-pagination button {
    background: #222;
    color: white;
    padding: 8px 16px;
    margin: 0 8px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
  }

  .yu-stori-pagination button:disabled {
    background: #ccc;
    cursor: not-allowed;
  }
#yu-stori-prev-btn, #yu-stori-next-btn{
    color:brown;
}
  @media (max-width: 1024px) {
    .yu-stori-video-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .yu-stori-header-box {
      flex-direction: column;
      align-items: flex-start;
    }

    .yu-stori-subscribe-btn {
      width: 100%;
      text-align: center;
      color:brown;
    }

    .yu-stori-video-grid {
      grid-template-columns: 1fr;
    }
  }

  .scoreboard { max-width: 1000px; margin: 20px auto; border-top: 3px solid #002147; background: #fff; }
  .scoreboard h2 { font-size: 24px; font-weight: bold; padding: 15px 0; text-align: center; }

  /* Tabs Styling with Grid */
  .tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    border: 1px solid #ddd;
    border-bottom: none;
    background-color: #fff;
  }

  .tab {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #ddd;
    cursor: pointer;
    background: #f9f9f9;
  }
  .tab.active { background-color:orange; color:brown; }

  /* Table Styling */
  table { width: 100%; border-collapse: collapse; background: #fff; margin-top: 10px; }
  th, td { padding: 12px; text-align: center; border-bottom: 1px solid #ddd; }
  th { background: #f0f0f0; font-weight: bold; }

  /* Responsive Grid */
  @media (max-width: 992px) {
    .tabs { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 600px) {
    .tabs { grid-template-columns: 1fr; }
    .tab { font-size: 13px; padding: 10px; }
    th, td { font-size: 12px; padding: 10px; }
    .scoreboard h2 { font-size: 18px; }
  }

