:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-700: #be185d;
  --pink-800: #9d174d;
  --pink-900: #831843;

  --text: #6b4460;
  --text-h: #831843;
  --bg: #fff5f7;
  --surface: #ffffff;
  --border: #fbcfe8;
  --content-page-max: 960px;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: var(--bg);
  min-height: 100vh;
}

a {
  color: var(--pink-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  color: var(--text-h);
  font-weight: 600;
}

.static-page {
  width: 100%;
  max-width: var(--content-page-max);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.static-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.static-header img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.static-header .brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--pink-700);
  text-decoration: none;
}

.static-header .brand:hover {
  text-decoration: none;
  color: var(--pink-600);
}

.static-header .subtitle {
  margin-left: auto;
  font-size: 13px;
  color: var(--text);
  opacity: 0.65;
}

.page-header {
  margin-bottom: 20px;
}

.page-header h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

.page-header p {
  color: var(--text);
  opacity: 0.7;
  font-size: 14px;
}

.meta-line {
  font-size: 13px;
  color: var(--text);
  opacity: 0.6;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.dir-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dir-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.15s;
}

.dir-item:hover {
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.1);
}

.dir-item a {
  font-weight: 600;
  color: var(--pink-800);
}

.dir-item .count {
  margin-left: auto;
  font-size: 13px;
  color: var(--text);
  opacity: 0.6;
  white-space: nowrap;
}

.dir-item .badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--pink-50);
  color: var(--pink-700);
  border: 1px solid var(--pink-200);
}

.day-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.day-nav-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--pink-800);
  padding: 0 4px;
}

.nav-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.nav-btn:hover {
  background: var(--pink-50);
  border-color: var(--pink-300);
  color: var(--pink-800);
  text-decoration: none;
}

.nav-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.nav-btn.today-btn {
  margin-left: auto;
  border-color: var(--pink-300);
  background: var(--pink-50);
  color: var(--pink-800);
  font-weight: 500;
}

.feed-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}

.feed-site {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.site-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--pink-100);
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
}

.site-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--pink-700);
}

.feed-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--text);
  opacity: 0.55;
}

.feed-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.feed-title a {
  color: var(--pink-800);
}

.feed-author {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.75;
}

.feed-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.88;
  white-space: pre-wrap;
  word-break: break-word;
}

.empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--text);
}

.empty-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.4;
}

.empty-hint {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.65;
}

.site-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.site-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.site-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.12);
}

.site-main {
  display: flex;
  gap: 14px;
}

.site-favicon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--pink-100);
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
}

.site-info {
  min-width: 0;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-card .site-name {
  font-size: 15px;
}

.verified {
  font-size: 10px;
  padding: 1px 6px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 999px;
  font-weight: 600;
}

.unverified {
  font-size: 10px;
  padding: 1px 6px;
  background: #f3f4f6;
  color: #9ca3af;
  border-radius: 999px;
}

.site-url {
  display: block;
  font-size: 12px;
  color: var(--pink-500);
  opacity: 0.7;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-desc {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--pink-100);
  color: var(--pink-700);
  border-radius: 999px;
}

.static-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text);
  opacity: 0.65;
  font-size: 13px;
  line-height: 1.6;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--pink-700);
}

@media (max-width: 900px) {
  .site-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .site-grid {
    grid-template-columns: 1fr;
  }
  .static-header {
    flex-wrap: wrap;
  }
  .static-header .subtitle {
    margin-left: 0;
    width: 100%;
  }
  .nav-btn.today-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}
