* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  min-height: 100vh;
  background: #000b0d center/cover no-repeat fixed;
  color: #fff;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 11, 13, .72);
  z-index: 0;
}
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 20;
}
.site-header-inner {
  max-width: 1200px;
  margin: 12px auto 0;
  padding: 0 20px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: #111; }
.logo {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--c, #ff6b9d), #c44569, var(--accent, #f8b500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 20px 48px;
}
.clock-wrap { text-align: center; margin-bottom: 18px; }
.clock-time { font-size: 42px; font-weight: 800; letter-spacing: 2px; }
.clock-date { color: #ccc; margin-top: 4px; }
.search-card {
  margin: 0 auto 16px;
  max-width: 680px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.engines { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.engines button {
  border: 0; background: transparent; color: #ccc;
  padding: 4px 10px; border-radius: 999px; cursor: pointer;
}
.engines button.on { background: var(--c, #ff6b9d); color: #fff; }
.search-card form { display: flex; gap: 8px; }
.search-card input {
  flex: 1; height: 44px; border: 0; border-radius: 12px;
  padding: 0 14px; background: rgba(8,12,28,.55); color: #fff; outline: none;
}
.search-card .go {
  width: 88px; border: 0; border-radius: 12px;
  background: var(--c, #ff6b9d); color: #fff; font-weight: 700; cursor: pointer;
}
.card {
  margin: 12px 0;
  padding: 22px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6441a5, #000b0d, #1a2a6c, #b21f1f);
  background-size: 400% 400%;
  animation: gradientBG 8s ease infinite;
  box-shadow: 0 8px 32px rgba(100, 65, 165, .3), 0 0 20px rgba(178, 31, 31, .2);
}
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(100, 65, 165, .5), 0 0 30px rgba(255, 107, 157, .35);
  transition: all .35s ease;
}
.card h2 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(90deg, #ff9a9e, #fad0c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.announcement-list { list-style: none; }
.announcement-list li {
  padding: 12px 15px;
  margin: 8px 0;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  white-space: pre-wrap;
  font-weight: 700;
  font-size: 16px;
  color: var(--announcement-color, #fff);
}
.card.announcement,
.card.announcement h2,
.announcement-list li {
  text-align: center;
}
.contact-hint { color: #ccc; margin-bottom: 14px; font-size: 14px; }
.card.contact-card,
.card.contact-card h2,
.contact-hint {
  text-align: center;
}
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.contact-item {
  width: 210px;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(8, 12, 28, .35);
  border: 1px solid rgba(255,154,158,.4);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}
.contact-copyable {
  cursor: pointer;
}
.contact-copyable:hover {
  background: rgba(255,154,158,.2);
  transform: none;
}
.contact-item .k { font-weight: 700; color: var(--accent, #ffd700); margin-bottom: 6px; }
.contact-item .v { color: #fff; word-break: break-all; }
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,154,158,.2);
}
.link-item:hover {
  background: rgba(255,154,158,.22);
  transform: translateY(-2px);
}
.link-item img {
  width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: #fff;
}
.link-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-note {
  text-align: center;
  margin-top: 28px;
  color: #ff6b9d;
  font-size: 14px;
}
.empty { color: #ccc; padding: 20px 0; }
.contact-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff6b9d, #c44569);
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(255, 107, 157, .4);
  z-index: 40;
  font-weight: 700;
}
@media (max-width: 720px) {
  .site-header-inner { margin: 8px 10px 0; height: 54px; padding: 0 12px; }
  .logo { font-size: 16px; }
  main { padding-top: 84px; }
  .clock-time { font-size: 32px; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}
