/* 26 · 狗狗品种识别 —— 视觉母题「犬种档案」：石板蓝灰 / 档案章 / 特征芯片 / 候选卡
   独立布局：七组筛选芯片、三列档案卡、虚线 AI 区，与猫种页的网格完全不同。 */
.t28.db-wrap {
    --t28-bg: #f3f6f9;
    --t28-surface: #ffffff;
    --t28-surface-2: #eaf0f5;
    --t28-ink: #1e2d3d;
    --t28-sub: #4a5d70;
    --t28-muted: #8092a3;
    --t28-line: #dbe4ec;
    --t28-accent: #356b9c;
    --t28-accent-2: #cf8a3c;
    --t28-soft: #e4eef7;
    --t28-on-accent: #ffffff;
    --t28-ok: #2c7a63;
    --t28-warn: #9a6b12;
    --t28-danger: #a64848;
    --t28-ok-soft: #e0f1ea;
    --t28-warn-soft: #faf0d5;
    --t28-danger-soft: #f8e6e6;
    --t28-radius: 10px;
    --t28-radius-sm: 6px;
    --t28-font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    --t28-shadow: 0 1px 2px rgba(30,45,61,.06), 0 10px 26px rgba(30,45,61,.07);
}
:root[data-theme="dark"] .t28.db-wrap {
    --t28-bg: #0d141c;
    --t28-surface: #16212c;
    --t28-surface-2: #1c2a37;
    --t28-ink: #e9f1f8;
    --t28-sub: #b5c6d5;
    --t28-muted: #879bad;
    --t28-line: #2a3a49;
    --t28-accent: #83b8e8;
    --t28-accent-2: #e8b575;
    --t28-soft: #20354a;
    --t28-on-accent: #0d141c;
    --t28-ok: #79cdac;
    --t28-warn: #e8c477;
    --t28-danger: #f09a9a;
    --t28-ok-soft: #18342c;
    --t28-warn-soft: #372c18;
    --t28-danger-soft: #382020;
    --t28-shadow: 0 8px 28px rgba(0,0,0,.42);
}
.db-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: center; padding: 34px 0 26px; }
.db-hero h1 em { display: block; font-style: normal; font-size: .52em; color: var(--t28-accent-2); margin-top: 10px; }
.db-badge { width: 168px; height: 168px; margin: 0 auto; border-radius: 50%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2px; color: #fff;
    background: radial-gradient(circle at 40% 32%, #4a7ba8, #234a70);
    border: 6px double rgba(255,255,255,.35); box-shadow: 0 14px 34px rgba(30,60,90,.28); }
.db-badge span { font-size: 12px; letter-spacing: .3em; opacity: .85; }
.db-badge b { font-size: 52px; line-height: 1; font-weight: 800; }
.db-badge small { font-size: 11.5px; opacity: .85; }

.db-quick { border-top: 3px solid var(--t28-accent); }
.db-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.db-fgroup { padding: 12px; border-radius: 8px; background: var(--t28-surface-2); border: 1px solid var(--t28-line); }
.db-fgroup > label { display: block; font-size: 13.5px; font-weight: 750; margin-bottom: 8px; }

/* 候选档案卡 */
.db-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.db-card { padding: 18px; border-radius: 10px; background: var(--t28-surface); border: 1px solid var(--t28-line);
    border-top: 4px solid var(--t28-accent); box-shadow: var(--t28-shadow); }
.db-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.db-avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--t28-soft);
    display: grid; place-items: center; font-size: 24px; }
.db-card h3 { font-size: 18px; }
.db-card .db-rank { font-size: 11.5px; color: var(--t28-muted); }
.db-card dl { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 5px 8px; font-size: 13px; margin: 0 0 12px; }
.db-card dt { color: var(--t28-muted); }
.db-card dd { margin: 0; color: var(--t28-sub); }
.db-hits { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.db-hits span { font-size: 11.5px; padding: 2px 7px; border-radius: 4px; background: var(--t28-ok-soft); color: var(--t28-ok); }
.db-card .db-mix { font-size: 12.5px; color: var(--t28-warn); line-height: 1.65; }

/* AI 区：虚线框强调「验证后才请求」 */
.db-ai-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    margin-top: 18px; padding: 18px; border-radius: 10px; border: 2px dashed var(--t28-accent); background: var(--t28-soft); }
.db-ai-box b { font-size: 16px; }
.db-ai-box p { font-size: 13px; color: var(--t28-sub); margin: 5px 0 0; line-height: 1.7; }

@media (max-width: 860px) { .db-hero { grid-template-columns: minmax(0, 1fr); } .db-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } .db-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .db-features { grid-template-columns: minmax(0, 1fr); } .db-badge { width: 130px; height: 130px; } }
