﻿        :root {
            --o: #f60;
            --p: #1a73e8;
            --s: #5f6368;
            --t: #f1f3f4;
            --a: #ea4335;
            --b: #dadce0;
            --h: #125aa9;
            --l: #c7e0fd;
        }
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f9;
            padding-top: 130px;
            padding-bottom: 60px;
        }
a:link {
    text-decoration: none;
}
        /* 头部样式，包含 logo、导航和搜索框 */
       .header {
            background-color: #007BFF;
            color: white;
            padding: 15px 20px;
            display: block;
            text-align: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            box-sizing: border-box;
        }

       .logo {
            font-size: 1.3em;
            font-weight: bold;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }
       .logo a {
            color: white;
        }

       .nav-menu {
            list-style-type: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
            margin-bottom: 10px;
        }

       .nav-menu li a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            position: relative;
            transition: color 0.3s ease;
        }

       .nav-menu li a::after {
            content: '';
            position: absolute;
            width: 100%;
            transform: scaleX(0);
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: white;
            transform-origin: bottom right;
            transition: transform 0.3s ease-out;
        }

       .nav-menu li a:hover {
            color: #f60;
        }

       .nav-menu li a:hover::after {
            transform: scaleX(1);
            transform-origin: bottom left;
        }

       .search-box {
            display: flex;
            justify-content: center;
            width: 100%;
        }

       .search-box input[type="text"] {
            padding: 10px;
            border: none;
            border-radius: 20px 0 0 20px;
            width: 80%;
            max-width: 500px;
            font-size: 0.9em;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            outline: none;
            transition: box-shadow 0.3s ease;
        }

       .search-box input[type="text"]:focus {
            box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
        }

       .search-box button {
            padding: 10px 20px;
            background-color: #f60;
            color: white;
            border: none;
            border-radius: 0 20px 20px 0;
            cursor: pointer;
            font-size: 0.9em;
            transition: background-color 0.3s ease;
        }

       .search-box button:hover {
            background-color: #e55a00;
        }

       .info-list {
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
        }

       .info-item {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
            margin-bottom: 20px;
            padding: 15px;
            display: flex;
            flex-direction: column;
            position: relative;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

       .info-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

       .info-details {
            margin-bottom: 12px;
        }

       .info-title {
            font-size: 1.2em;
            font-weight: bold;
            color: #007BFF;
            margin-bottom: 6px;
        }

       .info-subtitle {
            color: #666;
            margin-top: 4px;
            font-size: 0.9em;
        }

       .info-price {
            color: #f60;
            font-weight: bold;
            margin-top: 6px;
            font-size: 1em;
        }

       .info-images {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 12px;
        }

       .info-image2 {
            width: 300px;
            border-radius: 4px;
            overflow: hidden;
        }

       .info-image2 img {
            width: 100%;
            object-fit: cover;
        }

       .info-link {
            margin-top: 5px;text-align: right;
        }

       .info-link a {
            color: #007BFF;
            text-decoration: none;
            border: 2px solid #007BFF;
            padding: 6px 12px;
            border-radius: 4px;
            display: inline-block;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

       .info-link a:hover {
            background-color: #007BFF;
            color: white;
        }

        /* 信息页 */
       .info-content {
            width: calc(100% - 40px);
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
            box-sizing: border-box;
        }
.info-title2 {
    font-size: 1.8em;
    font-weight: bold;
    color: #007BFF;
    margin-bottom: 10px;
}
       .info-subtitle {
            color: #666;
            margin-bottom: 20px;
            font-size: 1em;
        }

       .info-description {
            line-height: 1.6;
            margin-bottom: 20px;
        }

       .info-price {
            color: #f60;
            font-weight: bold;
            font-size: 1.2em;
            margin-bottom: 20px;
        }


       .info-image {
            width: 80px;
            height: 80px;
            background-color: #ccc;
            border-radius: 4px;
            overflow: hidden;
            cursor: pointer;
        }

       .info-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

       .publisher-card {
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            margin-top: 20px;
        }

       .publisher-card h3 {
            font-size: 1.2em;
            font-weight: bold;
            color: #007BFF;
            margin: 10px 0;
        }

       .publisher-card p {
            color: #666;
            margin-bottom: 5px;
        }
.publisher-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.publisher-card button {
    background-color: var(--p);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
        /* 模态框样式 */
       .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.8);
        }

       .modal-content {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 700px;
            max-height: 80%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* 优化后的是否实名认证样式 */
       .verified {
            color: green;
            display: inline-flex;
            align-items: center;
        }

       .verified::before {
            content: "✔";
            margin-right: 5px;
        }

       .unverified {
            color: red;
            display: inline-flex;
            align-items: center;
        }

       .unverified::before {
            content: "✖";
            margin-right: 5px;
        }
        /* 发布者主页 */
.section {
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}
.section h2 {
    font-size: 1.5em;
    color: #007BFF;
    margin-bottom: 10px;
}
.publisher-intro div {
    line-height: 1.6;
    color: #666;
}
        /* 提示框样式 */
       .no-result {
            background-color: var(--info-item-bg);
            border: 1px solid var(--border-color);
	max-width: 800px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            padding: 20px;
            margin: 0 auto;
            text-align: center;
        }

       .no-result h2 {
            color: var(--primary-color);
            font-size: 1.5em;
            margin-bottom: 10px;
        }

       .no-result p {
            color: var(--text-color);
            font-size: 1em;
        }


        /* 底部按钮样式 */
       .bottom-buttons {
            display: flex;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            z-index: 90;
        }

       .bottom-buttons button {
            flex: 1;
            padding: 15px;
            background-color: #f60;
            color: white;
            border: none;
            font-size: 1em;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

       .bottom-buttons button:first-child {
            border-right: 1px solid rgba(255, 255, 255, 0.3);
        }

       .bottom-buttons button:hover {
            background-color: #e55a00;
        }

        @media (max-width: 768px) {
           .header {
                padding: 10px 15px;
            }

           .logo {
                font-size: 1.2em;
            }

           .nav-menu {
                gap: 15px;
            }

           .nav-menu li a {
                font-size: 14px;
            }

           .search-box input[type="text"] {
                width: 70%;
            }

           .info-item {
                padding: 12px;
            }

           .info-title {
                font-size: 1.1em;
            }

           .info-subtitle {
                font-size: 0.8em;
            }

           .info-price {
                font-size: 0.9em;
            }

           .info-image {
                width: 60px;
                height: 60px;
            }

           .info-link a {
                padding: 5px 10px;
                font-size: 0.9em;
            }

           .bottom-buttons button {
                padding: 12px;
                font-size: 0.9em;
            }
        }