/* ============================================================
   watching.css — styles for /watching and /watching/[domain]
   ============================================================ */

.watching-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Sticky CTA bar */
.watching-sticky-cta {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.watching-sticky-cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.watching-sticky-cta a:hover {
  text-decoration: underline;
}

/* Index header */
.watching-index-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.watching-index-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.watching-index-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 16px;
}
.watching-index-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
}

/* Domain grid */
.watching-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.watching-grid-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  background: var(--card-bg);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.watching-grid-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.watching-grid-favicon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--border);
}
.watching-grid-info {
  flex: 1;
  min-width: 0;
}
.watching-grid-domain {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.watching-grid-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  font-family: var(--font-mono);
}
.watching-grid-changes {
  color: var(--accent);
  font-weight: 600;
}
.watching-grid-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  font-size: 18px;
}

/* Domain page header */
.watching-domain-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.watching-domain-back {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.watching-domain-back:hover { color: var(--accent); }
.watching-domain-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.watching-domain-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 14px;
}
.watching-domain-title em {
  font-style: normal;
  color: var(--accent);
}
.watching-domain-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}
.watching-domain-sub strong {
  color: var(--accent);
  font-weight: 600;
}
.wathing-pages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.wathing-page-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  background: var(--card-bg);
}
.watching-domain-pages-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

/* Change count badge */
.watching-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.watching-count-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Empty state */
.watching-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
  font-size: 15px;
}
.watching-empty a {
  color: var(--accent);
}

/* Pagination */
.watching-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
}
.watching-page-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.watching-page-btn:hover {
  border-color: var(--accent-dim);
  background: var(--card-bg);
}
.watching-page-info {
  color: var(--text-muted);
}

/* Domain card link to perma page */
.watching-domain-permalink {
  display: block;
  margin: 20px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}