.practice-section {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.practice-section h3 {
    color: #00b894;
    margin-bottom: 20px;
}

.phrase-list, .audio-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.phrase-item, .audio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.punjabi-phrase {
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    font-size: 1.3rem;
}

/* Speaking Practice rows: texts | actions | drill */
.phrase-texts {
    flex: 1;
    min-width: 220px;
}

.phrase-english {
    font-size: 0.85rem;
    color: #636e72;
    margin-top: 2px;
}

.phrase-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.phrase-status {
    font-size: 0.8rem;
    color: #636e72;
    background: #ececec;
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
}

.phrase-status.done {
    color: white;
    background: #00b894;
}

.btn.small.rec-btn.recording {
    background: #d63031;
    color: white;
    animation: recPulse 1.2s ease-in-out infinite;
}

@keyframes recPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(214,48,49,0.45); }
    50% { box-shadow: 0 0 0 8px rgba(214,48,49,0); }
}

.phrase-drill {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #f1eefe;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #2d3436;
}

.btn.small.drill-pass { background: #00b894; color: white; }
.btn.small.drill-retry { background: #e17055; color: white; }

.btn.small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.partner-info {
    background: #e8f4fc;
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
}

.partner-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.partner-info p:before {
    content: "•";
    color: #6c5ce7;
    font-size: 1.5rem;
    margin-right: 10px;
}

/* ===== Stories & Songs (Listening Practice) ===== */
.story-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-card {
    background: #fdfbff;
    border: 2px solid #a29bfe;
    border-radius: 16px;
    padding: 18px 20px;
}

.story-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.story-type-badge {
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    background: #6c5ce7;
    color: white;
    font-size: 0.85rem;
    padding: 3px 12px;
    border-radius: 20px;
}

.story-title {
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #2d3436;
    flex: 1;
    min-width: 180px;
}

.story-play-btn {
    flex-shrink: 0;
}

.story-body p {
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #2d3436;
    text-align: left;
    margin: 0 0 14px;
}

.story-song {
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    font-size: 1.15rem;
    line-height: 2;
    color: #2d3436;
    white-space: pre-line;
    text-align: center;
    background: #f1eefe;
    border-radius: 12px;
    padding: 14px 10px;
    margin-bottom: 14px;
}

.story-moral {
    font-weight: 700;
    color: #d35400 !important;
    background: #ffeaa7;
    border-radius: 10px;
    padding: 8px 14px;
    display: inline-block;
}

@media (max-width: 480px) {
    .story-head { flex-direction: column; align-items: flex-start; }
    .story-play-btn { align-self: flex-end; margin-top: -44px; }
}
