/* Extracted from upstream lucasmontanheiro/audiomoji index.html (inline <style>),
   plus minimal additions for the Sound credits modal. */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
}

.emoji-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.emoji-card:active {
    transform: scale(0.9);
}

.recording-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { transform: scale(1);    opacity: 1;   }
    50%  { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1);    opacity: 1;   }
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Guided step strip on the recorder. State is driven by JS in
   assets/js/app.js#updateStepStrip — see docs/features/record-and-mix.md. */
.step-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.375rem;
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: rgb(226 232 240);   /* slate-200 */
    color: rgb(100 116 139);        /* slate-500 */
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.step__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.step__label {
    font-size: 0.625rem;
    font-weight: 700;
    color: rgb(148 163 184);        /* slate-400 */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.step__sub {
    font-size: 0.625rem;
    color: rgb(148 163 184);
    line-height: 1.2;
    min-height: 1.4em;
}

.step.is-done .step__num,
.step.is-active .step__num {
    background: rgb(15 23 42);      /* slate-900 */
    color: white;
}

.step.is-done .step__label {
    color: rgb(71 85 105);          /* slate-600 */
}

.step.is-active .step__num {
    box-shadow: 0 0 0 4px rgb(254 226 226);  /* red-100 ring */
}

.step.is-active .step__label {
    color: rgb(15 23 42);
}

.step.is-active .step__sub {
    color: rgb(71 85 105);
}
