/* Custom Buttons */
.strat-btn {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(209, 213, 219, 1);
    /* border-gray-300 */
    background-color: transparent;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
    line-height: 1.2;
}

:is(.dark) .strat-btn {
    border-color: rgba(55, 65, 81, 1);
    /* border-gray-700 */
    color: rgba(209, 213, 219, 1);
    /* text-gray-300 */
}

.strat-btn:hover {
    background-color: rgba(243, 244, 246, 1);
    /* bg-gray-100 */
}

:is(.dark) .strat-btn:hover {
    background-color: rgba(31, 41, 55, 1);
    /* bg-gray-800 */
}

.strat-btn.active {
    border-color: #22c55e;
    background-color: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

:is(.dark) .strat-btn.active {
    border-color: #22c55e;
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

/* Visualization Classes */
.font-invisible {
    color: transparent !important;
}

.font-fallback {
    font-family: 'Georgia', serif;
}

.font-custom {
    font-family: 'Pacifico', cursive;
}

/* Base Timeline scaling (total width is 3s for main block, plus tail) */
/* We will use inline styles mapping 0-4000ms to 0-100% */

/* Toast */
.opacity-100 {
    opacity: 1;
    pointer-events: auto;
}

.opacity-0 {
    opacity: 0;
    pointer-events: none;
}