/* 品牌色大全（brand-color，2026-11-24）
   注意：页面内容位于 .entry-content.u-text-format 内时，
   web.css 有 `.u-text-format a { background: linear-gradient(...) }`，
   所有链接样式必须用双类选择器并显式清 background-image。 */

/* ---------- 列表页 ---------- */
.bc-intro {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 6px 0 20px;
    padding: 14px 18px;
    border: 1px solid #eef1f8;
    border-radius: 12px;
    background: #fafbfe;
    font-size: 13px;
    line-height: 1.7;
    color: #6b748c;
}
.bc-intro b {
    color: #2d3f7a;
    font-size: 15px;
}
.bc-intro .bc-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: #9aa3b8;
    font-size: 12px;
}
.bc-intro .bc-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(135deg, #ff5a5f, #2d3f7a, #1db954);
}

.bc-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.bc-filter-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}
.bc-filter-label {
    flex: none;
    width: 34px;
    padding-top: 7px;
    font-size: 12.5px;
    color: #9aa3b8;
    letter-spacing: .5px;
}
.bc-filter-row {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.bc-chip {
    padding: 6px 15px;
    border: 1px solid #e3e8f3;
    border-radius: 18px;
    background-color: #fff;
    background-image: none;
    color: #5a6482;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    transition: all .18s;
    text-decoration: none !important;
}
.bc-chip:hover {
    border-color: #4a63c8;
    color: #4a63c8;
    text-decoration: none !important;
}
.bc-chip.is-on {
    background-color: #2d3f7a;
    border-color: #2d3f7a;
    color: #fff !important;
}
.bc-search {
    display: flex;
    margin-left: auto;
}
.bc-search input {
    width: 200px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #e3e8f3;
    border-right: 0;
    border-radius: 18px 0 0 18px;
    font-size: 13px;
    outline: none;
    color: #3a4260;
}
.bc-search input:focus {
    border-color: #4a63c8;
}
.bc-search button {
    width: 42px;
    height: 34px;
    border: 0;
    border-radius: 0 18px 18px 0;
    background: #2d3f7a;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.bc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    transition: opacity .15s;
}
.bc-grid.is-loading {
    opacity: .4;
    pointer-events: none;
}
.bc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 116px;
    padding: 13px 15px;
    border-radius: 12px;
    background-color: #eef1f8;
    background-image: none;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    will-change: transform;
}
.bc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(28, 43, 92, .18);
    text-decoration: none !important;
}
.bc-card .bc-name {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bc-card .bc-hex {
    display: block;
    margin-top: 4px;
    font-family: Consolas, Monaco, monospace;
    font-size: 11.5px;
    letter-spacing: .3px;
    opacity: .82;
    text-transform: uppercase;
}
.bc-card .bc-dots {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 3px;
}
.bc-card .bc-dots i {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55);
}

.bc-topics {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 26px 0 0;
    padding: 16px 18px;
    border: 1px solid #eef1f8;
    border-radius: 12px;
    background: #fafbfe;
}
.bc-topics-lb {
    flex: none;
    padding-top: 5px;
    font-size: 12.5px;
    color: #9aa3b8;
    letter-spacing: .5px;
}
.bc-topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.bc-topics-list a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border: 1px solid #e6ebf5;
    border-radius: 14px;
    background-color: #fff;
    background-image: none;
    color: #5a6482;
    font-size: 12.5px;
    line-height: 1.6;
    text-decoration: none !important;
    transition: all .18s;
}
.bc-topics-list a:hover,
.bc-topics-list a:focus {
    border-color: #4a63c8;
    background-color: #eef2fe;
    color: #3d4f8f;
    text-decoration: none !important;
}
.bc-topics-list a em {
    font-style: normal;
    font-size: 11px;
    color: #b0b8cc;
}
@media (max-width: 767px) {
    .bc-topics {
        flex-direction: column;
        gap: 10px;
    }
    .bc-topics-lb {
        padding-top: 0;
    }
}
.bc-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 26px 0 10px;
    font-size: 13px;
    color: #9aa3b8;
}
.bc-more {
    padding: 8px 24px;
    border: 1px solid #e3e8f3;
    border-radius: 18px;
    background-color: #fff;
    background-image: none;
    color: #2d3f7a;
    font-size: 13px;
    cursor: pointer;
    transition: all .18s;
}
.bc-more:hover {
    background-color: #2d3f7a;
    border-color: #2d3f7a;
    color: #fff;
}
.bc-empty {
    grid-column: 1 / -1;
    padding: 50px 0;
    text-align: center;
    color: #9aa3b8;
    font-size: 13.5px;
}

/* ---------- 详情页 ---------- */
.bv-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 210px;
    margin: 6px 0 0;
    padding: 26px 30px;
    border-radius: 16px;
    background-color: #eef1f8;
    overflow: hidden;
}
.bv-hero .bv-hero-inner {
    position: relative;
    z-index: 2;
}
.bv-hero h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}
.bv-hero .bv-en {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    opacity: .82;
}
.bv-hero .bv-hex {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .22);
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    letter-spacing: .5px;
}
.bv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 16px 0 4px;
    font-size: 12.5px;
    color: #8a93ab;
}
.bv-meta span b {
    color: #2d3f7a;
}
.bv-section {
    margin: 30px 0 0;
}
.bv-section h2 {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 600;
    color: #1f2740;
}
.bv-section h2 small {
    margin-left: 8px;
    font-size: 12.5px;
    font-weight: 400;
    color: #9aa3b8;
}
.bv-swatches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.bv-sw {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 104px;
    padding: 10px 11px;
    border-radius: 10px;
    background-color: #eef1f8;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07);
    overflow: hidden;
    transition: transform .18s;
}
.bv-sw:hover {
    transform: translateY(-2px);
}
.bv-sw .bv-sw-hex {
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.bv-sw .bv-sw-name {
    margin-top: 2px;
    font-size: 11px;
    opacity: .8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bv-copy {
    margin-top: 10px;
    text-align: right;
}
.bv-copy button {
    padding: 5px 14px;
    border: 1px solid #e3e8f3;
    border-radius: 14px;
    background: #fff;
    color: #5a6482;
    font-size: 12px;
    cursor: pointer;
    transition: all .18s;
}
.bv-copy button:hover {
    border-color: #4a63c8;
    color: #4a63c8;
}

.bv-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bv-topics a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e3e8f3;
    border-radius: 18px;
    background-color: #fff;
    background-image: none;
    color: #2d3f7a;
    font-size: 13px;
    text-decoration: none !important;
    transition: all .18s;
}
.bv-topics a:hover,
.bv-topics a:focus {
    border-color: #4a63c8;
    background-color: #eef2fe;
    color: #3d4f8f;
    text-decoration: none !important;
}
.bv-topics a i {
    font-size: 11px;
    opacity: .6;
}
.bv-unverified {
    margin: 14px 0 0;
    padding: 11px 15px;
    border: 1px solid #ffe0a3;
    border-radius: 10px;
    background: #fffbf0;
    color: #9a6b00;
    font-size: 12.5px;
    line-height: 1.7;
}
.bv-unverified i {
    margin-right: 5px;
}
.bv-analysis p {
    margin: 0 0 12px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #5a6482;
}
.bv-analysis p:last-child {
    margin-bottom: 0;
}
.bv-analysis p b {
    color: #2d3f7a;
}
.bv-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.bv-specs li {
    padding: 6px 14px;
    border: 1px solid #eef1f8;
    border-radius: 16px;
    background: #fafbfe;
    font-size: 12.5px;
    color: #7b849c;
}
.bv-specs li b {
    color: #2d3f7a;
}
.bv-related {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.bv-related a {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 84px;
    padding: 10px 12px;
    border-radius: 10px;
    background-color: #eef1f8;
    background-image: none;
    text-decoration: none !important;
    transition: transform .18s, box-shadow .18s;
}
.bv-related a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(28, 43, 92, .14);
    text-decoration: none !important;
}
.bv-related .bv-rel-name {
    font-size: 12.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bv-related .bv-rel-hex {
    margin-top: 3px;
    font-family: Consolas, Monaco, monospace;
    font-size: 11px;
    opacity: .8;
}

@media (max-width: 1199px) {
    .bc-grid { grid-template-columns: repeat(4, 1fr); }
    .bv-swatches { grid-template-columns: repeat(4, 1fr); }
    .bv-related { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
    .bc-grid { grid-template-columns: repeat(3, 1fr); }
    .bv-swatches { grid-template-columns: repeat(3, 1fr); }
    .bv-related { grid-template-columns: repeat(3, 1fr); }
    .bv-hero { height: 180px; padding: 22px; }
    .bv-hero h1 { font-size: 24px; }
}
@media (max-width: 575px) {
    .bc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .bc-card { height: 100px; padding: 11px 12px; }
    .bc-card .bc-name { font-size: 13.5px; }
    .bv-swatches { grid-template-columns: repeat(2, 1fr); }
    .bv-related { grid-template-columns: repeat(2, 1fr); }
    .bc-search { width: 100%; margin-left: 0; }
    .bc-search input { flex: 1; width: auto; }
}
