.match-tip-button {
  border: 1px solid rgba(122, 90, 0, .18);
  background: #fff7d6;
  color: #7a5a00;
  padding: .22rem .56rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .24rem;
  line-height: 1.2;
}

.match-tip-button:hover,
.match-tip-button:focus {
  background: #ffeaa0;
  color: #6b4f00;
  text-decoration: none;
  outline: none;
  box-shadow: 0 0 0 .18rem rgba(255, 234, 160, .45);
}

.match-tip-open {
  overflow: hidden;
}

.match-tip-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.match-tip-modal {
  background: #ffffff;
  color: #1f2937;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 8px;
  padding: 22px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.match-tip-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.match-tip-close:hover,
.match-tip-close:focus {
  color: #1f2937;
  outline: none;
}

.match-tip-modal h3 {
  margin: 0 0 12px;
  padding-right: 28px;
  font-size: 20px;
  font-weight: 900;
}

.match-tip-modal h4 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 850;
}

.match-tip-section {
  margin-top: 14px;
}

.match-tip-section p {
  margin: 6px 0;
}

.match-tip-section ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

@media (max-width: 576px) {
  .match-tip-overlay {
    align-items: flex-end;
    padding: 10px;
  }

  .match-tip-modal {
    max-width: none;
    padding: 18px;
  }
}
