* {
    box-sizing: border-box;
    border: 0;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
    font: 14px/1.4 "Microsoft YaHei", Helvetica, sans-serif;
    color: #222;
    background: #edeff0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ol,
ul,
li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

table {
    width: 100%;
    empty-cells: show;
    border-collapse: collapse;
}

a {
    color: inherit;
    text-decoration: none;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.p-all {
    padding: 0 .1rem .1rem;
}

.kj .ifm {
    width: 100%;
    max-width: 720px;
    background: #fbfafb;
}

.br-12 {
    overflow: hidden;
    border-radius: 4px;
}

.duilianpt {
    overflow: hidden;
    border-radius: 5px;
    color: #000;
    background: #fff;
    font-size: 1.2rem;
    line-height: 2;
}

.duilianpt p {
    font-size: 18px;
    font-weight: bold;
}

.duilianpt .qi,
.duilianpt .n-qi {
    padding: 8px 0;
    border-top: 1px dotted #dedede;
}

.duilianpt .qi:first-child,
.duilianpt .n-qi:first-child {
    border-top: 0;
}

.duilianpt span {
    color: #090;
}

.duilianpt em {
    color: #f0f;
    font-style: normal;
}

.duilianpt code {
    color: #f08;
}

.duilianpt b {
    color: #03f;
}

.duilianpt font,
.foot-img p {
    color: #f00;
}

.detail-body h1 {
    margin: 10px 0;
    padding: 6px 10px;
    color: #fff !important;
    background: #e60012;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.pb-head {
    padding-right: 1rem;
    padding-left: 1rem;
}

.pb-tit {
    margin-bottom: .5rem;
    padding-top: .5rem;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}

.pb-content {
    padding: .5rem 1rem;
    background: #fff;
    font-size: 1.3rem;
}

.pb-content li {
    padding: .3rem 0;
    border-bottom: 1px solid #ddd;
}

.pb-content li:last-child {
    border-bottom: 0;
}

.pb-content li span {
    display: flex;
    float: right;
}

.pb-content em {
    color: #f0f;
    font-style: normal;
}

.tzlb-content {
    background: #fff;
    font-size: 1.2rem;
    text-align: center;
}

.tzlb-content li {
    margin: 5px 0;
    border: 1px solid #ddd;
    border-bottom-color: #aaa;
    border-radius: 5px;
    background: #fff;
}

.fw {
    font-weight: bold;
}

.f15 {
    font-size: 1.5rem !important;
}

.wr,
s1 {
    color: #f00 !important;
}

.wg,
s9 {
    color: #080 !important;
}

.wb,
s3 {
    color: #00f !important;
}

.wp,
s4 {
    color: #f0f !important;
}

.wy,
s5 {
    color: #ff0 !important;
}

.wo,
s6 {
    color: #f60 !important;
}

.wpe,
s7 {
    color: #80d !important;
}

.wsr {
    color: #f06 !important;
}

.wsb {
    color: #06f !important;
}

.ww,
s8 {
    color: #fff !important;
}

.wbl {
    color: #000 !important;
}

s2 {
    color: #0f0;
}

s10 {
    color: #000080;
}

s11 {
    color: #800080;
}

w1,
y1 {
    color: #f00;
    background: #ff0;
}

w2 {
    color: #008000;
    background: #ff0;
}

w3 {
    color: #00f;
    background: #ff0;
}

.sx table {
    border-collapse: collapse;
    border-spacing: 0;
}

.sx table tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.sx table td {
    padding: 3px 2px;
    border: 1px solid #e5e5e5;
    word-break: break-all;
}

.sx ul,
.sx li,
.sx dl,
.sx dt,
.sx dd {
    margin: 0;
    padding: 0;
}

.sx ul {
    display: block;
    list-style-type: disc;
}

.sx ul li img {
    width: 40px;
    height: 40px;
    border: 0;
    vertical-align: middle;
}

.sx1 li {
    float: left;
    width: 33.333333%;
    padding: 5px 0;
    text-align: center;
}

.sx span {
    display: inline-block;
    height: 18px;
    margin: 0 2px;
    padding: 0 3px;
    color: #fff;
    background-color: #f00;
    font-size: 12px;
    line-height: 18px;
}

.sx span.blue {
    background-color: #36f;
    color: #fff !important;
}

.sx span.green {
    background-color: #093;
    color: #fff !important;
}

@media (max-width: 359px) {
    .sx1 li {
        width: 50%;
    }
}

@media (min-width: 360px) and (max-width: 374px) {
    .sx1 li {
        width: 50%;
    }
}

@media (min-width: 375px) and (max-width: 413px) {
    .sx ul li .tm01 span {
        margin: 0 1px;
        padding: 0 2px;
    }
}

@media (min-width: 768px) {
    .sx1 li {
        width: 25%;
    }
}


/* Default detail rules migrated from bbs.css. */
* {
    box-sizing: border-box;
    border: 0;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
    color: #050505;
    background: #edeff0;
}

body {
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.kj {
    padding: 0 3px 3px;
}

.kj .ifm {
    width: 100%;
    background: #fbfafb;
}

.ifkj {
    display: block;
}

.duilianpt {
    table-layout: auto;
    overflow: hidden;
    border-radius: 5px;
    color: #000;
    background: #fff;
}

.detail-body h1 {
    margin: 0 0 10px;
    padding: 6px 24px 8px;
    color: #fff;
    background: #f00;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.detail-body p {
    margin: 0;
    padding: 8px 26px;
    border-bottom: 1px solid #ada96e;
    color: #000;
    font-family: SimSun, "Songti SC", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    word-break: break-word;
}

.qnzl-detail p {
    overflow-x: visible;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.detail-body p + p {
    margin-top: 6px;
}

.detail-body b,
.detail-body strong {
    color: #174c9d;
}

.bbs-keyword {
    color: #174c9d;
    font-weight: 900;
}

.post-list {
    margin: 0;
    padding: 0;
    text-align: center;
}

.post-list li {
    display: flex;
    align-items: stretch;
    padding: 0;
    border-bottom: 1px solid #ada96e;
    background-color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}

.post-forum-list {
    margin: 0;
}

.post-forum-list a {
    display:block;
    color:inherit;
    text-decoration:none;
}

.content > .post-ext {
    border-bottom-color:#ada96e;
    background-color:#22aeff12;
}

.post-list .post-period,
.post-list .post-predict,
.post-list .post-result {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    min-width: 0;
}

.post-list .post-period {
    flex: 0 0 15%;
}

.post-list .post-result {
    flex: 0 0 20%;
}

.post-list .post-predict {
    flex: 1 1 auto;
    display: block;
    text-align: center;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.post-list .post-predict br {
    display: block;
    content: "";
}

.post-list .post-predict span {
    display: inline-block;
}

.detail-body span,
.detail-body em,
.detail-body font {
    font-style: normal;
}

.detail-body .hit,
.detail-body mark {
    padding: 0 2px;
    color: #f00;
    background: #ff0;
}

.foot-img {
    padding: 10px;
}

.foot-img p {
    margin: 5px 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.pb-head {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pb-tit {
    margin-bottom: .5rem;
    padding-top: .5rem;
    color: hsl(51, 100%, 57%);
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    text-shadow: -1px -1px 0 #614a00, 1px -1px 0 #614a00, -1px 1px 0 #614a00, 2px 2px 0 #614a00;
}

.pb-content {
    background: #fff;
    padding: .3rem .3rem;
    font-size: 1.3rem;
}

.pb-content li {
    padding: .3rem 0;
    border-bottom: 1px solid #ddd;
}

.pb-content li:last-child {
    border-bottom: 0;
}

.pb-content li span {
    display: flex;
    float: right;
}

.tzlb-content {
    background: #fff;
    font-size: 1.5rem;
    text-align: center;
}

.tzlb-content li {
    margin: 5px 0;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #aaa;
    border-left: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    font-weight: bold;
}

.tzlb-content li:last-child {
    border-bottom: 1px solid #aaa;
}

.tzlb-content li span {
    font-size: 1.1rem;
}

.tzlb-content li font {
    margin-left: .2rem;
    padding: .1rem;
    border: .1rem solid #f00;
    border-radius: .3rem;
    color: #f00;
    font-size: .9rem;
    vertical-align: middle;
}

.br-12 {
    border-radius: 3px;
    overflow: hidden;
}

.wr { color: #f00 !important; }
.wg { color: #080 !important; }
.wb { color: #00f !important; }
.wp { color: #f0f !important; }
.wy { color: #ff0 !important; }
.wo { color: #f60 !important; }
.ww { color: #fff !important; }
.wbl { color: #000 !important; }
s1 { color: #f00 !important; }
y1 {
    color: #f00;
    background: #ff0;
}

@media (max-width: 640px) {
    .tzlb-content {
        background: #fff;
        font-size: 1.3rem;
        text-align: center;
    }

    .duilianpt td,
    .duilianpt th {
        font-size: 12pt;
    }

    .detail-body h1 {
        margin-bottom: 8px;
        padding: 6px 10px;
        font-size: 16px;
    }

    .detail-body p {
        padding: 7px 10px;
        font-size: 10pt;
        line-height: 1.45;
        white-space: normal;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .post-list li {
        font-size: 14px;
        line-height: 18px;
    }

    .post-list .post-period,
    .post-list .post-predict,
    .post-list .post-result {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .qnzl-detail p {
        overflow-x: visible;
        white-space: normal;
        word-break: break-all;
        overflow-wrap: anywhere;
        scrollbar-width: auto;
    }

    .detail-body p + p {
        margin-top: 4px;
    }
}

/* 007 keeps forum content layout, while matching the rose page canvas. */
html,
body {
    background: #fff2fa;
}

.container {
    --theme-gradient: linear-gradient(to right, #f092c3 0%, #e47db8 28%, #d66db2 48%, #cf3ca9 82%, #e6008d 100%);
}

.box {
    border-color: #e6abd2;
    box-shadow: 0 5px 16px rgba(166, 42, 126, .14);
}

.list-title {
    color: #fff;
    background:
        var(--theme-gradient) padding-box,
        linear-gradient(180deg, #f2c8e2 0%, #c45bb1 100%) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 5px 14px rgba(166, 42, 126, .18);
    text-shadow: 0 1px 2px rgba(65, 28, 128, .28);
}

.list-title::before,
.list-title::after {
    width: 7px;
    height: 40px;
    border-radius: 8px;
    background: #f5efff;
    color: transparent;
    content: "";
    box-shadow: 0 0 8px rgba(255, 255, 255, .35);
    text-shadow: none;
}

.list-title::before { left: 18px; }
.list-title::after { right: 18px; }

/* Refined 007 section header: one clean gradient surface, no stacked capsule frame. */
.list-title {
    min-height: 64px;
    margin: 0 2px 8px;
    padding: 12px 48px;
    border: 0;
    border-bottom: 0;
    border-radius: 14px 14px 8px 8px;
    background: var(--theme-gradient);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 3px 8px rgba(166, 42, 126, .15);
    color: #fff;
    text-shadow: 0 1px 2px rgba(49, 27, 93, .28);
}

.list-title::before,
.list-title::after {
    top: 50%;
    width: 6px;
    height: 36px;
    border-radius: 5px;
    background: #fff;
    color: transparent;
    content: "";
    box-shadow: 0 0 8px rgba(255, 255, 255, .24);
    transform: translateY(-50%);
}

.list-title::before { left: 22px; }
.list-title::after { right: 22px; }

@media (max-width: 480px) {
    .list-title {
        min-height: 54px;
        padding: 10px 34px;
        border-radius: 12px 12px 7px 7px;
        font-size: 16pt;
    }

    .list-title::before { left: 15px; }
    .list-title::after { right: 15px; }
}
