body { 
margin: 0px  0px;
padding: 0px  0px ;
font-family: Tahoma, sans-serif;
font-size:13px;
} 
.score-button {
      display: inline-block;
      width: 120px;
      padding: 6px 0;
      font-size: 14px;
      font-weight: 500;
      color: white;
      background-color: #2196F3;
      border: none;
      border-radius: 6px;
      text-align: center;
      text-decoration: none;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
      transition: background-color 0.2s, transform 0.2s;
    }

    .score-button:hover {
      background-color: #1976D2;
      transform: translateY(-1px);
    }
	  .ad-button {
      display: inline-block;
      padding: 12px 24px;
      font-size: 20px;
      font-weight: bold;
      color: white;
      background: linear-gradient(135deg, #ff0000, #cc0000);
      border: none;
      border-radius: 12px;
      text-decoration: none;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      transition: transform 0.2s, box-shadow 0.2s;
      margin: 0 10px;
      width: 200px; /* ✅ กำหนดความกว้างเท่ากัน */
      text-align: center; /* ✅ จัดข้อความให้อยู่กลาง */
    }

    .ad-button:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }
    /* ตาราง ลิงค์ Textlink */
    .textlink-table {
      width: 990px;
      border-collapse: collapse;
      margin: 10px auto; /* 40px บน–ล่าง, auto ซ้าย–ขวา (ตรงกลาง) */
    }

    .textlink-table th,
    .textlink-table td {
      border: 0px solid #ccc;
      padding: 2px;
      text-align: center;
    }

table.textlink-table td a,
table.textlink-table td a:visited,
table.textlink-table td a:hover,
table.textlink-table td a:active {
  color: #007BFF !important;
  text-decoration: none !important;
}
.bgtable {
  background: linear-gradient(to left, #0000FF, #00CCFF);
}
footer {
  text-align: center;
  padding: 20px 0;
  color: #00CCFF;

}

footer a.footer-link {
  color: #007BFF;
  font-size: 13px;
}

footer a.footer-link:hover,
footer a.footer-link:visited,
footer a.footer-link:active,
footer a.footer-link:focus {
color: #007BFF;
}
.bgtable {
  background: linear-gradient(to left, #0000FF, #00CCFF);
}
  .bgtablebanner {
  background: linear-gradient(to top, #0000FF, #00CCFF);
}
  .bgtablebannerline {
  background: linear-gradient(to bottom, #0000FF, #00CCFF);
}
  .bgtableadver {
  background: linear-gradient(to top, #00CCFF ,#FFFFFF );
}
  .bgtablelogo {
  background: linear-gradient(to bottom, #00CCFF ,#FFFFFF);
}
  .bgtableflagred {
  background: linear-gradient(to right, #8B0000 ,#FF0000);
  color: #00CCFF;
}
  .bgtableflagred2 {
  background: linear-gradient(to left, #8B0000 ,#FF0000);
}
  .bgtablecontent {
  background: linear-gradient(225deg, #00CCFF, #FFFFFF);
}
  .bgtablecovercontent {
  background: linear-gradient(to top ,#000066, #00CCFF);
}
.font-sky {
  color: #00CCFF;
}
/* Start BTN-7m */
.button-row {
  width: 700px;
  margin: 0 auto 15px auto;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.btn-7m {
  flex: 0 0 auto;
  width: 130px;
  height: 40px;                /* ✅ เพิ่มความสูงแน่นอน */
  display: flex;               /* ✅ ใช้ Flexbox */
  align-items: center;         /* ✅ จัดกลางแนวตั้ง */
  justify-content: center;     /* ✅ จัดกลางแนวนอน */
  background-color: #00FFCC;
  color: #007BFF;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid #00cccc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-7m:hover {
  background-color: #00e6cc;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* ✅ ปุ่มที่ถูกคลิกผ่าน hash */
.btn-7m:target {
  background-color: #00bfff;
  color: white;
}
/* END BTN-7m */

/* แชร์ */    
.share-banner-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 12px 15px;
  background: linear-gradient(135deg, #000066, #003366);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
  margin: 2px auto;
  max-width: 95%;
  color: #00CCFF;
  font-size: 16px;
  font-weight: bold;
}
.share-text {
  white-space: nowrap;
  flex-shrink: 1;
  font-size: 16px;
}
.share-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.share-buttons a:hover {
  transform: scale(1.1);
}
.facebook { background: #3b5998; }
.twitter  { background: #1da1f2; }
.line     { background: #00c300; }

@keyframes pulse {
  0%   { transform: scale(1); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
  50%  { transform: scale(1.02); box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
  100% { transform: scale(1); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
}

/* 🟡 Responsive ปรับขนาดเฉพาะมือถือ */
@media (max-width: 480px) {
  .share-text {
    font-size: 14px;
  }

  .share-buttons a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}/* End แชร์ */
/* แบนเนอร์ข่าวฟุตบอล */
.news-banner-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: linear-gradient(135deg, #001f3f, #0074D9);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  animation: pulse 2s infinite;
  max-width: 95%;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin: 10px auto;
}

.left-info {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.left-info i {
  font-size: 22px;
  color: #FFD700;
  animation: bounce 1.5s infinite;
}

.right-fb-link {
  display: flex;
  align-items: center;
  background: #3b5998;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  gap: 8px;
  transition: background 0.3s ease;
}
.right-fb-link:hover {
  background: #2d4373;
}

.right-fb-link img {
  width: 20px;
  height: 20px;
}

@keyframes pulse {
  0%   { transform: scale(1); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
  50%  { transform: scale(1.02); box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
  100% { transform: scale(1); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Responsive มือถือ */
@media (max-width: 480px) {
  .news-banner-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
/* จบแบนเนอร์ข่าวฟุตบอล */
/* 🔵 เมนูย่อย*/
.button-submenu {
  display: flex;
  max-width: 990px;
  margin: 0 auto;
  border: 4px solid #007BFF; /* กรอบหนาและเข้ม */
  border-radius: 6px;
  overflow: hidden;
}

.button-submenu a {
  flex: 1;
  text-align: center;
  background: #00CCFF; /* ฟ้าปกติ */
  color: #000066;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 20px 0;
  transition: background 0.3s, transform 0.2s;
  position: relative; /* ✅ เพื่อวางตัวแบ่งในแต่ละปุ่ม */
}

/* ✅ ตัวแบ่งระหว่างปุ่ม */
.button-submenu a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 2px;
  background-color: #0056b3; /* สีแบ่งเข้ม */
}

.button-submenu a:hover {
  background: #33ddff;
  transform: scale(1.02);
}

.button-submenu a.active {
  background: #0000FF;
  color: #FFFFFF;
  cursor: default;
}
}/* จบ🔵 เมนูย่อย*/