/* 苹果风极简背景色 */
body {
    background-color: #F5F5F7; 
    color: #1D1D1F;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* 隐藏主滚动条，保持极简 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #D2D2D7;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #86868B;
}

/* 苹果风呼吸卡片（超柔和阴影） */
.apple-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.apple-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 谷歌 Material 输入框 */
.input-minimal {
    background: #F5F5F7;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    outline: none;
}
.input-minimal:focus {
    background: #FFFFFF;
    border-color: #0066CC;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

/* 右侧抽屉平滑过渡 */
.drawer-transition {
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

/* 全局提示消息 */
#toast {
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    transform: translate(-50%, -100%);
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
}
#toast.show {
    transform: translate(-50%, 20px);
    opacity: 1;
}
/* 修复：弹窗卡片悬浮时禁止位移，防止跳闪 */
[class*="top-1/2"][class*="apple-card"]:hover,
[class*="top-1/2"][class*="horizon-card"]:hover {
    transform: translate(-50%, -50%) !important;
}