/* 优化后的返回按钮样式 */
.back-btn {
    bottom: 20px;          /* 距离底部20px */
    left: 50%;             /* 水平位置从50%开始 */
    width: 88px;           /* 保持原有宽度 */
    height: 36px;          /* 保持原有高度 */
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    padding: 0 12px;
    gap: 6px;
    /* 移除原有定位属性 */
    top: auto;
    right: auto;
}
.back-btn:hover {
    background-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.back-btn:active {
    transform: translateY(0);
}
.back-text {
    color: white;
    font-size: 14px;  /* 字号缩小12.5% */
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: transform 0.25s ease;
}
.back-icon {
    width: 16px;  /* 图标尺寸缩小20% */
    height: 16px;
    filter: brightness(0) invert(1);
    transition: transform 0.25s ease;
}
/* 优化动画幅度 */
.back-btn:hover .back-icon {
    transform: translateX(-2px);
}
.back-btn:hover .back-text {
    transform: translateX(1px);
}


.back-relative-btn {
    /*position: fixed;*/
    top: 16px;
    left: 16px;
    width: 88px;  /* 总宽度减少20% */
    height: 36px;  /* 高度降低18% */
    border-radius: 6px;  /* 圆角缩小25% */
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    padding: 0 12px;  /* 内边距减少25% */
    gap: 6px;  /* 元素间距缩小25% */
}
.back-relative-btn:hover {
    background-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.back-relative-btn:active {
    transform: translateY(0);
}
.back-text {
    color: white;
    font-size: 14px;  /* 字号缩小12.5% */
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: transform 0.25s ease;
}
.back-icon {
    width: 16px;  /* 图标尺寸缩小20% */
    height: 16px;
    filter: brightness(0) invert(1);
    transition: transform 0.25s ease;
}
/* 优化动画幅度 */
.back-relative-btn:hover .back-icon {
    transform: translateX(-2px);
}
.back-relative-btn:hover .back-text {
    transform: translateX(1px);
}
.fs-7 {
    font-size: 0.9rem !important; /* 强制覆盖默认样式 */
    line-height: 1.5; /* 保持阅读舒适性[2,8](@ref) */
}
.fs-8 {
    font-size: 0.7rem !important;
    line-height: 1;
}
/*文字展示首行缩进*/
.text-indent { text-indent: 2em; }

.fixed-height-card {
    /*height: 15rem;*/
    display: flex;
    flex-direction: column;
}
.card-img-container {
    height: 70%; /* 图片区域占卡片高度的65% */
    flex-shrink: 0;
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0; /* 修复flex内容溢出问题 */
}
.object-fit-cover {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
.HeartAnimation {
    /* 添加你的心跳动画样式 */
}

.text-truncate {
    max-width: 100%;
}

.g-25{
    --bs-gutter-x: 0.55rem;
    --bs-gutter-y: 0.5rem;
}
.my-top-50 {
    top:35%!important
}
.my-left-10 {
    left:10%!important
}
.my-right-10 {
    right:10%!important
}
.my-bottom-10 {
    bottom:10%!important
}
.my-bottom-0 {
    bottom:-10px!important
}