body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont;
  /* background: #f4f6f9; */
  background: url('../grape/bg.jpg') no-repeat center;
  background-size: cover;
  min-width: 100vw;
  min-height: 100vh;
}

.back-box {
  position: absolute;
  left: 20px;
  display: flex;
  gap: 2px;
}

.new-nav {
  display: flex;
  background: #fff;
  padding: 10px 15px;
  padding-top: 25px;
}
.new-nav-item {
  flex: 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meta {
  /* font-weight: 400;
  font-size: 15px; */
  color: #fff;
}
.black-meta {
  color: #000;
}

img {
  /* filter: hue-rotate(54deg); */
}

.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(90deg,#3877e2,#042ea1); */
  background: linear-gradient(
    #90167D,
    #630B79
  );
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 18px;
}
.header #header-title {
  font-size: 20px;
  font-weight: bold;
}

.container {
  padding: 10px 10px;
  /* padding-bottom: 80px; */
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 0 15px;
  padding-right: 0;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.details-card-flex {
  display: flex;
  gap: 15px;
  padding: 10px 15px;
  padding-bottom: 20px;
}
.details-card {
  padding: 10px 15px;
  padding-bottom: 20px;
}
.project-left {
  display: flex;
  align-items: center;
}
.project-right {
  
}
.project-right .desc {
  font-size: 14px;
  color: #000;
}
.card img {
  height: 110px;
  width: 110px;
  border-radius: 10px;
}

.flex {
  display: flex;
  gap: 15px;
  align-items: center;
}

.project-info {
  background: linear-gradient(
    #90167D,
    #630B79
  );
  color: #fff;
  padding: 10px 15px;
}
.title {
  flex-direction: column;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
}

.gray {
  color: #fff;
  font-size: 14px;
}

.green { color: #0da86a; }
.red { color: #e74c3c; }

.primary-btn {
  width: 180px;
  padding: 12px;
  border: none;
  /* background: #1342c2; */
  background: #90167D;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
}

.unfavorite-btn{
  height: 30px;
  line-height: 30px;
  border: none;
  /* background: #1342c2; */
  background: #90167D;
  color: #fff;
  border-radius: 8px;
}
.nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  background: #fff;
  border-top: 1px solid #eee;
}

.nav a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  text-decoration: none;
  color: #666;
}

.nav a.active {
  /* color: #1342c2; */
  color: #90167D;
  font-weight: bold;
}

.modal {
  position: fixed;
  top:0;left:0;
  width:100%;height:100%;
  background:rgba(0,0,0,.4);
  display:flex;
  align-items:center;
  justify-content:center;
  visibility:hidden;
}

.modal-content {
  background:#fff;
  padding:20px 40px;
  border-radius:10px;
}

.show { visibility:visible; }

canvas {
  width:100%;
  height:200px;
}
/* Banner */
.banner {
  width: 100%;
  height: 228px;
  overflow: hidden;
  position: relative;
}

.banner-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.banner img {
  width: 95%;
  height: 95%;
  border-radius: 10px;
  object-fit: cover;
}

/* 搜索框 */
.search-box {
  padding: 10px 15px;
  /* background: #fff; */
  background: transparent;
}

.search-box input {
  width: 95%;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 14px;
}

.empty {
  text-align: center;
  color: #999;
  padding: 40px 0;
}
.bottom-bar{
    text-align: center;
    margin-bottom: 88px;
}