.tennis-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 10px 36px;
  color: #24312d;
  font-family: "Segoe UI", Arial, sans-serif;
}

.tennis-hero,
.tennis-info,
.tennis-table-wrap {
  background: #ffffff;
  border: 1px solid #d6e1dc;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(25, 52, 45, 0.07);
}

.tennis-hero {
  padding: 18px;
  margin-bottom: 16px;
  background: #f7fbf9;
  line-height: 1.6;
}

.tennis-eyebrow {
  margin-bottom: 8px;
  color: #0f7a68;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tennis-hero h1 {
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid #14a085;
  color: #203345;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.tennis-hero p,
.tennis-info p,
.tennis-empty {
  margin: 0;
  color: #34443f;
  font-size: 15px;
}

.tennis-hero strong {
  color: #0f7a68;
}

.tennis-tip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tennis-tip-grid div {
  min-height: 74px;
  padding: 12px;
  border: 1px solid #cfe5df;
  border-radius: 8px;
  background: #ffffff;
  color: #34443f;
  font-size: 14px;
}

.tennis-tip-grid span {
  display: block;
  margin-bottom: 5px;
  color: #203345;
  font-size: 15px;
  font-weight: 800;
}

.tennis-telegram {
  margin: 18px 0;
  padding: 14px;
  text-align: center;
  background: #f1fbf8;
  border: 1px solid #ccebe3;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.tennis-telegram-title {
  color: #17352f;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tennis-telegram-text {
  color: #31524a;
  font-size: 14px;
  margin-bottom: 12px;
}

.tennis-telegram .telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border-radius: 50px;
  background: #0f8f76;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 143, 118, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.tennis-telegram .telegram-btn:hover {
  transform: scale(1.04);
  background: #0b765f;
  color: #ffffff;
  text-decoration: none;
}

.tennis-telegram-note {
  margin-top: 10px;
  color: #4f746b;
  font-size: 12px;
  font-weight: 700;
}

.tennis-section-title {
  margin: 24px 0 12px;
  padding-left: 10px;
  border-left: 4px solid #14a085;
  color: #203345;
  font-size: 20px;
  font-weight: 700;
}

.tennis-table-wrap {
  overflow-x: auto;
}

.tennis-table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}

.tennis-col-time { width: 8%; }
.tennis-col-players { width: 50%; }
.tennis-col-tip { width: 18%; }
.tennis-col-odd { width: 12%; }

.tennis-table th,
.tennis-table td {
  padding: 9px 8px;
  vertical-align: middle;
}

.tennis-table .tennis-league-row th {
  background: #3d5a53;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tennis-table .tennis-league-row th:first-child {
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tennis-table tbody tr.match-stripe-even > td {
  background: #ffffff;
}

.tennis-table tbody tr.match-stripe-odd > td {
  background: #e9efec;
}

.tennis-table tbody tr.match-row:hover > td {
  background: #dcf4ec !important;
}

.tennis-time {
  width: 64px;
  color: #203345;
  font-weight: 800;
}

.tennis-time small {
  display: block;
  margin-top: 3px;
  color: #6a766f;
  font-size: 10px;
  font-weight: 700;
}

.tennis-players {
  min-width: 0;
}

.tennis-player-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 29px;
}

.tennis-player-name {
  min-width: 0;
  color: #22312b;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tennis-round {
  margin-top: 2px;
  color: #6a766f;
  font-size: 10px;
  font-weight: 700;
}

.tennis-results {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
}

.tennis-result-block {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 23px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  cursor: default;
}

.tennis-result-block:hover::after {
  content: attr(data-hover);
  position: absolute;
  left: 50%;
  bottom: 29px;
  z-index: 10;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 5px;
  background: #26332d;
  color: #ffffff;
  white-space: nowrap;
  font-size: 11px;
}

.tennis-result-win {
  background: #15944f;
}

.tennis-result-loss {
  background: #cf3b3b;
}

.tennis-result-draw {
  background: #d9a71c;
  color: #17261f;
}

.tennis-pick,
.tennis-set-tip {
  min-width: 98px;
  text-align: center;
}

.tennis-pick strong {
  display: block;
  color: #08705d;
  font-weight: 900;
  line-height: 1.25;
}

.tennis-pick span {
  display: block;
  margin-top: 2px;
  color: #6a766f;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.tennis-set-tip,
.tennis-odd {
  color: #24342d;
  font-weight: 800;
  white-space: nowrap;
}

.tennis-odd {
  min-width: 64px;
  text-align: center;
}

.tennis-empty {
  padding: 22px;
  text-align: center;
}

.tennis-info {
  padding: 16px;
  margin-top: 18px;
  background: #fafcfb;
  line-height: 1.6;
}

.tennis-info h2 {
  margin: 0 0 8px;
  color: #203345;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .tennis-page {
    padding: 10px 7px 28px;
  }

  .tennis-hero {
    padding: 14px;
  }

  .tennis-hero h1 {
    font-size: 21px;
  }

  .tennis-tip-grid {
    grid-template-columns: 1fr;
  }

  .tennis-section-title {
    font-size: 18px;
  }

  .tennis-table {
    min-width: 0;
    font-size: 12px;
  }

  .tennis-col-time { width: 12%; }
  .tennis-col-players { width: 40%; }
  .tennis-col-tip { width: 20%; }
  .tennis-col-odd { width: 14%; }

  .tennis-table th,
  .tennis-table td {
    padding: 7px 3px;
    font-size: 12px;
    min-width: 0;
  }

  .tennis-table .tennis-league-row th { padding: 7px 3px; font-size: 10px; }

  .tennis-table .tennis-time .time { font-size: 10px; }
  .tennis-table .tennis-time small { font-size: 9px; white-space: normal; overflow-wrap: anywhere; }

  .tennis-player-line {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding: 4px 0;
    overflow: visible;
  }

  .tennis-player-name {
    min-width: 0;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.35;
  }

  .tennis-results { max-width: 100%; flex-wrap: wrap; gap: 2px; }

  .tennis-result-block {
    width: 15px;
    height: 16px;
    font-size: 9px;
  }

  .tennis-pick,
  .tennis-set-tip {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }

  .tennis-table .tennis-odd { min-width: 0; white-space: nowrap; font-size: clamp(10px, 3.1vw, 12px); font-variant-numeric: tabular-nums; }
}
.tennis-seo-links { margin: 12px 0; font-size: 14px; }
.tennis-seo-links a, .tennis-info a { color: #19624e; text-decoration: underline; }
.tennis-data-note { font-size: 13px; color: #46515b; }
.tennis-faq details { margin: 12px 0; border-bottom: 1px solid #d9e2de; padding-bottom: 10px; }
.tennis-faq summary { font-weight: 700; cursor: pointer; }
.tennis-faq details p { margin-top: 10px; }
#tennis-matches, #tennis-guide, #tennis-faq { scroll-margin-top: 90px; }
