.user-tips-header {
  text-align: center;
  margin-bottom: 2rem;
}

.user-tips-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  padding: 0.25rem;
}

.tab-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: white;
  cursor: pointer;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  transition: 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.08);
}

.tab-btn.active {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.14);
  color: white;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tip-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.tip-card.won {
  border-color: rgba(34, 197, 94, 0.45);
}

.tip-card.lost {
  border-color: rgba(239, 68, 68, 0.45);
}

.tip-match {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.team {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team:last-child {
  justify-content: flex-end;
}

.team img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  padding: 0.35rem;
  flex-shrink: 0;
}

.team span {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}

.vs {
  font-size: 1rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.08em;
}

.tip-details {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem 1.25rem;
}

.tip-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tip-details strong {
  color: white;
  font-weight: 700;
}

@media (max-width: 768px) {
  .tip-match {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team,
  .team:last-child {
    justify-content: center;
  }

  .vs {
    margin: 0.25rem 0;
  }
}

.tips-tabs {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.user-tips-data-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 0.9rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
  flex-wrap: wrap;
}

.user-tips-data-credit img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  display: block;
  opacity: 0.85;
}

.user-tips-data-credit a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.user-tips-data-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .user-tips-data-credit {
    font-size: 0.8rem;
  }

  .user-tips-data-credit img {
    width: 20px;
    height: 20px;
  }
}

.user-tips-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.user-tips-stats-grid {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

.account-stat-card {
  background: var(--panel-light);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.account-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.account-stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
}

.account-stat-card p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 950px) {
  .account-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .account-stats-grid {
    grid-template-columns: 1fr;
  }
}
.user-tips-header {
  padding-top: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.tips-tabs {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}