/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* 主要内容区域 */
.main-content {
    background: #f5f5f5;
    padding: 0;
    min-height: 100vh;
}

/* 旅行卡片组件 */
.travel-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    margin: 0 0 20px 0;
    max-width: 100%;
    width: 100%;
}

/* 卡片图片区域 */
.card-image-section {
    position: relative;
    height: 300px;
    background: url('images/17.jpg') center/cover;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
}

.image-overlay {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.card-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.card-description {
    font-size: 20px;
    margin: 0;
    line-height: 1.4;
    opacity: 0.95;
}

/* 作者信息区域 */
.author-section {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.author-location {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.engagement-stats {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左侧内容区域 */
.left-content {
    padding: 30px;
    border-right: 1px solid #e0e0e0;
}

/* 用户询问区域 */
.question-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.question-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.question-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.user-info {
    font-weight: 500;
    color: #2c5aa0;
}

.user-location {
    color: #999;
}

.engagement, .replies {
    color: #666;
}

.follow-up-questions {
    margin-top: 15px;
}

.follow-up-questions p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.follow-up-questions p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

/* 专家回答区域 */
.expert-answer {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 0;
}

/* 专家资料区域 */
.expert-profile-section {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.expert-avatar {
    flex-shrink: 0;
}

.expert-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.expert-info {
    flex: 1;
}

.expert-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.expert-badge {
    background: #4CAF50;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.expert-description {
    background: white;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

.expert-description p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.answer-header {
    margin-bottom: 20px;
}

.expert-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.expert-name {
    font-weight: 600;
    color: #2c5aa0;
    font-size: 16px;
}

.expert-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.answer-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.guide-recommendation h3 {
    color: #2c5aa0;
    font-size: 18px;
    margin-bottom: 10px;
}

.answer-content strong {
    font-size: 17px;
    font-weight: 600;
}

.guide-recommendation p {
    margin-bottom: 15px;
    color: #666;
}

.contact-info {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border: 1px solid #e0e0e0;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.wechat-id {
    color: #2c5aa0;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.wechat-id:hover {
    color: #1e3d72;
}

.qr-link {
    color: #ff6b6b;
    text-decoration: none;
    font-size: 12px;
    margin-left: 10px;
}

.qr-link:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.service-details h4 {
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details li {
    padding: 5px 0;
    font-size: 14px;
    color: #666;
    position: relative;
    padding-left: 15px;
}

.service-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* 右侧导游推荐区域 */
.right-sidebar {
    background: #f8f9fa;
    padding: 30px 20px;
}

.guide-profile {
    text-align: center;
}

.guide-avatar {
    margin-bottom: 20px;
}

.guide-avatar .image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin: 0 auto;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.guide-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.guide-title {
    background: #ffd700;
    color: #333;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 10px;
}

.guide-slogan {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.4;
}

.qr-section {
    margin-bottom: 25px;
}

.qr-code {
    margin-bottom: 15px;
}

.qr-code .image-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    margin: 0 auto;
}

.qr-instruction {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.wechat-note {
    font-size: 12px;
    color: #999;
}

.quick-message-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

.quick-message-btn:hover {
    background: #1e3d72;
}

.message-note {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* 底部图片展示区域 */
.image-gallery {
    background: white;
    padding: 40px 0;
    margin: 20px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-item .image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    text-align: center;
}

.image-caption p {
    font-size: 14px;
    font-weight: 500;
}

/* 联系表单区域 */
.contact-form-section {
    background: linear-gradient(135deg, #2c5aa0, #1e3d72);
    color: white;
    padding: 60px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #333;
}

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

.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 16px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-button {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.submit-button:hover {
    background: linear-gradient(135deg, #ff5252, #ff7979);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.button-text {
    font-size: 16px;
    font-weight: 600;
}

.button-subtext {
    font-size: 12px;
    opacity: 0.9;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.guarantee-icon {
    font-size: 16px;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 14px;
}

.footer-bottom a {
    color: #3498db;
    text-decoration: none;
}

/* 固定联系按钮 */
.fixed-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.contact-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }
}

.btn-icon {
    font-size: 16px;
}

.btn-text {
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        padding: 0;
    }
    
    .travel-card {
        margin: 0 0 15px 0;
        max-width: 100%;
    }
    
    .author-section {
        margin: 15px;
        max-width: none;
    }
    
    .content-layout {
        padding: 0 0px;
    }
    
    .card-image-section {
        height: 250px;
        padding: 15px;
    }
    
    .card-title {
        font-size: 26px;
    }
    
    .card-description {
        font-size: 18px;
    }
    
    .author-section {
        padding: 15px;
        gap: 12px;
    }
    
    .author-avatar img {
        width: 45px;
        height: 45px;
    }
    
    .author-name {
        font-size: 15px;
    }
    
    .author-location {
        font-size: 13px;
    }
    
    .engagement-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .expert-profile-section {
        padding: 15px;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .expert-avatar img {
        width: 45px;
        height: 45px;
    }
    
    .expert-name {
        font-size: 15px;
    }
    
    .expert-badge {
        padding: 5px 12px;
        font-size: 13px;
    }
    
    .expert-description {
        padding: 15px;
    }
    
    .expert-description p {
        font-size: 14px;
    }
    
    .answer-content p {
        font-size: 15px;
    }
    
    .answer-content strong {
        font-size: 16px;
    }
    
    .guide-recommendation h3 {
        font-size: 17px;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .right-sidebar {
        border-top: 1px solid #e0e0e0;
        border-left: none;
    }
    
    .left-content {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .question-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .fixed-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-btn {
        padding: 12px 16px;
    }
    
    .btn-text {
        display: none;
    }
    
    /* 中等屏幕浮动按钮优化 */
    .floating-widget {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .float-btn {
        width: 52px;
        height: 52px;
    }
    
    .circle-btn img {
        width: 52px;
        height: 52px;
    }
    
    /* 确保内容不被浮动按钮遮挡 */
    .article-content {
        padding-bottom: 70px;
    }
    
    .comments-section {
        margin-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .left-content {
        padding: 0px;
    }
    
    .right-sidebar {
        padding: 20px 15px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .question-header h2 {
        font-size: 16px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    /* 移动端浮动按钮优化 */
    .floating-widget {
        right: 10px;
        bottom: 10px;
        gap: 10px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
    }
    
    .circle-btn img {
        width: 50px;
        height: 50px;
    }
    
    /* 确保内容不被浮动按钮遮挡 */
    .article-content {
        padding-bottom: 80px;
    }
    
    .comments-section {
        margin-bottom: 80px;
    }
}

/* ==========================
   适配 /index.html (xm/index.html) 的样式
   ========================== */

/* 顶部状态栏 */
.status-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    color: #666;
}
.status-left, .status-right { display: flex; align-items: center; gap: 8px; }
.battery { font-variant-numeric: tabular-nums; }

/* 顶部导航 */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}
.nav-center { display: flex; gap: 14px; }
.nav-link { color: #2c5aa0; text-decoration: none; font-weight: 600; }
.nav-link:hover { text-decoration: underline; }
.back-btn, .search-btn {
    background: #f5f7fb;
    border: 1px solid #e6ecf5;
    color: #2c5aa0;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}

/* 精選按钮样式 */
.featured-btn {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.featured-btn:hover {
    background: linear-gradient(135deg, #FB8C00, #E65100);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

/* 问题区块 */
.question-section { 
    max-width: 900px; 
    margin: 0px auto 0; 
    padding: 5px 16px; 
    background-image: url('../images/34.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.question-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    z-index: 1;
}

.question-section > * {
    position: relative;
    z-index: 2;
}

/* 问题文本样式 */
.question-main {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 12px;
    display: block;
}

.question-detail {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 0px;
    display: block;
}

/* 问题元信息 */
.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.platform, .answers-count, .followers-count {
    font-size: 14px;
    color: #666;
}

.platform {
    background: #f5f5f5;
    color: #666;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.answers-count, .followers-count {
    margin-left: 8px;
}

/* 统一卡片容器 */
.article-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* 作者信息卡片 */
.author-section { 
    padding: 20px 16px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.author-avatar {
    flex-shrink: 0;
}

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

.author-info {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px 0;
}

.author-badges {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #eef3ff;
    font-size: 10px;
}

.badge.blue { background: #e7f0ff; }
.badge.green { background: #e7ffef; }

.author-tagline {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.author-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.author-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.follow-btn {
    background: #1890ff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.share-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
}

/* 统计数据区域 */
.stats-section {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 6px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1;
    margin-bottom: 1px;
}

.stat-label {
    font-size: 10px;
    color: #999;
    font-weight: 400;
}

/* 互动统计 */
.engagement-stats { 
    padding: 12px 16px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.likes-count {
    font-size: 14px;
    color: #666;
}

.star-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.star-btn:hover {
    background-color: #f5f5f5;
}

.star-icon {
    font-size: 16px;
    color: #666;
    line-height: 1;
}

.star-count {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    line-height: 1;
    margin-left: 2px;
}

/* 正文内容 */
.article-content {
    padding: 5px 16px;
}

/* 文章标题 */
.article-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin: 0 0 16px 0;
    padding: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-content p { 
    color: #333; 
    line-height: 1.6; 
    margin: 16px 0; 
    font-size: 15px;
}

.highlight-text {
    color: #1890ff !important;
    font-weight: 500;
    background-color: #f0f8ff;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #1890ff;
    margin: 20px 0;
    line-height: 1.6;
}
.article-content h3 { 
    color: #333; 
    margin: 20px 0 16px 0; 
    font-size: 18px; 
    font-weight: 600;
}
.quoted-questions p { 
    color: #666; 
    padding-left: 12px; 
    border-left: 3px solid #e6ecf5; 
    font-style: italic;
}
.teletubby-image {
    margin: 16px 0;
    text-align: center;
}

.content-image {
    width: 40%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.full-width-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
}

/* LINE ID链接样式 */
.line-id-link {
    color: #1890ff !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 2px 4px;
    border-radius: 4px;
    position: relative;
}

.line-id-link:hover {
    color: #40a9ff !important;
    text-decoration: underline;
    background-color: rgba(24, 144, 255, 0.1);
    transform: scale(1.02);
}

.line-id-link:active {
    transform: scale(0.98);
    background-color: rgba(24, 144, 255, 0.2);
}

.pointing-icon {
    margin-left: 4px;
    font-size: 16px;
    animation: pointAnimation 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pointAnimation {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
}

/* 酒店图标样式 */
.hotel-icon {
    font-size: 18px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    filter: grayscale(0.2) contrast(1.1);
}

/* 体验图标样式 - 胶囊形状 */
.experience-icon {
    display: inline-block;
    width: 24px;
    height: 14px;
    background: linear-gradient(90deg, #4A90E2 0%, #4A90E2 50%, #FFFFFF 50%, #FFFFFF 100%);
    border: 1px solid #333;
    border-radius: 7px;
    margin-right: 8px;
    position: relative;
    vertical-align: middle;
    font-size: 0;
}

.experience-icon::before {
    content: "✓";
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    color: #333;
    font-weight: bold;
}

.experience-icon::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 8px;
    height: 10px;
    background: linear-gradient(45deg, #87CEEB 0%, #4A90E2 100%);
    border-radius: 2px;
    opacity: 0.8;
}

/* 结尾标语样式 */
.ending-slogan {
    text-align: center;
    margin: 20px 0;
    padding: 15px 0;
}

.slogan-text {
    color: #D2691E;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin: 8px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 评论区样式 */
.comments-section {
    margin: 40px 0;
    padding: 0;
    background-color: #fafafa;
    border-radius: 12px;
    overflow: hidden;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 12px;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

.comments-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.comments-sort {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-option {
    font-size: 14px;
    color: #8a8a8a;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sort-option.active {
    color: #007aff;
    background-color: #e3f2fd;
}

.sort-option:hover:not(.active) {
    color: #007aff;
    background-color: #f5f5f5;
}

.sort-more {
    font-size: 18px;
    color: #c0c0c0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
}

.sort-more:hover {
    color: #8a8a8a;
}

.comment-thread {
    padding: 0;
    background-color: white;
}

.comment-item {
    display: flex;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s;
}

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

.comment-item:hover {
    background-color: #fafafa;
}

.comment-item.reply {
    margin-left: 48px;
    border-left: none;
    padding-left: 0;
    background-color: white;
    border-bottom: 1px solid #f5f5f5;
    padding-top: 12px;
    padding-bottom: 12px;
}

.comment-item.reply:hover {
    background-color: #fafafa;
}

.comment-avatar {
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid #e0e0e0;
}

.author-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #007aff;
    color: white;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 6px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 122, 255, 0.3);
}

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

.comment-user {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 8px;
    word-wrap: break-word;
    font-weight: 400;
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #8a8a8a;
}

.comment-meta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.comment-date {
    color: #8a8a8a;
    font-weight: 400;
}

.comment-reply {
    color: #007aff;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}

.comment-reply:hover {
    color: #0056b3;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #8a8a8a;
    transition: all 0.2s;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.action-item:hover {
    color: #007aff;
    background-color: #f0f8ff;
}

.comment-stickers {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    padding: 8px 0;
}

.sticker {
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.sticker:hover {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1000;
    background: #ffffff;
    border-top: 1px solid #eaeaea;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 0.6fr;
    gap: 4px;
    padding: 10px 12px;
}
.bottom-nav .nav-item { display: flex; align-items: center; gap: 8px; justify-content: center; }
.bottom-nav .nav-avatar img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.bottom-nav .nav-icon { font-size: 16px; color: #666; }
.bottom-nav .nav-count { font-size: 12px; color: #666; }

/* 小屏优化 */
@media (max-width: 480px) {
    .bottom-nav { grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr 0.5fr; }
    .article-content { margin-bottom: 5px; }
}

/* 浮动窗口样式 */
.floating-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulseAnimation 2s ease-in-out infinite;
}

.float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.rectangle-btn {
    background: #4CAF50;
    border-radius: 25px;
    padding: 12px 0px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0px;
    height: 55px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.rectangle-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.circle-btn {
    background: #4CAF50;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.circle-btn img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

/* 脉冲动画 - 忽大忽小效果 */
@keyframes pulseAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}