/* Specific overrides for GIF Player Layout */
.timeline {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
}

input[type="range"] {
    flex: 1;
    height: 6px;
    padding: 0;
    border: none;
    background: var(--tag-bg);
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.meta-info {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-top: 16px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

/* Canvas styling */
.canvas-wrap {
    background: #000;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: center;
    /* box-shadow: var(--shadow-soft); */
    /* Optional */
    min-height: 200px;
    align-items: center;
}

canvas {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
    border-radius: 4px;
}

.controls-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

/* Mobile Layout Optimizations */
@media (max-width: 640px) {
    .app-shell {
        padding-left: 0;
        padding-right: 0;
        padding-top: 20px;
    }

    .tool-container {
        padding: 0;
        max-width: 100% !important;
    }

    .card {
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 20px !important;
    }

    .guide-wrapper {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-top: 24px;
    }

    .hero-compact {
        margin-bottom: 4px !important;
        padding: 0;
    }

    .hero-compact h1 {
        font-size: 1.75rem;
        margin-bottom: 6px;
        padding: 0 16px;
    }

    .hero-compact p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 16px;
    }
}