.app-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    height: calc(100vh - 128px);
    margin: 0 auto;
    padding: 6px 14px 4px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .app-container {
        max-width: 680px;
        height: calc(100vh - 134px);
    }
}

.tab-view {
    position: relative;
    display: none;
    flex: 1;
    flex-direction: column;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, var(--glass) 30%, rgba(7, 11, 19, 0.82) 100%);
    backdrop-filter: blur(40px) saturate(190%);
    -webkit-backdrop-filter: blur(40px) saturate(190%);
    border: 1px solid var(--border);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65), inset 0 1px 1px var(--rim);
    border-radius: 28px;
    padding: 18px;
    overflow: hidden;
    animation: tabEnter 0.28s var(--ease-out);
}

.tab-view.active {
    display: flex;
}

@keyframes tabEnter {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.992);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.scroll-area, .lyrics-box {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    padding-bottom: 74px;
    -webkit-overflow-scrolling: touch;
}

.empty {
    color: var(--dim);
    font-size: 0.88rem;
    text-align: center;
    margin: 45px 0;
    line-height: 1.5;
}