.dle-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
  margin: 2rem 0 0 0;
  padding: 0;
}
.dle-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0;
  width: calc(20% - 1.2rem); /* 5列布局 */
  min-width: 160px;
  max-width: 220px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.25s, transform 0.25s;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.dle-card:hover {
  box-shadow: 0 8px 24px rgba(227,24,55,0.18);
  transform: translateY(-8px) scale(1.04);
}
.dle-card .category-link {
  width: 100%;
  display: block;
  position: relative;
  padding: 0;
  background: none;
  color: inherit;
  border-radius: 0;
  font-weight: bold;
  text-align: left;
  text-decoration: none;
}
.dle-card-img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  display: block;
}
.dle-card-overlay {
  position: static;
  background: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.7rem;
  opacity: 1;
  pointer-events: auto;
  transition: none;
  min-height: unset;
}
.dle-card:hover .dle-card-overlay,
.dle-card:focus-within .dle-card-overlay {
  opacity: 1;
  pointer-events: auto;
}
.dle-card-title {
  font-size: 1.12rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: #E31837;
  text-shadow: none;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  text-align: center; /* 新增：让标题居中 */
}
.dle-card-desc {
  font-size: 0.97rem;
  font-weight: 400;
  color: #444;
  text-shadow: none;
  margin: 0;
  letter-spacing: 0.01em;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
@media (max-width: 1200px) {
  .dle-card { width: calc(25% - 1.2rem); }
}
@media (max-width: 900px) {
  .dle-card { width: calc(33.33% - 1.2rem); }
}
@media (max-width: 700px) {
  .dle-card { width: calc(50% - 1.2rem); }
}
@media (max-width: 500px) {
  .dle-card { width: 100%; }
}

.costcodle-main-card {
  max-width: 900px;
  margin: 0 auto;
}

.costcodle-iframe-wrap {
  margin-bottom: 1.5rem;
  position: relative;
}

.costcodle-iframe-wrap iframe {
  width: 100%;
  min-height: 600px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #eee;
  display: block;
}

.iframe-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.iframe-actions button {
  background: #E31837;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.iframe-actions button:hover,
.iframe-actions button:focus {
  background: #b9152c;
}

.costcodle-screenshot {
  text-align: center;
  margin-bottom: 1.5rem;
}
.costcodle-screenshot img {
  max-width: 320px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #eee;
}

.costcodle-howto,
.costcodle-features {
  text-align: left;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

.custom-share-box {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.custom-share-content {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  text-align: center;
}
.custom-share-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.custom-share-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.custom-share-links a {
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.2s;
}
.custom-share-links a:hover {
  color: #E31837;
}
.custom-share-btn {
  background: #E31837;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 0.5rem;
  transition: background 0.2s;
}
.custom-share-btn.close {
  background: #888;
}
.custom-share-btn:hover,
.custom-share-btn:focus {
  background: #b9152c;
}
.custom-share-btn.close:hover,
.custom-share-btn.close:focus {
  background: #555;
}