        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            margin: 0;
            padding: 15px 15px 80px 15px; /* 为底部导航留出空间 */
            min-height: 100vh;
            color: #333;
            /* 禁止文本选择和缩放 */
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
            -webkit-tap-highlight-color: transparent;
            /* 禁止双击缩放 */
            touch-action: manipulation;
        }

        /* 电脑端样式 */
        @media screen and (min-width: 769px) {
            body {
                padding: 80px 15px 15px 15px; /* 为顶部导航留出空间 */
            }

            .top-nav {
                display: flex !important;
                opacity: 1 !important;
                transform: translateY(0) !important;
            }

            .bottom-nav {
                display: none !important;
            }
        }

        /* 大屏幕优化 */
        @media screen and (min-width: 1200px) {
            .top-nav-container {
                max-width: 1200px;
            }

            .top-nav-item {
                padding: 14px 28px;
                font-size: 16px;
            }

            .top-nav-brand {
                font-size: 22px;
            }
        }

        /* 中等屏幕优化 */
        @media screen and (min-width: 769px) and (max-width: 1199px) {
            .top-nav-item {
                padding: 12px 20px;
                font-size: 14px;
            }

            .top-nav-brand {
                font-size: 18px;
            }

            .top-nav-container {
                padding: 0 15px;
            }
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 10px;
        }

        .header {
            text-align: center;
            margin-bottom: 25px;
            padding-top: 15px;
        }

        .header h1 {
            color: #2c3e50;
            font-size: 32px;
            margin-bottom: 10px;
            font-weight: 700;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
            position: relative;
            display: inline-block;
        }

        .header h1::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #2ecc71);
            border-radius: 2px;
        }

        .header p {
            color: #7f8c8d;
            font-size: 16px;
            margin-top: 15px;
        }

        .guide-reward-info {
            background: linear-gradient(135deg, #f39c12, #e67e22);
            color: white;
            padding: 12px 16px;
            border-radius: 8px;
            margin-top: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
        }

        .guide-reward-info i {
            font-size: 16px;
        }

        .guide-reward-info strong {
            font-weight: 600;
        }

        .header-top {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            gap: 20px;
            position: relative;
        }

        .header-title {
            flex: 1;
            text-align: center;
        }

        .upload-guide-btn-header {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
            flex-shrink: 0;
            position: absolute;
            right: 0;
            top: 0;
        }

        .upload-guide-btn-header:hover {
            background: linear-gradient(135deg, #c0392b, #a93226);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        }

        .guide-author-info {
            background: #f8f9fa;
            color: #6c757d;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 12px;
            text-align: center;
            margin-bottom: 15px;
        }

        .guide-author-info strong {
            color: #2c3e50;
            font-weight: 600;
        }



        /* 全宽上架商品按钮 */
        .upload-item-btn-full {
            background: linear-gradient(135deg, #27ae60, #229954);
            color: white;
            border: none;
            padding: 15px 20px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 16px;
            font-weight: 600;
            width: 100%;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
        }

        .upload-item-btn-full:hover {
            background: linear-gradient(135deg, #229954, #1e8449);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
        }

        .upload-item-btn-full:active {
            transform: translateY(0);
        }

        .card {
            background: white;
            padding: 15px 15px 15px 15px;
            border-radius: 16px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #3498db, #2ecc71, #3498db);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            position: relative;
            flex-wrap: nowrap;
        }

        .card-title {
            font-size: 22px;
            color: #2c3e50;
            font-weight: 600;
            display: flex;
            align-items: center;
            white-space: nowrap;
            margin-right: 15px;
        }

        .card-title i {
            margin-right: 10px;
            color: #3498db;
        }
        
        .card-date {
            font-size: 16px;
            color: #7f8c8d;
            font-weight: normal;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .refresh-btn {
            display: inline-block;
            color: #3498db;
            text-decoration: none;
            font-weight: 600;
            padding: 10px 25px;
            border-radius: 50px;
            transition: all 0.3s ease;
            background: #eef7ff;
            border: 1px solid #d0e3f8;
            white-space: nowrap;
            cursor: pointer;
            text-align: center;
        }

        .refresh-btn:hover {
            color: #fff;
            background-color: #3498db;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .refresh-btn:active {
            transform: translateY(1px);
            box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
        }

        .refresh-btn i {
            margin-right: 8px;
        }

        /* 吹牛大王刷新按钮特殊样式 */
        .brag-refresh-btn {
            min-width: 60px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* 吹牛大王排行按钮特殊样式 */
        .brag-ranking-btn {
            min-width: 50px;
            max-width: 50px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* PC端吹牛大王刷新按钮样式 */
        @media screen and (min-width: 769px) {
            .brag-refresh-btn {
                min-width: 75px;
                max-width: none;
            }

            .brag-ranking-btn {
                min-width: 50px;
                max-width: 50px;
            }
        }

        /* 卡片头部按钮组样式 */
        .card-header-buttons {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .brag-record-btn {
            min-width: 60px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .brag-ranking-btn {
            min-width: 60px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        @media screen and (min-width: 769px) {
            .brag-record-btn {
                min-width: 75px;
                max-width: none;
            }

            .brag-ranking-btn {
                min-width: 75px;
                max-width: none;
            }
        }

        .announcement-list {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .announcement {
            border: 1px solid #eaeaea;
            border-radius: 12px;
            padding: 15px;
            background-color: #f9fbfd;
            display: flex;
            align-items: center;
            transition: all 0.2s ease;
        }

        .announcement:hover {
            background-color: #edf5fd;
            border-color: #d0e3f8;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }

        .announcement-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            gap: 15px;
        }

        .announcement-title {
            color: #3498db;
            cursor: pointer;
            font-size: 16px;
            margin: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: 1;
            font-weight: 500;
            min-width: 0;
        }

        .announcement-title:hover {
            color: #2980b9;
            text-decoration: underline;
        }

        .announcement-time {
            font-size: 13px;
            color: #7f8c8d;
            white-space: nowrap;
            background: #eef7ff;
            padding: 5px 10px;
            border-radius: 50px;
            font-weight: 500;
            flex-shrink: 0;
        }

        .footer-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 10px;
            gap: 15px;
        }

        .more-link {
            display: inline-block;
            color: #3498db;
            text-decoration: none;
            font-weight: 600;
            padding: 10px 25px;
            border-radius: 50px;
            transition: all 0.3s ease;
            background: #eef7ff;
            border: 1px solid #d0e3f8;
            white-space: nowrap;
        }

        .more-link:hover {
            color: #fff;
            background-color: #3498db;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .loader {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-top: 4px solid #3498db;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 30px auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .game-info {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
            flex-wrap: nowrap;
            white-space: nowrap;
            overflow-x: auto;
            width: 100%;
            padding-bottom: 10px;
        }

        .info-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: white;
            padding: 15px 20px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            min-width: 0;
            flex-shrink: 0;
            max-width: 150px;
        }

        .info-item i {
            font-size: 24px;
            color: #3498db;
            margin-bottom: 8px;
        }

        .info-item span {
            font-size: 14px;
            color: #7f8c8d;
            transition: font-size 0.3s ease;
        }

        /* 新增广告和骗子查询样式 */
        .cheat-form {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .cheat-input, .search-input {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid #dce6f4;
            border-radius: 8px;
            font-size: 16px;
            min-width: 200px;
            /* 允许输入框文本选择 */
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        .cheat-submit {
            padding: 12px 25px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .cheat-submit:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }

        .cheat-result {
            margin-top: 20px;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            font-weight: 500;
        }

        .cheat-found {
            background: #ffeaea;
            color: #e74c3c;
        }

        .cheat-found a {
            color: #3498db;
            margin-left: 10px;
            text-decoration: none;
        }

        .cheat-found a:hover {
            text-decoration: underline;
        }

        .cheat-not-found {
            background: #eafaf1;
            color: #27ae60;
        }

        .cheat-report {
            color: #3498db;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 15px;
            background: #eef7ff;
            border-radius: 20px;
            transition: all 0.3s;
            display: inline-block;
        }

        .cheat-report:hover {
            background: #3498db;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .cheat-guide {
            color: #3498db;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 15px;
            background: #eef7ff;
            border-radius: 20px;
            transition: all 0.3s;
            display: inline-block;
        }

        .cheat-guide:hover {
            background: #3498db;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        /* 妖火代练日志查询样式 */
        .autocomplete-container {
            position: relative;
        }

        .account-list {
            border: 1px solid #ccc;
            position: absolute;
            background-color: white;
            width: calc(100% - 2px);
            max-height: 150px;
            overflow-y: auto;
            z-index: 10;
            display: none;
            list-style-type: none;
            padding: 0;
            margin: 0;
            top: 100%;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .account-list li {
            padding: 10px;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
        }

        .account-list li:hover {
            background-color: #e9ecef;
        }

        .account-list li:last-child {
            border-bottom: none;
        }

        .account-list li span {
            float: right;
            cursor: pointer;
            color: red;
            font-weight: bold;
        }

        /* 代练日志查询输入框样式 */
        #trainingAccount:focus {
            border-color: #3498db !important;
            outline: none;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
        }

        /* 广告刷新按钮样式 */
        .ad-refresh {
            color: #3498db;
            cursor: pointer;
            font-size: 16px;
            padding: 5px;
            transition: all 0.3s;
        }

        .ad-refresh:hover {
            color: #2980b9;
            transform: rotate(90deg);
        }

        /* 响应式样式 */
        @media screen and (max-width: 768px) {
            .container {
                padding: 10px 5px 0 5px;
            }

            .card {
                padding: 10p 10px 5px 10px;
            }

            .card-header {
                flex-wrap: nowrap;
                overflow: hidden;
            }

            .card-title {
                font-size: 20px;
                margin-right: 10px;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .card-date {
                font-size: 14px;
                flex-shrink: 0;
            }

            .refresh-btn {
                align-self: flex-end;
            }

            .announcement {
                padding: 5px;
            }

            .announcement-title {
                font-size: 14px;
            }

            .announcement-time {
                font-size: 12px;
                padding: 4px 8px;
            }

            .header h1 {
                font-size: 28px;
            }

            .header-top {
                flex-direction: row;
                justify-content: center;
                align-items: flex-start;
                gap: 10px;
                position: relative;
            }

            .header-title {
                text-align: center;
            }

            .upload-guide-btn-header {
                padding: 8px 12px;
                font-size: 12px;
                position: absolute;
                right: 0;
                top: 0;
            }

            .footer-actions {
                flex-direction: row;
                gap: 10px;
            }

            .more-link, .refresh-btn {
                flex: 1;
                text-align: center;
            }

            .game-info {
                gap: 15px;
            }

            .info-item {
                padding: 12px 15px;
                max-width: 120px;
            }

            .info-item span {
                font-size: 12px;
            }

            .cheat-form {
                flex-direction: column;
            }

            .cheat-input {
                min-width: auto;
            }

            /* 手机端导航栏固定在底部，不被输入法影响 */
            .bottom-nav {
                position: fixed !important;
                bottom: 0 !important;
                /* 使用 viewport 单位确保始终在底部 */
                bottom: env(safe-area-inset-bottom, 0) !important;
                /* 防止被虚拟键盘推上去 */
                transform: translateZ(0);
                -webkit-transform: translateZ(0);
            }

            /* 确保顶部导航栏在手机端隐藏 */
            .top-nav {
                display: none !important;
            }

            /* 攻略页面响应式 */
            .modal-image-container {
                max-width: 98%;
                max-height: 98%;
                /* 移动端允许图片缩放 */
                touch-action: pinch-zoom;
            }

            .modal-image {
                /* 移动端允许图片缩放 */
                touch-action: pinch-zoom;
            }

            .close-modal {
                top: 15px;
                right: 15px;
                width: 36px;
                height: 36px;
                font-size: 18px;
            }

            .zoom-controls {
                top: 15px;
                left: 15px;
                gap: 6px;
            }

            .zoom-btn {
                width: 36px;
                height: 36px;
                font-size: 14px;
            }

            .zoom-info {
                bottom: 20px;
                font-size: 11px;
                padding: 4px 10px;
            }
        }

        @media screen and (max-width: 480px) {
            .header h1 {
                font-size: 24px;
            }

            .card-title {
                font-size: 18px;
                max-width: 60%;
            }

            .card-date {
                font-size: 12px;
            }

            .refresh-btn {
                padding: 8px 12px;
                font-size: 13px;
            }

            .more-link {
                padding: 8px 15px;
                font-size: 13px;
            }

            .announcement-content {
                flex-direction: row;
                align-items: center;
            }

            .announcement-time {
                align-self: center;
            }

            .game-info {
                gap: 8px;
            }

            .info-item {
                padding: 8px 10px;
                max-width: 100px;
            }

            .info-item i {
                font-size: 18px;
            }

            .info-item span {
                font-size: 11px;
            }

            .footer-actions {
                flex-direction: row;
                justify-content: space-between;
            }

            .cheat-submit {
                width: 100%;
            }

            /* 工具页面响应式 */
            .input-group {
                flex-direction: column;
            }

            .input-box {
                min-width: auto;
            }

            .button-group {
                flex-direction: column;
            }

            .button-group button {
                width: 100%;
            }

            /* 宠物计算器响应式 */
            .pet-input-row {
                flex-direction: column;
                gap: 10px;
            }

            .pet-input-item {
                min-width: auto;
                width: 100%;
            }

            .pet-input-item label {
                font-size: 13px;
                margin-bottom: 3px;
            }

            .pet-input-item input, .pet-select {
                padding: 10px 12px;
                font-size: 16px;
                width: 100%;
                box-sizing: border-box;
            }

            .pet-button-row {
                flex-direction: row;
                gap: 10px;
                justify-content: center;
            }

            .pet-button-row button {
                flex: 1;
                padding: 12px 20px;
                font-size: 16px;
                max-width: 150px;
            }

            .pet-result {
                padding: 15px;
                max-height: 300px;
            }

            .pet-result-title {
                font-size: 16px;
            }

            .evolution-step {
                font-size: 14px;
                margin-bottom: 12px;
                padding-bottom: 12px;
            }

            .pet-recommendations {
                padding: 12px;
                margin-top: 15px;
            }

            .pet-recommendations h4 {
                font-size: 14px;
                margin-bottom: 8px;
            }

            .pet-recommendations p {
                font-size: 13px;
                line-height: 1.5;
            }

            /* 移动端宠物推荐样式优化 */
            .pet-list {
                gap: 8px;
            }

            .pet-item {
                padding: 10px;
            }

            .pet-name {
                font-size: 14px;
                margin-bottom: 4px;
            }

            .pet-quality {
                font-size: 12px;
                margin-bottom: 3px;
            }

            .pet-location {
                font-size: 11px;
                margin-bottom: 4px;
            }

            .pet-description {
                font-size: 11px;
                line-height: 1.3;
            }

            /* 移动端图片缩放控制优化 */
            .zoom-controls {
                top: 15px;
                left: 15px;
                gap: 8px;
            }

            .zoom-btn {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .zoom-info {
                bottom: 20px;
                font-size: 12px;
                padding: 6px 12px;
            }

            .close-modal {
                top: 10px;
                right: 10px;
                width: 32px;
                height: 32px;
                font-size: 16px;
            }

            .zoom-controls {
                top: 10px;
                left: 10px;
                gap: 4px;
            }

            .zoom-btn {
                width: 32px;
                height: 32px;
                font-size: 12px;
            }

            .zoom-info {
                bottom: 15px;
                font-size: 10px;
                padding: 3px 8px;
            }
        }

        .error-message {
            color: #e74c3c;
            text-align: center;
            padding: 20px;
            font-weight: 500;
            background: #ffeaea;
            border-radius: 10px;
            margin: 15px 0;
        }
        
        .success-message {
            color: #27ae60;
            text-align: center;
            padding: 10px;
            font-weight: 500;
        }

        /* 页面容器样式 */
        .page {
            display: none;
        }

        .page.active {
            display: block;
        }

        /* 占位符页面样式 */
        .placeholder {
            text-align: center;
            color: #7f8c8d;
            padding: 100px 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 60vh;
        }

        .placeholder i {
            font-size: 64px;
            margin-bottom: 20px;
            color: #bdc3c7;
        }

        .placeholder h2 {
            font-size: 24px;
            margin-bottom: 10px;
        }

        /* 攻略页面样式 */
        .search-container {
            background: white;
            padding: 15px 15px 1px 15px;
            border-radius: 16px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .upload-guide-btn {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 500;
            align-self: flex-end;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
        }

        .upload-guide-btn:hover {
            background: linear-gradient(135deg, #c0392b, #a93226);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        }

        .search-box {
            position: relative;
            margin-bottom: 15px;
        }

        .search-input {
            width: 100%;
            padding: 15px 90px 15px 20px;
            border: 2px solid #e0e0e0;
            border-radius: 50px;
            outline: none;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .search-btn {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            background: #3498db;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .search-btn:hover {
            background: #2980b9;
        }

        .clear-search-btn {
            position: absolute;
            right: 50px;
            top: 50%;
            transform: translateY(-50%);
            background: #95a5a6;
            color: white;
            border: none;
            padding: 8px 10px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: none;
            width: 32px;
            height: 32px;
            font-size: 14px;
        }

        .clear-search-btn:hover {
            background: #7f8c8d;
            transform: translateY(-50%) scale(1.1);
        }

        .clear-search-btn.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .suggestions {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            max-height: 200px;
            overflow-y: auto;
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 100;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .suggestion-item {
            padding: 12px 20px;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
            transition: background 0.2s ease;
        }

        .suggestion-item:hover {
            background: #f8f9fa;
        }

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

        .results-container {
            display: none;
        }

        .result-item {
            background: white;
            border-radius: 12px;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .result-header {
            padding: 15px 15px 5px 15px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.2s ease;
        }

        .result-header:hover {
            background: #f8f9fa;
        }

        .result-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            flex: 1;
        }

        .result-toggle {
            color: #3498db;
            font-size: 18px;
            transition: transform 0.3s ease;
        }

        .result-content {
            padding: 0 20px 20px 20px;
            display: none;
            border-top: 1px solid #f0f0f0;
            line-height: 1.6;
            color: #555;
            /* 允许攻略内容文字选择和复制 */
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        .result-content.expanded {
            display: block;
        }

        .result-item.expanded .result-toggle {
            transform: rotate(180deg);
        }

        /* 攻略文件内容容器样式 */
        .file-content {
            /* 允许攻略文件内容文字选择和复制 */
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
            /* 确保文字可以被选中 */
            -webkit-touch-callout: default;
        }

        .guide-image {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 10px 0;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: block;
        }

        .guide-image:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .guide-image:active {
            transform: scale(0.98);
        }

        /* 图片预览模态框 */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
            /* 允许模态框内的缩放 */
            touch-action: pinch-zoom;
        }

        .modal-image-container {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .modal-image {
            max-width: 90%;
            max-height: 90%;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            cursor: grab;
            transform-origin: center center;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }



        .close-modal {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 20px;
            cursor: pointer;
            background: rgba(0,0,0,0.7);
            border-radius: 8px;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            z-index: 2001;
            backdrop-filter: blur(5px);
        }

        .close-modal:hover {
            background: rgba(231, 76, 60, 0.8);
            transform: scale(1.05);
        }

        /* 图片缩放控制按钮 */
        .zoom-controls {
            position: absolute;
            top: 20px;
            left: 30px;
            display: flex;
            gap: 8px;
            z-index: 2001;
            flex-direction: column;
        }

        .zoom-btn {
            color: white;
            font-size: 16px;
            cursor: pointer;
            background: rgba(0,0,0,0.7);
            border-radius: 8px;
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            border: none;
            backdrop-filter: blur(5px);
        }

        .zoom-btn:hover {
            background: rgba(52, 152, 219, 0.8);
            transform: scale(1.05);
        }

        .zoom-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .zoom-btn:disabled:hover {
            background: rgba(0,0,0,0.7);
            transform: none;
        }

        /* 缩放信息显示 */
        .zoom-info {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            background: rgba(0,0,0,0.8);
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 12px;
            z-index: 2001;
            backdrop-filter: blur(5px);
        }

        /* 导航栏样式 */
        /* 电脑端顶部导航栏 */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255,255,255,0.1);
            display: none; /* 默认隐藏，在电脑端显示 */
            justify-content: center;
            padding: 0;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
            z-index: 1000;
            transition: all 0.3s ease;
            /* 添加渐变动画 */
            opacity: 0;
            transform: translateY(-100%);
        }

        .top-nav.show {
            opacity: 1;
            transform: translateY(0);
        }

        .top-nav-container {
            max-width: 800px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 20px;
        }

        .top-nav-brand {
            display: flex;
            align-items: center;
            color: white;
            font-size: 20px;
            font-weight: 700;
            margin-right: auto;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .top-nav-brand i {
            margin-right: 10px;
            font-size: 24px;
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .top-nav-menu {
            display: flex;
            gap: 0;
            background: rgba(255,255,255,0.1);
            border-radius: 50px;
            padding: 8px;
            backdrop-filter: blur(10px);
        }

        .top-nav-item {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: rgba(255,255,255,0.8);
            transition: all 0.3s ease;
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 500;
            position: relative;
            cursor: pointer;
            white-space: nowrap;
        }

        .top-nav-item:hover {
            color: white;
            background: rgba(255,255,255,0.2);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .top-nav-item.active {
            color: white;
            background: rgba(255,255,255,0.25);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            position: relative;
        }

        .top-nav-item.active::before {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 3px;
            background: linear-gradient(90deg, #ffd700, #ffed4e);
            border-radius: 2px;
            box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
        }

        .top-nav-item i {
            margin-right: 8px;
            font-size: 16px;
        }

        /* 手机端底部导航栏 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-top: 1px solid rgba(224, 224, 224, 0.8);
            display: flex;
            justify-content: space-around;
            padding: 5px 0;
            box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
            z-index: 1000;
            /* 确保在移动端固定在底部，不被输入法影响 */
            position: fixed;
            bottom: 0;
            /* 添加安全区域支持 */
            padding-bottom: calc(10px + env(safe-area-inset-bottom));
            /* 防止被虚拟键盘影响的额外样式 */
            height: calc(60px + env(safe-area-inset-bottom));
            /* 使用 transform 来确保位置固定 */
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
            /* 确保在所有情况下都固定在底部 */
            position: -webkit-sticky;
            position: sticky;
            position: fixed;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #7f8c8d;
            transition: all 0.3s ease;
            padding: 5px;
            border-radius: 8px;
            min-width: 60px;
            cursor: pointer;
            position: relative;
        }

        .nav-item.active {
            color: #3498db;
        }

        .nav-item.active i {
            transform: scale(1.1);
        }

        .nav-item:hover {
            color: #3498db;
            background: rgba(52, 152, 219, 0.1);
            transform: translateY(-2px);
        }

        .nav-item:active {
            transform: translateY(0);
        }

        .nav-item i {
            font-size: 20px;
            margin-bottom: 4px;
            transition: transform 0.3s ease;
        }

        .nav-item span {
            font-size: 12px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .nav-item.active span {
            font-weight: 600;
        }

        /* 工具页面样式 */
        .tool-content {
            padding-top: 15px;
        }

        .tool-toggle {
            color: #3498db;
            cursor: pointer;
            font-size: 18px;
            padding: 5px;
            transition: all 0.3s ease;
        }

        .tool-toggle:hover {
            color: #2980b9;
        }

        .tool-toggle.expanded {
            transform: rotate(180deg);
        }

        .pet-calc-form {
            margin-bottom: 20px;
        }

        .input-group {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
        }

        .input-box {
            flex: 1;
            min-width: 200px;
        }

        .input-box label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2c3e50;
        }

        .input-box input, .quality-select {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            /* 允许输入框文本选择 */
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        .input-box input:focus, .quality-select:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .button-group {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .button-group button {
            padding: 12px 25px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .button-group button:first-child {
            background: #3498db;
            color: white;
        }

        .button-group button:first-child:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .clear-btn {
            background: #95a5a6;
            color: white;
        }

        .clear-btn:hover {
            background: #7f8c8d;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(149, 165, 166, 0.3);
        }

        .pet-result {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            max-height: 400px;
            overflow-y: auto;
        }

        .pet-result-title {
            font-weight: 600;
            margin-bottom: 15px;
            color: #2c3e50;
            font-size: 18px;
        }

        .evolution-step {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #ddd;
            line-height: 1.6;
        }

        .evolution-step:last-child {
            border-bottom: none;
        }

        .pet-summary {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 2px solid #3498db;
            font-weight: 600;
            color: #2c3e50;
        }

        .pet-recommendations {
            margin-top: 20px;
            padding: 15px;
            background: #eef7ff;
            border-radius: 8px;
        }

        .pet-recommendations h4 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 16px;
        }

        .pet-recommendations p {
            color: #555;
            line-height: 1.6;
            margin: 0;
        }

        /* 宠物推荐列表样式 */
        .pet-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 10px;
        }

        .pet-item {
            background: white;
            border-radius: 8px;
            padding: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .pet-item.recommended {
            border-left-color: #e74c3c;
            background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
        }

        .pet-item.alternative {
            border-left-color: #95a5a6;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        }

        .pet-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }

        .pet-name {
            font-weight: 600;
            font-size: 16px;
            color: #2c3e50;
            margin-bottom: 6px;
        }

        .pet-item.recommended .pet-name {
            color: #e74c3c;
        }

        .pet-quality {
            font-weight: 500;
            color: #3498db;
            font-size: 14px;
            margin-bottom: 4px;
        }

        .pet-location {
            font-size: 13px;
            color: #7f8c8d;
            margin-bottom: 6px;
        }

        .pet-description {
            font-size: 12px;
            color: #555;
            line-height: 1.4;
            font-style: italic;
        }

        /* 宠物计算器专用样式 */
        .pet-input-row {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            align-items: end;
            flex-wrap: wrap;
        }

        .pet-input-item {
            flex: 1;
            min-width: 120px;
        }

        .pet-input-item label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
            color: #2c3e50;
            font-size: 14px;
        }

        .pet-input-item input, .pet-select {
            width: 100%;
            padding: 8px 10px;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            font-size: 14px;
            transition: all 0.3s ease;
            box-sizing: border-box;
            /* 允许输入框文本选择 */
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        .pet-input-item input:focus, .pet-select:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
        }

        .pet-button-row {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .pet-button-row button {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 100px;
        }

        .calc-btn {
            background: #3498db;
            color: white;
        }

        .calc-btn:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
        }

        /* 处理移动端虚拟键盘的特殊情况 */
        @media screen and (max-width: 768px) {
            /* 当视口高度小于某个值时（通常表示虚拟键盘出现），确保导航栏仍然固定 */
            @supports (height: 100dvh) {
                .bottom-nav {
                    bottom: 0 !important;
                    position: fixed !important;
                }
            }

            /* 为不支持 dvh 的浏览器提供备用方案 */
            .bottom-nav {
                bottom: 0 !important;
                position: fixed !important;
                /* 使用 JavaScript 检测的方式来处理虚拟键盘 */
                transition: none !important;
            }
        }

        /* 专门针对 iOS Safari 的修复 */
        @supports (-webkit-touch-callout: none) {
            @media screen and (max-width: 768px) {
                .bottom-nav {
                    position: fixed !important;
                    bottom: 0 !important;
                    bottom: env(safe-area-inset-bottom, 0) !important;
                    /* 防止 iOS Safari 的地址栏影响 */
                    height: calc(60px + env(safe-area-inset-bottom, 0)) !important;
                }
            }
        }

        /* 吹牛大王样式 */
        .brag-create-section {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            border: 2px dashed #3498db;
        }

        .brag-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .form-row {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .form-group {
            flex: 1;
            min-width: 200px;
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .form-group input,
        .form-group select {
            padding: 10px 12px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s ease;
            /* 允许输入框文本选择 */
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        .form-group input:focus,
        .form-group select:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .form-hint {
            font-size: 12px;
            color: #7f8c8d;
            margin-top: 3px;
        }

        .bet-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .bet-input-wrapper input {
            flex: 1;
            padding-right: 50px;
        }

        .bet-unit {
            position: absolute;
            right: 12px;
            color: #7f8c8d;
            font-size: 14px;
            font-weight: 500;
            pointer-events: none;
        }

        .form-actions {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            margin-top: 10px;
        }

        .brag-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .brag-btn-primary {
            background: #3498db;
            color: white;
        }

        .brag-btn-primary:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .brag-btn-secondary {
            background: #95a5a6;
            color: white;
        }

        .brag-btn-secondary:hover {
            background: #7f8c8d;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(149, 165, 166, 0.3);
        }

        .brag-btn-create {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            margin-bottom: 20px;
        }

        .brag-btn-create:hover {
            background: linear-gradient(135deg, #c0392b, #a93226);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
        }

        .brag-actions {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        .brag-questions-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .brag-question-item {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border-left: 4px solid #3498db;
        }

        .brag-question-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .brag-question-item.waiting {
            border-left-color: #3498db;
        }

        .brag-question-item.challenged {
            border-left-color: #f39c12;
        }



        .brag-question-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .brag-question-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            margin: 0;
        }

        .brag-question-status {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .brag-question-status.waiting {
            background: #eef7ff;
            color: #3498db;
        }

        .brag-question-status.challenged {
            background: #fef9e7;
            color: #f39c12;
        }



        .brag-question-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-size: 14px;
            color: #7f8c8d;
        }

        .brag-question-creator {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .brag-question-bet {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #e74c3c;
            font-weight: 600;
        }

        .brag-answers {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .brag-answer-btn {
            flex: 1;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 500;
        }

        .brag-answer-btn:hover {
            border-color: #3498db;
            background: #eef7ff;
            transform: translateY(-1px);
        }

        .brag-answer-btn:active {
            transform: translateY(0);
        }

        .brag-answer-btn.selected {
            border-color: #3498db !important;
            background: #eef7ff !important;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        }

        .brag-question-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        .brag-challenge-btn {
            background: #27ae60;
            color: white;
            padding: 8px 16px;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .brag-challenge-btn:hover {
            background: #229954;
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
        }

        .brag-challenge-btn:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* 吹牛记录样式 */
        .brag-records-list {
            max-height: 400px;
            overflow-y: auto;
        }

        .brag-record-item {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 12px;
            border-left: 4px solid #6c757d;
        }

        .brag-record-item.win {
            border-left-color: #28a745;
            background: linear-gradient(135deg, #f8fff9, #f0fff4);
        }

        .brag-record-item.lose {
            border-left-color: #dc3545;
            background: linear-gradient(135deg, #fff8f8, #fff0f0);
        }

        .brag-record-item.pending {
            border-left-color: #ffc107;
            background: linear-gradient(135deg, #fffbf0, #fff8e1);
        }

        .record-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .record-title {
            font-weight: 600;
            color: #2c3e50;
            font-size: 16px;
        }

        .record-result {
            display: flex;
            align-items: center;
            gap: 5px;
            font-weight: 600;
            font-size: 14px;
        }

        .record-result.win {
            color: #28a745;
        }

        .record-result.lose {
            color: #dc3545;
        }

        .record-details {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .record-info {
            display: flex;
            align-items: center;
            font-size: 14px;
        }

        .record-label {
            color: #6c757d;
            min-width: 60px;
        }

        .record-value {
            color: #2c3e50;
            font-weight: 500;
        }

        /* 吹牛大王移动端响应式样式 */
        @media screen and (max-width: 768px) {
            .brag-create-section {
                padding: 15px;
                margin-bottom: 15px;
            }

            .brag-records-list {
                max-height: 300px;
            }

            .brag-record-item {
                padding: 12px;
                margin-bottom: 10px;
            }

            .record-title {
                font-size: 14px;
            }

            .record-result {
                font-size: 12px;
            }

            .record-info {
                font-size: 12px;
            }

            .record-label {
                min-width: 50px;
            }

            .form-row {
                flex-direction: column;
                gap: 10px;
            }

            .form-group {
                min-width: auto;
            }

            .form-actions {
                flex-direction: column;
                gap: 8px;
            }

            .brag-btn {
                width: 100%;
                justify-content: center;
                padding: 12px 20px;
            }

            .brag-question-item {
                padding: 15px;
            }

            .brag-question-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .brag-question-info {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .brag-answers {
                flex-direction: column;
                gap: 8px;
            }

            .brag-answer-btn {
                padding: 15px;
                text-align: center;
            }

            .brag-question-actions {
                justify-content: center;
            }

            .brag-challenge-btn {
                width: 100%;
                padding: 12px 20px;
            }
        }

        /* 自定义UI组件样式 */
        /* 顶部成功气泡 */
        .success-bubble {
            position: fixed;
            top: 40px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
            padding: 12px 24px;
            border-radius: 25px;
            box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
            z-index: 2000;
            font-weight: 600;
            font-size: 14px;
            display: none;
            animation: bubbleSlideIn 0.3s ease-out;
        }

        .success-bubble.show {
            display: block;
        }

        @keyframes bubbleSlideIn {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        /* 自定义确认对话框 */
        .custom-confirm-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2001;
            backdrop-filter: blur(5px);
        }

        .custom-confirm-dialog {
            background: white;
            border-radius: 16px;
            padding: 30px;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: dialogSlideIn 0.3s ease-out;
        }

        @keyframes dialogSlideIn {
            from {
                opacity: 0;
                transform: scale(0.8) translateY(-20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .custom-confirm-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 15px;
            text-align: center;
        }

        .custom-confirm-message {
            color: #555;
            line-height: 1.6;
            margin-bottom: 25px;
            text-align: center;
        }

        .custom-confirm-buttons {
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .custom-confirm-btn {
            padding: 10px 24px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 80px;
        }

        .custom-confirm-btn.primary {
            background: #3498db;
            color: white;
        }

        .custom-confirm-btn.primary:hover {
            background: #2980b9;
            transform: translateY(-1px);
        }

        .custom-confirm-btn.secondary {
            background: #95a5a6;
            color: white;
        }

        .custom-confirm-btn.secondary:hover {
            background: #7f8c8d;
            transform: translateY(-1px);
        }

        /* 简约提示模态框 */
        .simple-alert-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2003;
            backdrop-filter: blur(5px);
        }

        .simple-alert-modal.top-center {
            align-items: flex-start;
            padding-top: 100px;
        }

        .simple-alert-dialog {
            background: white;
            border-radius: 16px;
            padding: 30px;
            max-width: 350px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: dialogSlideIn 0.3s ease-out;
            text-align: center;
        }

        .simple-alert-icon {
            font-size: 48px;
            color: #f39c12;
            margin-bottom: 15px;
        }

        .simple-alert-icon.success {
            color: #27ae60;
        }

        .simple-alert-icon.error {
            color: #e74c3c;
        }

        .simple-alert-icon.warning {
            color: #f39c12;
        }

        .simple-alert-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 15px;
        }

        .simple-alert-message {
            color: #555;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .simple-alert-btn {
            padding: 12px 30px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            background: #3498db;
            color: white;
            min-width: 100px;
        }

        .simple-alert-btn:hover {
            background: #2980b9;
            transform: translateY(-1px);
        }

        /* 结果显示模态框 */
        .result-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2002;
            backdrop-filter: blur(5px);
        }

        .result-dialog {
            background: white;
            border-radius: 16px;
            padding: 40px 30px;
            max-width: 450px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            text-align: center;
            animation: dialogSlideIn 0.3s ease-out;
        }

        .result-icon {
            font-size: 48px;
            margin-bottom: 20px;
        }

        .result-icon.win {
            color: #27ae60;
        }

        .result-icon.lose {
            color: #e74c3c;
        }

        .result-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .result-title.win {
            color: #27ae60;
        }

        .result-title.lose {
            color: #e74c3c;
        }

        .result-message {
            color: #555;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .result-close-btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .result-close-btn:hover {
            background: #2980b9;
            transform: translateY(-1px);
        }

        /* 逛页面板块切换样式 */
        .browse-nav {
            display: flex;
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
            margin-bottom: 20px;
            padding: 8px;
            gap: 8px;
        }

        .browse-nav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px 20px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #7f8c8d;
            background: transparent;
        }

        .browse-nav-item.active {
            background: linear-gradient(135deg, #3498db, #2ecc71);
            color: white;
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .browse-nav-item:hover:not(.active) {
            background: #f8f9fa;
            color: #3498db;
        }

        .browse-nav-item i {
            font-size: 24px;
            margin-bottom: 8px;
        }

        .browse-nav-item span {
            font-size: 14px;
            font-weight: 600;
        }

        /* 板块内容样式 */
        .browse-content {
            display: none;
        }

        .browse-content.active {
            display: block;
        }

        /* 商城搜索样式 */
        .mall-search-container {
            background: white;
            padding: 20px 20px 10px 20px;
            border-radius: 16px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
            margin-bottom: 20px;
        }

        /* 商品列表样式 */
        .mall-item {
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
            margin-bottom: 20px;
            padding: 20px;
            display: flex;
            gap: 15px;
            transition: all 0.3s ease;
        }

        .mall-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .mall-item-image {
            width: 120px;
            height: 120px;
            border-radius: 12px;
            object-fit: cover;
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .mall-item-image:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* 商城图片模态框允许缩放 */
        #mall-image-modal .modal-image {
            /* 移动端允许图片缩放 */
            touch-action: pinch-zoom;
        }

        .mall-item-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .mall-item-title {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin: 0;
            line-height: 1.4;
            margin-bottom: 8px;
            word-wrap: break-word;
            word-break: break-all;
            white-space: normal;
            overflow-wrap: break-word;
        }

        .mall-item-details {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .mall-item-row {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            line-height: 1.5;
        }

        .mall-item-label {
            color: #7f8c8d;
            font-weight: 500;
            min-width: 60px;
        }

        .mall-item-value {
            color: #2c3e50;
            font-weight: 500;
        }

        .mall-item-price {
            font-size: 20px;
            font-weight: 700;
            color: #e74c3c;
        }

        .mall-item-price-row {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 4px;
        }

        .mall-item-info-row {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 4px;
        }

        .mall-item-server-info {
            color: #2c3e50;
            font-weight: 500;
            font-size: 14px;
        }

        .mall-item-contact-info {
            color: #27ae60;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .mall-item-contact-info:hover {
            color: #219a52;
            text-decoration: underline;
        }

        .mall-item-user-row {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .mall-item-nickname {
            color: #000000;
            font-weight: 500;
            font-size: 14px;
        }

        /* 过期商品样式 */
        .mall-item.expired {
            opacity: 0.7;
            border: 2px solid #e74c3c;
        }

        .expired-badge {
            background: #e74c3c;
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 8px;
        }

        .relist-row {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid #dee2e6;
        }

        .relist-btn {
            background: linear-gradient(135deg, #27ae60, #229954);
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .relist-btn:hover {
            background: linear-gradient(135deg, #229954, #1e8449);
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
        }

        .form-display {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 10px;
            color: #2c3e50;
            font-weight: 500;
        }

        .extend-title {
            word-wrap: break-word;
            word-break: break-all;
            white-space: normal;
            overflow-wrap: break-word;
            line-height: 1.4;
        }



        .share-btn {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
            flex-shrink: 0;
            box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
        }

        .share-btn:hover {
            background: linear-gradient(135deg, #2980b9, #1f5f8b);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
        }

        .share-btn:active {
            transform: translateY(0);
        }

        /* 用户信息卡片样式 */
        .user-info-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .user-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 24px;
            flex-shrink: 0;
            overflow: hidden;
            position: relative;
        }

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

        .user-info {
            flex: 1;
        }

        .user-nickname {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 4px;
        }

        .user-id {
            font-size: 14px;
            color: #7f8c8d;
        }

        .user-items-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
        }

        @media (max-width: 768px) {
            .user-items-container {
                grid-template-columns: 1fr;
            }

            .user-info-card {
                padding: 15px;
            }

            .user-avatar {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }

            .user-nickname {
                font-size: 16px;
            }
        }

        .mall-item-type {
            background: #ecf0f1;
            color: #2c3e50;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
            margin-right: 4px;
            margin-bottom: 2px;
            display: inline-block;
        }

        .mall-item-types {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            align-items: center;
        }

        /* 响应式样式 */
        @media screen and (max-width: 768px) {
            .browse-nav {
                margin-bottom: 15px;
                margin-top: 20px;
                padding: 6px;
            }

            .browse-nav-item {
                padding: 12px 15px;
            }

            .browse-nav-item i {
                font-size: 20px;
                margin-bottom: 6px;
            }

            .browse-nav-item span {
                font-size: 12px;
            }

            .mall-search-container {
                padding: 20px 20px 10px 20px;;
                margin-bottom: 15px;
            }

            .mall-item {
                padding: 15px;
                flex-direction: row; /* 改为左右布局 */
                gap: 12px;
                align-items: flex-start;
            }

            .mall-item-image {
                width: 100px; /* 固定宽度 */
                height: 100px; /* 固定高度 */
                flex-shrink: 0; /* 防止压缩 */
                border-radius: 8px;
            }

            .mall-item-content {
                flex: 1;
                min-width: 0; /* 防止内容溢出 */
            }

            .mall-item-title {
                font-size: 14px;
                margin-bottom: 8px;
                line-height: 1.3;
                word-wrap: break-word;
                word-break: break-all;
                white-space: normal;
                overflow-wrap: break-word;
            }

            .mall-item-details {
                gap: 6px;
            }

            .mall-item-row {
                gap: 4px;
                align-items: center;
                flex-wrap: wrap;
            }

            .mall-item-label {
                font-size: 12px;
                min-width: auto;
                margin-right: 2px;
            }

            .mall-item-value {
                font-size: 12px;
                margin-right: 4px;
            }

            .mall-item-price {
                font-size: 18px;
                font-weight: 700;
                color: #e74c3c;
            }

            .mall-item-price-row {
                display: flex;
                align-items: center;
                gap: 8px;
                margin-bottom: 4px;
            }

            .mall-item-info-row {
                display: flex;
                align-items: center;
                gap: 8px;
                flex-wrap: wrap;
                margin-bottom: 4px;
            }

            .mall-item-server-info {
                color: #2c3e50;
                font-weight: 500;
                font-size: 12px;
            }

            .mall-item-contact-info {
                color: #27ae60;
                font-weight: 600;
                font-size: 12px;
                cursor: pointer;
                transition: all 0.2s ease;
            }

            .mall-item-contact-info:hover {
                color: #219a52;
                text-decoration: underline;
            }

            .mall-item-user-row {
                display: flex;
                align-items: center;
                gap: 4px;
            }

            .mall-item-nickname {
                font-size: 12px;
                color: #000000;
                font-weight: 500;
            }

            .mall-item-type {
                font-size: 10px;
                padding: 1px 6px;
                background: #ecf0f1;
                color: #2c3e50;
                border-radius: 12px;
                font-weight: 500;
                margin-right: 3px;
                margin-bottom: 2px;
                display: inline-block;
            }

            .mall-item-types {
                display: flex;
                flex-wrap: wrap;
                gap: 3px;
                align-items: center;
            }
        }

        /* 坐骑天赋计算器样式 */
        .mount-talent-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 20px;
        }

        .mount-talent-item {
            background: #f8f9fa;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
        }

        .mount-talent-inputs {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 10px;
        }

        .mount-input-group {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .mount-input-group label {
            font-size: 12px;
            font-weight: 600;
            color: #2c3e50;
            margin: 0;
        }

        .mount-input {
            width: 100%;
            padding: 6px 8px;
            border: 1px solid #dce6f4;
            border-radius: 4px;
            font-size: 14px;
            box-sizing: border-box;
            /* 允许输入框文本选择 */
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        .mount-input:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
        }

        .mount-calc-btn {
            padding: 8px 12px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mount-calc-btn:hover {
            background: #2980b9;
            transform: translateY(-1px);
        }

        .mount-result {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid #e0e0e0;
        }

        .mount-total-results {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .mount-total-item {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        /* 移动端响应式 */
        @media screen and (max-width: 768px) {
            .mount-talent-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .mount-talent-item {
                padding: 15px;
            }

            .mount-talent-inputs {
                display: flex;
                flex-direction: row;
                gap: 8px;
                align-items: end;
                margin-bottom: 10px;
            }

            .mount-input-group {
                flex: 1;
                min-width: 0;
            }

            .mount-input-group label {
                font-size: 11px;
                margin-bottom: 2px;
                white-space: nowrap;
            }

            .mount-input {
                padding: 4px 6px;
                font-size: 12px;
                width: 100%;
                box-sizing: border-box;
            }

            .mount-calc-btn {
                padding: 4px 8px;
                font-size: 11px;
                align-self: end;
                height: fit-content;
                white-space: nowrap;
                min-width: 40px;
            }

            .mount-total-results {
                grid-template-columns: 1fr;
                gap: 10px;
            }
        }

        /* 超小屏幕优化 */
        @media screen and (max-width: 480px) {
            .mount-talent-inputs {
                flex-direction: row;
                gap: 6px;
                align-items: end;
            }

            .mount-input-group {
                flex: 1;
                min-width: 0;
            }

            .mount-input-group label {
                font-size: 10px;
                margin-bottom: 1px;
            }

            .mount-input {
                padding: 3px 5px;
                font-size: 11px;
            }

            .mount-calc-btn {
                padding: 3px 6px;
                font-size: 10px;
                min-width: 35px;
            }
        }

        /* 现代化用户页面样式 */
        .login-card {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border-radius: 24px;
            padding: 40px;
            box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.5);
            max-width: 400px;
            margin: 50px auto;
            position: relative;
            overflow: hidden;
        }

        /* 移动端登录页面居中优化 */
        @media screen and (max-width: 768px) {
            #login-container {
                display: flex;
                align-items: center;
                justify-content: center;
                min-height: calc(100vh - 80px); /* 减去底部导航栏高度 */
                padding: 30px 20px 20px 20px;
            }

            .login-card {
                margin: 0;
                width: 100%;
                max-width: 380px;
                padding: 35px 30px;
            }
        }

        .login-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
        }

        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .login-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .login-icon i {
            font-size: 36px;
            color: white;
        }

        .login-header h2 {
            color: #2c3e50;
            font-size: 28px;
            font-weight: 700;
            margin: 0;
        }

        .modern-login-form {
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-icon {
            position: absolute;
            left: 16px;
            color: #7f8c8d;
            font-size: 16px;
            z-index: 2;
        }

        .input-wrapper input {
            width: 100%;
            padding: 16px 16px 16px 50px;
            border: 2px solid #e8ecf0;
            border-radius: 12px;
            font-size: 16px;
            background: #ffffff;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .input-wrapper input:focus {
            border-color: #667eea;
            outline: none;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .input-wrapper input:focus + .input-icon {
            color: #667eea;
        }

        .modern-login-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
        }

        .modern-login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
        }

        .modern-login-btn:active {
            transform: translateY(0);
        }

        .modern-message {
            margin-top: 20px;
            padding: 16px;
            border-radius: 12px;
            text-align: center;
            font-weight: 500;
            border: none;
        }

        .modern-message.success {
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
            color: #155724;
        }

        .modern-message.error {
            background: linear-gradient(135deg, #f8d7da, #f5c6cb);
            color: #721c24;
        }

        /* 通知气泡样式 */
        .notification-bubble {
            position: fixed;
            top: 40px;
            right: 20px;
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            padding: 12px 20px;
            border-radius: 25px;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
            z-index: 1000;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 500;
            max-width: 300px;
            word-wrap: break-word;
        }

        .notification-bubble.show {
            transform: translateX(0);
            opacity: 1;
        }

        .notification-bubble.error {
            background: linear-gradient(135deg, #f44336, #d32f2f);
            box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
        }

        .notification-bubble.success {
            background: linear-gradient(135deg, #4CAF50, #45a049);
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
        }

        /* 通知气泡居中显示 - 统一样式 */
        #login-notification-bubble, #notification-bubble {
            left: 50%;
            right: auto;
            top: 60px;
            transform: translateX(-50%) translateY(-100px);
            max-width: 400px;
        }

        #login-notification-bubble.show, #notification-bubble.show {
            transform: translateX(-50%) translateY(0);
        }

        /* 现代化用户资料页面样式 */
        .modern-profile-card {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border-radius: 24px;
            padding: 30px;
            box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.5);
            margin: 20px auto;
            max-width: 600px;
            position: relative;
            overflow: hidden;
        }

        .modern-profile-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
        }



        /* 顶部操作栏样式 */
        .profile-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            gap: 12px;
        }

        .header-left {
            display: flex;
            align-items: center;
        }

        .header-right {
            display: flex;
            align-items: center;
            margin-left: auto;
        }

        .header-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            border-radius: 25px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            padding: 8px 12px;
            gap: 6px;
            white-space: nowrap;
        }

        .checkin-btn {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
        }

        .checkin-btn:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
        }

        .checkin-btn:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .checkin-btn.completed {
            display: none;
        }

        .checkin-text {
            font-size: 12px;
            font-weight: 500;
        }

        .logout-btn {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            padding: 0;
            background: #dc3545;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .logout-btn:hover {
            background: #c82333;
        }



        .profile-content {
            display: flex;
            align-items: flex-start;
            gap: 25px;
            margin-top: 20px;
        }

        .profile-left {
            flex-shrink: 0;
        }

        .modern-avatar {
            position: relative;
            width: 100px;
            height: 100px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .modern-avatar:hover {
            transform: scale(1.05);
        }

        .avatar-container {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
            position: relative;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .avatar-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .default-avatar {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 36px;
            position: relative;
        }

        .default-avatar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%);
            border-radius: 50%;
        }

        /* 上传状态覆盖层 */
        .upload-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
            border-radius: 50%;
            z-index: 10;
        }

        .upload-spinner {
            width: 24px;
            height: 24px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 8px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .modern-avatar.uploading {
            pointer-events: none;
        }

        .profile-right {
            flex: 1;
            min-width: 0;
        }

        .user-info {
            margin-bottom: 25px;
        }

        .nickname-section {
            display: flex;
            align-items: baseline;
            gap: 12px;
            margin-bottom: 8px;
        }

        .modern-nickname {
            font-size: 24px;
            font-weight: 700;
            color: #2c3e50;
            margin: 0;
            flex: 1;
            min-width: 0;
            word-break: break-word;
            line-height: 1.2;
        }

        .editable-nickname {
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
        }

        .editable-nickname:hover {
            background: rgba(52, 152, 219, 0.1);
            transform: translateY(-1px);
        }

        .editable-nickname:hover::after {
            content: "点击编辑";
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            z-index: 100;
        }

        .user-id {
            color: #7f8c8d;
            font-size: 16px;
            font-weight: 500;
            margin: 0;
            line-height: 1.2;
        }

        /* PC端ID前面加空格对齐 */
        @media screen and (min-width: 769px) {
            .user-id {
                padding-left: 12px;
            }
        }

        /* 通用模态框样式 */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            justify-content: center;
            align-items: flex-start;
            z-index: 2000;
            backdrop-filter: blur(5px);
            overflow-y: auto;
            padding: 20px 0;
        }

        /* 自定义模态框样式 */
        .custom-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .custom-modal.show {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: white;
            border-radius: 16px;
            padding: 0;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .custom-modal.show .modal-content {
            transform: scale(1);
        }

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

        .modal-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
        }

        .modal-header .close {
            background: none;
            border: none;
            font-size: 24px;
            color: #95a5a6;
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .modal-header .close:hover {
            background: #f8f9fa;
            color: #e74c3c;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 20px;
            color: #95a5a6;
            cursor: pointer;
            padding: 4px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: #f8f9fa;
            color: #e74c3c;
        }

        .modal-body {
            padding: 20px 24px;
        }

        .input-group {
            margin-bottom: 16px;
        }

        .input-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #2c3e50;
            font-size: 14px;
        }

        .custom-input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .custom-input:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .input-hint {
            margin-top: 6px;
            font-size: 12px;
            color: #7f8c8d;
        }

        .modal-footer {
            padding: 16px 24px 20px;
            display: flex;
            gap: 12px;
            justify-content: flex-end;
        }

        .btn-secondary, .btn-primary {
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-secondary {
            background: #f8f9fa;
            color: #6c757d;
        }

        .btn-secondary:hover {
            background: #e9ecef;
        }

        .btn-primary {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
        }

        .btn-danger {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
        }

        .btn-danger:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
        }

        /* 攻略上传模态框样式 */
        .upload-guide-content, .preview-guide-content {
            max-width: 800px;
            width: 95%;
        }

        .upload-guide-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group label {
            font-weight: 600;
            color: #2c3e50;
            font-size: 14px;
        }

        .form-input, .form-textarea {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s ease;
            box-sizing: border-box;
            font-family: inherit;
        }

        .form-input:focus, .form-textarea:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .content-editor {
            position: relative;
        }

        .editor-toolbar {
            display: flex;
            gap: 8px;
            margin-bottom: 8px;
            padding: 8px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .toolbar-btn {
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 8px 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
        }

        .toolbar-btn:hover {
            background: #e9ecef;
            border-color: #adb5bd;
        }

        .form-actions, .preview-actions {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
            margin-top: 20px;
        }

        /* 攻略预览按钮固定在底部 */
        .preview-guide-content .preview-actions {
            position: sticky;
            bottom: 0;
            background: white;
            padding: 15px 20px;
            border-top: 1px solid #dee2e6;
            margin-top: 0;
            flex-shrink: 0;
            z-index: 10;
        }

        .preview-content {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .preview-content h2 {
            color: #2c3e50;
            margin-bottom: 16px;
            font-size: 24px;
        }

        .preview-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 10px 0;
        }

        /* 商品上架相关样式 */
        .mall-search-container {
            background: white;
            padding: 15px 15px 1px 15px;
            border-radius: 16px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .upload-item-btn {
            background: linear-gradient(135deg, #27ae60, #229954);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 500;
            align-self: flex-end;
            box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
        }

        .upload-item-btn:hover {
            background: linear-gradient(135deg, #229954, #1e8449);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
        }

        .upload-item-content, .preview-item-content {
            max-width: 800px;
            width: 95%;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
            margin: auto;
        }

        .image-upload-area {
            border: 2px dashed #dee2e6;
            border-radius: 8px;
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .image-upload-area:hover {
            border-color: #3498db;
        }

        .upload-placeholder {
            cursor: pointer;
            color: #6c757d;
            padding: 30px 20px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .upload-placeholder:hover {
            background: #f8f9fa;
        }

        .upload-placeholder i {
            font-size: 48px;
            margin-bottom: 10px;
            color: #3498db;
        }

        .upload-placeholder p {
            margin: 10px 0 5px;
            font-size: 16px;
            font-weight: 500;
        }

        .upload-placeholder small {
            color: #95a5a6;
        }

        .uploaded-images {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            padding: 15px;
            background: #f8f9fa;
            border-top: 1px solid #dee2e6;
        }

        .uploaded-images:empty {
            display: none;
        }

        .uploaded-image {
            position: relative;
            width: 100px;
            height: 100px;
            border-radius: 8px;
            overflow: hidden;
            border: 2px solid #e9ecef;
        }

        .uploaded-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .uploaded-image.cover {
            border-color: #3498db;
        }

        .uploaded-image .cover-badge {
            position: absolute;
            top: 5px;
            left: 5px;
            background: #3498db;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
        }

        .uploaded-image .remove-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background: #e74c3c;
            color: white;
            border: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .add-more-image {
            width: 100px;
            height: 100px;
            border: 2px dashed #3498db;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #3498db;
            transition: all 0.3s ease;
            background: white;
        }

        .add-more-image:hover {
            background: #f8f9fa;
            border-color: #2980b9;
            color: #2980b9;
        }

        .add-more-image i {
            font-size: 24px;
            margin-bottom: 5px;
        }

        .add-more-image span {
            font-size: 12px;
            font-weight: 500;
        }

        /* 商品状态样式 */
        .status-pending {
            color: #f39c12;
            font-weight: 500;
        }

        .status-active {
            color: #27ae60;
            font-weight: 500;
        }

        .status-expired {
            color: #95a5a6;
            font-weight: 500;
        }

        .status-rejected {
            color: #e74c3c;
            font-weight: 500;
        }

        .status-unknown {
            color: #7f8c8d;
            font-weight: 500;
        }

        /* 成功气泡提醒样式 */
        .success-bubble {
            position: fixed;
            top: 40px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
            padding: 15px 25px;
            border-radius: 25px;
            box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
            z-index: 3000;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            font-weight: 500;
            opacity: 0;
            transform: translateX(-50%) translateY(-20px);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .success-bubble.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .success-bubble i {
            font-size: 16px;
        }

        /* 移动端成功气泡优化 */
        @media (max-width: 768px) {
            .success-bubble {
                left: 10px;
                right: 10px;
                transform: none;
                max-width: calc(100vw - 20px);
                width: auto;
                text-align: center;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                padding: 12px 20px;
                font-size: 13px;
                top: 80px; /* 下移避免刘海遮挡 */
            }

            .success-bubble.show {
                transform: translateY(0);
            }
        }

        /* 攻略预览样式 */
        .preview-guide-content {
            max-width: 800px;
            max-height: 80vh;
            display: flex;
            flex-direction: column;
        }

        .preview-guide-content .modal-body {
            flex: 1;
            overflow-y: auto;
            min-height: 0;
            padding-bottom: 0;
        }

        .guide-preview-header {
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .guide-preview-title {
            font-size: 24px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 10px;
        }

        .guide-preview-meta {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .guide-preview-status {
            display: flex;
            align-items: center;
        }

        .guide-preview-info {
            display: flex;
            gap: 20px;
            font-size: 14px;
            color: #7f8c8d;
        }

        .guide-preview-info span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .guide-preview-reject {
            background: #fdf2f2;
            border: 1px solid #fecaca;
            border-radius: 8px;
            padding: 10px;
            color: #dc2626;
            font-size: 14px;
        }

        .guide-preview-content {
            line-height: 1.8;
            color: #2c3e50;
            font-size: 16px;
        }

        .guide-preview-content img {
            display: block;
            margin: 15px auto;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            max-width: 100%;
            height: auto;
        }

        .status-approved {
            color: #27ae60;
            font-weight: 500;
        }

        /* 商品预览样式优化 */
        .preview-item-card .mall-item {
            display: flex;
            flex-direction: column;
            gap: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
        }

        .preview-item-card .mall-item-images {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .preview-item-card .mall-item-image-main {
            text-align: center;
        }

        .preview-item-card .mall-item-image-main img {
            max-width: 300px;
            max-height: 300px;
            width: auto;
            height: auto;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .preview-item-card .mall-item-image-thumbs {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .preview-item-card .mall-item-image-thumbs img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }

        .preview-item-card .mall-item-image-thumbs img:hover {
            border-color: #27ae60;
            transform: scale(1.05);
        }

        .preview-item-card .mall-item-info {
            background: white;
            border-radius: 8px;
            padding: 20px;
        }

        .preview-item-card .mall-item-title {
            font-size: 20px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 10px;
            word-wrap: break-word;
            word-break: break-all;
            white-space: normal;
            overflow-wrap: break-word;
        }

        .preview-item-card .mall-item-price {
            font-size: 24px;
            font-weight: 700;
            color: #e74c3c;
            margin-bottom: 15px;
        }

        .preview-item-card .mall-item-types {
            margin-bottom: 15px;
        }

        .preview-item-card .mall-item-type {
            display: inline-block;
            background: #3498db;
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            margin-right: 8px;
            margin-bottom: 5px;
        }

        .preview-item-card .mall-item-details {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .preview-item-card .mall-item-details > div {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: #555;
        }

        .preview-item-card .mall-item-details strong {
            min-width: 80px;
            color: #2c3e50;
        }

        @media (max-width: 768px) {
            .preview-item-card .mall-item-image-main img {
                max-width: 250px;
                max-height: 250px;
            }

            .preview-item-card .mall-item {
                padding: 10px;
            }

            .preview-item-card .mall-item-info {
                padding: 20px;
                margin: 10px;
                border-radius: 12px;
                box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            }
        }

        /* 上传进度条样式 */
        .upload-progress {
            width: 100%;
            height: 4px;
            background: #e9ecef;
            border-radius: 2px;
            margin: 10px 0;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #27ae60, #2ecc71);
            border-radius: 2px;
            width: 0%;
            transition: width 0.3s ease;
        }

        .upload-placeholder.uploading {
            pointer-events: none;
            opacity: 0.6;
        }

        /* 移动端商品预览优化 */
        @media (max-width: 768px) {
            .preview-item-content {
                max-width: 95vw;
                max-height: 90vh;
                margin: 5vh auto;
                display: flex;
                flex-direction: column;
                background: white;
                border-radius: 12px;
            }

            .modal-body {
                padding: 15px;
                flex: 1;
                display: flex;
                flex-direction: column;
                min-height: 0;
                overflow: hidden;
                background: white;
            }

            .preview-item-card {
                background: #f8f9fa;
                border-radius: 12px;
                padding: 15px;
                flex: 1;
                min-height: 0;
                overflow-y: auto;
                margin-bottom: 0;
            }

            .preview-actions {
                margin-top: 15px;
                padding: 15px;
                border-top: 1px solid #dee2e6;
                flex-shrink: 0;
                background: white;
                border-radius: 0 0 12px 12px;
                position: sticky;
                bottom: 0;
                z-index: 10;
            }

            .preview-actions .btn {
                width: 100%;
                padding: 12px;
                font-size: 16px;
            }

            /* 移动端攻略预览按钮优化 */
            .preview-guide-content .preview-actions {
                flex-direction: column-reverse;
                gap: 10px;
            }

            .preview-guide-content .preview-actions .btn {
                width: 100%;
                margin: 0;
            }

            /* 确保模态框背景覆盖整个屏幕 */
            #my-item-preview-modal {
                background-color: rgba(0, 0, 0, 0.5);
                padding: 0;
                align-items: center;
                justify-content: center;
            }

            /* 移动端模态框头部优化 */
            #my-item-preview-modal .modal-header {
                padding: 15px;
                border-bottom: 1px solid #dee2e6;
                background: white;
                border-radius: 12px 12px 0 0;
                flex-shrink: 0;
            }
        }

        .type-input-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .selected-types {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .type-tag {
            background: #3498db;
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .type-tag .remove-type {
            cursor: pointer;
            font-weight: bold;
        }

        .form-hint {
            color: #6c757d;
            font-size: 12px;
            margin-top: 5px;
        }

        .preview-item-card {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
        }

        /* 商品详情页面样式 */
        .item-detail-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background: white;
            min-height: 100vh;
        }

        .item-detail-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .item-detail-header h2 {
            flex: 1;
            margin: 0;
        }

        .back-btn {
            background: #f8f9fa;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .back-btn:hover {
            background: #e9ecef;
            transform: scale(1.05);
        }

        .item-images-container {
            position: relative;
            margin-bottom: 20px;
        }

        .item-images-slider {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .item-images-slider::-webkit-scrollbar {
            display: none;
        }

        .item-image-slide {
            flex: 0 0 100%;
            scroll-snap-align: start;
        }

        .item-image-slide img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 12px;
        }

        .image-indicators {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 15px;
        }

        .image-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #dee2e6;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .image-indicator.active {
            background: #3498db;
            transform: scale(1.2);
        }

        .item-info-section {
            margin-bottom: 30px;
        }

        .item-detail-title {
            font-size: 24px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 15px;
            word-wrap: break-word;
            word-break: break-all;
            white-space: normal;
            overflow-wrap: break-word;
            line-height: 1.4;
        }

        .item-detail-price {
            font-size: 28px;
            font-weight: 700;
            color: #e74c3c;
            margin-bottom: 15px;
        }

        .item-detail-types {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .item-detail-types .mall-item-type {
            background: #3498db;
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
        }

        .item-detail-info {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 12px;
        }

        .info-row {
            display: flex;
            margin-bottom: 12px;
        }

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

        .info-label {
            font-weight: 600;
            color: #6c757d;
            min-width: 80px;
        }

        .info-value {
            color: #2c3e50;
        }

        .contact-value {
            cursor: pointer;
            color: #3498db;
            text-decoration: underline;
        }

        .contact-value:hover {
            color: #2980b9;
        }

        .comments-section {
            border-top: 1px solid #eee;
            padding-top: 20px;
        }

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

        .comments-header h3 {
            margin: 0;
            color: #2c3e50;
        }

        .comments-count {
            color: #6c757d;
            font-size: 14px;
        }

        .comment-input-section {
            margin-bottom: 20px;
        }

        .comment-input-container {
            display: flex;
            gap: 10px;
            align-items: flex-end;
        }

        .comment-input-container textarea {
            flex: 1;
            padding: 12px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            resize: vertical;
            min-height: 80px;
            font-family: inherit;
        }

        .comment-input-container textarea:focus {
            outline: none;
            border-color: #3498db;
        }

        .comment-submit-btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .comment-submit-btn:hover {
            background: #2980b9;
        }

        .comment-item {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 12px;
        }

        .comment-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2c3e50;
            font-weight: 600;
            flex-shrink: 0;
            font-size: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            overflow: hidden;
        }

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

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

        .comment-header {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            gap: 8px;
        }

        .comment-author {
            font-weight: 600;
            color: #2c3e50;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .comment-author.author-badge::after {
            content: "作者";
            background: #e74c3c;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 8px;
            flex-shrink: 0;
        }

        .comment-text {
            color: #2c3e50;
            line-height: 1.5;
            margin-bottom: 8px;
        }

        .comment-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .comment-time {
            color: #6c757d;
            font-size: 12px;
            margin-left: auto;
        }

        .comment-actions {
            display: flex;
            gap: 15px;
        }

        .comment-action {
            color: #6c757d;
            font-size: 12px;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .comment-action:hover {
            color: #e74c3c;
        }

        /* 移动端评论样式优化 */
        @media (max-width: 768px) {
            .comment-author {
                font-size: 14px;
            }

            .comment-avatar {
                width: 35px;
                height: 35px;
                font-size: 14px;
            }

            .comment-time {
                font-size: 11px;
            }

            .comment-action {
                font-size: 11px;
            }
        }

        /* 个人中心菜单样式 */
        .profile-menu-card {
            background: white;
            border-radius: 16px;
            margin: 20px auto;
            max-width: 600px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }

        .menu-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid #f0f0f0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

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

        .menu-item:hover {
            background: #f8f9fa;
        }

        .menu-item-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .menu-item-left i {
            width: 20px;
            text-align: center;
            color: #3498db;
            font-size: 16px;
        }

        .menu-item-left span {
            font-size: 16px;
            color: #2c3e50;
            font-weight: 500;
        }

        .menu-item-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .menu-item-right i {
            color: #bdc3c7;
            font-size: 14px;
        }

        .message-badge {
            background: #e74c3c;
            color: white;
            font-size: 12px;
            padding: 2px 6px;
            border-radius: 10px;
            min-width: 18px;
            text-align: center;
            font-weight: 600;
        }

        /* 用户消息和内容管理页面样式 */
        .page-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background: white;
            min-height: 100vh;
        }

        .page-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .page-header h2 {
            flex: 1;
            margin: 0;
            color: #2c3e50;
            font-size: 20px;
            font-weight: 600;
        }

        .read-all-btn {
            background: #3498db;
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .read-all-btn:hover {
            background: #2980b9;
            transform: translateY(-1px);
        }

        .read-all-btn:active {
            transform: translateY(0);
        }

        .messages-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .message-item {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 16px;
            border-left: 4px solid #3498db;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .message-item.unread {
            background: #e8f4fd;
            border-left-color: #3498db;
        }

        .message-item.read {
            background: #f8f9fa;
            border-left-color: #ddd;
        }

        .message-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .message-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .message-time {
            font-size: 12px;
            color: #6c757d;
        }

        .message-content {
            line-height: 1.6;
            color: #2c3e50;
            word-wrap: break-word;
            word-break: break-all;
            overflow-wrap: break-word;
            white-space: pre-wrap;
            max-height: 3.2em;
            overflow: hidden;
            position: relative;
            padding-right: 5px;
        }

        .message-content::after {
            content: '...点击查看更多';
            position: absolute;
            right: 5px;
            bottom: 0;
            background: linear-gradient(to right, transparent, #e8f4fd 60%);
            padding-left: 50px;
            color: #3498db;
            font-size: 12px;
            display: none;
            pointer-events: none;
        }

        .message-item.unread .message-content::after {
            background: linear-gradient(to right, transparent, #e8f4fd 60%);
        }

        .message-item.read .message-content::after {
            background: linear-gradient(to right, transparent, #f8f9fa 60%);
        }

        .message-content.truncated::after {
            display: block;
        }

        .message-item.read .message-content {
            color: #6c757d;
        }

        .load-more-container {
            text-align: center;
            margin: 20px 0;
        }

        .load-more-btn {
            background: #3498db;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .load-more-btn:hover {
            background: #2980b9;
            transform: translateY(-1px);
        }

        .load-more-btn:active {
            transform: translateY(0);
        }

        /* 通知预览样式 */
        .notice-preview-detail {
            background: white;
            border-radius: 12px;
            padding: 20px;
        }

        .notice-preview-time {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #6c757d;
            font-size: 14px;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid #e9ecef;
        }

        .notice-preview-time i {
            color: #3498db;
        }

        .notice-preview-text {
            line-height: 1.8;
            color: #2c3e50;
            font-size: 15px;
            word-wrap: break-word;
            word-break: break-all;
            white-space: pre-wrap;
            overflow-wrap: break-word;
            text-align: left;
            margin: 0;
        }

        .my-content-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .my-content-item {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }

        .my-content-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .content-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .content-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            margin: 0;
            word-wrap: break-word;
            word-break: break-all;
            white-space: normal;
            overflow-wrap: break-word;
            flex: 1;
            min-width: 0;
        }

        .content-status {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .status-pending {
            background: #fff3cd;
            color: #856404;
        }

        .status-approved {
            background: #d4edda;
            color: #155724;
        }

        .status-rejected {
            background: #f8d7da;
            color: #721c24;
        }

        .status-expired {
            background: #e2e3e5;
            color: #6c757d;
        }

        .content-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 10px;
            margin-bottom: 15px;
            font-size: 14px;
            color: #6c757d;
        }

        .content-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .content-btn {
            padding: 6px 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: #3498db;
            color: white;
        }

        .btn-primary:hover {
            background: #2980b9;
        }

        .btn-danger {
            background: #e74c3c;
            color: white;
        }

        .btn-danger:hover {
            background: #c0392b;
        }

        .btn-secondary {
            background: #6c757d;
            color: white;
        }

        .btn-secondary:hover {
            background: #5a6268;
        }

        .btn-success {
            background: #27ae60;
            color: white;
        }

        .btn-success:hover {
            background: #229954;
        }

        .extend-confirm-btn {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            padding: 12px 24px;
            font-size: 14px;
            font-weight: 600;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
            transition: all 0.3s ease;
        }

        .extend-confirm-btn:hover {
            background: linear-gradient(135deg, #229954, #27ae60);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
        }

        .extend-confirm-btn i {
            margin-right: 8px;
        }

        /* 联系方式点击样式 */
        .contact-value {
            cursor: pointer;
            color: #3498db;
            text-decoration: underline;
            transition: color 0.3s ease;
        }

        .contact-value:hover {
            color: #2980b9;
        }

        .mall-item-contact-info {
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .mall-item-contact-info:hover {
            color: #3498db;
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #6c757d;
        }

        .empty-state i {
            font-size: 48px;
            margin-bottom: 15px;
            color: #dee2e6;
        }

        .empty-state h3 {
            margin: 0 0 10px 0;
            color: #6c757d;
        }

        .empty-state p {
            margin: 0;
            font-size: 14px;
        }

        /* 简约退出确认模态框样式 */
        .logout-modal .modal-content {
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            max-width: 400px;
            margin: 20px;
        }

        .logout-modal-header {
            padding: 20px 20px 0;
            text-align: center;
            border-bottom: none;
        }

        .logout-modal-header h3 {
            color: #333;
            font-size: 18px;
            font-weight: 500;
            margin: 0;
        }

        .logout-modal-header .modal-close {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            color: #999;
            border: none;
            font-size: 20px;
            cursor: pointer;
            padding: 5px;
        }

        .logout-modal-header .modal-close:hover {
            color: #666;
        }

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

        .logout-message {
            font-size: 16px;
            color: #666;
            margin: 0;
            line-height: 1.4;
        }

        .logout-submessage {
            display: none;
        }

        .logout-modal-footer {
            padding: 0 20px 20px;
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .logout-cancel-btn, .logout-confirm-btn {
            padding: 8px 20px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
            min-width: 80px;
        }

        .logout-cancel-btn {
            background: white;
            color: #666;
        }

        .logout-cancel-btn:hover {
            background: #f5f5f5;
        }

        .logout-confirm-btn {
            background: #dc3545;
            color: white;
            border-color: #dc3545;
        }

        .logout-confirm-btn:hover {
            background: #c82333;
            border-color: #c82333;
        }

        .stats-container {
            display: flex;
            gap: 50px;
        }

        /* 响应式调整 - 根据视口宽度调整大小 */
        @media screen and (min-width: 1200px) {
            .stat-card {
                padding: 14px 24px;
                min-height: 65px;
            }
            .stat-icon {
                width: 42px;
                height: 42px;
            }
            .stat-icon i {
                font-size: 18px;
            }
            .stat-value {
                font-size: 20px;
            }
            .stat-label {
                font-size: 13px;
            }
        }

        @media screen and (max-width: 1199px) and (min-width: 992px) {
            .stat-card {
                padding: 13px 22px;
                min-height: 62px;
            }
            .stat-icon {
                width: 38px;
                height: 38px;
            }
            .stat-icon i {
                font-size: 17px;
            }
            .stat-value {
                font-size: 19px;
            }
        }

        @media screen and (max-width: 991px) and (min-width: 769px) {
            .stat-card {
                padding: 12px 20px;
                min-height: 60px;
            }
            .stat-icon {
                width: 34px;
                height: 34px;
            }
            .stat-icon i {
                font-size: 15px;
            }
            .stat-value {
                font-size: 17px;
            }
        }

        .stat-card {
            flex: 1;
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            border-radius: 12px;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.5);
            min-height: 60px;
        }

        .stat-card:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        }

        .stat-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .stat-card:first-child .stat-icon {
            background: linear-gradient(135deg, #f39c12, #e67e22);
            color: white;
        }

        .stat-card:last-child .stat-icon {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
        }

        .stat-icon i {
            font-size: 16px;
        }

        .stat-info {
            flex: 1;
            min-width: 0;
        }

        .stat-value {
            display: block;
            font-size: 18px;
            font-weight: 700;
            color: #2c3e50;
            line-height: 1;
            margin-bottom: 3px;
        }

        .stat-label {
            display: block;
            font-size: 12px;
            color: #7f8c8d;
            font-weight: 500;
            white-space: nowrap;
        }



        /* 移动端响应式样式 */
        @media screen and (max-width: 768px) {
            .notification-bubble {
                top: 80px;
                right: 10px;
                max-width: calc(100vw - 40px);
                font-size: 13px;
                padding: 10px 16px;
            }

            /* 移动端通知气泡居中 */
            #login-notification-bubble, #notification-bubble {
                left: 50%;
                right: auto;
                top: 100px; /* 下移避免遮挡，避开摄像头 */
                transform: translateX(-50%) translateY(-100px);
                max-width: calc(100vw - 40px);
            }

            #login-notification-bubble.show, #notification-bubble.show {
                transform: translateX(-50%) translateY(0);
            }

            /* 移动端页面容器整体下移 */
            .page-container {
                padding-top: 30px;
            }
            
            /* 移动端逛页面通知气泡也下移 */
            #browse-notification-bubble {
                top: 80px;
            }

            /* 移动端退出确认模态框优化 */
            .logout-modal .modal-content {
                max-width: calc(100vw - 40px);
                margin: 20px;
            }

            .logout-modal-header {
                padding: 15px 15px 0;
            }

            .logout-modal-header h3 {
                font-size: 16px;
            }

            .logout-modal-body {
                padding: 15px;
            }

            .logout-message {
                font-size: 14px;
            }

            .logout-modal-footer {
                padding: 0 15px 15px;
                flex-direction: row;
                gap: 10px;
            }

            .logout-cancel-btn, .logout-confirm-btn {
                flex: 1;
                padding: 10px 15px;
                font-size: 14px;
            }

            .modern-profile-card {
                margin: 20px;
                padding: 25px 20px;
            }

            .profile-menu-card {
                margin: 20px;
                max-width: none;
            }

            .profile-header {
                justify-content: space-between;
                gap: 8px;
                border-bottom: none;
                padding-bottom: 0;
                margin-bottom: 0;
            }

            .header-left {
                display: flex;
                align-items: center;
            }

            .header-right {
                display: flex;
                align-items: center;
            }

            .header-btn {
                font-size: 12px;
                padding: 6px 10px;
            }

            .logout-btn {
                width: 28px;
                height: 28px;
                padding: 0;
            }

            .checkin-text {
                font-size: 11px;
            }

            .profile-content {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 20px;
            }

            .modal-content {
                width: 95%;
                margin: 20px;
            }

            .modal-header, .modal-body, .modal-footer {
                padding-left: 20px;
                padding-right: 20px;
            }

            .custom-input {
                font-size: 16px; /* 防止iOS缩放 */
            }

            .modern-avatar {
                width: 120px;
                height: 120px;
            }

            .nickname-section {
                justify-content: center;
            }

            .stats-container {
                flex-direction: row;
                gap: 50px;
                width: 100%;
            }

            .stat-card {
                justify-content: center;
                padding: 10px 16px;
                min-height: 50px;
            }

            .stat-icon {
                width: 30px;
                height: 30px;
            }

            .stat-icon i {
                font-size: 14px;
            }

            .stat-value {
                font-size: 16px;
            }

            .stat-label {
                font-size: 11px;
                white-space: nowrap;
            }



            .modern-profile-card {
                text-align: center;
            }

            .modern-profile-card::after {
                content: '';
                display: flex;
                justify-content: center;
                gap: 10px;
                margin-top: 20px;
            }
        }

        @media screen and (max-width: 480px) {
            #login-container {
                padding: 15px;
                min-height: calc(100vh - 70px);
            }

            .login-card {
                margin: 0;
                padding: 25px 20px;
                max-width: 100%;
            }

            .login-header h2 {
                font-size: 24px;
            }

            .login-icon {
                width: 60px;
                height: 60px;
            }

            .login-icon i {
                font-size: 28px;
            }

            /* 超小屏幕退出确认模态框 */
            .logout-modal .modal-content {
                margin: 15px;
                max-width: calc(100vw - 30px);
            }

            .logout-modal-header {
                padding: 12px 12px 0;
            }

            .logout-modal-header h3 {
                font-size: 15px;
            }

            .logout-modal-body {
                padding: 12px;
            }

            .logout-message {
                font-size: 13px;
            }

            .logout-modal-footer {
                padding: 0 12px 12px;
            }

            .logout-cancel-btn, .logout-confirm-btn {
                padding: 8px 12px;
                font-size: 12px;
            }

            .modern-profile-card {
                margin: 15px;
                padding: 20px 15px;
            }

            .header-btn {
                font-size: 10px;
                padding: 5px 8px;
            }

            .logout-btn {
                width: 26px;
                height: 26px;
                padding: 0;
            }

            .checkin-text {
                font-size: 10px;
            }

            .modern-avatar {
                width: 100px;
                height: 100px;
            }

            .modern-nickname {
                font-size: 20px;
            }

            .stat-value {
                font-size: 14px;
            }

            .stat-label {
                font-size: 10px;
                white-space: nowrap;
            }

            .stat-card {
                padding: 8px 24px;
                min-height: 45px;
            }

            .stat-icon {
                width: 28px;
                height: 28px;
            }

            .stat-icon i {
                font-size: 12px;
            }
        }

/* 加载更多提示 */
.loading-more {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.loading-more i {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-more-data {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
    border-top: 1px solid #f0f0f0;
}

/* ==================== 论坛相关样式 ==================== */

/* 论坛警告提示 */
.forum-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #856404;
    font-size: 14px;
}

.forum-warning i {
    color: #ffc107;
    font-size: 18px;
}

/* 帖子列表项 */
.forum-post-item {
    background: white;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.forum-post-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.forum-post-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #007bff;
    line-height: 1.4;
}

.forum-post-order {
    flex-shrink: 0;
    min-width: auto;
    width: auto;
    text-align: left;
    color: #7f8c8d;
    font-size: 13px;
}

.forum-post-order.top {
    color: #e74c3c;
    font-weight: 600;
    min-width: auto;
}

/* 合并信息行样式与彩色图标 */
.forum-post-info-combined {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7f8c8d;
    font-size: 13px;
}

.forum-post-info-combined .user-icon {
    color: #3498db;
}

.forum-post-info-combined .comment-icon {
    color: #e67e22;
}

.forum-post-info-combined .view-icon {
    color: #9b59b6;
}

.forum-post-type {
    flex-shrink: 0;
}

.forum-post-type-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.forum-post-type-tag.chat {
    background: #e8f5e9;
    color: #2e7d32;
}

.forum-post-type-tag.qa {
    background: #e3f2fd;
    color: #1565c0;
}

.forum-post-title-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-post-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #95a5a6;
}

.forum-post-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.forum-post-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.forum-post-time {
    color: #7f8c8d;
}

/* 帖子详情页面样式 */
.forum-post-detail {
    background: white;
    border-radius: 12px;
    padding: 20px 20px 20px 5px;
    margin-bottom: 1px;
}

.forum-post-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.forum-post-title-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 15px;
}

.forum-post-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.forum-post-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #7f8c8d;
}

.forum-post-meta-item {
    display: flex;
    align-items: center;
}

.forum-post-meta-label {
    color: #7f8c8d;
    margin-right: 5px;
}

.forum-post-meta-value {
    color: #2c3e50;
}

/* 楼主信息区域样式 */
.forum-post-author-section {
    margin-top: 20px;
}

.forum-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0 15px 0;
}

.forum-author-info {
    margin-bottom: 0;
}

.forum-author-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 14px;
}

.forum-author-item:last-child {
    margin-bottom: 0;
}

.forum-author-label {
    color: #7f8c8d;
    margin-right: 8px;
    font-weight: 500;
}

.forum-author-value {
    color: #2c3e50;
}

/* 帖子操作链接样式 */
.forum-post-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.forum-action-link {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.forum-action-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.forum-post-author {
    font-weight: 500;
    color: #2c3e50;
}

.forum-post-content {
    font-size: 15px;
    line-height: 1.8;
    color: #34495e;
    word-wrap: break-word;
    white-space: pre-wrap; /* 保留换行和空格 */
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.forum-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    cursor: pointer;
}

/* 评论楼层显示 */
.comment-item {
    position: relative;
}

.comment-floor {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .forum-post-item {
        padding: 10px 12px;
        margin-bottom: 6px;
    }
    
    .forum-post-item-header {
        font-size: 14px;
    }
    
    .forum-post-order {
        font-size: 12px;
    }
    
    .forum-post-order.top {
        min-width: 1px;
    }
    
    .forum-post-type-tag {
        padding: 2px 8px;
        font-size: 11px;
    }
    
    .forum-post-item-footer {
        font-size: 12px;
    }
    
    .forum-post-info {
        gap: 10px;
    }
    
    .forum-post-detail {
        padding: 15px 15px 15px 5px;
    }
    
    /* 移动端帖子详情左移10px */
    .forum-post-header,
    .forum-post-content,
    .forum-post-author-section {
        margin-left: -10px;
    }
    
    .forum-post-title {
        font-size: 18px;
    }
    
    .forum-post-content {
        font-size: 14px;
    }
    
    .forum-action-btn {
        font-size: 13px;
        padding: 5px 12px;
    }
    
    .comment-floor {
        font-size: 11px;
        padding: 2px 6px;
    }
}

/* 评论操作区域 */
.comment-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
}

.comment-delete-btn {
    background: transparent;
    color: #e74c3c;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.comment-delete-btn:hover {
    color: #c0392b;
    text-decoration: underline;
}

.comment-delete-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .comment-delete-btn {
        font-size: 12px;
    }
}

/* 发帖表单间隔优化 */
#create-forum-post-modal .upload-guide-form {
    gap: 8px;
}

#create-forum-post-modal .form-group {
    gap: 5px;
}

/* 预览页面标题样式 */
.preview-content .forum-post-title-row {
    margin-bottom: 20px;
    gap: 0;
}

.preview-content .forum-post-title {
    font-size: 24px;
    margin: 0;
}

/* 论坛搜索框专用样式 */
.forum-search-container {
    background: white;
    padding: 15px 15px 1px 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: stretch; /* 严格对齐垂直高度 */
    flex-wrap: nowrap; /* 保持同一行 */
}

.forum-search-container .search-type-select {
    border: 2px solid white;
    border-radius: 25px;
    font-size: 14px;
    background: white;
    color: #2c3e50;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
    height: 48px;
    line-height: 24px;
    box-sizing: border-box;
}

.forum-search-container .search-type-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.forum-search-container .search-box {
    position: relative;
    flex: 1;
}

.forum-search-container .search-input {
    width: 100%;
    padding: 12px 90px 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
    height: 48px;
    line-height: 24px;
    box-sizing: border-box;
}

.forum-search-container .search-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.forum-search-container .clear-search-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: #95a5a6;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.forum-search-container .clear-search-btn:hover {
    background: #7f8c8d;
    transform: translateY(-50%) scale(1.1);
}

.forum-search-container .clear-search-btn.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forum-search-container .search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.forum-search-container .search-btn:hover {
    background: #2980b9;
}

@media (max-width: 768px) {
    .forum-search-container {
        padding: 15px 15px 1px 15px;
    }
    
    .forum-search-container .search-type-select {
        font-size: 13px;
        background: white;
        height: 44px;
    }
    
    .forum-search-container .search-input {
        font-size: 13px;
        padding: 12px 80px 12px 16px;
        height: 44px;
    }
    
    .forum-search-container .clear-search-btn {
        right: 45px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .forum-search-container .search-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* 发帖表单类型和标题行 */
.forum-post-input-row {
    display: flex;
    gap: 0;
    align-items: flex-end;
}

.forum-post-type-group {
    flex: 0 0 auto;
    margin-right: 8px;
}

.forum-post-type-group select {
    width: auto;
    min-width: 80px;
}

.forum-post-title-group {
    flex: 1;
}

.forum-post-input-row label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.forum-post-input-row .form-input {
    width: 100%;
}

@media (max-width: 768px) {
    .forum-post-type-group select {
        background: white !important;
    }
}

/* 论坛评论区专用样式 */
#forum-post-detail-page .comment-item {
    position: relative;
    padding-right: 80px;
}

#forum-post-detail-page .comment-floor {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

#forum-post-detail-page .comment-time {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #7f8c8d;
    font-size: 12px;
}

#forum-post-detail-page .comment-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

#forum-post-detail-page .comment-actions .comment-time {
    position: static;
    margin: 0;
}

/* 论坛评论用户名样式 */
#forum-post-detail-page .comment-user {
    font-weight: bold;
    color: #000000;
}

/* 论坛评论内容样式 */
#forum-post-detail-page .comment-text {
    font-weight: normal;
    color: #2c3e50;
}

/* 论坛评论楼主标签 */
#forum-post-detail-page .comment-user.author-badge::after {
    content: "楼主";
    background: #e74c3c;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* 帖子详情页面气泡提示样式 */
#forum-post-detail-page #forum-detail-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    #forum-post-detail-page #forum-detail-message {
        left: 10px;
        right: 10px;
        transform: none;
        min-width: auto;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 768px) {
    #forum-post-detail-page .comment-item {
        padding-right: 70px;
    }
    
    #forum-post-detail-page .comment-floor {
        font-size: 11px;
        padding: 2px 6px;
        right: 10px;
    }
    
    #forum-post-detail-page .comment-time {
        font-size: 11px;
        right: 10px;
    }
    
    #forum-post-detail-page .comment-actions {
        right: 10px;
    }
}
