/**
* 品牌库 /tools/brand
* 极简：细边框 + 大留白 + 站点主题变量；网格自适应铺满，不设内容最大宽度。
*
* 响应式策略（与站点断点一致）：
*   ≥1441px 大屏：加大卡片下限与间距，避免超宽屏挤出十几列过密
*   ≥992px  桌面：网格自适应铺满，工具条单行
*   768–991 平板：分类 chips 单行横滑，统计 KPI 并排，抽屉保持右侧滑出
*   ≤767px  手机：左右留白 12px，工具条拆两行，抽屉改底部上滑 sheet
*   ≤420px  小屏手机：进一步收紧尺寸
*/

.bd-page {
    --bd-line: var(--border-color);
    --bd-tint: color-mix(in srgb, var(--accent) 12%, transparent);
    --bd-tint-strong: color-mix(in srgb, var(--accent) 22%, transparent);
    --bd-gap: 12px;
    padding: 14px 2px 40px;
    color: var(--text-primary);
    -webkit-tap-highlight-color: transparent;
}

/* ---------------- 顶部 ---------------- */
.bd-hero {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 14px 16px; margin-bottom: 12px;
    border: 1px solid var(--bd-line);
    border-radius: var(--radius);
    background: var(--bg-secondary);
}
.bd-hero-icon {
    flex: 0 0 auto; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; border-radius: 12px;
    background: var(--bd-tint);
    border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.bd-hero-text { flex: 1 1 260px; min-width: 0; }
.bd-hero-text h1 { font-size: 19px; line-height: 1.3; margin: 0 0 2px; }
.bd-hero-text p { font-size: 12.5px; color: var(--text-secondary); margin: 0; }
.bd-hero-stat {
    flex: 0 0 auto;
    display: flex; align-items: stretch;
    font-size: 12.5px; color: var(--text-secondary);
}
/* 顶部统计做成 KPI 小块：数字在上、标签在下（手机/平板见各自媒体查询） */
.bd-stat {
    display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 1px;
    padding-left: 14px; margin-left: 14px;
    border-left: 1px solid var(--bd-line);
    white-space: nowrap;
}
.bd-stat:first-child { padding-left: 0; margin-left: 0; border-left: 0; }
.bd-stat b { color: var(--accent); font-weight: 600; font-size: 15px; line-height: 1.25; }
.bd-stat-t { font-style: normal; font-size: 11.5px; color: var(--text-secondary); }

/* ---------------- 说明条 ---------------- */
.bd-notice {
    display: flex; gap: 8px; align-items: flex-start;
    padding: 10px 14px; margin-bottom: 12px;
    font-size: 12.5px; line-height: 1.7; color: var(--text-secondary);
    border: 1px solid var(--bd-line);
    border-radius: var(--radius);
    background: var(--bg-secondary);
}
.bd-notice-ic { flex: 0 0 auto; color: var(--accent); }
.bd-notice a { color: var(--accent); text-decoration: none; }
.bd-notice a:hover { text-decoration: underline; }
.bd-notice b { color: var(--text-primary); font-weight: 600; }

/* ---------------- 搜索 ---------------- */
.bd-search { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.bd-search-box {
    position: relative; flex: 1 1 320px; min-width: 0;
    display: flex; align-items: center;
    border: 1px solid var(--bd-line); border-radius: 10px;
    background: var(--bg-primary);
    transition: border-color .15s, box-shadow .15s;
}
.bd-search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--bd-tint);
}
.bd-search-ic { flex: 0 0 auto; padding: 0 6px 0 12px; font-size: 13px; opacity: .6; }
.bd-input {
    flex: 1 1 auto; min-width: 0; height: 42px;
    font-family: inherit; font-size: 14px;
    color: var(--text-primary); background: transparent;
    border: 0; outline: none;
    -webkit-appearance: none; appearance: none;
}
.bd-input::-webkit-search-cancel-button { display: none; }
.bd-kw-clear {
    flex: 0 0 auto; width: 24px; height: 24px; margin-right: 4px;
    font-size: 12px; line-height: 1; cursor: pointer;
    color: var(--text-secondary); background: transparent;
    border: 0; border-radius: 50%;
}
.bd-kw-clear:hover { background: var(--bd-tint); color: var(--text-primary); }
.bd-kbd {
    flex: 0 0 auto; margin-right: 10px; padding: 1px 6px;
    font-size: 11px; font-family: inherit;
    color: var(--text-secondary);
    border: 1px solid var(--bd-line); border-radius: 5px;
    background: var(--bg-secondary);
}
.bd-btn {
    height: 42px; padding: 0 16px;
    font-size: 13.5px; font-family: inherit;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--bd-line); border-radius: 10px;
    cursor: pointer; transition: background .15s, border-color .15s;
}
.bd-btn:hover { background: var(--bd-tint); border-color: color-mix(in srgb, var(--accent) 34%, transparent); }
.bd-btn-pri { color: #fff; background: var(--accent); border-color: var(--accent); }
.bd-btn-pri:hover { background: color-mix(in srgb, var(--accent) 86%, #000); border-color: color-mix(in srgb, var(--accent) 86%, #000); }

/* ---------------- 分类 chips ---------------- */
.bd-cats {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 12px;
}
.bd-chip {
    display: inline-flex; align-items: center; gap: 5px;
    height: 30px; padding: 0 12px;
    font-size: 12.5px; font-family: inherit;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--bd-line); border-radius: 15px;
    cursor: pointer; white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
}
.bd-chip:hover { background: var(--bd-tint); border-color: color-mix(in srgb, var(--accent) 34%, transparent); }
.bd-chip.is-on { color: #fff; background: var(--accent); border-color: var(--accent); }
.bd-chip-n { font-size: 11px; opacity: .68; }
.bd-chip.is-on .bd-chip-n { opacity: .85; }

/* ---------------- 工具条 ---------------- */
.bd-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 0 2px 10px;
    font-size: 12.5px; color: var(--text-secondary);
}
.bd-count { color: var(--text-primary); }
.bd-count b { color: var(--accent); font-weight: 600; }
.bd-bar-sp { flex: 1 1 auto; }
.bd-selwrap { display: inline-flex; align-items: center; gap: 5px; }
.bd-select {
    height: 30px; padding: 0 6px;
    font-size: 12.5px; font-family: inherit;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--bd-line); border-radius: 8px;
    cursor: pointer; outline: none;
}
.bd-select:focus { border-color: var(--accent); }

.bd-hint {
    padding: 8px 12px; margin-bottom: 10px;
    font-size: 12.5px; line-height: 1.6;
    color: #8a6d1f;
    border: 1px solid rgba(202, 152, 20, .35);
    border-radius: 8px;
    background: rgba(202, 152, 20, .1);
}

/* ---------------- 品牌网格 ---------------- */
.bd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    gap: var(--bd-gap);
}
/* 兜底：.bd-grid / .bd-pager 自己声明了 display:grid|flex，会盖掉浏览器默认的 [hidden]{display:none}，
   查询失败、空结果等场景用 hidden 收起时元素仍会显示（分页器残留上一次的页码按钮），故显式声明 */
.bd-grid[hidden],
.bd-pager[hidden] { display: none !important; }
/* 列表重建后 JS 会把焦点交还网格容器（tabindex=-1，见 renderGrid）：只给键盘操作
   显示焦点环，鼠标点出来的程序化聚焦不画外框（避免整块网格突然套一圈边框） */
.bd-grid:focus { outline: none; }
.bd-grid:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
.bd-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 15px 11px 13px;
    font-family: inherit; text-align: center;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--bd-line); border-radius: 12px;
    cursor: pointer; min-width: 0;
    transition: border-color .15s, transform .15s, background .15s;
}
/* hover 只在真有指针的设备生效，避免触摸端点击后残留悬浮态 */
@media (hover: hover) and (pointer: fine) {
    .bd-card:hover {
        border-color: color-mix(in srgb, var(--accent) 44%, transparent);
        background: var(--bd-tint);
        transform: translateY(-2px);
    }
}
.bd-card:active { background: var(--bd-tint); transform: scale(.985); }
.bd-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.bd-card-logo {
    flex: 0 0 auto; width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; overflow: hidden;
    background: #fff;
    border: 1px solid var(--bd-line);
}
.bd-card-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bd-card-letter {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 700; color: #fff;
    letter-spacing: .5px;
}
.bd-card-name {
    width: 100%; font-size: 13px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; word-break: break-word;
}
.bd-card-cat {
    font-size: 11px; color: var(--text-secondary);
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------------- 空态 ---------------- */
.bd-empty {
    padding: 56px 16px; text-align: center;
    font-size: 13.5px; line-height: 2; color: var(--text-secondary);
    border: 1px dashed var(--bd-line); border-radius: 12px;
}
.bd-empty-ic { display: block; font-size: 32px; margin-bottom: 6px; opacity: .7; }
.bd-empty b { color: var(--text-primary); }

/* ---------------- 分页 ---------------- */
.bd-pager {
    display: flex; align-items: center; justify-content: center;
    gap: 5px; flex-wrap: wrap;
    margin-top: 16px;
}
.bd-pg {
    min-width: 32px; height: 32px; padding: 0 8px;
    font-size: 13px; font-family: inherit;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--bd-line); border-radius: 8px;
    cursor: pointer; transition: background .15s, border-color .15s;
}
.bd-pg:hover:not(:disabled) { background: var(--bd-tint); border-color: color-mix(in srgb, var(--accent) 34%, transparent); }
.bd-pg:disabled { opacity: .42; cursor: not-allowed; }
.bd-pg.is-on { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 600; }
.bd-pg-dots { padding: 0 2px; color: var(--text-secondary); }
.bd-jump { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; font-size: 12.5px; color: var(--text-secondary); }
.bd-jump input {
    width: 56px; height: 32px; box-sizing: border-box;
    font-size: 13px; font-family: inherit; text-align: center;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--bd-line); border-radius: 8px;
    outline: none; -moz-appearance: textfield;
}
.bd-jump input::-webkit-outer-spin-button,
.bd-jump input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bd-jump input:focus { border-color: var(--accent); }

.bd-foot {
    margin-top: 14px; padding-top: 12px;
    font-size: 12px; color: var(--text-secondary); line-height: 1.8;
    border-top: 1px solid var(--bd-line);
}

/* ---------------- 详情抽屉 ---------------- */
.bd-mask {
    position: fixed; inset: 0; z-index: 99990;
    background: rgba(0, 0, 0, .42);
    backdrop-filter: blur(2px);
}
.bd-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 100000;
    width: min(94vw, 430px);
    display: flex; flex-direction: column;
    background: var(--bg-primary);
    border-left: 1px solid var(--bd-line);
    box-shadow: -12px 0 32px rgba(0, 0, 0, .22);
}
.bd-mask[hidden], .bd-drawer[hidden] { display: none !important; }
.bd-drawer-x {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 32px; height: 32px;
    font-size: 14px; line-height: 1; cursor: pointer;
    color: var(--text-secondary); background: var(--bg-secondary);
    border: 1px solid var(--bd-line); border-radius: 50%;
}
.bd-drawer-x:hover { color: var(--text-primary); background: var(--bd-tint); }
.bd-drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 22px 20px 32px; }

.bd-d-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.bd-d-logo {
    flex: 0 0 auto; width: 84px; height: 84px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px; overflow: hidden;
    background: #fff; border: 1px solid var(--bd-line);
}
.bd-d-logo img { width: 100%; height: 100%; object-fit: contain; }
.bd-d-letter {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 700; color: #fff;
}
.bd-d-title { min-width: 0; flex: 1 1 auto; }
.bd-d-title h2 { font-size: 17px; line-height: 1.35; margin: 0 0 4px; word-break: break-word; }
.bd-d-meta { font-size: 12px; color: var(--text-secondary); }

.bd-d-sec { margin-bottom: 14px; }
.bd-d-label {
    font-size: 11.5px; letter-spacing: .3px; color: var(--text-secondary);
    text-transform: uppercase; margin-bottom: 6px;
}
.bd-d-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bd-d-tag {
    display: inline-block; padding: 3px 9px;
    font-size: 12px; color: var(--accent);
    background: var(--bd-tint);
    border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
    border-radius: 12px;
}
/* 只有带 data-bit 的分类标签可点（「只看该分类」）；别名标签纯展示，不应有可点的外观与悬停反馈 */
.bd-d-tag[data-bit] { cursor: pointer; }
.bd-d-tag[data-bit]:hover { background: var(--bd-tint-strong); }
.bd-d-tag[data-bit]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.bd-d-tag.is-plain { cursor: default; color: var(--text-secondary); }
.bd-d-desc {
    font-size: 13.5px; line-height: 1.85; color: var(--text-primary);
    word-break: break-word;
}
.bd-d-desc.is-empty { color: var(--text-secondary); font-style: normal; }
.bd-d-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.bd-d-loading { padding: 14px 0; font-size: 13px; color: var(--text-secondary); }

/* ---------------- 品牌资料（品牌故事/大事记/官方媒体/官方商城/售后） ---------------- */
.bd-d-intro { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--bd-border); }

/* 大事记时间线 */
.bd-dashi { display: flex; flex-direction: column; gap: 2px; }
.bd-dashi-item {
    display: grid; grid-template-columns: 92px 1fr; gap: 12px;
    padding: 7px 0; border-bottom: 1px dashed var(--bd-border);
}
.bd-dashi-item:last-child { border-bottom: 0; }
.bd-dashi-year {
    font-weight: 600; color: var(--accent); font-size: 13px;
    white-space: nowrap; padding-top: 1px;
}
.bd-dashi-text { font-size: 13px; line-height: 1.7; color: var(--text-primary); word-break: break-word; }

/* 官方媒体 / 客服 行内分组 */
.bd-d-sub {
    font-size: 11.5px; color: var(--text-secondary); margin: 8px 0 4px;
}
.bd-d-sub:first-child { margin-top: 0; }
.bd-d-desc.is-inline { display: inline; font-style: normal; margin-left: 4px; }
.bd-d-link {
    display: inline-block; margin: 0 10px 6px 0; padding: 3px 10px;
    font-size: 12.5px; color: var(--accent); text-decoration: none;
    background: var(--bd-tint); border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
    border-radius: 12px;
}
.bd-d-link:hover { background: var(--bd-tint-strong); }

/* 官方商城 / 销售渠道 */
.bd-d-malls { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-d-mall {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
    font-size: 12.5px; color: var(--text-primary); text-decoration: none;
    background: var(--bd-card); border: 1px solid var(--bd-border); border-radius: 10px;
    max-width: 100%;
}
.bd-d-mall:hover { border-color: var(--accent); }
.bd-d-mall-logo { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; flex: 0 0 auto; }
.bd-d-mall span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


/* ---------------- 提示 ---------------- */
.bd-toast {
    position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%);
    z-index: 100001; max-width: 86vw;
    padding: 9px 16px; font-size: 13px; line-height: 1.5;
    color: #fff; background: rgba(20, 22, 26, .92);
    border-radius: 10px; box-shadow: 0 6px 22px rgba(0, 0, 0, .28);
}
.bd-toast[hidden] { display: none !important; }

/* 抽屉内的操作按钮（含 <a> 链接按钮） */
.bd-d-acts .bd-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 36px; padding: 0 13px;
    font-size: 12.5px; text-decoration: none;
}
.bd-d-acts .bd-btn:disabled { opacity: .5; cursor: default; }

/* 抽屉展开时锁定页面滚动 */
body.bd-drawer-open { overflow: hidden; }

/* ---------------- 大屏（超宽显示器不要挤出十几列） ---------------- */
@media (min-width: 1441px) {
    .bd-page { --bd-gap: 14px; padding-top: 18px; }
    .bd-hero { padding: 16px 18px; }
    .bd-grid { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); }
    .bd-card { padding: 17px 12px 15px; }
    .bd-card-logo { width: 70px; height: 70px; }
    .bd-card-name { font-size: 13.5px; }
}

@media (min-width: 1920px) {
    .bd-page { --bd-gap: 16px; }
    .bd-grid { grid-template-columns: repeat(auto-fill, minmax(204px, 1fr)); }
}

/* ---------------- 平板 ---------------- */
@media (max-width: 991px) {
    .bd-page { --bd-gap: 10px; padding: 12px 14px 36px; }
    .bd-hero { padding: 13px 14px; gap: 12px; }
    /* 统计改成并排三块小卡，占满整行 */
    .bd-hero-stat { flex: 1 1 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .bd-stat {
        flex-direction: row; align-items: baseline; justify-content: center; gap: 4px;
        padding: 8px 6px; margin-left: 0; border: 1px solid var(--bd-line); border-radius: 10px;
        background: var(--bg-primary);
    }
    .bd-stat:first-child { padding: 8px 6px; border-left: 1px solid var(--bd-line); }
    /* 分类 chips 单行横滑：省下 2~3 行高度，滑动查看全部分类 */
    .bd-cats {
        flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
        -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
        scrollbar-width: none; margin-bottom: 10px; padding-bottom: 2px;
    }
    .bd-cats::-webkit-scrollbar { display: none; }
    .bd-chip { flex: 0 0 auto; }
    .bd-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* ---------------- 手机 ---------------- */
@media (max-width: 767px) {
    .bd-page { --bd-gap: 8px; padding: 10px 12px 30px; }
    .bd-hero { padding: 12px; gap: 10px; }
    .bd-hero-icon { width: 38px; height: 38px; font-size: 19px; }
    .bd-hero-text h1 { font-size: 17px; }
    .bd-hero-text p { font-size: 12px; }
    .bd-hero-stat { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .bd-stat { flex-direction: column; align-items: center; gap: 1px; padding: 7px 4px; }
    .bd-stat:first-child { padding: 7px 4px; }
    .bd-stat b { font-size: 14px; }
    .bd-stat-t { font-size: 11px; }
    .bd-notice { font-size: 12px; padding: 9px 11px; gap: 6px; margin-bottom: 10px; }
    .bd-search { gap: 8px; margin-bottom: 10px; }
    .bd-search-box { flex: 1 1 100%; }
    .bd-input { height: 44px; font-size: 16px; }
    .bd-kw-clear { width: 32px; height: 32px; font-size: 14px; }
    .bd-kbd { display: none; }
    /* 主按钮略宽，触摸目标更高 */
    .bd-btn { flex: 1 1 0; height: 44px; font-size: 14px; }
    .bd-btn-pri { flex: 1.6 1 0; }
    /* 工具条拆两行：计数整行 + 排序/每页各占一半 */
    .bd-bar { gap: 8px; padding: 0 0 10px; }
    .bd-count { flex: 1 1 100%; }
    .bd-bar-sp { display: none; }
    .bd-selwrap { flex: 1 1 calc(50% - 4px); justify-content: space-between; }
    .bd-select { flex: 1 1 auto; height: 34px; font-size: 13px; }
    .bd-cats { gap: 5px; }
    .bd-chip { height: 32px; padding: 0 12px; font-size: 12px; }
    .bd-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
    .bd-card { padding: 11px 7px 10px; gap: 6px; border-radius: 10px; }
    .bd-card-logo { width: 50px; height: 50px; border-radius: 9px; }
    .bd-card-letter { font-size: 19px; }
    .bd-card-name { font-size: 11.5px; line-height: 1.35; }
    .bd-card-cat { font-size: 10px; }
    .bd-empty { padding: 44px 14px; font-size: 13px; line-height: 1.9; }
    .bd-pager { gap: 4px; margin-top: 14px; }
    .bd-pg { min-width: 32px; height: 32px; padding: 0 6px; font-size: 12.5px; }
    .bd-jump { flex-basis: 100%; justify-content: center; margin: 8px 0 0; }
    .bd-jump input { width: 52px; height: 32px; font-size: 16px; }
    .bd-foot { margin-top: 12px; padding-top: 10px; font-size: 11.5px; }
    /* 详情抽屉改底部上滑 sheet，更符合手机阅读习惯 */
    .bd-drawer {
        top: auto; left: 0; right: 0; bottom: 0;
        width: 100%; max-height: 88vh; overflow: hidden;
        /* dvh：移动端浏览器地址栏收起/展开时 vh 不变化，会露出底部空白或顶到地址栏 */
        max-height: 88dvh;
        border-left: 0; border-top: 1px solid var(--bd-line);
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -14px 40px rgba(0, 0, 0, .26);
        animation: bd-sheet-up .22s ease-out;
    }
    .bd-drawer::before {
        content: ''; position: absolute; top: 7px; left: 50%; z-index: 3;
        width: 40px; height: 4px; margin-left: -20px;
        border-radius: 2px; background: var(--bd-line);
    }
    .bd-drawer-x { top: 14px; right: 12px; }
    .bd-drawer-body { padding: 24px 16px calc(26px + env(safe-area-inset-bottom)); }
    .bd-d-head { gap: 12px; margin-bottom: 14px; }
    .bd-d-logo { width: 68px; height: 68px; }
    .bd-d-letter { font-size: 26px; }
    .bd-d-title h2 { font-size: 16px; }
    .bd-d-desc { font-size: 13px; line-height: 1.8; }
    .bd-d-acts { gap: 8px; margin-top: 16px; }
    .bd-d-acts .bd-btn { flex: 1 1 calc(50% - 4px); height: 40px; }
    .bd-toast { bottom: 22px; max-width: 92vw; font-size: 12.5px; }
}

/* ---------------- 小屏手机 ---------------- */
@media (max-width: 420px) {
    .bd-page { --bd-gap: 7px; padding: 8px 10px 26px; }
    .bd-hero-text h1 { font-size: 16px; }
    .bd-stat b { font-size: 13px; }
    .bd-stat-t { font-size: 10.5px; }
    .bd-grid { grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); }
    .bd-card { padding: 10px 6px 9px; }
    .bd-card-logo { width: 46px; height: 46px; }
    .bd-card-letter { font-size: 18px; }
    .bd-card-name { font-size: 11px; }
    .bd-pg { min-width: 28px; height: 28px; padding: 0 5px; font-size: 12px; }
}

@keyframes bd-sheet-up {
    from { transform: translateY(10%); opacity: .65; }
    to { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .bd-card, .bd-chip, .bd-btn, .bd-pg, .bd-search-box { transition: none; }
    .bd-drawer { animation: none; }
}
