:root {
    --dp-primary: #0b57d0;
    --dp-primary-dark: #0842a0;
    --dp-ink: #1f2329;
    --dp-muted: #5c6470;
    --dp-line: #e3e6eb;
    --dp-canvas: #f4f5f7;
    --dp-radius: 6px;
    --dp-tabbar-h: 58px;
    --bs-link-color: #0b57d0;
    --bs-link-color-rgb: 11, 87, 208;
    --bs-link-hover-color: #0842a0;
    --bs-link-hover-color-rgb: 8, 66, 160;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--dp-ink);
    -webkit-tap-highlight-color: transparent;
}

.dp-body {
    background-color: var(--dp-canvas) !important;
}

.card {
    border: 1px solid var(--dp-line);
    border-radius: var(--dp-radius);
    background: #fff;
    box-shadow: none;
}

.card.shadow-sm,
.card.shadow {
    box-shadow: none;
}

.card-header {
    border-bottom: 1px solid var(--dp-line);
}

.btn {
    border-radius: 4px;
    font-weight: 500;
}

.btn-sm {
    border-radius: 4px;
}

.btn-primary {
    background: var(--dp-primary);
    border-color: var(--dp-primary);
}

.btn-primary:hover {
    background: var(--dp-primary-dark);
    border-color: var(--dp-primary-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--dp-primary);
    --bs-btn-border-color: var(--dp-primary);
    --bs-btn-hover-bg: var(--dp-primary);
    --bs-btn-hover-border-color: var(--dp-primary);
    --bs-btn-active-bg: var(--dp-primary-dark);
    --bs-btn-active-border-color: var(--dp-primary-dark);
}

.text-primary {
    color: var(--dp-primary) !important;
}

.badge.text-bg-primary {
    background-color: var(--dp-primary) !important;
}

.form-control,
.form-select {
    border-radius: 4px;
    border-color: #cfd4dc;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--dp-primary);
    box-shadow: 0 0 0 2px rgba(11, 87, 208, .12);
}

.dropdown-menu {
    border-radius: 6px;
    border-color: var(--dp-line);
    box-shadow: 0 4px 16px rgba(16, 24, 40, .08);
}

.table > :not(caption) > * > * {
    padding: .7rem .75rem;
}

.price-pill {
    background: #fff;
    border: 1px solid var(--dp-line);
    border-radius: 4px;
    padding: 8px 12px;
    display: inline-flex;
    gap: 6px;
    align-items: baseline;
    margin: 4px;
    font-size: .9rem;
}

.masked-box {
    background: #f7f8fa;
    border: 1px dashed #cfd4dc;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.min-w-0 {
    min-width: 0;
}

/* ============================================================
   移动端（< 992px）通用样式
   ============================================================ */
#mobileNav {
    width: 84vw;
    max-width: 340px;
}

#mobileNav .offcanvas-body {
    min-height: 100%;
}

.dp-mobile-user {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.1rem 1.25rem;
    background: #f7f8fa;
    border-bottom: 1px solid var(--dp-line);
}

.dp-mobile-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: var(--dp-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

.dp-mobile-avatar-sm {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: .95rem;
}

.dp-mobile-menu .list-group-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    padding: .9rem 1.25rem;
    font-size: .95rem;
    color: #334155;
    background: transparent;
}

.dp-mobile-menu .list-group-item > i:first-child {
    width: 1.4rem;
    color: #64748b;
    font-size: 1.05rem;
}

.dp-mobile-menu .list-group-item .bi-chevron-right {
    margin-left: auto;
    font-size: .75rem;
    color: #94a3b8;
}

.dp-mobile-menu .list-group-item.active {
    background: #eff6ff;
    color: var(--dp-primary);
    font-weight: 600;
}

.dp-mobile-menu .list-group-item.active > i {
    color: var(--dp-primary);
}

.dp-tabbar {
    display: none;
}

/* 移动端列表卡片 */
.dp-mobile-list {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.dp-mobile-item {
    background: #fff;
    border-radius: var(--dp-radius);
    padding: .9rem 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 18px rgba(15, 23, 42, .04);
}

.dp-mobile-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .6rem;
}

.dp-mobile-item-title {
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    word-break: break-all;
}

.dp-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem .9rem;
    margin-top: .4rem;
    font-size: .78rem;
    color: #64748b;
}

.dp-mobile-actions {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
}

.dp-mobile-actions .btn {
    flex: 1;
}

.dp-mobile-empty {
    background: #fff;
    border-radius: var(--dp-radius);
    padding: 2.5rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: .9rem;
}

.dp-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.dp-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: flex-end;
    align-items: center;
}

.dp-user-nav-list {
    scrollbar-width: none;
}

.dp-user-nav-list::-webkit-scrollbar {
    display: none;
}

@media (max-width: 991.98px) {
    body.dp-has-tabbar {
        padding-bottom: calc(var(--dp-tabbar-h) + 2px + env(safe-area-inset-bottom, 0px));
    }

    .dp-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        display: flex;
        background: #fff;
        border-top: 1px solid var(--dp-line);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .dp-tabbar-item {
        position: relative;
        flex: 1 1 0;
        height: var(--dp-tabbar-h);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #64748b;
        text-decoration: none;
        font-size: .7rem;
    }

    .dp-tabbar-item i {
        font-size: 1.22rem;
        line-height: 1;
    }

    .dp-tabbar-item.active {
        color: var(--dp-primary);
        font-weight: 600;
    }

    .dp-tabbar-item.active::before {
        content: "";
        position: absolute;
        top: 0;
        width: 26px;
        height: 3px;
        border-radius: 0 0 4px 4px;
        background: var(--dp-primary);
    }

    .dp-navbar {
        padding-top: .4rem;
        padding-bottom: .4rem;
    }

    .dp-navbar .navbar-brand {
        font-size: 1.05rem;
        max-width: 52vw;
    }

    .dp-menu-btn {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--dp-line);
        border-radius: 4px;
        background: #fff;
        color: #334155;
        font-size: 1.25rem;
        line-height: 1;
    }

    .dp-menu-btn:active {
        background: #f7f8fa;
    }

    main.py-4 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .btn {
        min-height: 42px;
    }

    .btn-sm {
        min-height: 36px;
        padding: .38rem .7rem;
    }

    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 16px;
    }

    .form-control-sm,
    .form-select-sm {
        min-height: 38px;
        font-size: 16px;
    }

    textarea.form-control {
        min-height: 96px;
    }

    .form-check-input {
        width: 1.15rem;
        height: 1.15rem;
        margin-top: .2rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-header {
        padding: .7rem 1rem;
    }

    .price-pill {
        font-size: .8rem;
        padding: 7px 10px;
    }

    .breadcrumb {
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .modal-dialog {
        margin: .5rem;
    }

    .modal-content {
        border-radius: 6px;
    }

    .dp-footer .container {
        flex-direction: column;
        align-items: center;
        gap: .25rem;
        text-align: center;
    }

    .dp-result-actions {
        justify-content: stretch;
        width: 100%;
    }

    .dp-result-actions select,
    .dp-result-actions .btn {
        flex: 1 1 45%;
    }

    .dp-result-actions [data-years] {
        flex: 0 0 90px;
        max-width: 90px;
    }

    .dp-result-actions [data-template] {
        flex: 1 1 100%;
    }

    .dp-result-actions .btn {
        flex: 0 1 auto;
    }

    .dp-mobile-full {
        width: 100%;
    }

    .dp-user-nav {
        margin-bottom: .25rem;
    }

    .dp-user-nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .dp-user-nav-list .list-group-item {
        flex: 0 0 auto;
        border: 0;
        border-radius: 8px;
        margin: 4px;
        padding: .5rem .8rem;
        font-size: .82rem;
        color: #475569;
        white-space: nowrap;
    }

    .dp-user-nav-list .list-group-item.active {
        background: var(--dp-primary);
        color: #fff;
    }

    .dp-user-nav-list .list-group-item i {
        margin-right: .25rem;
    }

    .dp-page-actions {
        width: 100%;
    }

    .dp-page-actions .btn {
        flex: 1;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive .table {
        font-size: .84rem;
    }

    .display-5 {
        font-size: 2.25rem;
    }

    .list-group-item {
        padding: .75rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .card-body.p-4 {
        padding: 1.25rem !important;
    }

    .modal-dialog {
        margin: 0;
        align-items: flex-end;
        min-height: calc(100% - 16px);
    }

    .modal-dialog-centered {
        min-height: calc(100% - 16px);
    }

    .modal-content {
        border-radius: 8px 8px 0 0;
        border-bottom: 0;
    }

    .modal-header {
        padding: 1rem 1.15rem .6rem;
    }

    .modal-body {
        padding: .85rem 1.15rem;
    }

    .modal-footer {
        padding: .75rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #f1f5f9;
    }

    .modal-footer > .btn {
        flex: 1;
    }

    .dp-mobile-item {
        padding: .85rem .9rem;
    }
}

/* ---------------------------------------------------------------------------
 * Toast（替代原生 alert）、骨架屏、加载更多
 * ------------------------------------------------------------------------- */
.dp-toast-container {
    position: fixed;
    z-index: 1090;
    left: 50%;
    top: calc(12px + env(safe-area-inset-top, 0px));
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: min(92vw, 420px);
    pointer-events: none;
}

.dp-toast {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 10px;
    padding: .7rem .95rem;
    font-size: .9rem;
    line-height: 1.45;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .28);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: auto;
}

.dp-toast.show {
    opacity: 1;
    transform: none;
}

.dp-toast-success { background: #15803d; }
.dp-toast-danger  { background: #b91c1c; }
.dp-toast-warning { background: #b45309; }
.dp-toast-info    { background: #1d4ed8; }

.dp-skeleton-item {
    background: #fff;
    border-radius: var(--dp-radius);
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.dp-skeleton {
    border-radius: 6px;
    background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 37%, #eef2f7 63%);
    background-size: 400% 100%;
    animation: dp-shimmer 1.3s ease-in-out infinite;
}

.dp-skeleton-line {
    height: 12px;
    width: 100%;
}

.dp-skeleton-line.w-50 { width: 50%; }
.dp-skeleton-line.w-75 { width: 75%; }

@keyframes dp-shimmer {
    0%   { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.dp-load-more {
    min-height: 42px;
}

@media (prefers-reduced-motion: reduce) {
    .dp-skeleton { animation: none; }
    .dp-toast { transition: none; }
}

/* ------------------------------------------------------------------
   可访问性：跳转链接、键盘焦点
   ------------------------------------------------------------------ */
.dp-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1080;
    padding: .5rem 1rem;
    background: #0d6efd;
    color: #fff;
    border-radius: 0 0 .375rem 0;
    font-weight: 600;
}

.dp-skip-link:focus {
    left: 0;
    outline: 2px solid #fff;
    outline-offset: -4px;
}

/* 客服代登录横幅：管理员以用户身份浏览前台时的顶部提示 */
.dp-impersonate-banner {
    background: #fff3cd;
    border-bottom: 1px solid #ffe69c;
    color: #664d03;
    padding: .5rem 0;
    z-index: 1020;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.list-group-item:focus-visible,
.dp-tabbar-item:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

main:focus { outline: none; }

/* ------------------------------------------------------------------
   首页：查询区、价格表、服务说明
   ------------------------------------------------------------------ */
.dp-hero {
    background: #fff;
    border: 1px solid var(--dp-line);
    border-radius: var(--dp-radius);
    padding: 36px 32px 30px;
}

.dp-hero-inner {
    max-width: 660px;
}

.dp-hero-title {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 600;
    letter-spacing: 0;
    margin: 0 0 .5rem;
}

.dp-hero-sub {
    color: var(--dp-muted);
    font-size: .93rem;
    margin: 0 0 1.4rem;
}

.dp-hero-search-box {
    display: flex;
    align-items: center;
    max-width: 560px;
    height: 46px;
    border: 1px solid #cfd4dc;
    border-radius: 4px;
    background: #fff;
}

.dp-hero-search-box input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: .95rem;
    color: var(--dp-ink);
}

.dp-hero-search-box .btn {
    flex: 0 0 auto;
    height: 38px;
    margin-right: 3px;
    padding: 0 24px;
    border-radius: 3px;
}

.dp-hero-meta {
    margin-top: .9rem;
    font-size: .8rem;
    color: var(--dp-muted);
}

.dp-panel {
    background: #fff;
    border: 1px solid var(--dp-line);
    border-radius: var(--dp-radius);
}

.dp-panel-header {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--dp-line);
    font-size: .88rem;
    font-weight: 600;
}

.dp-panel-body {
    padding: 1rem;
}

.dp-price-table thead th {
    padding: .5rem 1rem;
    background: #f7f8fa;
    border-bottom: 1px solid var(--dp-line);
    font-size: .8rem;
    font-weight: 500;
    color: var(--dp-muted);
}

.dp-price-table tbody td {
    padding: .6rem 1rem;
    border-bottom: 1px solid #f0f2f5;
    font-size: .88rem;
}

.dp-price-table tbody tr:last-child td {
    border-bottom: 0;
}

.dp-link-sm {
    font-size: .82rem;
    text-decoration: none;
}

.dp-service-list,
.dp-flow-list {
    margin: 0;
    padding: .5rem 1rem .75rem;
    list-style: none;
}

.dp-service-list li {
    position: relative;
    padding: .5rem 0 .5rem 1rem;
    border-bottom: 1px solid #f0f2f5;
    font-size: .85rem;
    color: var(--dp-muted);
}

.dp-service-list li:last-child {
    border-bottom: 0;
}

.dp-service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .95rem;
    width: 4px;
    height: 4px;
    background: var(--dp-primary);
}

.dp-flow-list {
    counter-reset: dp-flow;
    padding-top: .6rem;
}

.dp-flow-list li {
    position: relative;
    padding: 0 0 .75rem 1.9rem;
    font-size: .82rem;
    color: var(--dp-muted);
}

.dp-flow-list li::before {
    counter-increment: dp-flow;
    content: counter(dp-flow, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-size: .75rem;
    font-weight: 600;
    color: var(--dp-primary);
}

.dp-flow-list li span {
    display: block;
    margin-bottom: .1rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--dp-ink);
}

@media (max-width: 575.98px) {
    .dp-hero { padding: 22px 16px 20px; }
    .dp-hero-sub { font-size: .85rem; margin-bottom: 1.1rem; }
    .dp-hero-search-box { height: 44px; }
    .dp-hero-search-box input { font-size: .9rem; text-overflow: ellipsis; }
    .dp-hero-search-box .btn { height: 36px; padding: 0 16px; font-size: .88rem; }
    .dp-price-table thead th,
    .dp-price-table tbody td { padding-left: .75rem; padding-right: .75rem; }
}

/* ------------------------------------------------------------------
   移动端首页（< 992px）：查询区 + 后缀横滑 + 宫格入口 + 价格卡
   ------------------------------------------------------------------ */
@media (max-width: 991.98px) {
    .dp-mhome {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .dp-mhome-hero {
        background: #fff;
        border: 1px solid var(--dp-line);
        border-radius: 8px;
        padding: 18px 16px 14px;
    }

    .dp-mhome-kicker {
        margin-bottom: .35rem;
        font-size: .7rem;
        font-weight: 600;
        letter-spacing: .12em;
        color: var(--dp-primary);
    }

    .dp-mhome-title {
        margin: 0 0 .45rem;
        font-size: 1.42rem;
        line-height: 1.32;
        font-weight: 600;
        color: var(--dp-ink);
    }

    .dp-mhome-sub {
        margin: 0 0 .95rem;
        font-size: .82rem;
        line-height: 1.62;
        color: var(--dp-muted);
    }

    .dp-mhome-search {
        display: flex;
        align-items: center;
        gap: 8px;
        height: 48px;
        padding: 0 5px 0 12px;
        border: 1px solid #cfd4dc;
        border-radius: 6px;
        background: #fff;
    }

    .dp-mhome-search:focus-within {
        border-color: var(--dp-primary);
        box-shadow: 0 0 0 2px rgba(11, 87, 208, .1);
    }

    .dp-mhome-search > i {
        flex: 0 0 auto;
        color: #94a3b8;
        font-size: .98rem;
    }

    .dp-mhome-search input {
        flex: 1 1 auto;
        min-width: 0;
        height: 46px;
        border: 0;
        outline: 0;
        background: transparent;
        font-size: 16px;
        color: var(--dp-ink);
    }

    .dp-mhome-search .btn {
        flex: 0 0 auto;
        height: 36px;
        min-height: 36px;
        padding: 0 18px;
        font-size: .86rem;
    }

    .dp-mhome-quickline {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: .7rem;
        font-size: .78rem;
        color: #94a3b8;
    }

    .dp-mhome-quickline a {
        color: var(--dp-primary);
        text-decoration: none;
    }

    .dp-mhome-strip {
        background: #fff;
        border: 1px solid var(--dp-line);
        border-radius: 8px;
        padding: 10px 0 4px;
    }

    .dp-mhome-strip-label {
        padding: 0 14px 6px;
        font-size: .74rem;
        color: var(--dp-muted);
    }

    .dp-mhome-tlds {
        display: flex;
        gap: 8px;
        padding: 0 14px 8px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dp-mhome-tlds::-webkit-scrollbar {
        display: none;
    }

    .dp-mhome-tld {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: baseline;
        gap: 5px;
        padding: 6px 11px;
        border: 1px solid var(--dp-line);
        border-radius: 999px;
        background: #fff;
        text-decoration: none;
    }

    .dp-mhome-tld .dt {
        font-size: .84rem;
        font-weight: 600;
        color: var(--dp-ink);
    }

    .dp-mhome-tld .dp-price {
        font-size: .78rem;
        font-weight: 600;
        color: var(--dp-primary);
    }

    .dp-mhome-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 8px 4px;
        background: #fff;
        border: 1px solid var(--dp-line);
        border-radius: 8px;
    }

    .dp-mhome-entry {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        padding: 10px 2px;
        font-size: .74rem;
        color: #334155;
        text-decoration: none;
    }

    .dp-mhome-entry .ico {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 11px;
        background: #eff4ff;
        color: var(--dp-primary);
        font-size: 1.12rem;
    }

    .dp-mhome-entry:active .ico {
        background: #dde8ff;
    }

    .dp-mhome-card {
        background: #fff;
        border: 1px solid var(--dp-line);
        border-radius: 8px;
        padding: 14px 0 6px;
        scroll-margin-top: 72px;
    }

    .dp-mhome-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: .5rem;
        padding: 0 14px 10px;
    }

    .dp-mhome-head h2 {
        margin: 0;
        font-size: .95rem;
        font-weight: 600;
        color: var(--dp-ink);
    }

    .dp-mhome-head a {
        font-size: .76rem;
        text-decoration: none;
    }

    .dp-mhome-prices {
        display: flex;
        gap: 9px;
        padding: 0 14px 10px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dp-mhome-prices::-webkit-scrollbar {
        display: none;
    }

    .dp-price-card {
        flex: 0 0 122px;
        padding: 10px 12px 9px;
        border: 1px solid var(--dp-line);
        border-radius: 6px;
        text-decoration: none;
    }

    .dp-price-card-tld {
        font-size: .88rem;
        font-weight: 600;
        color: var(--dp-ink);
    }

    .dp-price-card-main {
        margin-top: 4px;
        font-size: 1.12rem;
        font-weight: 600;
        color: var(--dp-primary);
    }

    .dp-price-card-main em {
        margin-right: 1px;
        font-size: .78rem;
        font-style: normal;
    }

    .dp-price-card-main span {
        font-size: .72rem;
        font-weight: 400;
        color: var(--dp-muted);
    }

    .dp-price-card-renew {
        margin-top: 2px;
        font-size: .72rem;
        color: var(--dp-muted);
    }

    .dp-mhome-facts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        margin: 0 14px 10px;
        border-radius: 6px;
        background: #f0f2f5;
        overflow: hidden;
    }

    .dp-fact {
        display: flex;
        gap: 9px;
        padding: 12px 11px;
        background: #fff;
    }

    .dp-fact > i {
        color: var(--dp-primary);
        font-size: 1rem;
        line-height: 1.35;
    }

    .dp-fact b {
        display: block;
        margin-bottom: 2px;
        font-size: .79rem;
        font-weight: 600;
        color: var(--dp-ink);
    }

    .dp-fact p {
        margin: 0;
        font-size: .7rem;
        line-height: 1.55;
        color: var(--dp-muted);
    }

    .dp-mhome-steps {
        margin: 0;
        padding: 0 14px 10px;
        list-style: none;
    }

    .dp-mhome-steps li {
        display: flex;
        gap: 10px;
        padding: 0 0 12px;
    }

    .dp-mhome-steps li:last-child {
        padding-bottom: 2px;
    }

    .dp-mhome-steps .n {
        flex: 0 0 auto;
        padding-top: 1px;
        font-size: .74rem;
        font-weight: 600;
        color: var(--dp-primary);
    }

    .dp-mhome-steps b {
        display: block;
        margin-bottom: 2px;
        font-size: .82rem;
        font-weight: 600;
        color: var(--dp-ink);
    }

    .dp-mhome-steps p {
        margin: 0;
        font-size: .74rem;
        line-height: 1.6;
        color: var(--dp-muted);
    }

    .dp-mhome-help {
        display: flex;
        gap: 8px;
        padding-bottom: 2px;
    }

    .dp-mhome-help .btn {
        flex: 1;
    }
}

/* 查询页后缀勾选 */
.dp-tld-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dp-tld-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--dp-line);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: .85rem;
}

.dp-tld-check .form-check-input {
    margin: 0;
    flex-shrink: 0;
}

.dp-tld-check-name {
    font-weight: 600;
    color: var(--dp-ink);
}

.dp-tld-check-price {
    font-size: .78rem;
    color: var(--dp-muted);
}

.dp-tld-check.is-on {
    border-color: var(--dp-primary);
    background: #f3f7ff;
}

.dp-tld-check.is-on .dp-tld-check-price {
    color: var(--dp-primary);
}

.dp-tld-presets .btn {
    padding: 0 .3rem;
    font-size: .8rem;
}

/* 证件照片上传预览 */
.dp-id-preview {
    display: block;
    max-width: 100%;
    max-height: 180px;
    margin-top: .5rem;
    border-radius: .5rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    object-fit: contain;
}

/* 未读消息角标 */
.dp-nav-bell {
    position: relative;
}

.dp-nav-badge {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #b42318;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}

.dp-tabbar-badge {
    position: absolute;
    top: 4px;
    left: 50%;
    margin-left: 2px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: #b42318;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 15px;
    text-align: center;
    pointer-events: none;
}

/* 批量操作结果回显 */
.dp-batch-result {
    white-space: pre-line;
    scroll-margin-top: 90px;
}
