* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #f5f5f5;
    padding-bottom: 80px;
}

.header {
    background: #EB6315;;
    padding: 6px 8px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 18px;
}

.back-btn {
    font-size: 24px;
    cursor: pointer;
}

/**
 * 个人中心
 */
.content-box{
    min-height: calc(100vh - 12px);
    opacity: 1;
    background: linear-gradient(180deg,rgba(235, 99, 21, 1) 0%,  rgba(235, 99, 21, 0) 49.05%);
    overflow: hidden;
    margin-top: -1px;
    position: relative;
}
.user-info {
    padding: 22px 16px 30px;
    display: flex;
    align-items: center;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.user-detail {
    margin-left: 16px;
    color: white;
}

.username {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.score {
    font-size: 18px;
    margin-bottom: 6px;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    background-image: url('../image/level_back.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /*padding: 5px 35px;*/
    font-size: 12px;
    width: 90px;
    height: 30px;
}

.level-badge span {
    color: #000000;
    margin-left: 35px;
}


.user-setting{
    position: absolute;
    right: 10px;
    top: 25px;
    font-size: 13px;
}
.user-setting a{
    color: #E41513;
}

.menu-list {
    background-color: white;
    margin: 12px;
    border-radius: 8px;
    overflow: hidden;
    border-top: 1px solid #EDE8E8;
    box-shadow: 0px 2px 4px #0000003b;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f9f9f9;
}

.menu-item i {
    color: #999;
    font-size: 18px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 12px;
    padding: 4px 8px;
}

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

.nav-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}



/**
 * 个人中心-预约列表
 */
.appointment-list {
    padding: 12px;
}

.appointment-list .appointment-item {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.appointment-list .item-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.appointment-list .item-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.appointment-list .item-info:last-child {
    margin-bottom: 0;
}




/**
 * 个人中心-积分列表
 */
.header-content a.back-btn {
    color: white;
    text-decoration: none;
}

.points-list {
    padding: 12px;
}

.points-item {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.points-info .points-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.points-info .points-date {
    font-size: 14px;
    color: #666;
}

.points-value {
    font-size: 18px;
    font-weight: 600;
}

.points-add {
    color: #e74c3c;
}

.points-minus {
    color: #e74c3c;
}

/**
 * 个人中心-兑换列表
 */
.exchange-tabs {
    display: flex;
    background-color: white;
    padding: 12px 0;
}

.exchange-tabs .tab-item {
    flex: 1;
    text-align: center;
    font-size: 16px;
    color: #666;
    position: relative;
    cursor: pointer;
}

.exchange-tabs .tab-item.active {
    color: #e74c3c;
}

.exchange-tabs .tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #e74c3c;
}

.exchange-list {
    padding: 12px;
}

.exchange-item {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.exchange-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.exchange-info {
    flex: 1;
    margin-left: 16px;
}

.exchange-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.exchange-points-row {
    display: flex;
    align-items: flex-end;
    margin-bottom: 8px;
}

.exchange-points {
    font-size: 14px;
    color: #e74c3c;
    margin-right: 10px;
}

.qr-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.exchange-time {
    font-size: 12px;
    color: #999;
}

.verify-btn {
    background-color: #EB6315;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.qr-modal-content {
    background-color: white;
    border-radius: 8px;
    width: 80%;
    max-width: 300px;
    overflow: hidden;
}

.qr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.qr-modal-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.qr-modal-close {
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

/**
 * 个人中心-核销
 */
.qr-modal-body {
    padding: 20px;
    text-align: center;
}

.qr-modal-img {
    width: 100%;
    max-width: 250px;
}

.verify-section {
    padding: 12px;
}

.verify-qr-box {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.verify-qr-title {
    background-color: #EB6315;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
}

.verify-qr-content {
    text-align: center;
    padding: 20px;
    background-color: white;
}

.verify-qr-img {
    width: 180px;
    height: 180px;
}

.verify-input-box {
    padding: 0 20px 16px;
}

.verify-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.verify-input:focus {
    border-color: #EB6315;
}

.verify-submit-btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    background-color: #EB6315;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
}

.order-info-box {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.order-info-title {
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.order-info-content {
    display: flex;
    padding: 16px;
}

.order-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.order-detail {
    flex: 1;
    margin-left: 16px;
}

.order-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.order-points {
    font-size: 14px;
    color: #e74c3c;
    margin-bottom: 8px;
}

.order-time {
    font-size: 12px;
    color: #999;
}

/**
 * 商品详情
 */
.detail-content {
    padding-bottom: 80px;
}

.detail-img-box {
    background-color: white;
    padding: 20px;
    text-align: center;
}

.detail-img {
    width: 100%;
    max-width: 300px;
}

.detail-info-box {
    /* background-color: white; */
    margin-top: 12px;
    padding: 0 16px;
}

.detail-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.detail-points-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-points {
    font-size: 18px;
    font-weight: 600;
    color: #e74c3c;
}

.detail-stock {
    font-size: 14px;
    color: #999;
}

.detail-desc-box {
    background-color: white;
    margin-top: 12px;
    padding: 16px;
}

.detail-desc-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.detail-desc-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.detail-desc-content img{
    max-width: 100% !important;
}

.detail-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: white;
    padding: 12px 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.detail-exchange-btn {
    width: 100%;
    background-color: #EB6315;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}

.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.confirm-modal-content {
    background-color: white;
    border-radius: 8px;
    width: 80%;
    max-width: 320px;
    overflow: hidden;
}

.confirm-modal-body {
    padding: 30px 20px;
    text-align: center;
}

.confirm-modal-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.confirm-modal-footer {
    display: flex;
    border-top: 1px solid #e0e0e0;
}

.confirm-btn-cancel,
.confirm-btn-ok {
    flex: 1;
    padding: 14px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.confirm-btn-cancel {
    background-color: white;
    color: #666;
    border-right: 1px solid #e0e0e0;
}

.confirm-btn-ok {
    background-color: white;
    color: #EB6315;
}

.confirm-btn-ok + .confirm-btn-ok {
    border-left: 1px solid #e0e0e0;
}
/**
 * 加入我们详情
 */
.article-content {
    padding: 16px;
    padding-bottom: 80px;
}

.article-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
}

.article-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.article-meta span {
    margin-right: 16px;
}

.article-text {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}

.article-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background-color: white;
    padding: 12px 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.article-apply-btn {
    width: 100%;
    background-color: #EB6315;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}
/**
 * 慈善商家-表单
 */
.join-form-container {
    padding: 16px;
    padding-bottom: 30px;
}

.join-form {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.form-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.form-label {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
}

.form-input {
    width: 100%;
    border: none;
    font-size: 15px;
    color: #333;
    outline: none;
}

.form-input::placeholder {
    color: #999;
}

.form-textarea {
    width: 100%;
    border: none;
    font-size: 15px;
    color: #333;
    outline: none;
    resize: none;
    min-height: 80px;
}

.form-textarea::placeholder {
    color: #999;
}

.form-char-count {
    position: absolute;
    right: 16px;
    bottom: 16px;
    font-size: 12px;
    color: #999;
}

.upload-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.upload-item img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.upload-delete {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
}

.upload-btn {
    width: 80px;
    height: 80px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #f9f9f9;
}

.upload-btn i {
    font-size: 22px;
    color: #ccc;
}

.form-submit-box {
    padding: 30px 16px 16px;
    border-radius: 3px;
}

.form-submit-btn {
    width: 100%;
    background-color: #EB6315;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}
/**
 * 时间选择器
 */

.time-select-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-input {
    flex: 1;
    border: none;
    font-size: 15px;
    color: #333;
    outline: none;
    background-color: #f5f5f5;
    padding: 10px 12px;
    border-radius: 4px;
    text-align: center;
}

.time-separator {
    color: #666;
    font-size: 15px;
}

.form-select {
    width: 100%;
    border: none;
    font-size: 15px;
    color: #333;
    outline: none;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

.form-select option {
    color: #333;
}

/**
 * 商城内容
 */
.mall-content {
    padding-bottom: 70px;
}

.rule-link {
    display: flex;
    align-items: center;
    padding: 16px;
    /* background-color: white; */
    /* margin-bottom: 12px; */
}

.rule-icon {
    color: #EB6315;
    font-size: 18px;
    margin-right: 8px;
}

.rule-text {
    flex: 1;
    font-size: 15px;
    color: #EB6315;
}

.rule-arrow {
    color: #999;
    font-size: 16px;
}

.goods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;
}

.goods-item {
    background-color: white;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    border-top: 1px solid rgba(237, 232, 232, 1);
    box-shadow: 0px 2px 4px  rgba(0, 0, 0, 0.25);
}

.goods-img-box {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    margin-bottom: 8px;
}

.goods-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.goods-name {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
}

.goods-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.goods-points {
    font-size: 16px;
    font-weight: 600;
    color: #EB6315;
}

.goods-stock {
    font-size: 12px;
    color: #999;
}

/**
 * 新闻列表
 */
 .category-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background: #fff;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-list {
    display: inline-flex;
    padding: 0 15px;
}

.category-item {
    display: inline-block;
    padding: 7px 20px;
    margin-right: 10px;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s;
}

.category-item.active {
    background: #ff6600;
    color: #fff;
}
.news-content {
    padding: 12px;
}

.news-item {
    background-color: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    align-items: flex-start;
    border-top: 1px solid rgba(237, 232, 232, 1);
    box-shadow: 0px 2px 4px  rgba(0, 0, 0, 0.25);
}

.news-img-box {
    width: 130px;
    flex-shrink: 0;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: calc(100% - 130px);
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 隐藏溢出的文本 */
    text-overflow: ellipsis; /* 显示省略号 */
}

.news-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2px;
    display: -webkit-box; /* 兼容老版本WebKit浏览器 */
    display: -moz-box; /* 兼容老版本Mozilla浏览器 */
    display: box; /* 兼容旧版本Opera */
    display: -ms-flexbox; /* 兼容IE10 */
    display: flexbox; /* 兼容旧版本Opera */
    display: flex; /* 现代标准 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box; /* 启用弹性盒子布局 */
    -webkit-line-clamp: 2; /* 这个属性只在webkit内核的浏览器中有效 */
    -webkit-box-orient: vertical; /* 设置盒子方向为垂直方向 */
    height: 40px;
}

.news-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-sign-btn {
    background-color: #EB6315;
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.news-sign-btn.cancle {
    background-color: #d2d2d2;
    color: #999;
}

.news-date {
    font-size: 13px;
    color: #999;
}

.view-more-box {
    text-align: center;
    padding: 20px 0;
}

.view-more-text {
    color: #EB6315;
    font-size: 14px;
}

.view-more-text_gray {
    color: #a19f9f;
    font-size: 14px;
}

/**
 * 活动详情内容
 */
.activity-detail-content {
    padding: 16px;
    padding-bottom: 100px;
}

.activity-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    text-align: center;
}

.activity-info-box {
    background-color: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.activity-info-item {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.activity-info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #666;
}

.info-value {
    color: #333;
}

.info-value.status-signing {
    color: #EB6315;
    font-weight: 500;
}

.info-value.points {
    color: #EB6315;
    font-weight: 600;
}

.activity-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 0 16px;
}

.activity-content-box {
    background-color: white;
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
}

.activity-content-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.activity-content-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.activity-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 12px 20px;
    display: flex;
    gap: 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.activity-btn {
    flex: 1;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.activity-btn.volunteer-btn {
    background-color: white;
    border: 1px solid #EB6315;
    color: #EB6315;
}

.activity-btn.sign-btn {
    background-color: #EB6315;
    color: white;
}

/**
 * 新闻详情内容
 */
.news-detail-content {
    padding-bottom: 80px;
}

.news-detail-header {
    background-color: white;
    padding: 20px 16px;
    /* margin-bottom: 12px; */
}

.news-detail-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    text-align: center;
}

.news-detail-meta {
    display: flex;
    gap: 12px;
}

.news-detail-source {
    font-size: 14px;
    color: #666;
}

.news-detail-date {
    font-size: 14px;
    color: #999;
}

.news-detail-body {
    background-color: white;
    padding: 16px;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
}

.comment-section {
    background-color: white;
    padding: 16px;
}

.comment-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 12px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background-color: #e0e0e0;
    border-radius: 50%;
    flex-shrink: 0;
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comment-content-box {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-nickname {
    font-size: 14px;
    color: #666;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.news-detail-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 12px 0;
    display: flex;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.action-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.action-icon {
    width: 24px;
    height: 24px;
}

.action-text {
    font-size: 12px;
    color: #666;
}

.comment-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
}

.comment-modal {
    background-color: white;
    width: 100%;
    padding: 20px;
    border-radius: 16px 16px 0 0;
}

.comment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.comment-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.comment-modal-close {
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

.comment-textarea {
    width: 100%;
    height: 120px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    resize: none;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.comment-submit-btn {
    width: 100%;
    background-color: #EB6315;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.share-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
}

.share-modal {
    background-color: white;
    width: 100%;
    padding: 20px;
    border-radius: 16px 16px 0 0;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.share-modal-close {
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

.share-options {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.share-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #09BB07;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-icon-wrapper i {
    color: white;
    font-size: 30px;
}

.share-option-text {
    font-size: 14px;
    color: #333;
}

/**
 * 登录内容
 */

.login-content {
    padding: 60px 20px;
}

.logo-box {
    text-align: center;
    margin-bottom: 100px;
    margin-top: 20px;
}

.logo-img {
    max-width: 250px;
    height: auto;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.login-btn.wechat-btn {
    background-color: #EB6315;
    color: white;
    border: none;
}

.login-btn.back-btn {
    background-color: white;
    color: #666;
    border: 1px solid #e0e0e0;
}

/**
 * 404错误内容
 */

.error-404-content {
    padding: 100px 20px;
    text-align: center;
}

.error-code {
    font-size: 100px;
    font-weight: 700;
    color: #EB6315;
    margin-bottom: 20px;
    line-height: 1;
}

.error-message {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.error-desc {
    font-size: 14px;
    color: #999;
    margin-bottom: 40px;
}

.back-home-btn {
    background-color: #EB6315;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

/**
 * 导览列表
 */
.map-section {
    padding: 15px;
    background: #f5f5f5;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.map-popup {
    padding: 10px;
    min-width: 200px;
}

.map-popup-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.map-popup-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.map-popup-btn {
    display: inline-block;
    padding: 5px 15px;
    background: #d43030;
    color: #fff !important;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
}

.guide-tabs {
    display: flex;
    padding: 0px 15px 0px 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
}

.guide-tab {
    flex: 1;
    text-align: center;
    font-size: 15px;
    color: #666;
    padding: 11px 0;
    position: relative;
    min-width: 135px;
}

.guide-tab.active {
    color: #d43030;
    font-weight: bold;
}

.guide-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 1px;
    background: #d43030;
    border-radius: 2px;
}

.guide-list {
    padding: 10px 15px;
    background: #f5f5f5;
}

.guide-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.guide-thumb {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.guide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-content {
    flex: 1;
    min-width: 0;
}

.guide-title {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-bottom: 6px;
}

.guide-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    height: 36px;
}

.guide-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
}
.guide-meta img {
    max-width: 10px;
    margin-right: 3px;
}
.guide-meta span {
    margin-right: 10px;
}

.guide-meta .layui-icon {
    font-size: 14px;
    margin-right: 3px;
    color: #d43030;
}
/**
 * 景点详情
 */
.detail-banner {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info-card {
    background: #fff;
    margin: -30px 15px 15px;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.info-left {
    flex: 1;
}

.info-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
}

.info-address {
    font-size: 16px;
    color: #7A7777;
    margin-bottom: 4px;
}

.info-distance {
    font-size: 16px;
    color: #7A7777;
}

.info-right {
    text-align: center;
}

.info-right img{
    width: 28px;
}

.info-right span{
    color: #383838;
    margin-top: 3px;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #383838;
    font-size: 12px;
}

.nav-btn .layui-icon {
    font-size: 28px;
    margin-bottom: 3px;
}

.detail-intro {
    background: #fff;
    margin: 0 15px 15px;
    border-radius: 8px;
    padding: 15px;
}

.detail-intro .intro-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.detail-intro .intro-content {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.detail-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    background: #fff;
    display: flex;
    padding: 10px 15px;
    box-sizing: border-box;
    border-top: 1px solid #eee;
    z-index: 999;
}

.footer-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-radius: 25px;
    font-size: 15px;
    margin: 0 5px;
    text-decoration: none;
}

.footer-btn .layui-icon {
    font-size: 18px;
    margin-right: 5px;
}

.footer-btn img{
    width: 22px;
}

.go-btn {
    border: 1px solid #EB6315;
    color: #EB6315;
    background: #fff;
}

.voice-btn {
    background: #EB6315;
    color: #fff;
}

.voice-btn.playing {
    background: #EB6315;
}
/**
 * 首页
 */
.home-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #ffffff;
    padding-bottom: 60px;
}

/* 轮播图样式 */
.layui-carousel {
    background-color: #fff;
}

.layui-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 公告栏 */
.notice-bar {
    width: 96%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px 16px;
    margin-top: 10px;
    border-radius: 5px;
    border-top: 1px solid #EDE8E8;
    box-shadow: 0px 2px 4px #0000003b;
}

.notice-icon-box {
    display: flex;
    width: 95px;
    align-items: center;
    justify-content: space-between;
}

.notice-icon-text {
    border-radius: 10px;
    background: rgba(235, 99, 21, 0.1);
    padding: 6px 10px;
}

.notice-icon-text img{
    width: 20px;
    height: 26px;
}
.notice-icon-box span{
    font-size: 20px;
    font-weight: 700;
    color: #EB6315;
}

.notice-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    text-align: center;
    color: #808080;
    font-size: 16px;
}

.notice-scroll-wrapper {
    flex: 1;
    overflow: hidden;
    height: 20px;
    line-height: 20px;
}

.notice-scroll {
    will-change: transform;
}

.notice-text {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    margin-right: 3px;
    height: 20px;
    line-height: 20px;
}

/* 功能导航 */
.function-section{
    width: 96%;
    background: url("/static/home/image/join_back.png");
    background-size: 120% 120%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    margin-top: 10px;
    border-radius: 10px;
}

.function-nav {
    width: 100%;
    padding: 16px 16px;
    border-top: 1px solid #E5E5E5;
    box-shadow: 0px 2px 4px #0000003b;
    border-radius: 10px;
}

.function-nav .nav-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

.function-nav .nav-content{
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-top: 15px;
}

.function-nav .nav-item {
    padding: 3px 10px;
    background: #ffffff;
    text-align: center;
    border-radius: 30px;
    color: #EB6315;
}
.function-nav .nav-item span{
    color: #EB6315;
}

.function-nav .nav-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.function-nav .nav-icon-box i {
    color: #fff;
    font-size: 24px;
}

.function-nav .nav-text {
    font-size: 13px;
    color: #333;
}

/* 中间Banner */
.middle-banner {
    margin-top: 10px;
    padding: 0 12px;
}

.middle-banner-box {
    border-radius: 12px;
    padding: 16px;
    align-items: center;
    border-top: 1px solid #EDE8E8;
    box-shadow: 0px 2px 4px #0000003b;
}

.banner-img-placeholder {
    width: 100%;
    background: linear-gradient(135deg, #ffe4d6, #ffd4c4);
    border-radius: 8px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:7px;
}
.banner-img-placeholder video {
    max-width: 100%;
    aspect-ratio: 12 / 9;
    display: block;
}

.banner-img-placeholder i {
    color: #ff6b35;
    font-size: 32px;
}

.banner-content {
    flex: 1;
}

.banner-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.banner-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* 数据统计 */
.stats-section {
    background-color: #EFF3F4;
    padding: 15px 12px;
    margin-top: 15px;
    background-image: url("/static/home/image/data_back.png");
    background-size: 78%;
    background-position: 50% 35px;
    background-repeat: no-repeat;
}

.stats-section-line{
    display: flex;
    justify-content: space-between;
}

.stat-item {
    border-radius: 7px;
    width: 49%;
    background: #ffff;
    padding: 20px 0px 20px 10px;
    display: flex;
    justify-content: flex-start;
    text-align: center;
}

.stat-item img{
    width: 48px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 0px;
    text-align: left;
}

.stat-value span{
    font-size: 14px;
    color: #A6A6A6;
    font-weight: normal;
}

.stat-label {
    font-size: 18px;
    color: #000;
    text-align: left;
}

.stat-icon {
    margin-bottom: 6px;
}

.stat-icon i {
    font-size: 28px;
    color: #ff6b35;
}

/* 活动标签 */
.activity-tabs {
    background-color: #fff;
    margin-top: 10px;
    padding: 4px 12px;
    text-align: center;
    overflow-x: scroll;
    white-space: nowrap;
}

.activity-tabs .tab-item {
    display: inline-block;
    text-align: center;
    padding: 7px 20px;
    font-size: 14px;
    color: #A6A6A6;
    cursor: pointer;
    position: relative;
    border-top: 1px solid #EDE8E8;
    box-shadow: 0px 2px 4px #0000003b;
    border-radius: 5px;
    margin-left: 15px;
}

.activity-tabs .tab-item:first-child {
    margin-left: 0;
}

.activity-tabs .tab-item.active {
    color: #ffffff;
    font-weight: 600;
    background: #ff6b35;
}



/* 活动列表 */
.activity-list {
    padding: 12px;
}

.activity-item {
    background-color: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}


/* 查看更多 */
.view-more-box {
    text-align: center;
    padding: 20px 0;
}

.view-more-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
.index-header {
    padding: 6px 8px;
    margin-bottom: 8px;
}

.index-header img{
    max-height: 40px;
}