/* 蘑菇官方5秒跳转 · 蘑菇TV官方下载 · 翡翠深色 · 列表优先堆叠 */
:root {
  --bg: #022c22;
  --bar: #064e3b;
  --block: #065f46;
  --card: #047857;
  --line: #0d9488;
  --text: #f0fdf4;
  --text-2: #bbf7d0;
  --text-3: #6ee7b7;
  --accent: #10b981;
  --accent-2: #34d399;
  --accent-bg: rgba(16, 185, 129, 0.2);
  --rad: 8px;
}

*, *::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;
}

/* 顶栏：极简 */
.bar {
  background: var(--bar);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.bar-in {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.bar-logo {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.bar-logo:hover { color: var(--accent-2); }
.bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}
.bar-links a {
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s, background 0.2s;
}
.bar-links a:hover, .bar-links a.on { color: var(--accent-2); background: var(--accent-bg); }

/* 主区：单列堆叠 */
.outer {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.2rem 1rem 1.8rem;
}

/* 区块1：入口与下载（竖向列表，图标+标题+一行） */
.entry-sec {
  margin-bottom: 1.8rem;
}
.entry-sec .st {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 0.6rem;
}
.entry-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.entry-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: var(--block);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.entry-list a:hover { border-color: var(--accent-2); background: var(--accent-bg); }
.entry-list .ic {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.entry-list .ic img { width: 100%; height: 100%; object-fit: cover; }
.entry-list .tx { flex: 1; min-width: 0; }
.entry-list .tx .t { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.1rem; }
.entry-list a:hover .tx .t { color: var(--accent-2); }
.entry-list .tx .d { font-size: 0.75rem; color: var(--text-3); }

/* 区块2：关于（纯文字） */
.about-sec {
  margin-bottom: 1.8rem;
}
.about-sec .st {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 0.6rem;
  padding-left: 0.45rem;
  border-left: 3px solid var(--accent);
}
.about-sec .prose {
  background: var(--block);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 1.25rem 1.35rem;
}
.about-sec .prose p {
  margin-bottom: 0.95rem;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.78;
}
.about-sec .prose p:last-of-type { margin-bottom: 0; }
.about-sec .prose strong { color: var(--accent-2); }

/* 区块3：相关阅读（竖向列表，小图+标题+一行） */
.read-sec {
  margin-bottom: 1rem;
}
.read-sec .st {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 0.6rem;
}
.read-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.read-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.75rem;
  background: var(--block);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.read-list a:hover { border-color: var(--accent-2); background: var(--accent-bg); }
.read-list .th {
  width: 56px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.read-list .th img { width: 100%; height: 100%; object-fit: cover; }
.read-list .tx { flex: 1; min-width: 0; }
.read-list .tx .t { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.1rem; }
.read-list a:hover .tx .t { color: var(--accent-2); }
.read-list .tx .d { font-size: 0.73rem; color: var(--text-3); }

/* 列表页 */
.list-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.2rem 1rem 1.8rem;
}
.list-page .cap { margin-bottom: 1rem; }
.list-page .cap h1 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.26rem; }
.list-page .cap p { font-size: 0.82rem; color: var(--text-2); }
.list-page .rows { display: flex; flex-direction: column; gap: 0.55rem; }
.list-page .row {
  display: flex;
  gap: 0.9rem;
  padding: 0.65rem 0.8rem;
  background: var(--block);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.list-page .row:hover { border-color: var(--accent-2); }
.list-page .row .th {
  width: 120px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.list-page .row .th img { width: 100%; height: 100%; object-fit: cover; }
.list-page .row .inf { flex: 1; min-width: 0; }
.list-page .row .inf h2 { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.18rem; }
.list-page .row:hover .inf h2 { color: var(--accent-2); }
.list-page .row .inf .d { font-size: 0.74rem; color: var(--text-3); }

/* 内容页 */
.art-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.2rem 1rem 1.8rem;
  max-width: 620px;
}
.art-page .ah { margin-bottom: 0.95rem; }
.art-page .ah h1 { font-size: clamp(0.98rem, 1.8vw, 1.22rem); font-weight: 700; margin-bottom: 0.24rem; }
.art-page .ah .m { font-size: 0.74rem; color: var(--text-3); }
.art-page .ab p {
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.76;
}
.art-page .ab h2 { font-size: 0.9rem; font-weight: 600; color: var(--accent-2); margin: 1rem 0 0.35rem; }
.art-page .ab h3 { font-size: 0.84rem; font-weight: 600; margin: 0.85rem 0 0.3rem; }
.art-page .ab img {
  width: 100%;
  border-radius: var(--rad);
  margin: 0.9rem 0;
  border: 1px solid var(--line);
}
.art-page .af {
  margin-top: 1.2rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
}
.art-page .af a { color: var(--accent-2); text-decoration: none; }
.art-page .af a:hover { text-decoration: underline; }

.ft {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  font-size: 0.7rem;
  color: var(--text-3);
  text-align: center;
}
.ft p { margin-bottom: 0.1rem; }

@media (max-width: 600px) {
  .list-page .row { flex-direction: column; }
  .list-page .row .th { width: 100%; max-height: 130px; aspect-ratio: 16/9; }
  .read-list .th { width: 48px; }
  .entry-list .ic { width: 34px; height: 34px; }
}
