body {
    background: #f7f9fc;
    color: #333;
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
    font-size: 15px;
    margin: 0;
    padding: 0;
    line-height: 1.65;
}
img {
    border: 0;
    display: block;
    max-width: 100%;
    height: auto;
}
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: #2563EB;
}
a:hover {
    color: #1d4ed8;
    text-decoration: none;
}
p {
    margin-top: 0;
    margin-bottom: 16px;
}

.clear {
    clear: both;
    width: 100%;
    overflow: hidden;
}

.downmsg {
    font-size: 14px;
    color: #555;
    padding: 12px 16px;
    text-align: center;
}
.downmsg .mydownpdf {
    color: #2563EB;
    cursor: pointer;
    text-decoration: underline;
    margin: 0 4px;
}
.downmsg .mydownpdf:hover {
    color: #1d4ed8;
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    nav, .advertisement, .fix_down {
        display: none !important;
    }
    body {
        background: #fff;
    }
    main {
        max-width: 100%;
        padding: 0;
    }
}

.tuijian {
    margin-bottom: 20px;
}
.fen {
    color: #ff6600;
    font-size: 22px;
    font-weight: 600;
}
.myleft {
    text-align: left;
}

/* 侧边悬浮 */
.fix_down {
    position: fixed;
    bottom: 50%;
    right: 0;
    text-align: center;
    height: 60px;
    z-index: 222333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fix_down span {
    background-color: #2563EB;
    padding: 10px 16px;
    display: block;
    border-radius: 6px 0 0 6px;
}

.tishi {
    text-align: center;
    color: #ff3300;
}

/* 主容器，和全站统一 640 */
main {
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    padding: 20px 16px;
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.line {
    border-bottom: 1px solid #e2e8f0;
}

h1.ar_title {
    margin: 20px 10px;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
}

.down {
    text-align: center;
}
.downts {
    text-align: center;
    color: #777;
}
.downpdf, .downdaan {
    background-color: rgba(37, 99, 235, 0.08);
    color: #2563EB;
    border: 1px solid #2563EB;
    cursor: pointer;
    padding: 4px 16px;
    border-radius: 6px;
    display: inline-block;
    transition: 0.2s;
}
.downpdf:hover, .downdaan:hover {
    background-color: #2563EB;
    color: #fff;
}

.top {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}
.top div {
    width: 50%;
    display: inline-block;
    box-sizing: border-box;
}
.top .right {
    float: right;
    text-align: right;
}
.top .ceshi {
    background-color: rgba(37, 99, 235, 0.08);
    color: #2563EB;
    border: 1px solid #2563EB;
    cursor: pointer;
    padding: 3px 15px;
    border-radius: 6px;
    transition: 0.2s;
}
.top .ceshi:hover {
    background-color: #2563EB;
    color: #fff;
}

.bgff {
    border: 1px solid #e5e7eb;
    background-color: #fff;
    border-radius: 12px;
    margin-top: 2rem;
    padding: 1rem;
    box-shadow: 0 1px 8px rgba(0,0,0,0.03);
}

.box {
    line-height: 28px;
    padding: 20px;
}
.box h3 {
    position: relative;
    font-size: 18px;
    text-align: center;
    color: #1f2937;
}
.box h4 {
    text-align: left;
    font-size: 16px;
    color: #222;
}

.footer {
    text-align: center;
    margin: 3rem 0 1rem;
    color: #666;
    font-size: 14px;
}
.footer a {
    color: #666;
}
.footer a:hover {
    color: #2563EB;
}

.xxitem {
    display: flex;
}

.ft-warning {
    color: #ff3300;
}
.cs-info {
    max-width: 92%;
    margin: 0 auto;
}

.level5 {
    color: #ff3300;
}

/* 表格统一 */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px auto;
    line-height: 30px;
}
table caption {
    font-weight: 700;
    line-height: 44px;
    color: #1f2937;
}
table td, table th {
    border: 1px solid #ddd;
    line-height: 28px;
    padding: 6px 8px;
    font-size: 14px;
}
table thead th {
    background-color: #f3f4f6;
}
#jieguo table {
    text-align: center;
}
#jieguo table tr:first-child {
    font-weight: 700;
    background-color: #f8fafc;
}
#jiexi table tr:first-child {
    font-weight: 700;
}
.cs-info table {
    text-align: center;
}

.msg {
    padding: 8px 10px;
    font-size: 12px;
    color: #999;
    margin-top: 30px;
    text-align: center;
}
#jiexi em {
    color: #ff3300;
    font-style: normal;
    font-size: 18px;
    font-weight: 600;
}

#autoTip {
    margin-top: 20px;
}
#autoTime {
    color: #ff0000;
    font-size: 20px;
    font-weight: 900;
}
.downtitle {
    margin-top: 30px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #1f2937;
}

/* 图表容器 */
#dttime, .qita {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
}
#tubiao {
    height: 400px;
    width: 100%;
}
#dttime canvas, .qita div:first-child, .qita canvas {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
}

/* 小屏表格横向滚动，防止撑爆 */
@media (max-width: 480px) {
    table {
        display: block;
        overflow-x: auto;
    }
}
