/* iPhone 15 Pro 边框与状态栏样式 */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px 0;
    height: 44px;
    background-color: #000;
    color: white;
    font-size: 12px;
    position: relative;
    z-index: 1000;
}

.status-bar-left {
    display: flex;
    align-items: center;
}

.status-bar-right {
    display: flex;
    align-items: center;
}

.status-bar-time {
    font-weight: 600;
}

.status-bar-battery {
    display: flex;
    align-items: center;
}

.status-bar-battery-icon {
    width: 25px;
    height: 12px;
    border: 1px solid white;
    border-radius: 3px;
    position: relative;
    margin-left: 5px;
}

.status-bar-battery-icon:after {
    content: '';
    position: absolute;
    right: -4px;
    top: 3px;
    height: 4px;
    width: 2px;
    background-color: white;
    border-radius: 0 2px 2px 0;
}

.status-bar-battery-level {
    position: absolute;
    left: 2px;
    top: 2px;
    bottom: 2px;
    width: 60%;
    background-color: white;
    border-radius: 1px;
}

.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background-color: #000;
    border-radius: 3px;
    z-index: 1000;
}

/* 页面过渡动画 */
.page-transition {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* 骨架屏样式 */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}