.api-test-output {
    margin: 0;
    padding: 16px;
    font-family: ui-monospace, 'SF Mono', monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
}

.api-test-meta {
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.5;
    white-space: normal;
}

.api-test-pre {
    margin: 0;
    padding: 0;
    white-space: pre-wrap;
    word-break: break-word;
    color: inherit;
    font: inherit;
}

.api-test-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.api-test-image {
    display: block;
    max-width: 100%;
    max-height: 320px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #fff;
}

.api-test-player {
    width: 100%;
    max-width: 100%;
}

.api-test-frame {
    width: 100%;
    min-height: 280px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    background: #fff;
}

.api-test-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.api-test-download:hover {
    background: rgba(59, 130, 246, 0.28);
    color: #bfdbfe;
}
