#my-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fffacd;
  border: 1px solid #dddddd54;
  padding: 15px 35px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

#my-popup .close-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid black;
  background-color: white;
  transition: transform 0.3s ease;
}

#my-popup .close-btn:hover {
  transform: rotate(360deg);
  background-color: antiquewhite;
}

#my-popup a {
  text-decoration: none;
  font-size: 18px;
  color: #943131;
}

#my-popup a:hover {
  font-size: 18px;
  color: rgb(207, 50, 66);
}

#my-popup.show {
  display: flex; /* 显示弹窗 */
}

.lang-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}

.lang-entry-card {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.96));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  color: inherit !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 93, 169, 0.35);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.lang-entry-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #185da9;
}

.lang-entry-card strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

.lang-entry-desc {
  color: #4b5563;
  line-height: 1.65;
}

[data-md-color-scheme="slate"] .lang-entry-card {
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.96));
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.36);
}

[data-md-color-scheme="slate"] .lang-entry-card:hover {
  border-color: rgba(125, 211, 252, 0.38);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.48);
}

[data-md-color-scheme="slate"] .lang-entry-label {
  color: #7dd3fc;
}

[data-md-color-scheme="slate"] .lang-entry-desc {
  color: #cbd5e1;
}

.daily-seo-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 2.5rem 0 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.82);
}

.daily-seo-links strong {
  width: 100%;
  font-size: 0.86rem;
}

.daily-seo-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  background: rgba(24, 93, 169, 0.08);
  color: #185da9 !important;
  font-size: 0.82rem;
  text-decoration: none !important;
}

.daily-seo-links a:hover {
  background: rgba(24, 93, 169, 0.16);
}

[data-md-color-scheme="slate"] .daily-seo-links {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.78);
}

[data-md-color-scheme="slate"] .daily-seo-links a {
  background: rgba(125, 211, 252, 0.12);
  color: #7dd3fc !important;
}

[data-md-color-scheme="slate"] .daily-seo-links a:hover {
  background: rgba(125, 211, 252, 0.2);
}
