:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #f3f4f6;
  color: #294d5b;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { padding: 24px 16px 40px; background: #f3f4f6; }
img { display: block; max-width: 100%; }

.site-shell {
  width: min(100%, 940px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 36px rgba(26, 45, 56, 0.08);
}

.site-header { display: flex; align-items: center; height: 86px; padding: 18px 14px; }
.site-logo { width: 150px; height: 50px; object-fit: contain; object-position: left center; }

.hero { position: relative; overflow: hidden; aspect-ratio: 750 / 220; background: #8010aa; }
.hero-link, .hero-link img { width: 100%; height: 100%; }
.hero-link img { object-fit: cover; }
.hero-dots { position: absolute; right: 0; bottom: 10px; left: 0; display: flex; justify-content: center; gap: 7px; }
.hero-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.55); cursor: pointer; }
.hero-dot.is-active { width: 20px; border-radius: 999px; background: #fff; }

.notice { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px; border-bottom: 12px solid #f3f4f6; font-size: 16px; }
.notice img { width: 24px; height: 24px; }
.notice p { margin: 0; }

.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px 12px 20px; }
.entry-grid a { display: block; overflow: hidden; border: 1px solid #edf0f2; border-radius: 4px; background: #fff; color: #60747c; text-align: center; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.entry-grid a:hover, .entry-grid a:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(26, 45, 56, 0.14); }
.entry-grid img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.entry-grid span { display: block; padding: 8px 6px; font-size: 13px; letter-spacing: 0.02em; }

@media (max-width: 640px) {
  body { padding: 0; }
  .site-shell { min-height: 100vh; box-shadow: none; }
  .site-header { height: 66px; padding: 12px; }
  .site-logo { width: 128px; height: 42px; }
  .notice { min-height: 48px; font-size: 14px; }
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .entry-grid a { transition: none; }
}
