/* 博讯共享样式：基于 shared-styles-0911.css 的无 JS 版本。
 * 用本文件完整替换原 CSS，并停用 bx-colibri-article-styles 对应的 PHP 片段。
 * 原 .bx-policy 布局保留；普通文章直接使用 .colibri-post-content。
 * :where() 保持原有选择器权重；:has() 排除已有布局及密码表单。
 * Gutenberg 表格直接匹配 figure.wp-block-table，无需添加 bx-table。
 * 正文 CSS 应在页面头部加载，避免延迟加载造成样式闪动。
 */
figure.wp-caption figcaption,
figure.wp-element-caption,
figcaption.wp-element-caption {
  display: block !important;
}
.wp-block-image figure figcaption {
  display: block !important;
}

.bet-wrapper {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
}
.bet-wrapper * {
    box-sizing: border-box;
}

/* =========================================
   第一部分：深色推荐卡片 (Feature Card)
   ========================================= */
.bet-feature-card {
    background: linear-gradient(145deg, #0b1220 0%, #111827 100%);
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px; /* 与下方列表的间距 */
    color: #e5e7eb;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 电脑端横向布局 */
@media (min-width: 768px) {
    .bet-feature-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .bet-feature-actions {
        align-items: flex-end !important;
    }
}

.bet-feature-card:hover {
    border-color: #374151;
    box-shadow: 0 10px 30px rgba(0, 180, 255, 0.1);
}

/* 顶部标签 */
.bet-feature-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 180, 255, 0.15);
    color: #00b4ff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 180, 255, 0.3);
}

/* 左侧 Logo区域 */
.bet-feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
.bet-score-circle {
    width: 44px;
    height: 44px;
    background: rgba(0, 180, 255, 0.1);
    color: #00b4ff;
    border: 1px solid #00b4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 0 12px rgba(0, 180, 255, 0.3);
}
.bet-feature-logo {
    width: 130px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* 中间 内容区域 */
.bet-feature-content {
    flex: 1;
}
.bet-feature-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 8px 0;
}
.bet-feature-desc {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

/* 右侧 按钮区域 */
.bet-feature-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 150px;
}
.bet-feature-btn {
    background-color: #00b4ff;
    color: #000 !important;
    text-decoration: none !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    display: block;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.25);
    transition: all 0.2s;
}
.bet-feature-btn:hover {
    background-color: #33c3ff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.5);
}
.bet-feature-link {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}
.bet-feature-link:hover { color: #00b4ff; }


/* 深色推荐卡片独立排版：正文通用标题、段落及链接规则已排除此组件。 */
.bet-feature-card {
    box-sizing: border-box;
    min-width: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

.bet-feature-card *,
.bet-feature-card *::before,
.bet-feature-card *::after {
    box-sizing: border-box;
}

.bet-feature-card .bet-feature-content {
    min-width: 0;
}

/* 标题不采用文章 H2 的红色边线、蓝色文字或手机字号。 */
.bet-feature-card .bet-feature-title {
    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #fff !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none;
    text-transform: none !important;
    letter-spacing: normal;
}

.bet-feature-card .bet-feature-desc {
    font-family: inherit;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #9ca3af;
    margin: 0 !important;
}

.bet-feature-card .bet-feature-badge,
.bet-feature-card .bet-score-circle {
    margin: 0;
}

/* 链接颜色由卡片控制，按钮保持蓝底黑字。 */
.bet-feature-card a {
    color: #00b4ff !important;
    text-decoration: none !important;
}

.bet-feature-card .bet-feature-title a {
    color: inherit !important;
}

.bet-feature-card .bet-feature-btn,
.bet-feature-card .bet-feature-btn:hover,
.bet-feature-card .bet-feature-btn:focus-visible,
.bet-feature-card .bet-feature-btn:visited {
    color: #000 !important;
    text-decoration: none !important;
}

.bet-feature-card .bet-feature-btn {
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.bet-feature-card .bet-feature-link {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280 !important;
}

.bet-feature-card .bet-feature-link:hover,
.bet-feature-card .bet-feature-link:focus-visible {
    color: #00b4ff !important;
}

.bet-feature-card a:focus-visible {
    outline: 3px solid #00b4ff;
    outline-offset: 4px;
}

/* =========================================
   第二部分：清爽列表网格 (Grid List)
   ========================================= */
.bet-grid-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 5px;
    font-weight: 600;
    border-left: 4px solid #4cae4c;
    padding-left: 10px;
}

.bet-grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
/* 平板双列 */
@media (min-width: 600px) { .bet-grid-container { grid-template-columns: repeat(2, 1fr); } }
/* 电脑四列 */
@media (min-width: 900px) { .bet-grid-container { grid-template-columns: repeat(4, 1fr); } }

.bet-list-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.bet-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    border-color: #4cae4c;
}

.bet-list-logo {
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.bet-list-logo img {
    max-height: 100%;
    max-width: 120px;
    object-fit: contain;
}

.bet-list-desc {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    text-align: left;
    width: 100%;
    margin-bottom: 12px;
}
.bet-list-desc strong { color: #333; }
.bet-list-desc a { color: #4cae4c; text-decoration: none; }

.bet-list-btn {
    display: block;
    width: 100%;
    padding: 8px 0;
    background-color: #4cae4c; /* 绿色按钮 */
    color: #ffffff !important;
    text-align: center;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.2s;
}
.bet-list-btn:hover { background-color: #449d44; }

/* 底部横幅 */
.bet-footer-box {
    background: #f9fff9;
    border: 1px dashed #4cae4c;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-top: 25px;
}
.bet-footer-btn {
    display: inline-block;
    padding: 6px 20px;
    background-color: #4cae4c;
    color: #fff !important;
    border-radius: 50px;
    text-decoration: none !important;
    font-size: 13px;
    margin-top: 5px;
}
.newest-articles >li >div,time{
		font-weight: 400 !important;
   font-size: 16px !important;
   line-height: 1.6 !important;
   color: rgb(37, 41, 42);
}

.tpnpn-archive-title{    font-size: 2em;text-align:center}
/* 博讯说明页面样式。粘贴到 外观 → 自定义 → 额外 CSS。 */
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))){--bx-blue:#243983;--bx-red:#b92d38;--bx-ink:#25292a;--bx-muted:#586174;--bx-line:#dfe4ed;--bx-soft:#f4f6fa;max-width:1120px!important;margin:32px auto!important;color:var(--bx-ink);font-family:"Open Sans","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.85;overflow-wrap:anywhere;text-align:left}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))),:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) *,.bx-policy-footer,.bx-policy-footer *{box-sizing:border-box}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-hero{padding:42px 44px 32px;border-top:4px solid var(--bx-red);border-bottom:1px solid var(--bx-line);background:linear-gradient(115deg,#fff 38%,#f1f4fa 100%);margin:0}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-kicker{color:var(--bx-red);font-size:13px;font-weight:700;letter-spacing:.09em;margin:0 0 14px}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h1:where(:not(.bet-feature-card, .bet-feature-card *)){font-family:Montserrat,"PingFang SC","Microsoft YaHei",sans-serif!important;color:var(--bx-blue)!important;font-size:clamp(28px,3.2vw,40px)!important;line-height:1.35!important;font-weight:700!important;margin:0 0 18px!important;text-transform:none!important}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-lead{font-size:18px;line-height:1.75;color:var(--bx-muted);max-width:800px;margin:0}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-body{padding:8px 44px 36px;background:#fff;margin:0}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-section{padding:28px 0;border-bottom:1px solid var(--bx-line);margin:0}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h2:where(:not(.bet-feature-card, .bet-feature-card *)){font-family:Montserrat,"PingFang SC","Microsoft YaHei",sans-serif!important;font-size:24px!important;line-height:1.5!important;font-weight:700!important;color:var(--bx-blue)!important;margin:0 0 16px!important;padding-left:13px;border-left:3px solid var(--bx-red);text-transform:none!important}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h3:where(:not(.bet-feature-card, .bet-feature-card *)){font-size:19px!important;line-height:1.5!important;color:var(--bx-blue)!important;font-weight:700!important;margin:24px 0 10px!important}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) p:where(:not(.bet-feature-card, .bet-feature-card *)){font-size:inherit;line-height:inherit;margin:0 0 14px}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) p:where(:not(.bet-feature-card, .bet-feature-card *)):last-child{margin-bottom:0}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) a:where(:not(.bet-feature-card, .bet-feature-card *)){color:var(--bx-blue)!important;text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:1px}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) a:where(:not(.bet-feature-card, .bet-feature-card *)):hover{color:var(--bx-red)!important}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) a:where(:not(.bet-feature-card, .bet-feature-card *)):focus-visible,.bx-policy-footer a:focus-visible{outline:3px solid #c89523;outline-offset:4px;border-radius:2px}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) ul:where(:not(.bet-feature-card, .bet-feature-card *)),:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) ol:where(:not(.bet-feature-card, .bet-feature-card *)){padding-left:24px;margin:12px 0 18px}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) li:where(:not(.bet-feature-card, .bet-feature-card *)){margin:0 0 9px;line-height:1.85}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) li:where(:not(.bet-feature-card, .bet-feature-card *))::marker{color:var(--bx-blue)}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-note{background:var(--bx-soft);border-left:4px solid var(--bx-blue);padding:20px 24px;margin:26px 0 4px;border-radius:0 6px 6px 0}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-note p:first-child{color:var(--bx-blue);margin-bottom:8px}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0 0}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-card{background:var(--bx-soft);border:1px solid var(--bx-line);border-radius:6px;padding:22px;margin:0!important;min-width:0}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-card h3{margin:0 0 12px!important}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-card p{margin-bottom:10px}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-card p:last-child{margin-bottom:0;font-weight:600}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table){margin:18px 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) table{width:100%;border-collapse:collapse;table-layout:auto;font-size:15px;margin:0;color:var(--bx-ink)}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) th,:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) td{border:1px solid var(--bx-line);padding:13px 15px;text-align:left;vertical-align:top;line-height:1.75;min-width:88px}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) th{background:var(--bx-blue);color:#fff!important;font-weight:600}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) tbody tr:nth-child(even){background:#f7f8fb}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) figcaption{font-size:13px;color:var(--bx-muted);margin:10px 0 0;text-align:left}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-action a{display:inline-block;background:var(--bx-blue);color:#fff!important;padding:10px 20px;border-radius:4px;text-decoration:none!important;font-weight:600}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-action a:hover{background:#182a69}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-related{padding-top:30px;margin:0}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-related-links{font-size:15px;line-height:2.2}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-pending{background:#fff3d9;color:#775116;padding:2px 4px}
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) [id]{scroll-margin-top:110px}
.bx-policy-footer{font-family:"Open Sans","PingFang SC","Microsoft YaHei",sans-serif;border-top:1px solid #dfe4ed;padding:24px 20px;background:#f4f6fa;color:#586174;text-align:center;font-size:13px;line-height:1.8}
.bx-policy-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;margin-bottom:14px}
.bx-policy-footer a{color:#243983!important;text-decoration:underline;text-underline-offset:3px;font-size:14px}
.bx-policy-footer p{max-width:980px;margin:8px auto!important;font-size:13px!important;line-height:1.8!important}
@media(max-width:680px){:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))){margin:16px auto!important;font-size:16px}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-hero{padding:28px 20px 24px}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-body{padding:0 20px 24px}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-lead{font-size:16px}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h2:where(:not(.bet-feature-card, .bet-feature-card *)){font-size:21px!important}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h3:where(:not(.bet-feature-card, .bet-feature-card *)){font-size:18px!important}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-grid{grid-template-columns:1fr}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-card{padding:18px}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-note{padding:16px}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-section{padding:24px 0}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) table{min-width:540px}:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) th,:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) td{padding:10px 12px}.bx-policy-footer nav{gap:10px 18px}}
@media(prefers-reduced-motion:reduce){:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) *{scroll-behavior:auto!important}}

/* 主容器允许随父级宽度收缩 */
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) {
    --bx-columns: repeat(2, minmax(0, 1fr));

    width: 100% !important;
    max-width: 1120px !important;
    min-width: 0 !important;
}

/* 防止 Gutenberg 分组撑宽内容 */
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .wp-block-group,
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .wp-block-group__inner-container {
    min-width: 0 !important;
    max-width: 100% !important;
}

:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .wp-block-group__inner-container {
    width: 100% !important;
}

:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))),
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) *,
.bx-policy-footer,
.bx-policy-footer * {
    box-sizing: border-box;
}

/* 标题、网址、邮箱与正文允许换行 */
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h1:where(:not(.bet-feature-card, .bet-feature-card *)),
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h2:where(:not(.bet-feature-card, .bet-feature-card *)),
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h3:where(:not(.bet-feature-card, .bet-feature-card *)),
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) p:where(:not(.bet-feature-card, .bet-feature-card *)),
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) li:where(:not(.bet-feature-card, .bet-feature-card *)),
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) a:where(:not(.bet-feature-card, .bet-feature-card *)),
.bx-policy-footer a,
.bx-policy-footer p {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* 同时兼容有、无 inner-container 的区块结构 */
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-grid,
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-grid > .wp-block-group__inner-container {
    display: grid !important;
    grid-template-columns: var(--bx-columns) !important;
    gap: 18px !important;
}

:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-grid > .wp-block-group__inner-container {
    grid-column: 1 / -1;
    margin: 0 !important;
}

:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-card {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* 表格取消原来的 540px 最小宽度 */
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
}

:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) th,
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) td {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* 按钮文字过长时换行 */
:is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-action a {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-align: center;
}

/* 页脚链接自动换行 */
.bx-policy-footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.bx-policy-footer nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
}

.bx-policy-footer nav a {
    min-width: 0;
    max-width: 100%;
}

/* 平板及以下 */
@media (max-width: 1024px) {
    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) {
        --bx-columns: minmax(0, 1fr);
        margin: 20px auto !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-hero {
        padding: 30px 28px 24px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-body {
        padding: 0 28px 28px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-lead {
        font-size: 17px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-card {
        padding: 20px !important;
    }
}

/* 手机 */
@media (max-width: 680px) {
    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) {
        margin: 12px auto !important;
        font-size: 16px;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-hero {
        padding: 24px 16px 20px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-body {
        padding: 0 16px 24px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h1:where(:not(.bet-feature-card, .bet-feature-card *)) {
        font-size: 28px !important;
        line-height: 1.4 !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h2:where(:not(.bet-feature-card, .bet-feature-card *)) {
        font-size: 21px !important;
        padding-left: 10px;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) h3:where(:not(.bet-feature-card, .bet-feature-card *)) {
        font-size: 18px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-lead {
        font-size: 16px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-section {
        padding: 22px 0 !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-card,
    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-note {
        padding: 16px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-grid,
    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) .bx-grid > .wp-block-group__inner-container {
        gap: 14px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) table {
        font-size: 14px !important;
    }

    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) th,
    :is(.bx-policy, :where(body.single-post) .colibri-post-content:where(:not(.bx-policy *, :has(.bx-policy), :has(.post-password-form)))) :is(.bx-table, :where(figure).wp-block-table) td {
        padding: 10px 8px !important;
        line-height: 1.7;
    }

    .bx-policy-footer {
        padding: 20px 16px;
    }

    .bx-policy-footer nav {
        gap: 12px 18px !important;
    }
}
.bx-breadcrumbs {
    width: 100%;
    min-width: 0;
    margin: 12px 0;
    color: #586174;
    font-size: 14px;
    line-height: 1.8;
}

.bx-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bx-breadcrumbs ol > li {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit;
    line-height: inherit;
}

.bx-breadcrumbs a {
    color: #243983 !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

.bx-breadcrumbs a:hover {
    color: #b92d38 !important;
    text-decoration: underline !important;
}

.bx-breadcrumbs a:focus-visible {
    outline: 2px solid #243983;
    outline-offset: 3px;
}

.bx-breadcrumbs .bx-breadcrumb-separator {
    color: #9299a5;
}

.bx-breadcrumbs [aria-current="page"] {
    color: #586174;
    white-space: nowrap;
}
/* 赛果卡片 · 追加到 外观 → 自定义 → 额外 CSS */
.bx-result{--bx-blue:#243983;--bx-red:#b92d38;--bx-ink:#25292a;--bx-muted:#586174;--bx-line:#dfe4ed;--bx-soft:#f4f6fa;--bx-green:#1f7a4d;--bx-amber:#b7791f;
  box-sizing:border-box;display:grid;grid-template-columns:auto 1fr;gap:6px 14px;align-items:baseline;
  margin:0 0 24px;padding:16px 20px;background:var(--bx-soft);border:1px solid var(--bx-line);border-left:4px solid var(--bx-blue);border-radius:0 6px 6px 0;
  font-family:"Open Sans","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.7;color:var(--bx-ink);text-align:left}
.bx-result *{box-sizing:border-box;margin:0;padding:0}
.bx-result dt{color:var(--bx-muted);font-weight:400;white-space:nowrap}
.bx-result dd{min-width:0;overflow-wrap:anywhere}
.bx-result .bx-score{font-family:Montserrat,"PingFang SC","Microsoft YaHei",sans-serif;font-size:19px;font-weight:700;color:var(--bx-blue)}
.bx-result .bx-date{color:var(--bx-muted);font-size:14px;margin-left:6px;font-weight:400}
.bx-result .bx-tag{display:inline-block;padding:1px 9px;margin-left:6px;border-radius:3px;font-size:13px;font-weight:600;color:#fff;background:var(--bx-muted);vertical-align:1px}
.bx-result.is-hit,.bx-result.is-half-hit{border-left-color:var(--bx-green)}
.bx-result.is-miss,.bx-result.is-half-miss{border-left-color:var(--bx-red)}
.bx-result.is-push{border-left-color:var(--bx-amber)}
.bx-result.is-multi{border-left-color:var(--bx-blue)}
.bx-result .bx-tag.is-hit{background:var(--bx-green)}
.bx-result .bx-tag.is-miss{background:var(--bx-red)}
.bx-result .bx-tag.is-push{background:var(--bx-amber)}
.bx-result .bx-tag.is-half-hit{background:#fff;color:var(--bx-green);border:1.5px solid var(--bx-green);padding:0 8px}
.bx-result .bx-tag.is-half-miss{background:#fff;color:var(--bx-red);border:1.5px solid var(--bx-red);padding:0 8px}
.bx-result .bx-sep{grid-column:1/-1;height:0;border-top:1px dashed var(--bx-line);margin:4px 0}
.bx-result .bx-odds{font-variant-numeric:tabular-nums;color:var(--bx-muted);font-size:14px}
@media(max-width:680px){
  .bx-result{grid-template-columns:1fr;gap:2px;padding:14px 16px;font-size:14px}
  .bx-result dt{margin-top:8px;font-size:13px}
  .bx-result dt:first-child{margin-top:0}
  .bx-result .bx-score{font-size:18px}
  .bx-result .bx-sep{margin:6px 0 0}
}


/* 无包裹文章：将原 bx-body 的背景和内边距交给正文容器。
 * 不复制 bx-body 的 margin: 0，以保留文章外层的居中与上下间距。
 * 已有 bx-policy 布局不匹配本段，避免重复留白。
 */
:where(body.single-post) .colibri-post-content:where(:not(.bx-policy, .bx-policy *, :has(.bx-policy), :has(.post-password-form))) {
    padding: 8px 44px 36px;
    background: #fff;
}

@media (max-width: 1024px) {
    :where(body.single-post) .colibri-post-content:where(:not(.bx-policy, .bx-policy *, :has(.bx-policy), :has(.post-password-form))) {
        padding: 0 28px 28px !important;
    }
}

@media (max-width: 680px) {
    :where(body.single-post) .colibri-post-content:where(:not(.bx-policy, .bx-policy *, :has(.bx-policy), :has(.post-password-form))) {
        padding: 0 16px 24px !important;
    }
}
