@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
}
html {
    scroll-behavior: smooth;
}
.code-block {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    position: relative;
}
.copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.response-preview {
    position: relative;
    transition: max-height 0.3s ease-in-out;
}

.response-preview.h-24 {
    max-height: 6rem;
}

.response-preview.expanded {
    max-height: 30rem;
    overflow-y: auto;
}

.response-preview.h-24::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: linear-gradient(to bottom, rgba(243, 244, 246, 0), rgba(243, 244, 246, 1));
    pointer-events: none;
}

#gpt-video::-webkit-media-controls-panel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
}

#gpt-video::-webkit-media-controls-play-button,
#gpt-video::-webkit-media-controls-current-time-display,
#gpt-video::-webkit-media-controls-time-remaining-display,
#gpt-video::-webkit-media-controls-fullscreen-button,
#gpt-video::-webkit-media-controls-mute-button,
#gpt-video::-webkit-media-controls-volume-slider,
#gpt-video::-webkit-media-controls-download-button {
    display: none !important;
}

#gpt-video::-webkit-media-controls-timeline {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#gpt-video::-webkit-media-controls-timeline-container {
    width: 100% !important;
    padding: 0 4px !important;
}