/* @🍮 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background: #5b9bd5;
}

/* 锁屏界面 */
.lock-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #5b9bd5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: white;
}

.status-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 10px 15px;
}

.battery-icon {
    opacity: 0.9;
}

.big-time {
    font-size: 80px;
    font-weight: 200;
    margin-top: 60px;
}

.message-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-bottom: auto;
    margin-top: 40px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.message-content {
    flex: 1;
}

.name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.message-text {
    font-size: 14px;
    opacity: 0.9;
}

.slide-container {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 40px;
}

.slide-track {
    position: relative;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5px;
}

.slide-button {
    position: absolute;
    left: 5px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: background 0.3s;
}

.slide-button:active {
    cursor: grabbing;
    background: white;
}

.camera-icon {
    margin-right: 15px;
    opacity: 0.8;
}

/* 主界面 */
.main-screen {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

.title-bar {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #5b9bd5 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.title-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.title-dropdown:active {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.menu-item {
    padding: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.3s;
}

.menu-item:active {
    background: #f0f0f0;
}

.content-area {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.page {
    display: none;
    padding: 10px;
}

.page.active {
    display: block;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-item:active {
    background: #f5f5f5;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.chat-info {
    flex: 1;
}

.chat-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.chat-message {
    font-size: 14px;
    color: #999;
}

.chat-time {
    font-size: 12px;
    color: #999;
}

.placeholder {
    text-align: center;
    padding: 50px 20px;
    font-size: 24px;
    color: #999;
}

/* 底部导航栏 */
.nav-bar {
    display: flex;
    background: white;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-item svg {
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 11px;
}

.nav-item.active {
    color: #5b9bd5;
}

.nav-item:active {
    background: #f5f5f5;
}