﻿/* @charset "UTF-8"; */
/* 基础重置 */
@import "google_ad_wap.css";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}
body {
    font-family: "PingFang SC","宋体","Microsoft YaHei",SimSun, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    font-size: 16px;
}
/* 顶部导航样式 */
.top-nav {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    width: 100%; /* 改为100%宽度 */
    margin: 0;
}
.nav-links{
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:5px;
}

.nav-links a, .nav-actions a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    padding:0 10px;
}
.nav-links a:hover, .nav-actions a:hover {
    color: #0000ff;
}
/* 主要内容区域 */
.main-content {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    background-color: #E6E6DD;
    box-shadow: none;
    border-radius: 0px;
    margin-top: 0px;
}
/* 标题区域样式 */
.title-section {
    border-bottom: 1px solid #eee;
}
.main-title {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
	text-align:center;
}
.subtitle-container {
    color: #666;
    font-size: 12px;
}
.subtitle-line {
    line-height: 1.8;
}
.title-link {
    color: #0000ff;
}
.subtitle-line:last-child {
    margin-bottom: 5px;
}
.subtitle-line span {
    /*margin: 0 10px;*/
}
/* 帖子内容样式 */
.post-content {
    padding:5px;
    border-radius: 4px;
    margin-bottom: 20px;
	padding-top:20px;
}
.content-section {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.content-section pre {
    line-height: 28px;
    font-size: 18.67px; /* 设置默认文字大小为16px */
    white-space: pre-wrap; /* 保持空格和换行 */
    word-wrap: break-word;
}
.content-section p {
    white-space: pre-wrap; /* 保持空格和换行 */
    margin-bottom: 1em; /* 移除段落间距 */
    text-indent: 0; /* 移除缩进 */
}
.content-section a {
    /*display: block;*/ /* 让链接独立成行 */
    margin: 10px 0; /* 添加上下间距 */
    word-break: break-all; /* 允许长链接在任意字符处换行 */
}

.content-section pre iframe {
    max-width: 95%; /* 限制最大宽度 */
}

.content-section pre img {
    max-width: 95%; /* 限制最大宽度 */
    overflow: hidden;
}

.content-section h1, h2, h3, h4 {
    font-size: 16px;
    font-weight: bold;
}
/* 最后一个段落不需要底部间距 */
.content-section p:last-child {
    margin-bottom: 0;
}
/* 投票区域 */
.vote-section,.tools-section{
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    color: #666;
    font-size:14px;
}

.view_tools_box{
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    color: #666;
    font-size:14px;
}

.view_tools_box{margin-top:10px;}

.view-gift{
    background-color: #f8f8f8;
    padding-top: 15px;
    margin-top:10px;
    border-radius: 4px;
    text-align: center;
    color: #666;
}

.vote-section,.tools-section p {
    margin: 0;
}
.tools-section{
    margin-top:10px;
}


/* 帖子列表样式 */
.post-list {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 4px;
}
.list-header {
    font-size:14px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}
.list-note {
    color: #666;
    font-size: 12px;
    font-weight: normal;
}
.post-items {
    list-style: none;
    padding: 0;
}
.post-items li {
    line-height: 1.2;
    font-size:14px;
}
.post-item:last-child {
    border-bottom: none;
}
.post-items li a {
    text-decoration: none;
}
.post-items li a:hover {
    text-decoration: underline;
}
.post-meta {
    color: #666;
    font-size: 12px;
    margin-left: 10px;
}
/* 评论区样式 */
.comment-section {
    display: block; /* 改为块级布局 */
    gap: 0;
    margin: 20px 0;
}
.comment-area {
    flex: 2;
}

.comment-area,
.qr-section {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    font-size:14px;
}

.welcome-text {
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 4px;
}
.welcome-text a {
    color: #0000ff;
    text-decoration: none;
}
.input-area {
    margin-bottom: 15px;
}
.title-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.content-input {
    width: 100%;
    height: 200px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
    font-size: 14px;
}
/* 编辑工具栏样式 */
.editor-toolbar {
    border: 1px solid #ddd;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}
.tool-btn {
    padding: 6px 8px;
    /*margin-right: 5px;*/
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 3px;
    font-size: 12px;
    color:#666;
}
.tool-btn:hover {
    background: #f0f0f0;
}
.action-buttons {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}
.action-btn {
    padding: 6px 12px;
    margin-right: 10px;
    cursor: pointer;
    background: #0000ff;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 12px;
}
.btn-submit{
    background: green;
}

/* 右侧二维码区域样式 */
.qr-section {
    flex: 1;
}
.qr-code {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.qr-code img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}
.qr-code p {
    font-size: 12px;
    color: #666;
    margin: 5px 0;
}
.author-posts {
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
}
.author-posts h4 {
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}
.author-posts ul {
    list-style: none;
    padding: 0;
}
.author-posts li {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.0;
}
.author-posts a {
    color: #0000ff;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    width: 270px;
    overflow: hidden;
}
.author-posts a:hover {
    text-decoration: underline;
}
.date {
    color: #666;
    font-size: 11px;
    margin-left: 5px;
}
.more-link {
    display: block;
    margin-top: 12px;
    color: #0000ff;
    text-decoration: none;
    font-size: 12px;
}
.more-link:hover {
    text-decoration: underline;
}
/* 底部导航样式 */
.bottom-nav {
    background-color: #f0f0f0;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 4px;
}
.bottom-nav .bottom-links {
    text-align: center;
    margin-bottom: 10px;
    font-size:12px;
}
.bottom-nav a {
    color: #0000ff;
    text-decoration: none;
    margin: 0 5px;
}
.bottom-nav a:hover {
    text-decoration: underline;
}
.notice-text {
    color: #666;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
    padding-top:5px;
}
/* 响应式设计 */
.top-nav-container {
    width: 100%;
    background-color: #f8f8f8;
    margin-bottom: 0; /* 确保没有底部间距 */
}
/* 广告区域样式 */
.ad-container {
    width: 100%;
    margin: 0;
    /*height: 140px;*/
    background-color: #f0f0f0;
}


.nav-actions {
    width: 100%;
    text-align: center;
    margin: 5px 0;
}

/* 调整底部导航样式 */
.bottom-nav {
    width: 100%;
    padding: 15px 10px;
    margin-bottom:30px;
}

.share-text p {
    margin: 10px 0;
    text-align:center;
}

.submit-comment {
    padding: 5px 20px;
    height: 36px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.submit-comment:hover {
    background-color: #45a049;
}
.share-text p a{text-decoration: none;color:#333;font-size:14px;}

