            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
                font-family: 'Arial', sans-serif;
            }
            body {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                min-height: 100vh;
                background-color: rgba(235, 235, 235, 1);
                /* background-color: #f9f9f9; */
                padding: 20px;
            }
            .timer-container {
                position: relative;
                margin: 0 auto 30px;
                width: 100%;
                max-width: 15rem;
                height: 15rem;
            }
            .timer-circle {
                width: 15rem;
                height: 15rem;
                border: 2px solid #333;
                border-radius: 50%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;    
                /* background-color: rgba(235, 235, 235, 1); */
            }
            .timer-circle.active {
                border-color: #ff0000;
            }
            .event-type {
                font-size: 2.7rem;
                font-weight: 900;
                font-family: 'SimHei', 'Microsoft YaHei', sans-serif;
                cursor: default;
                letter-spacing: 2px;
                margin-bottom: 15px;
                color: #333;
                user-select: none;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                max-width: 8ch;           /* 限制宽度为8个字符（ch = 字符宽度单位）可显示4个汉字 */
                white-space: nowrap;      /* 禁止换行 */
                overflow: hidden;         /* 超出部分隐藏 */
                text-overflow: ellipsis; 
            }
            .time-display {
                font-size: 18px;
                color: #666;
            }
            .dropdown {
                transform: translateY(0) translateZ(0); /* 设置动画变化属性和硬件加速 */
                will-change: transform, opacity; /* 提前告知动画变化，提前缓存 */
                position: fixed;
                bottom: 0;
                left: 0;
                width: 100%;
                background-color: white;
                border-top: 1px solid #ddd;
                border-radius: 10px 10px 0 0;
                box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
                z-index: 1000;
                max-height: 45vh;
                overflow-y: auto;
            }
            .dropdown-item {
                padding: 15px 20px;
                cursor: pointer;
                text-align: center;
                font-size: 23px;
                color: #ffffff;
                /* border-bottom: 1px solid #eee; */
            }
            .dropdown-item:hover {
                background-color: #f0f0f0;
            }

            /* 过渡动画基础设置 */
            .dropdown-enter-active, .dropdown-leave-active {
            transition: transform 0.3s  cubic-bezier(0.4, 0, 0.2, 1); /* 设置过渡动画，使用贝塞尔曲线优化 */
            }

            /* 进入动画起点（完全隐藏在屏幕底部） */
            .dropdown-enter-from {
            transform: translateY(100%) translateZ(0) !important; 
            /* opacity: 0 !important; */
            }

            /* 离开动画终点（完全隐藏在屏幕底部） */
            .dropdown-leave-to {
            transform: translateY(100%) translateZ(0) !important; ;
            /* opacity: 0 !important;  */
            }

            /* 修复初始位置（确保动画前元素已在底部） */
            .dropdown {
            transform: translateY(0); /* 保持默认显示位置 */
            }

/* 仅对iOS生效的条件样式，禁用iso过渡弹性导致，出现空白区域 */
@supports (-webkit-overflow-scrolling: touch) and (not (overscroll-behavior: none)) {
  .dropdown {
    -webkit-overflow-scrolling: auto;
  }
}

/* 现代浏览器通用样式，禁用弹性滚动，避免与下拉列表过渡动画冲突 */
.dropdown {
  overscroll-behavior: none; /* Android 8.0+ 和现代浏览器生效 */
}



            .notes-input {
                width: 300px;
                height: 80px;
                padding: 12px;
                border: none;
                border-radius: 5px;
                /* margin-bottom: 30px; */
                resize: none;
                font-size: 16px;
                color: #333;
                background-color: rgba(235, 235, 235, 1);
                /* background-color: #f9f9f9; */
                text-align: center;
                line-height: 1.5rem; /* 关键：使行高等于输入框高度，让占位文字和光标垂直方向对齐 */
                /* display: flex; */ /* 关键：取消flex布局*/
                align-items: center;
                justify-content: center;
                outline: none;
            }
            .notes-input::placeholder {
                text-align: center;
                line-height: 1rem; /* 确保占位符行高一致，让占位文字和光标垂直方向对齐*/
            }
            .button-group {
                display: flex;
                gap: 20px;
                width: 100%;
                max-width: 15rem;
                justify-content: space-between;
                margin: 0 auto;
            }
            .start-btn {
                padding: 12px 40px;
                border: none;
                border-radius: 230px;
                background-color: #4CAF50;
                color: white;
                font-size: 15px;
                /* cursor: pointer; */
                transition: background-color 0.3s;
                outline: none;
                -webkit-tap-highlight-color: transparent;
            }
            .view-btn {
                padding: 12px 40px;
                border: none;
                border-radius: 30px;
                background-color: #10a6cf;
                color: white;
                font-size: 15px;
                /* cursor: pointer; */
                outline: none;
                -webkit-tap-highlight-color: transparent;
            }
            .start-btn.active {
                background-color: #f44336;
            }

.event-tag {
    text-align: center;
    width: 100%;
    margin-top: 40px;
    font-size: 14px;
    color: #868686;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    /* font-weight: bold; */
}

/* 抽屉菜单样式 */
.drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f9f9f9;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 8px rgb(0 0 0 / 9%);
    z-index: 9999; /* 提高z-index确保在最上层 */

    /* 限制最大高度为屏幕高度的60-70% */
    max-height: 40vh; /* 可以根据需要调整这个百分比 */
    /* 确保内容区域可滚动 */
    overflow-y: auto;
    /* 添加最小高度保证基本显示 */
    min-height: 200px;
    /* 添加内边距 */
    padding-bottom: env(safe-area-inset-bottom, 20px); /* 适配刘海屏底部安全区域 */

    
    /* 默认完全在屏幕外 */
    /* transform: translateY(100%); */
    transform: translateY(0) translateZ(0); /* 设置动画变化属性和硬件加速 */
    will-change: transform, opacity; /* 提前告知动画变化，提前缓存 */
}

.drawer-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.drawer-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    text-align: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.drawer-content {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    padding: 8px 16px;
    background: #e7e7e7;
    border-radius: 20px;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s;
}

.tag-item:hover {
    background: #e0e0e0;
}

/* 半透明遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 0%);;
    z-index: 999;
}


            /* 过渡动画基础设置 */
            .slide-up-enter-active, .slide-up-leave-active {
            transition: transform 0.3s  cubic-bezier(0.4, 0, 0.2, 1); /* 设置过渡动画，使用贝塞尔曲线优化 */
            }

            /* 进入动画起点（完全隐藏在屏幕底部） */
            .slide-up-enter-from {
            transform: translateY(100%) translateZ(0) !important; 
            /* opacity: 0 !important; */
            }

            /* 离开动画终点（完全隐藏在屏幕底部） */
            .slide-up-leave-to {
            transform: translateY(100%) translateZ(0) !important; ;
            /* opacity: 0 !important;  */
            }

            /* 修复初始位置（确保动画前元素已在底部） */
            .drawer {
            transform: translateY(0); /* 保持默认显示位置 */
            }

/* 仅对iOS生效的条件样式，禁用iso过渡弹性导致，出现空白区域 */
@supports (-webkit-overflow-scrolling: touch) and (not (overscroll-behavior: none)) {
  .drawer {
    -webkit-overflow-scrolling: auto;
  }
}

/* 现代浏览器通用样式，禁用弹性滚动，避免与下拉列表过渡动画冲突 */
.drawer {
  overscroll-behavior: none; /* Android 8.0+ 和现代浏览器生效 */
}


/* 动画效果 */
/* .slide-up-enter-active, .slide-up-leave-active {
    transition: transform 0.3s ease;
}

.slide-up-enter-from, .slide-up-leave-to {
    transform: translateY(100%);
} */

/* 为了确保显示正确，添加一个额外的类选择器 */
/* .slide-up-enter-to, .slide-up-leave-from {
    transform: translateY(0);
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
} */
