.ptr-results-wrap {
    margin-top: 26px;
}

.ptr-results-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.ptr-results-card h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.ptr-summary {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
}

.ptr-summary-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.ptr-label {
    margin: 0 0 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6d28d9;
    font-weight: 700;
}

.ptr-input-block,
.ptr-ip-block {
    display: inline-block;
    background: #fff;
    color: #111827;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 10px;
    font-family: SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    word-break: break-all;
}

.ptr-arpa {
    margin: 8px 0 0;
    font-size: 13px;
    color: #475569;
}

.ptr-arpa code {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 2px 6px;
    border-radius: 4px;
    color: #111827;
    word-break: break-all;
}

.ptr-overall-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.ptr-overall-valid { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.ptr-overall-partial { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.ptr-overall-missing { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.ptr-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ptr-stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ptr-stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.ptr-stat-label {
    font-size: 12px;
    color: #475569;
}

.ptr-stat-good { border-color: #a7f3d0; background: #f0fdf4; }
.ptr-stat-good .ptr-stat-value { color: #047857; }
.ptr-stat-warn { border-color: #fde68a; background: #fffbeb; }
.ptr-stat-warn .ptr-stat-value { color: #b45309; }
.ptr-stat-bad { border-color: #fecaca; background: #fef2f2; }
.ptr-stat-bad .ptr-stat-value { color: #b91c1c; }

.ptr-forward-summary {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.ptr-forward-summary h4 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #1f2937;
}

.ptr-forward-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 13px;
}

.ptr-forward-row code {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px 8px;
    color: #111827;
    font-size: 12.5px;
    word-break: break-all;
}

.ptr-forward-label {
    font-weight: 700;
    color: #4b5563;
}

.ptr-empty-inline {
    color: #94a3b8;
    font-size: 13px;
}

.ptr-lookup-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.ptr-lookup-card:last-child { margin-bottom: 0; }

.ptr-lookup-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ptr-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12.5px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.ptr-status-valid { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.ptr-status-mismatch { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.ptr-status-missing { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.ptr-hostnames {
    border-top: 1px dashed #e5e7eb;
    padding-top: 12px;
    margin-top: 4px;
}

.ptr-hostname-row {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.ptr-hostname-row:last-child { margin-bottom: 0; }

.ptr-hostname-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.ptr-hostname {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px 8px;
    color: #111827;
    font-size: 13px;
    word-break: break-all;
}

.ptr-fcrdns-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.ptr-fcrdns-yes { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.ptr-fcrdns-no { background: #fef2f2; color: #991b1b; border-color: #fecaca; }

.ptr-forward-line {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12.5px;
}

.ptr-forward-line code {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 12px;
    word-break: break-all;
}

.ptr-ip-match { background: #ecfdf5 !important; color: #065f46 !important; border-color: #a7f3d0 !important; }
.ptr-ip-other { color: #475569; }

.ptr-empty {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.ptr-meta-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ptr-authority,
.ptr-soa {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
}

.ptr-authority h4,
.ptr-soa h4 {
    font-size: 13px;
    color: #1f2937;
    margin: 0 0 8px;
}

.ptr-authority ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ptr-authority li {
    margin-bottom: 4px;
}

.ptr-authority li:last-child { margin-bottom: 0; }

.ptr-authority code,
.ptr-soa code {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 2px 6px;
    color: #111827;
    font-size: 12.5px;
    word-break: break-all;
}

.ptr-soa p {
    margin: 0 0 4px;
    font-size: 12.5px;
    color: #475569;
}

.ptr-soa p:last-child { margin-bottom: 0; }

.ptr-soa-key {
    font-weight: 700;
    color: #1f2937;
    margin-right: 4px;
}

.ptr-loading,
.ptr-error {
    margin: 0;
    color: #475569;
}

.ptr-error {
    color: #b91c1c;
}

.ptr-why-section {
    padding-top: 64px;
    padding-bottom: 26px;
}

.ptr-value-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ptr-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
    border-color: rgba(124, 58, 237, 0.24);
}

.ptr-value-card h4 {
    font-size: 18px;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 10px;
}

.ptr-value-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    font-size: 15px;
}

.ptr-usecase-section {
    padding-bottom: 60px;
}

.ptr-usecase-panel {
    background: linear-gradient(145deg, #faf7ff 0%, #f8fbff 100%);
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 14px;
    padding: 34px 30px;
    box-shadow: 0 18px 50px rgba(31, 41, 55, 0.08);
}

.ptr-usecase-panel h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: #1e293b;
}

.ptr-usecase-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ptr-usecase-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #334155;
    line-height: 1.55;
}

.ptr-usecase-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8b5cf6 0%, #7c3aed 55%, #6d28d9 100%);
    box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.09);
}

.ptr-method-section {
    padding-bottom: 70px;
}

.ptr-step-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    text-align: left;
    position: relative;
}

.ptr-step-number {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 28px;
    font-weight: 800;
    color: rgba(124, 58, 237, 0.18);
}

.ptr-step-card h4 {
    font-size: 17px;
    margin-bottom: 10px;
    color: #0f172a;
}

.ptr-step-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 14.5px;
}

.ptr-disclaimer {
    margin-top: 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 992px) {
    .ptr-stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ptr-meta-grid {
        grid-template-columns: 1fr;
    }

    .ptr-usecase-panel {
        padding: 24px 18px;
    }

    .ptr-value-card {
        padding: 20px 16px;
    }
}

@media (max-width: 540px) {
    .ptr-stat-row {
        grid-template-columns: 1fr;
    }
}
