/* 記事が見つからないときと、記事の最後の「ほかの記事」。
   文字は --text / --muted、面は --surface。テーマが暗いときも同じ変数で読める。 */

.post-miss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin: 0.35rem 0 0.5rem;
  min-height: 96px;
}

.post-miss__face {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--surface);
  box-shadow:
    0 0 0 5px var(--surface),
    0 12px 26px rgb(var(--t-shadow-rgb, 90 50 30) / 0.16);
  pointer-events: none;
}

.post-miss__copy {
  flex: 1 1 12rem;
  min-width: 0;
}

.page .post-miss__copy p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.7;
}

.post-miss__copy p + p {
  margin-top: 0.35rem;
}

.post-miss__copy a {
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.post-miss__copy a:hover {
  color: var(--text);
}

.post-miss__copy a:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.article:empty {
  display: none;
}

.post-more {
  display: flex;
  align-items: center;
  gap: 0.8rem 0.95rem;
  margin-top: 1.35rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 14px);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.post-more:hover {
  color: var(--text);
  transform: translateY(-2px);
  border-color: var(--t-line-strong, var(--border));
  box-shadow: var(--shadow-lift, var(--shadow));
}

.post-more:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}

.post-more__face {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--surface);
  box-shadow:
    0 0 0 4px var(--surface),
    0 8px 18px rgb(var(--t-shadow-rgb, 90 50 30) / 0.16);
  pointer-events: none;
}

.post-more__copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.post-more__title {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
}

.post-more__hint {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 560px) {
  .post-miss__face { width: 76px; height: 76px; }
  .post-more { align-items: flex-start; }
  .post-more__face { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .post-more { transition: none; }
  .post-more:hover { transform: none; }
}
