/* 未注册域名池 · 商品页面板 + 列表徽章 */

.nbdl-pool-panel {
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    padding: 18px 20px 14px;
    margin: 0 0 24px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.nbdl-pool-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.nbdl-pool-head__left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.nbdl-pool-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34a853;
    box-shadow: 0 0 0 0 rgba(52, 168, 83, .55);
    animation: nbdl-pool-pulse 1.6s infinite;
    flex: 0 0 auto;
}

@keyframes nbdl-pool-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(52, 168, 83, .5); }
    70%  { box-shadow: 0 0 0 7px rgba(52, 168, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); }
}

.nbdl-pool-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
}

.nbdl-pool-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nbdl-pool-stock {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: #e8f7ee;
    color: #137333;
    border: 1px solid #b7e4c7;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 13px;
}

.nbdl-pool-stock b {
    font-size: 17px;
    font-weight: 700;
}

.nbdl-pool-stock.is-out {
    background: #fff4e5;
    color: #b06000;
    border-color: #ffd8a8;
}

.nbdl-pool-sub {
    font-size: 12px;
    color: #5f6368;
}

.nbdl-pool-tablewrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #eef0f3;
    border-radius: 10px;
}

.nbdl-pool-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 480px;
}

.nbdl-pool-table th {
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    color: #5f6368;
    background: #fafbfc;
    padding: 9px 12px;
    border-bottom: 1px solid #e6e8ec;
    white-space: nowrap;
}

.nbdl-pool-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    white-space: nowrap;
}

.nbdl-pool-table tbody tr:last-child td {
    border-bottom: 0;
}

.nbdl-pool-table tbody tr:hover td {
    background: #fbfcfe;
}

.nbdl-pool-prefix {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 600;
    color: #1a73e8;
    letter-spacing: .5px;
}

.nbdl-pool-suffix {
    color: #5f6368;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.nbdl-pool-table .nbdl-v--ok {
    color: #137333;
}

.nbdl-pool-table .nbdl-v--bad {
    color: #c5221f;
}

.nbdl-pool-table .nbdl-v--none {
    color: #9aa0a6;
}

.nbdl-pool-empty td {
    text-align: center;
    color: #80868b;
    padding: 26px 12px;
    white-space: normal;
}

.nbdl-pool-note {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.7;
    color: #5f6368;
}

.nbdl-pool-updated {
    display: inline-block;
    margin-left: 6px;
    color: #80868b;
}

.nbdl-pool-table.is-flash tbody tr:first-child td {
    animation: nbdl-pool-flash .9s ease-out;
}

@keyframes nbdl-pool-flash {
    0%   { background: #e8f7ee; }
    100% { background: transparent; }
}

/* 列表卡片徽章 */
.nbdl-pool-card-badge {
    margin: 6px 0 2px;
    font-size: 12px;
    line-height: 1.4;
}

.nbdl-pool-card-badge .is-in {
    display: inline-block;
    background: #e8f7ee;
    color: #137333;
    border: 1px solid #b7e4c7;
    border-radius: 999px;
    padding: 2px 10px;
    font-weight: 600;
}

.nbdl-pool-card-badge .is-out {
    display: inline-block;
    background: #f1f3f4;
    color: #5f6368;
    border: 1px solid #dadce0;
    border-radius: 999px;
    padding: 2px 10px;
}

@media (max-width: 640px) {
    .nbdl-pool-panel { padding: 14px 14px 10px; }
    .nbdl-pool-head { align-items: flex-start; }
    .nbdl-pool-title { font-size: 15px; }
    .nbdl-pool-table { font-size: 13px; }
    .nbdl-pool-table th, .nbdl-pool-table td { padding: 8px 10px; }
}


/* ============================================================
 * 勾选下单（v1.12.0）
 * ============================================================ */

.nbdl-pool-table th.nbdl-pool-check,
.nbdl-pool-table td.nbdl-pool-check {
    width: 42px;
    text-align: center;
    padding-left: 10px;
    padding-right: 4px;
}

.nbdl-pool-table .nbdl-pool-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #1a73e8;
}

.nbdl-pool-table th.nbdl-pool-idcol,
.nbdl-pool-table td.nbdl-pool-idcol {
    width: 64px;
    color: #5f6368;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.nbdl-pool-table tbody tr:has(.nbdl-pool-pick:checked) {
    background: #f3f8ff;
}

.nbdl-pool-order {
    margin: 14px 0 2px;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    background: #fafbfc;
    padding: 12px 14px;
}

.nbdl-pool-order__head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #3c4043;
}

.nbdl-pool-order__pick b,
.nbdl-pool-order__sum b {
    color: #1a73e8;
    font-size: 15px;
}

.nbdl-pool-order__sep { color: #dadce0; }

.nbdl-pool-order__link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 13px;
}

.nbdl-pool-order__link:hover { text-decoration: underline; }

.nbdl-pool-order__body {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.nbdl-pool-order__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #5f6368;
    flex: 1 1 240px;
    min-width: 200px;
}

.nbdl-pool-order__field input {
    width: 100%;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    background: #fff;
}

.nbdl-pool-order__field input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, .12);
}

.nbdl-pool-order__btn {
    border: 0;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #1a73e8;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease;
}

.nbdl-pool-order__btn:hover:not(:disabled) { background: #1765cc; }

.nbdl-pool-order__btn:disabled {
    background: #dadce0;
    color: #80868b;
    cursor: not-allowed;
}

.nbdl-pool-order__msg {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
    border-radius: 8px;
    padding: 8px 12px;
}

.nbdl-pool-order__msg.is-err {
    background: #fdecea;
    color: #c5221f;
    border: 1px solid #f5c6c2;
}

.nbdl-pool-order__msg.is-warn {
    background: #fff7e6;
    color: #8f4b00;
    border: 1px solid #ffe0a3;
}

/* 页面级「请勿支付」横幅 */
.nbdl-po-banner {
    border: 1px solid #f5c6c2;
    background: #fdecea;
    color: #a50e0e;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.7;
}

.nbdl-po-banner strong { font-size: 14px; }
.nbdl-po-banner ul { margin: 6px 0 6px 18px; padding: 0; }

/* 下单弹层 */
.nbdl-po-mask {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
}

.nbdl-po-mask[hidden] { display: none; }

body.nbdl-po-open { overflow: hidden; }

.nbdl-po {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.nbdl-po__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #eef0f3;
}

.nbdl-po__head h3 {
    margin: 0;
    font-size: 15px;
}

.nbdl-po__close {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #80868b;
    cursor: pointer;
}

.nbdl-po__body {
    padding: 16px;
    overflow-y: auto;
    font-size: 14px;
}

.nbdl-po__no { margin: 0 0 10px; color: #3c4043; }

.nbdl-po__items {
    margin: 0 0 10px 18px;
    padding: 0;
    color: #5f6368;
    font-size: 13px;
    line-height: 1.8;
    max-height: 132px;
    overflow-y: auto;
}

.nbdl-po__sum { margin: 0 0 12px; }

.nbdl-po__sum b { color: #1a73e8; font-size: 17px; }

.nbdl-po__qr {
    text-align: center;
    margin: 6px 0 12px;
}

.nbdl-po__qr img {
    width: 190px;
    height: 190px;
    object-fit: contain;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    background: #fff;
}

.nbdl-po__qr.is-disabled { opacity: .35; filter: grayscale(1); pointer-events: none; }

.nbdl-po__pay {
    display: block;
    text-align: center;
    background: #1a73e8;
    color: #fff;
    border-radius: 8px;
    padding: 11px;
    font-weight: 600;
    text-decoration: none;
}

.nbdl-po__pay:hover { background: #1765cc; }

.nbdl-po__pay.is-disabled,
.nbdl-po__pay.is-disabled:hover {
    background: #dadce0;
    color: #80868b;
    pointer-events: none;
}

.nbdl-po__tip {
    margin: 10px 0 0;
    font-size: 12px;
    color: #80868b;
    line-height: 1.6;
}

.nbdl-po__warn {
    border: 1px solid #f5c6c2;
    background: #fdecea;
    color: #a50e0e;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.7;
}

.nbdl-po__warn[hidden] { display: none; }

.nbdl-po__warn ul { margin: 6px 0; padding-left: 18px; }

@media (max-width: 640px) {
    .nbdl-pool-order__btn { width: 100%; }
}
