/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');
body { font-family: 'Inter', sans-serif; }
.custom-scrollbar::-webkit-scrollbar { width: 2px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background-color: #e2e8f0; border-radius: 1px; }
.card-hover { transition: all 0.2s ease; }
.card-hover:hover { transform: translateY(-2px); }
.calendar-day {
  aspect-ratio: 1/1;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 400;
  border-radius: 12px !important;
  padding: 2px !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 登录后主内容容器，添加背景装扮，不遮挡 */
#app > div:not(.auth-page) {
  background: 
    /* 细腻纹理层（和 .main-bg 一致，低透明度） */
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23f9a8d4' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fff9fb 0%, #fff5f7 100%) !important;
  background-attachment: fixed !important;
}
/* 有记录的日子 - 圆形背景+小圆点（粉色系） */
.calendar-day.has-record { 
    background-color: #fee1f2; /* 浅粉色背景 */
    border-radius: 50%;
    position: relative; 
}
.calendar-day.has-record::after {
  content: '';
  width: 3px; /* 缩小圆点，更精致 */
  height: 3px;
  background-color: #ec4899; /* 保留原有核心粉色，不改动 */
  border-radius: 50%;
  position: absolute;
  bottom: 4px; /* 微调位置，更居中好看 */
  right: 4px;
}
/* 选中状态 - 统一使用粉色背景，和今日样式一致 */
.calendar-day.selected { 
	background-color: #f9a8d4; /* 浅粉色 */
	color: white;
	border-radius: 50%; 
	font-weight: 500; 
}
/* 今日样式优先级高于选中状态（粉色主色） */
.calendar-day.today { 
  background-color: #ec4899; /* 粉色主色 */
  color: white;
  border-radius: 50%; 
  font-weight: 600; 
}
/* 未来日期样式 - 灰色不可点击 */
.calendar-day.future-day {
  color: #d1d5db;
  cursor: not-allowed;
}
/* 日历切换按钮（上月/下月 */
button.text-gray-500.p-1 {
  color: #f9a8d4 !important; /* 替换原灰色，用浅粉棕，统一温柔风格 */
  border-radius: 8px; /* 圆角按钮，更温柔 */
  padding: 4px 8px !important; /* 增大点击区域，更友好 */
}
/* 日历月份栏（年月切换）过渡背景样式 - 贴合粉色主题 */
.calendar-month-bar {
  background: linear-gradient(90deg, #fce7f3 0%, #fef2f7 50%, #fce7f3 100%);
  border-radius: 12px;
  padding: 8px 16px;
  margin-bottom: 4px; /* 保持和下方日历格子的间距 */
}
/* 年月文字样式优化，突出主题 */
.calendar-month-text {
  color: #db2777;
  font-weight: 600;
}
/* 完整的日历组件（星期+日期）背景样式 - 高对比度+装扮优化 */
.calendar-container {
  /* 渐变背景+细腻纹理 */
  background: 
    linear-gradient(145deg, #ffffff 0%, #fcf6f9 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.628 5.372c-5.857-5.857-15.355-5.857-21.213 0L30 10.745 26.586 7.331c-5.857-5.857-15.355-5.857-21.213 0S.372 11.229.372 17.086 5.372 32.484 11.229 38.341L30 57.112l18.771-18.771c5.857-5.857 10.857-15.355 10.857-21.213S60.485 11.229 54.628 5.372z' fill='%23fce7f3' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
  padding: 16px;
  border-radius: 16px;
  /* 内阴影+外阴影，增强立体感 */
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 3px rgba(236, 72, 153, 0.05),
    0 2px 10px rgba(236, 72, 153, 0.08);
  transition: all 0.6s ease;
  margin: 8px 0 16px 0;
  /* 轻微边框，提升精致度 */
  border: 1px solid rgba(252, 231, 243, 0.5);
}
/* 星期栏文字样式优化，和渐变背景形成对比，更醒目 */
.calendar-week-day {
  color: #db2777;
  font-weight: 600;
  font-size: 11px;
}
/* 自定义弹窗样式 */
.custom-modal { transition: all 0.3s ease; }
.fade-in { animation: fadeIn 0.3s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
/* 自定义下拉框样式（粉色聚焦） */
.custom-select-dropdown { max-height: 150px; overflow-y: auto; }
.custom-select-option:hover { background-color: #fef2f7; /* 浅粉色 */ }
/* 自定义时间选择器样式（粉色聚焦） */
.custom-date-time-picker { gap: 2px; }
.custom-time-input { border: 1px solid #e5e7eb; border-radius: 0.375rem; padding: 0.5rem; font-size: 0.875rem; }
.custom-time-input:focus { ring: 1px solid #f9a8d4 !important; }
.custom-time-separator { display: flex; align-items: center; justify-content: center; padding: 0 0.25rem; }
.date-time-option { padding: 0.5rem; cursor: pointer; }
.date-time-option:hover { background-color: #fef2f7; /* 浅粉色 */ }
.date-time-dropdown { max-height: 220px; overflow-y: auto; background-color: white; border: 1px solid #e5e7eb; border-radius: 0.375rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
/* 大号圆形新增按钮样式（粉色主题） */
.big-add-btn {
    width: 60px;
    height: 60px;
    transition: all 0.2s ease;
    background-color: #ec4899 !important; /* 粉色主色 */
}
.big-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3); /* 粉色阴影 */
}
/* 自定义提示弹窗样式 - 粉色主题 */
.custom-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(236, 72, 153, 0.8); /* 粉色半透明背景 */
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
}
.custom-toast.show {
    opacity: 1;
}
/* 登录/注册页面样式 - 粉色主题+爱心相关样式 */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #fff5f7; /* 浅粉色背景 */
    background-image: 
        radial-gradient(rgba(249, 168, 212, 0.2) 2px, transparent 2px),
        radial-gradient(rgba(249, 168, 212, 0.2) 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
}
.auth-card {
    width: 100%;
    max-width: 400px;
    background-color: white;
    border-radius: 1.5rem; /* 更大圆角，更柔和 */
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.1); /* 粉色阴影 */
    position: relative;
    overflow: hidden;
}
/* 爱心装饰元素（卡片顶部左侧） */
.auth-card::before {
    content: '\f004';
    font-family: 'FontAwesome';
    color: rgba(249, 168, 212, 0.1);
    font-size: 120px;
    position: absolute;
    top: -40px;
    left: -40px;
    z-index: 0;
}
/* 粉色主题按钮hover效果 */
.btn-pink {
    transition: all 0.2s ease;
}
.btn-pink:hover {
    background-color: #db2777 !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}
/* 爱心图标样式（提示语前） */
.icon-heart {
    color: #ec4899;
    margin-right: 0.5rem;
}
/* 主页全局背景（粉色主题） */
.main-bg {
    background-color: #fff5f7 !important;
}
/* 底部Tab导航（粉色主题） */
.tab-nav {
    border-top: 1px solid #fce7f3 !important;
}
.tab-active {
    color: #ec4899 !important;
}
.tab-inactive {
    color: #d1d5db !important;
}
/* 统计卡片（粉色主题） */
.stats-card {
    background-color: #fef2f7 !important;
}
.stats-number {
    color: #ec4899 !important;
}
/* 满意度进度条（粉色主题） */
.satisfaction-bar {
    background-color: #ec4899 !important;
}
/* 关系人卡片（粉色主题） */
.contact-avatar {
    background-color: #fce7f3 !important;
    color: #ec4899 !important;
}
.contact-tag {
    background-color: #fef2f7 !important;
    color: #ec4899 !important;
    border: 1px solid #fce7f3 !important;
}
/* 按钮通用样式（粉色主题） */
.btn-primary {
    background-color: #ec4899 !important;
}
.btn-primary:hover {
    background-color: #db2777 !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}
.btn-secondary {
    border-color: #fce7f3 !important;
    color: #ec4899 !important;
}
/* 输入框聚焦样式（粉色主题） */
.input-focus:focus {
    ring: 2px solid #f9a8d4 !important;
    border-color: #ec4899 !important;
}
/* 小型操作按钮（粉色主题） */
.btn-sm-primary {
    background-color: #fef2f7 !important;
    color: #ec4899 !important;
}
.btn-sm-danger {
    background-color: #fee2e2 !important;
    color: #ef4444 !important;
}
/* 隐藏原生单选框 */
.radio-icon-input {
    display: none;
}
/* 图标单选框容器 */
.radio-icon-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
/* 未选中状态 */
.radio-icon-label:not(.checked) {
    background-color: #f9fafb;
    color: #9ca3af;
}
/* 未选中hover效果 */
.radio-icon-label:not(.checked):hover {
    background-color: #fef2f7;
}
/* 选中状态（贴合粉色主题） */
.radio-icon-label.checked {
    background-color: #fef2f7;
    color: #ec4899;
    border: 1px solid #fce7f3;
}
/* 图标样式 */
.radio-icon {
    font-size: 24px;
}
/* 文字样式 */
.radio-icon-text {
    font-size: 12px;
    font-weight: 500;
}

/* 满意度表情选择样式 */
.flex-col.items-center.gap-1.cursor-pointer:hover {
    transform: scale(1.15) !important;
    opacity: 1 !important;
    color: #ec4899 !important;
}

/* 选中表情的高亮样式 */
.scale-110.text-pink-500 {
    font-weight: 500;
    text-shadow: 0 0 8px rgba(236, 72, 153, 0.3);
}

/* 满意度分布中的表情样式 */
.w-16.flex.items-center.gap-1 {
    justify-content: flex-start;
}

/* 确保表情在小屏幕上不挤压 */
@media (max-width: 375px) {
    .flex.justify-around.items-center.py-2 {
        gap: 4px;
    }
    .text-3xl {
        font-size: 1.8rem !important;
    }
}

/* 新增：记录类型标签样式（事件、感言） */
.bg-blue-100 {
    background-color: #eff6ff;
}
.text-blue-600 {
    color: #3b82f6;
}
.bg-green-100 {
    background-color: #f0fdf4;
}
.text-green-600 {
    color: #10b981;
}

/* 适配小屏幕的记录类型单选框换行后间距 */
.radio-icon-label {
    flex: 1 1 50px; /* 自适应宽度，小屏幕自动换行 */
}

/* 新增：事件、感言类型的选中样式（保持粉色主题统一） */
.radio-icon-label.checked[data-type="3"],
.radio-icon-label.checked[data-type="4"] {
    background-color: #fef2f7;
    color: #ec4899;
    border: 1px solid #fce7f3;
}

/* 个人页面专属样式（粉色主题） */
.bg-fef2f7 {
    background-color: #fef2f7 !important;
}
.bg-fce7f3 {
    background-color: #fce7f3 !important;
}
.text-pink-500 {
    color: #ec4899 !important;
}
/* 个人页面设置项hover效果优化 */
.card-hover.flex.justify-between.items-center:hover {
    border-color: #fce7f3 !important;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.08) !important;
}
/* 个人页面统计卡片样式优化 */
.grid.grid-cols-2.gap-3.text-center > div {
    border: 1px solid #fce7f3 !important;
}
/* 底部Tab导航适配5个选项（调整间距，避免挤压） */
@media (max-width: 375px) {
    .tab-nav .flex.flex-col.items-center.gap-1 {
        gap: 0.5px !important;
    }
    .tab-nav .text-lg {
        font-size: 1rem !important;
    }
    .tab-nav .text-xs {
        font-size: 10px !important;
    }
}

/* 安全锁弹窗补充样式 */
.fade-in {
    animation: fadeIn 0.3s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
input[type="password"]:focus {
    border-color: #ec4899 !important;
    ring: 2px solid #f9a8d4 !important;
}
/* 自定义滑动条（粉色主题）- 全局样式 */
.custom-range-slider {
    /* 隐藏原生滑动条样式 */
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #fce7f3; /* 滑动条背景色（浅粉色） */
    border-radius: 3px;
    outline: none;
}

/* 滑动条滑块样式（兼容 Webkit 内核） */
.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ec4899; /* 滑块主色（深粉色，贴合主题） */
    border-radius: 50%; /* 圆形滑块 */
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3); /* 滑块阴影，增强立体感 */
}

/* 滑块 hover 效果 */
.custom-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #db2777; /* 深一点的粉色，增强交互反馈 */
    box-shadow: 0 3px 8px rgba(236, 72, 153, 0.4);
}

/* 兼容 Firefox 浏览器 */
.custom-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ec4899;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3);
}

.custom-range-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    background: #db2777;
    box-shadow: 0 3px 8px rgba(236, 72, 153, 0.4);
}

/* Firefox 滑动条轨道样式修正 */
.custom-range-slider::-moz-range-track {
    height: 6px;
    background: #fce7f3;
    border-radius: 3px;
    border: none;
}

/* 安全锁验证时背景虚化效果 */
/* 虚化遮罩容器 - 覆盖整个视口，层级低于安全锁弹窗 */
.security-lock-blur-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25; /* 低于安全锁弹窗的 z-30，高于其他页面内容 */
    backdrop-filter: blur(8px); /* 核心：背景高斯模糊 */
    -webkit-backdrop-filter: blur(8px); /* 兼容 Webkit 内核浏览器（如 Chrome、Safari） */
    background-color: rgba(255, 255, 255, 0.5); /* 半透明白色叠加，优化粉色主题视觉效果 */
    transition: all 0.3s ease-in-out; /* 模糊效果平滑过渡，避免生硬 */
}

/* 安全锁弹窗保持原有层级，确保不被虚化，更突出 */
div[v-if="showSecurityLockModal"] {
    z-index: 30; /* 高于虚化遮罩，确保弹窗清晰可见 */
}

/* 优化安全锁弹窗内容，增强与虚化背景的对比 */
div[v-if="showSecurityLockModal"] .bg-white {
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15); /* 加深阴影，提升立体感 */
    border: 1px solid rgba(252, 231, 243, 0.8); /* 增加浅粉色边框，贴合主题 */
}
/* 地点选择下拉框优化 */
.custom-select-dropdown input {
    font-size: 12px;
}
.custom-select-dropdown .fa-pencil {
    font-size: 10px;
}
/* 地点输入框聚焦样式 */
.custom-select-dropdown input:focus {
    border-color: #ec4899 !important;
}
/* 漂流瓶功能样式 */
.bottle-card {
    transition: all 0.3s ease;
}
.bottle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.1);
}
.bottle-reply-item {
    animation: fadeIn 0.5s ease forwards;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.fa-tint {
    animation: float 3s ease-in-out infinite;
}
/* 漂流瓶UI升级核心样式 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-float {
    animation: float 3s ease-in-out infinite;
}
.animate-ping {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.animate-fadeIn {
    animation: fadeIn 0.3s ease forwards;
}

/* 核心海浪容器（粉色底色） */
.bottle-sea-animation {
  position: relative;
  background: linear-gradient(to bottom, #fef2f2, #fce7f3);
  overflow: hidden;
}

/* 第一层海浪（主波浪-浅粉） */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 40px;
  background: #f9a8d4; /* 浅粉色海浪 */
  border-radius: 50%;
  /* 优化1：使用更平滑的ease-out，且动画改为alternate（往返）+ infinite */
  animation: waveMove 5s ease-out infinite alternate;
  opacity: 0.8;
  /* 优化2：开启硬件加速，减少动画卡顿 */
  transform: translate3d(0, 0, 0);
}

/* 第二层海浪（副波浪-中粉） */
.wave:nth-child(2) {
  height: 28px;
  background: #f472b6; /* 中粉色海浪 */
  /* 优化1：调整动画时长和缓动函数，与主浪形成差异化且衔接更顺 */
  animation: waveMove 8s ease-in-out infinite alternate;
  opacity: 0.6;
  bottom: 10px;
  transform: translate3d(0, 0, 0);
}

/* 第三层海浪（细波浪-深粉） */
.wave:nth-child(3) {
  height: 15px;
  background: #ec4899; /* 深粉色海浪 */
  /* 优化1：调整缓动函数，避免硬切 */
  animation: waveMove 6s ease-in infinite alternate;
  opacity: 0.4;
  bottom: 15px;
  transform: translate3d(0, 0, 0);
}

/* 优化核心：重写海浪动画，实现无缝往返滚动 */
@keyframes waveMove {
  0% { 
	  transform: translateX(0); 
  }
  100% { 
	  /* 优化：位移从-50%改为-25%，配合alternate实现往返，避免瞬间复位 */
	  transform: translateX(-25%); 
  }
}

/* 单瓶子海面漂浮动画（仅起伏+轻微旋转） */
.animate-float {
  animation: floatOnSea 6s ease-in-out infinite;
}

@keyframes floatOnSea {
  0%, 100% { 
	  transform: translateY(0) rotate(-2deg); 
	  opacity: 1;
  }
  25% { 
	  transform: translateY(-6px) rotate(1deg); 
  }
  50% { 
	  transform: translateY(-8px) rotate(2deg); 
  }
  75% { 
	  transform: translateY(-4px) rotate(-1deg); 
  }
}
      
	  
/* 捞瓶子点击动画（核心新增） */
.animate-fetch {
	animation: fetchBottle 1.5s ease-out forwards;
}

@keyframes fetchBottle {
	0% { 
		transform: translateX(-50%) translateY(0) rotate(-3deg) scale(1); 
		opacity: 1;
	}
	20% { 
		/* 先快速上浮+轻微放大+晃动 */
		transform: translateX(-50%) translateY(-20px) rotate(8deg) scale(1.1); 
		opacity: 1;
	}
	40% { 
		/* 小幅回落+反向晃动 */
		transform: translateX(-50%) translateY(-15px) rotate(-8deg) scale(1.05); 
		opacity: 1;
	}
	60% { 
		/* 再次上浮+轻微旋转 */
		transform: translateX(-50%) translateY(-25px) rotate(4deg) scale(1.15); 
		opacity: 1;
	}
	80% { 
		/* 减速上浮 */
		transform: translateX(-50%) translateY(-30px) rotate(-2deg) scale(1.1); 
		opacity: 0.9;
	}
	100% { 
		/* 最终捞起效果：上浮+轻微透明+缩小 */
		transform: translateX(-50%) translateY(-40px) rotate(0deg) scale(1); 
		opacity: 0.8;
	}
}
/* 粉色系漂流瓶样式 */
.bottle-icon {
  filter: drop-shadow(0 2px 3px rgba(236, 72, 153, 0.3));
  color: #db2777; /* 深玫红瓶子 */
  /* 固定在海面上方（关键：bottom定位） */
  position: absolute;
  bottom: 25px; /* 紧贴海浪上方 */
  left: 50%; /* 水平居中 */
  transform: translateX(-50%); /* 精准居中 */
  font-size: 3xl;
              }



/* 按钮渐变与发光效果 */
.bg-gradient-to-r {
    background-image: linear-gradient(90deg, var(--tw-gradient-stops));
}
/* 关于应用弹窗样式优化 */
.bg-fef2f7 {
    background-color: #fef2f7;
}
.bg-fce7f3 {
    background-color: #fce7f3;
}
.stats-number {
    color: #ec4899; /* 粉色主题色 */
}
.card-hover {
    transition: all 0.2s ease;
}
.card-hover:hover {
    transform: translateY(-2px);
}
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.bg-gray-50 .text-lg {
    letter-spacing: 1px; /* 字符间距增大，更易识别 */
}
/* 日历记录页 - 标签美化样式（粉色主题） */
/* 通用标签容器 */
.record-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
	transition: all 0.2s ease;
}
/* 主标签（戴套/未戴套，突出显示） */
.record-tag-primary {
    background-color: #fef2f7;
    color: #ec4899;
    border: 1px solid #fce7f3;
}
/* 辅助标签（时长、地点，柔和显示） */
.record-tag-secondary {
    background-color: #f9fafb;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}
/* 标签图标样式 */
.record-tag-icon {
    font-size: 8px;
    margin-top: 1px;
}
/* 记录列表信息行布局优化 */
.record-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
/* 私信功能样式 */
.line-clamp-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 聊天记录滚动条优化 */
.overflow-y-auto::-webkit-scrollbar {
    width: 3px;
}
.overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: #f9a8d4;
    border-radius: 3px;
}
/* 发送按钮hover效果 */
.bg-pink-500:hover {
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}
/* 私信列表项hover效果 */
.bg-white.border.border-pink-50.rounded-xl.p-4:hover {
    border-color: #fce7f3;
}

/* 优化后的私信聊天样式（贴近微信） */
/* 聊天容器整体间距 */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* 时间分割线样式（居中灰色条+时间文字） */
.chat-time-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
  gap: 8px;
}
.chat-time-divider::before,
.chat-time-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #fce7f3;
  max-width: 80px;
}
.chat-time-text {
  font-size: 10px;
  color: #9ca3af;
  background-color: #f9fafb;
  padding: 2px 8px;
  border-radius: 8px;
}
/* 对方消息（左侧） */
.chat-opponent {
  justify-content: flex-start;
}
.chat-opponent .chat-bubble {
  max-width: 70%;
  background-color: #ffffff;
  color: #1f2937;
  border: 1px solid #fce7f3;
  border-radius: 12px;
  border-top-left-radius: 0; /* 左上不圆角，贴合微信样式 */
}
.chat-opponent .chat-content {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.4;
}
/* 自己消息（右侧） */
.chat-mine {
  justify-content: flex-end;
}
.chat-mine .chat-bubble {
  max-width: 70%;
  background-color: #ec4899;
  color: #ffffff;
  border-radius: 12px;
  border-top-right-radius: 0; /* 右上不圆角，贴合微信样式 */
}
.chat-mine .chat-content {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.4;
}
/* 移除原有每条消息的单独时间样式 */
.chat-msg-time {
  display: none;
}
/* 聊天滚动容器优化 */
.chat-scroll-container {
  height: 50vh;
  overflow-y: auto;
  padding: 4px 0;
}
.chat-scroll-container::-webkit-scrollbar {
  width: 2px;
}
.chat-scroll-container::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 1px;
}

/* 私信Tab角标样式优化 */
.bottle-tab-badge {
    position: absolute;
    top: -1px;
    right: -2px;
    background-color: #ef4444; /* 红色，贴合主题警示色 */
    color: white;
    font-size: 10px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    line-height: 1;
}

/* 修改资料/密码弹窗补充样式 */
input[type="radio"]:checked {
    accent-color: #ec4899;
}

/* 用户名hover编辑图标样式优化 */
.cursor-pointer:hover .fa-pencil {
    opacity: 1;
}

/* 平滑过渡效果 */
.transition-all {
    transition: all 0.2s ease;
}
.transition-colors {
    transition: colors 0.2s ease;
}
.transition-shadow {
    transition: box-shadow 0.2s ease;
}

/* 修复可能的图标对齐问题 */
.fa {
    vertical-align: middle;
}

/* 卡片hover效果增强 */
.bg-white.hover\:shadow-md:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}