/* yaml-validator yst 主题适配 */

body.yst-page {
    background: var(--yst-bg, #f5fafa) !important;
    margin: 0;
}

/* 隐藏原工具的 page-header (已用 yst-tp-header 替代) */
.yv-container > .page-header {
    display: none !important;
}

/* container 不再自定义全屏布局 */
.yv-container {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 隐藏底部冗余区域 (友情链接、SEO 内容、相关工具等)
   它们不直接作为子元素, 所以用 ~ 选择器 */
.yv-container > section.tools-section,
.yv-container > section.usage-section,
.yv-container > section.tip-section,
.yv-container > .footer-bottom,
.yv-container > footer {
    display: none !important;
}

/* 工具栏 / main-content 卡片化 */
.yv-container > .toolbar,
.yv-container > .main-content {
    background: var(--yst-bg-card);
    border: 1px solid var(--yst-border);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
    margin-bottom: 14px;
}
