/* 蘑菇视频 · 蘑菇污视频 · 玫瑰深色 · 单页 bento 网格 */
:root {
  --bg: #1c1917;
  --tile: #292524;
  --card: #44403c;
  --edge: #57534e;
  --text: #fafaf9;
  --text-2: #d6d3d1;
  --text-3: #a8a29e;
  --accent: #be185d;
  --accent-2: #ec4899;
  --accent-bg: rgba(190, 24, 93, 0.14);
  --rad: 10px;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", ui-sans-serif, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* 顶栏 */
.hd {
  background: var(--tile);
  border-bottom: 1px solid var(--edge);
  padding: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.hd-in {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hd-logo {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.hd-logo:hover { color: var(--accent-2); }
.hd-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}
.hd-nav a {
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s, background 0.2s;
}
.hd-nav a:hover, .hd-nav a.on { color: var(--accent-2); background: var(--accent-bg); }

/* 主区：单一大网格 bento */
.bento {
  max-width: 1020px;
  margin: 0 auto;
  padding: 1.2rem 1rem 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
}

/* 首格：介绍（占 2 列） */
.bento-intro {
  grid-column: span 2;
  background: var(--tile);
  border: 1px solid var(--edge);
  border-radius: var(--rad);
  padding: 1.2rem 1.3rem;
}
.bento-intro h2 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 0.6rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--accent);
}
.bento-intro p {
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.78;
}
.bento-intro p:last-of-type { margin-bottom: 0; }
.bento-intro strong { color: var(--accent-2); }

/* 入口格：小卡片 */
.bento-entry {
  background: var(--tile);
  border: 1px solid var(--edge);
  border-radius: var(--rad);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
  display: block;
}
.bento-entry:hover { border-color: var(--accent); background: var(--accent-bg); }
.bento-entry .img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--card);
}
.bento-entry .img img { width: 100%; height: 100%; object-fit: cover; }
.bento-entry .lb {
  padding: 0.55rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 600;
}
.bento-entry:hover .lb { color: var(--accent-2); }

/* 推荐格：略大卡片，图+标题+一行描述 */
.bento-rec {
  grid-column: span 1;
  background: var(--tile);
  border: 1px solid var(--edge);
  border-radius: var(--rad);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
  display: block;
}
.bento-rec:hover { border-color: var(--accent); background: var(--accent-bg); }
.bento-rec .img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--card);
}
.bento-rec .img img { width: 100%; height: 100%; object-fit: cover; }
.bento-rec .lb {
  padding: 0.5rem 0.65rem;
}
.bento-rec .lb .t { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.12rem; }
.bento-rec:hover .lb .t { color: var(--accent-2); }
.bento-rec .lb .d { font-size: 0.74rem; color: var(--text-3); }

/* 区块标题占满行 */
.bento-head {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: -0.25rem;
}

/* 列表页（单列） */
.list-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 1.2rem 1rem 1.8rem;
}
.list-cap { margin-bottom: 1rem; }
.list-cap h1 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.28rem; }
.list-cap p { font-size: 0.84rem; color: var(--text-2); }
.list-items { display: flex; flex-direction: column; gap: 0.6rem; }
.list-it {
  display: flex;
  gap: 1rem;
  padding: 0.7rem;
  background: var(--tile);
  border: 1px solid var(--edge);
  border-radius: var(--rad);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.list-it:hover { border-color: var(--accent); }
.list-it .thumb {
  width: 130px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.list-it .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-it .inf { flex: 1; min-width: 0; }
.list-it .inf h2 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.list-it:hover .inf h2 { color: var(--accent-2); }
.list-it .inf .d { font-size: 0.76rem; color: var(--text-3); }

/* 内容页 */
.art-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 1.2rem 1rem 1.8rem;
  max-width: 640px;
}
.art-wrap .art-h { margin-bottom: 1rem; }
.art-wrap .art-h h1 { font-size: clamp(1rem, 2vw, 1.26rem); font-weight: 700; margin-bottom: 0.26rem; }
.art-wrap .art-h .m { font-size: 0.76rem; color: var(--text-3); }
.art-wrap .art-b p {
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.76;
}
.art-wrap .art-b h2 { font-size: 0.94rem; font-weight: 600; color: var(--accent-2); margin: 1.1rem 0 0.4rem; }
.art-wrap .art-b h3 { font-size: 0.86rem; font-weight: 600; margin: 0.9rem 0 0.35rem; }
.art-wrap .art-b img {
  width: 100%;
  border-radius: var(--rad);
  margin: 0.9rem 0;
  border: 1px solid var(--edge);
}
.art-wrap .art-f {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--edge);
  font-size: 0.76rem;
}
.art-wrap .art-f a { color: var(--accent-2); text-decoration: none; }
.art-wrap .art-f a:hover { text-decoration: underline; }

.ft {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--edge);
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: center;
}
.ft p { margin-bottom: 0.12rem; }

/* 响应式 bento */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-intro { grid-column: span 2; }
  .bento-rec { grid-column: span 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; padding: 1rem 0.85rem 1.5rem; }
  .bento-intro { grid-column: span 1; }
  .bento-entry { grid-column: span 1; }
  .bento-rec { grid-column: span 1; }
  .bento-head { grid-column: 1 / -1; }
  .list-it { flex-direction: column; }
  .list-it .thumb { width: 100%; max-height: 140px; aspect-ratio: 16/9; }
}
