/* 羞羞漫画 - 明亮分割风：白底+青绿强调+左右分栏Hero */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

:root {
  --white: #ffffff;
  --bg: #f7fafc;
  --ink: #1a202c;
  --muted: #718096;
  --accent: #0d9488;
  --accent-light: #ccfbf1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.7;
}

/* 顶栏 - 极简 */
.nav {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav .brand {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.nav .brand a {
  color: var(--ink);
  text-decoration: none;
}

.nav .brand a:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 0.5rem;
}

.nav-links a {
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

/* 主区 */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

/* Hero - 左右分割 */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 2.5rem;
}

.hero-split .visual {
  order: 1;
}

.hero-split .visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.hero-split .text {
  order: 2;
}

.hero-split .text h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.hero-split .text .tag {
  font-size: 0.95rem;
  color: var(--muted);
}

/* 文案 - 窄栏阅读感 */
.copy {
  max-width: 640px;
  margin: 0 0 2rem;
}

.copy h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--ink);
}

.copy p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.copy p:last-of-type {
  margin-bottom: 0;
}

/* 入口 - 圆角卡片行 */
.entry-label {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
}

.entry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.entry-card {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.entry-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

.entry-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.entry-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.entry-card .label {
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.entry-card .label:hover {
  color: var(--accent);
}

.entry-card .hint {
  padding: 0 1rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* 列表页 */
.list-head {
  padding: 1.5rem 0 1rem;
}

.list-head h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  margin-bottom: 0.4rem;
}

.list-head p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* 列表 - 简洁行 */
.item-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s;
}

.item:hover {
  border-color: var(--accent);
}

.item img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.item .desc {
  flex: 1;
  min-width: 0;
}

.item .desc h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.item .desc h3 a {
  color: var(--ink);
  text-decoration: none;
}

.item .desc h3 a:hover {
  color: var(--accent);
}

.item .desc p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* 内容页 */
.entry-wrap {
  max-width: 640px;
  padding: 1.5rem 0 2rem;
}

.entry-wrap .title {
  margin-bottom: 1rem;
}

.entry-wrap .title h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 0.35rem;
}

.entry-wrap .title .by {
  font-size: 0.88rem;
  color: var(--muted);
}

.entry-wrap .prose {
  background: var(--white);
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.entry-wrap .prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.25rem 0;
  border: 1px solid #e2e8f0;
}

.entry-wrap .prose h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin: 1.5rem 0 0.6rem;
}

.entry-wrap .prose h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.entry-wrap .prose p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.entry-wrap .prose ul, .entry-wrap .prose ol {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 按钮 */
.actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.actions a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.actions a:hover {
  background: var(--accent);
  color: var(--white);
}

/* 页脚 */
.foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.foot p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.foot a {
  color: var(--accent);
  text-decoration: none;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-split .visual {
    order: 1;
  }

  .hero-split .text {
    order: 2;
  }

  .item {
    flex-direction: column;
  }

  .item img {
    width: 100%;
    height: 160px;
  }

  .entry-row {
    flex-direction: column;
  }

  .entry-card {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .entry-wrap .prose {
    padding: 1.25rem;
  }
}
