:root {
    --bg-dark: #09090b;
    --bg-card: rgba(24, 24, 27, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #C95820;
    --accent-glow: rgba(201, 88, 32, 0.45);

    --status-allow-bg: rgba(34, 197, 94, 0.15);
    --status-allow-text: #4ade80;
    --status-allow-border: rgba(34, 197, 94, 0.3);

    --status-block-bg: rgba(239, 68, 68, 0.15);
    --status-block-text: #f87171;
    --status-block-border: rgba(239, 68, 68, 0.3);

    --status-rate-bg: rgba(234, 179, 8, 0.15);
    --status-rate-text: #facc15;
    --status-rate-border: rgba(234, 179, 8, 0.3);

    --status-unknown-bg: rgba(100, 116, 139, 0.15);
    --status-unknown-text: #cbd5e1;
    --status-unknown-border: rgba(100, 116, 139, 0.3);

    --status-robots-bg: rgba(251, 146, 60, 0.15);
    --status-robots-text: #fb923c;
    --status-robots-border: rgba(251, 146, 60, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(232, 101, 26, 0.22) 0%, rgba(155, 47, 62, 0.08) 100%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(155, 47, 62, 0.14) 0%, rgba(100, 30, 20, 0.05) 100%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 10%) scale(1.1);
    }
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    flex: 1;
    width: 100%;
}

/* Brand Logo */
.brand-logo {
    margin-bottom: 2.5rem;
}

.brand-logo img {
    opacity: 0.95;
    filter: drop-shadow(0 2px 12px rgba(232, 101, 26, 0.2));
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 0.25rem 1rem 0.25rem 0.25rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.new-badge {
    background: var(--accent-primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.75rem;
}

.badge-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.scope-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    text-align: left;
}

.scope-notice svg {
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.scope-notice strong {
    color: #fff;
    font-weight: 600;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.9em;
}

/* Search Form */
.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 640px) {
    .search-form {
        flex-direction: row;
    }
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    color: var(--text-muted);
}

input[type="text"],
input[type="url"] {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-main);
    font-size: 1rem;
    font-family: 'Nunito Sans', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

input[type="text"]:focus,
input[type="url"]:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(201, 88, 32, 0.2);
}

.btn-primary {
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #E8651A 0%, #8A2B3E 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px 0 var(--accent-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #CF580F 0%, #6d1f30 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 var(--accent-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.spinner {
    animation: spin 1s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Progress Bar */
.progress-container {
    margin: 2rem auto 0;
    max-width: 600px;
    animation: fadeIn 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-align: left;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: indeterminateProgress 1.5s infinite linear;
}

@keyframes indeterminateProgress {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(350%);
    }
}

.hidden {
    display: none !important;
}

.error-message {
    margin-top: 1rem;
    color: var(--status-block-text);
    background: var(--status-block-bg);
    border: 1px solid var(--status-block-border);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Results Section */
.results-container {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 640px) {
    .results-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.results-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Directives Accordion */
.directives-accordion summary::-webkit-details-marker {
    display: none;
}

.directives-accordion summary {
    list-style: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-primary);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    user-select: none;
}

.directives-accordion summary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--accent-primary);
    box-shadow: 0 0 0 1px rgba(201, 88, 32, 0.2);
}

.directives-summary-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.directives-summary-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.directives-summary-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.directives-toggle-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.directives-toggle-label .label-hide {
    display: none;
}

.directives-accordion[open] .directives-toggle-label .label-show {
    display: none;
}

.directives-accordion[open] .directives-toggle-label .label-hide {
    display: inline;
}

.directives-accordion .chevron {
    transition: transform 0.3s ease;
    color: var(--accent-primary);
}

.directives-accordion[open] .chevron {
    transform: rotate(180deg);
}

.directives-accordion[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
    background: rgba(255, 255, 255, 0.05);
}

.directives-content {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-top: none;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.stats-summary {
    display: flex;
    gap: 1rem;
}

.stat-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.stat-badge[data-filter] {
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.stat-badge[data-filter]:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.09);
}

.stat-badge[data-filter].active {
    background: rgba(255, 255, 255, 0.1);
}

.stat-badge-all {
    color: var(--text-muted);
}

.stat-badge-all.active {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Tier Sections */
.tier-section {
    margin-bottom: 3rem;
}

.tier-header {
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.tier-header-1 {
    background: linear-gradient(135deg, rgba(201, 88, 32, 0.12) 0%, rgba(138, 43, 62, 0.12) 100%);
    border: 1px solid rgba(201, 88, 32, 0.3);
}

.tier-header-2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.tier-header-3 {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tier-header-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.tier-badge {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 0.35rem;
}

.tier-badge-1 {
    background: linear-gradient(135deg, #E8651A 0%, #8A2B3E 100%);
    color: #fff;
}

.tier-badge-2 {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.tier-badge-3 {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tier-count {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.55rem;
    border-radius: 2rem;
}

.tier-desc {
    margin: 0;
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 72ch;
}

/* Bots Grid */
.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bot-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.bot-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.bot-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bot-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bot-userAgent {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    word-break: break-all;
}

.bot-http-code {
    font-family: monospace;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.bot-status {
    margin-top: auto;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    border: 1px solid transparent;
}

/* Status variants */
.status-allow {
    background: var(--status-allow-bg);
    color: var(--status-allow-text);
    border-color: var(--status-allow-border);
}

.status-block {
    background: var(--status-block-bg);
    color: var(--status-block-text);
    border-color: var(--status-block-border);
}

.status-ratelimit {
    background: var(--status-rate-bg);
    color: var(--status-rate-text);
    border-color: var(--status-rate-border);
}

.status-unknown {
    background: var(--status-unknown-bg);
    color: var(--status-unknown-text);
    border-color: var(--status-unknown-border);
}

.status-robotstxt {
    background: var(--status-robots-bg);
    color: var(--status-robots-text);
    border-color: var(--status-robots-border);
}

/* Inbound CTA Card */
.cta-card {
    margin-bottom: 2rem;
    border-radius: 1.25rem;
    padding: 2px;
    background: linear-gradient(135deg, rgba(232, 101, 26, 0.65) 0%, rgba(138, 43, 62, 0.65) 100%);
    animation: fadeIn 0.5s ease;
}

.cta-inner {
    background: rgba(14, 10, 10, 0.88);
    border-radius: 1.15rem;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.cta-logo {
    opacity: 0.9;
    flex-shrink: 0;
}

.cta-body {
    flex: 1;
    min-width: 200px;
}

.cta-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    background: linear-gradient(135deg, #E8651A, #e8a87c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #E8651A 0%, #8A2B3E 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(201, 88, 32, 0.35);
    flex-shrink: 0;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #CF580F 0%, #6d1f30 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 88, 32, 0.45);
}

/* Contact Modal */
.contact-modal-content {
    max-width: 680px !important;
    max-height: 90vh;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 520px) {
    .contact-form-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cta-logo { display: none; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: 0.6rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.875rem;
    padding: 0.7rem 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group textarea {
    font-family: monospace;
    font-size: 0.72rem;
    resize: none;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(201, 88, 32, 0.18);
}

.required { color: #f87171; }

.form-consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--accent-primary);
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.form-consent a {
    color: #E8894E;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-feedback {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.contact-error {
    background: var(--status-block-bg);
    border: 1px solid var(--status-block-border);
    color: var(--status-block-text);
}

.contact-success {
    border: 1px solid var(--status-allow-border);
    background: var(--status-allow-bg);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border-color);
}

.footer-disclaimer {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-body {
    overflow-y: auto;
    margin-top: 1rem;
    padding-right: 0.5rem;
}

/* modal-snippet class kept for robots/llms content display in directive cards */
.modal-snippet {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-main);
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

/* Bot response modal redesign */
.modal-header-block {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-bot-name {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.modal-bot-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
    .modal-metrics { grid-template-columns: 1fr; }
}

.modal-metric-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 0.875rem;
    padding: 1.1rem 1.25rem;
}

.modal-metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.modal-metric-value {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.modal-metric-http {
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.15rem;
}

.modal-error-hint {
    font-size: 0.75rem;
    color: var(--status-block-text);
    margin-top: 0.5rem;
}

.modal-status-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
    background: rgba(255,255,255,0.03);
    border-radius: 0.6rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.modal-meta-row {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    margin-bottom: 0.6rem;
}

.modal-meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 5rem;
}

.modal-meta-value {
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.25);
    padding: 0.3rem 0.6rem;
    border-radius: 0.375rem;
    word-break: break-all;
    border: 1px solid var(--border-color);
}

/* Redirect Notice */
.redirect-notice {
    background: rgba(201, 88, 32, 0.1);
    border: 1px solid rgba(201, 88, 32, 0.3);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: #E8894E;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.redirect-notice code {
    background: rgba(201, 88, 32, 0.15);
    color: #E8894E;
}

/* Suggestion Panels (robots.txt / llms.txt) */
.suggestion-panel {
    margin-top: 1.25rem;
    padding: 1.1rem;
    background: rgba(201, 88, 32, 0.05);
    border: 1px dashed rgba(201, 88, 32, 0.28);
    border-radius: 0.75rem;
}

.suggestion-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    line-height: 1.55;
}

.suggestion-pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.85rem;
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--text-main);
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 0.75rem;
}

.copy-btn {
    background: rgba(201, 88, 32, 0.12);
    border: 1px solid rgba(201, 88, 32, 0.3);
    color: #E8894E;
    border-radius: 0.375rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: rgba(201, 88, 32, 0.22);
}

/* Retest button in bot modal */
.retest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 0.6rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.retest-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.25);
}

.retest-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}