/* @🍮 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #000000; /* 整体深色底色，更有ins风质感 */
    color: #333;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.screen {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    background-color: #f5f5f5;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

/* 主屏幕样式 */
#home-screen {
    background-color: #e0e0e0; /* 灰白桌面底色 */
}

.widgets-container {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
    align-content: start;
}

.widget {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: #333;
}

.widget-large {
    grid-column: span 2;
    height: 150px;
}

.widget-medium {
    grid-column: span 2;
    height: 100px;
}

.widget-small {
    height: 120px;
}

.widget-text {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
}

.dock {
    height: 90px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px 30px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #111;
    margin-bottom: 5px;
}

.app-icon span {
    font-size: 11px;
    color: #333;
    font-weight: 500;
}

/* APP 内通用样式 */
.app-screen {
    background-color: #ffffff;
    z-index: 10;
}

.top-bar {
    height: 50px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar .title {
    font-weight: 600;
    font-size: 16px;
    color: #111;
}

.top-actions {
    display: flex;
    gap: 15px;
    color: #111;
}

.back-btn {
    cursor: pointer;
    color: #111;
}

.app-content {
    flex: 1;
    overflow-y: auto;
}

/* 微信底部导航 */
.wechat-bottom-nav {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888;
}

.nav-item.active {
    color: #111;
}

.nav-item span {
    font-size: 10px;
    margin-top: 3px;
}
