 /*! ©2026 xingjiabijichang wsyj.com */
/* CSS Document */
/* nav css效果  */
 /* 网上有奖旧版优化版 */
 
/* 全局基础样式 - 去重合并 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    line-height: 1.75;
    background: #669999;
    font-size: 16px;
    color: #222;
    max-width: 999px;
    margin: 0 auto;
    padding: 0 10px;
}

.wrap {
    width: 100%;
    max-width: 999px;
    margin: 0 auto;
}

/* 全局链接动画样式 - 合并去重 */
a:link {
    color: #0066FF;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

a:visited {
    color: #0066FF;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #ff0000;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* 顶部广告 */
.top-ad {
    text-align: center;
    margin: 12px 0;
}

.top-ad img {
    max-width: 100%;
    height: auto;
}

/* 导航栏 */
.nav {
    background: #88aaaa;
    border-radius: 8px;
    padding: 10px 0;
    text-align: center;
    margin: 10px 0;
}

.nav a {
    color: #222;
    font-weight: bold;
    font-size: 16px;
    margin: 0 6px;
    display: inline-block;
}

/* 位置盒子 */
.pos-box {
    background: #b3cccc;
    border-left: 5px solid #5A9F8C;
    padding: 8px 14px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 15px;
}

/* 主内容盒子 */
.main-box {
    background: #f5f9f7;
    border-radius: 10px;
    padding: 22px;
    margin: 15px 0;
}

/* 居中标题 */
.title-center {
    text-align: center;
    font-weight: bold;
    font-size: 19px;
    margin: 15px 0;
}

/* 表格相关样式 - 合并去重 */
.table-top {
    background: #a1c6bb;
    padding: 8px 12px;
    font-weight: bold;
    border-radius: 6px;
    margin: 15px 0 8px;
}

.table-top-line {
    height: 11px;
    background: url("../images/subtitle_line3.gif") repeat-x;
    margin-bottom: 10px;
}

.responsive-table {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: #e6ffe6;
    padding: 4px;
    margin-bottom: 16px;
}

.table-header {
    display: flex;
    background: #c8f2c8;
    font-weight: bold;
    text-align: center;
}

.table-row {
    display: flex;
    background: #f0fff0;
    text-align: center;
    margin-top: 1px;
}

.table-cell {
    flex: 1;
    padding: 8px 4px;
    background: #d5f5d5;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    white-space: normal;
}

/* 原生表格 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

td {
    padding: 8px;
    border-bottom: 1px solid #E0F0EA;
}

/* 段落样式 */
p {
    margin: 10px 0;
    margin-bottom: 14px;
    text-indent: 2em;
    font-size: 14px;
}

/* 分割线 */
hr {
    border: none;
    border-top: 1px solid #D5EFE5;
    margin: 22px 0;
}

/* 声明文字 */
.declare {
    font-weight: bold;
    text-align: center;
    color: #333;
    margin: 18px 0;
}

/* 图片绝对定位 */
#img {
    position: absolute;
    z-index: 99;
}

/* 底部 */
.footer {
    background: #88aaaa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
    color: #000;
    font-size: 15px;
}

/* 相关链接 */
.links img {
    vertical-align: middle;
    margin-right: 4px;
}

/* 返回首页 */
.back-home {
    display: inline-block;
    margin-top: 10px;
    color: #0066cc;
}

/* 移动端响应式 - 合并去重 */
@media (max-width: 768px) {
    .table-cell {
        font-size: 13px;
        padding: 6px 2px;
    }

    .nav a {
        font-size: 14px;
        margin: 0 4px;
    }

    .main-box {
        padding: 16px;
    }

    .title-center img {
        max-width: 100%;
        height: auto;
    }

    table,
    tbody,
    tr,
    td {
        display: block;
        width: 100% !important;
    }

    td {
        padding: 6px 0;
    }
}