* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fb;
    color: #1f2937;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.credit-top {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.credit-wrap {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
}

.credit-nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.credit-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.credit-logo .credit-site-mark {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    max-width: none;
    object-fit: contain;
}

.credit-logo strong {
    display: block;
    font-size: 20px;
    color: #0f3f86;
    line-height: 1.35;
}

.credit-nav-link {
    color: #4b5563;
    font-size: 15px;
    white-space: nowrap;
}

.credit-hero {
    background: linear-gradient(135deg, #0f58a8 0%, #1a8c88 58%, #f3b23f 100%);
    color: #fff;
    padding: 44px 0 38px;
}

.credit-hero h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.3;
    letter-spacing: 0;
}

.credit-hero p {
    width: 760px;
    max-width: 100%;
    margin: 14px 0 0;
    line-height: 1.8;
    font-size: 16px;
}

.credit-stat {
    display: flex;
    gap: 18px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.credit-stat span {
    min-width: 130px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.13);
}

.credit-stat b {
    display: block;
    font-size: 24px;
    line-height: 1.2;
}

.credit-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    margin-top: 22px;
    padding: 20px;
    border-radius: 8px;
}

.credit-filter {
    display: grid;
    grid-template-columns: 2fr minmax(0, 5fr) auto;
    gap: 12px;
    align-items: end;
}

.credit-filter-extra {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.credit-filter-actions {
    display: grid;
    grid-template-columns: 92px 70px;
    gap: 12px;
    align-items: end;
}

.credit-filter .credit-filter-switch,
.credit-filter .credit-filter-toggle {
    display: none;
}

.credit-filter label {
    display: block;
    color: #4b5563;
    font-size: 13px;
    margin-bottom: 6px;
}

.credit-filter input,
.credit-filter select,
.credit-filter button {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 0 10px;
    font-size: 14px;
}

.credit-filter button {
    border: none;
    background: #0f58a8;
    color: #fff;
    min-width: 92px;
    cursor: pointer;
}

.credit-filter .reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    color: #0f58a8;
    border: 1px solid #c9d8f2;
    border-radius: 6px;
}

.credit-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 14px;
    color: #4b5563;
}

.credit-list-head b {
    color: #0f58a8;
}

.credit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.credit-card {
    display: flex;
    flex-direction: column;
    min-height: 335px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.credit-card:hover {
    border-color: #b7d3f5;
    box-shadow: 0 10px 26px rgba(15, 88, 168, .12);
    transform: translateY(-2px);
}

.credit-card-brand {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.credit-card-brand img {
    max-width: 190px;
    max-height: 46px;
    object-fit: contain;
}

.credit-bank-fallback {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 7px 12px;
    border: 1px solid #dbe7f6;
    border-radius: 6px;
    background: #f6faff;
    color: #0f3f86;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.35;
}

.credit-card-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.credit-card h2 {
    margin: 0;
    font-size: 20px;
    color: #111827;
    line-height: 1.35;
}

.credit-tag {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: #e9f7f5;
    color: #08716c;
    font-size: 12px;
}

.credit-bank {
    margin-top: 10px;
    color: #4b5563;
    font-size: 14px;
}

.credit-intro {
    margin: 12px 0 0;
    color: #64748b;
    line-height: 1.75;
    min-height: 74px;
    max-height: 98px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.credit-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.credit-metrics div {
    min-height: 58px;
    padding: 8px;
    background: #f8fafc;
    border-radius: 6px;
}

.credit-metrics span {
    display: block;
    color: #64748b;
    font-size: 12px;
}

.credit-metrics b {
    display: block;
    margin-top: 5px;
    color: #c2410c;
    font-size: 15px;
    line-height: 1.25;
    word-break: break-word;
}

.credit-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}

.credit-areas {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.credit-more {
    flex: 0 0 auto;
    min-width: 90px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #0f58a8;
    color: #fff;
}

.credit-empty {
    padding: 52px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #64748b;
    border-radius: 8px;
}

.credit-pages {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 34px;
    flex-wrap: wrap;
}

.credit-pages a,
.credit-pages span {
    min-width: 36px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #4b5563;
    border-radius: 6px;
}

.credit-pages .on {
    background: #0f58a8;
    border-color: #0f58a8;
    color: #fff;
}

.credit-detail {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin: 22px auto;
    padding: 26px;
}

.credit-crumb {
    margin-top: 18px;
    color: #64748b;
    font-size: 14px;
}

.credit-detail-head {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 24px;
    align-items: start;
}

.credit-detail h1 {
    margin: 0;
    font-size: 30px;
    color: #111827;
    line-height: 1.35;
}

.credit-detail .bank {
    margin-top: 10px;
    color: #4b5563;
}

.credit-detail-logo {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.credit-detail-logo img {
    max-width: 250px;
    max-height: 68px;
    object-fit: contain;
}

.credit-side {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
}

.credit-side div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.credit-side div:last-child {
    border-bottom: none;
}

.credit-side span {
    color: #64748b;
}

.credit-side b {
    color: #c2410c;
    text-align: right;
    word-break: break-word;
}

.credit-section {
    margin-top: 28px;
}

.credit-section h2 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #0f3f86;
}

.credit-section-box {
    padding: 16px;
    line-height: 1.85;
    background: #f8fafc;
    border-radius: 8px;
    color: #374151;
}

.credit-contact-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.credit-contact-table th,
.credit-contact-table td {
    border: 1px solid #e5e7eb;
    padding: 12px;
    text-align: left;
}

.credit-contact-table th {
    background: #f8fafc;
    color: #4b5563;
}

.credit-call {
    color: #0f58a8;
    font-weight: bold;
}

.credit-footer {
    padding: 24px 0 36px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

.muted {
    color: #94a3b8;
}

@media (max-width: 1100px) {
    .credit-filter {
        grid-template-columns: 1fr;
    }
    .credit-filter-extra {
        grid-template-columns: repeat(3, 1fr);
    }
    .credit-filter-actions {
        grid-template-columns: 120px 90px;
        justify-content: end;
    }
    .credit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .credit-wrap {
        max-width: calc(100% - 24px);
    }
    .credit-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }
    .credit-logo {
        gap: 10px;
    }
    .credit-logo .credit-site-mark {
        width: 36px;
        height: 36px;
    }
    .credit-logo strong {
        font-size: 18px;
    }
    .credit-hero {
        padding: 30px 0;
    }
    .credit-hero h1 {
        font-size: 25px;
    }
    .credit-hero p {
        font-size: 14px;
    }
    .credit-panel {
        padding: 14px;
    }
    .credit-filter {
        grid-template-columns: 1fr;
    }
    .credit-filter-extra {
        display: none;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 2px;
    }
    .credit-filter-switch:checked + .credit-filter-toggle + .credit-filter-extra {
        display: grid;
    }
    .credit-filter .credit-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 38px;
        margin-bottom: 0;
        border: 1px solid #c9d8f2;
        border-radius: 6px;
        background: #edf5ff;
        color: #0f58a8;
        font-size: 14px;
        font-weight: bold;
        line-height: 1;
        cursor: pointer;
    }
    .credit-filter .credit-filter-toggle:after {
        content: "";
        width: 7px;
        height: 7px;
        margin-top: -4px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform .2s, margin-top .2s;
    }
    .credit-filter-switch:checked + .credit-filter-toggle:after {
        margin-top: 4px;
        transform: rotate(-135deg);
    }
    .credit-filter .credit-filter-toggle .when-open {
        display: none;
    }
    .credit-filter-switch:checked + .credit-filter-toggle .when-closed {
        display: none;
    }
    .credit-filter-switch:checked + .credit-filter-toggle .when-open {
        display: inline;
    }
    .credit-filter-actions {
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
        gap: 10px;
    }
    .credit-list-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .credit-grid {
        grid-template-columns: 1fr;
    }
    .credit-card {
        min-height: 0;
    }
    .credit-card-brand {
        height: 46px;
        margin-bottom: 12px;
    }
    .credit-card-brand img {
        max-width: 170px;
        max-height: 42px;
    }
    .credit-intro {
        min-height: 0;
        max-height: none;
        -webkit-line-clamp: 4;
    }
    .credit-metrics {
        grid-template-columns: 1fr;
    }
    .credit-card-bottom {
        align-items: stretch;
        flex-direction: column;
    }
    .credit-more {
        width: 100%;
    }
    .credit-detail {
        padding: 18px;
    }
    .credit-detail-head {
        grid-template-columns: 1fr;
    }
    .credit-detail h1 {
        font-size: 24px;
    }
    .credit-contact-table,
    .credit-contact-table thead,
    .credit-contact-table tbody,
    .credit-contact-table tr,
    .credit-contact-table th,
    .credit-contact-table td {
        display: block;
        width: 100%;
    }
    .credit-contact-table thead {
        display: none;
    }
    .credit-contact-table tr {
        margin-bottom: 12px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        overflow: hidden;
    }
    .credit-contact-table td {
        border: none;
        border-bottom: 1px solid #e5e7eb;
    }
    .credit-contact-table td:last-child {
        border-bottom: none;
    }
    .credit-contact-table td:before {
        display: block;
        margin-bottom: 4px;
        color: #64748b;
        font-size: 12px;
    }
    .credit-contact-table td:nth-child(1):before { content: "适用县区"; }
    .credit-contact-table td:nth-child(2):before { content: "联系人"; }
    .credit-contact-table td:nth-child(3):before { content: "联系电话"; }
}
