/* 大橙世界 · 子频道补充样式（在 style.css 之后加载） */

/* 栏目卡片 */
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.col-card {
  display: block;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.col-card:hover { transform: translateY(-2px); border-color: #e6d3bd; text-decoration: none; }

.col-emoji { font-size: 26px; line-height: 1; }

.col-card h3 {
  margin: 12px 0 6px;
  font-size: 18px;
  color: var(--ink);
}

.col-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* 视频列表 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-card .thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-soft));
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .04em;
}

.video-card .vmeta { padding: 14px 16px 16px; }
.video-card h3 { margin: 0 0 4px; font-size: 16.5px; }
.video-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* 提示框 */
.note-box {
  margin: 30px 0 0;
  padding: 18px 20px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.note-box p { margin: 0 0 12px; }
.note-box pre {
  margin: 10px 0 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #201a15;
  color: #f3e9dd;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}
.note-box code { font-family: var(--font-mono); }

/* 视频嵌入容器（16:9 自适应） */
.embed {
  position: relative;
  padding-top: 56.25%;
  margin: 22px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 720px) {
  .columns { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}
