/* ===== 全局重置与基础样式 ===== */
* {
    word-break: break-all;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #c3edcc;
    text-align: center;
    color: #333;
    font: 12px/1.2em Trebuchet MS, Helvetica, Arial, sans-serif;
    padding: 10px;
}

/* ===== 排版元素 ===== */
h1, h2, h3, h4, h5, h6 {
    font-size: 1.2em;
    margin: 10px 0;
}

p {
    padding: 10px 0;
    line-height: 1.5em;
    text-align: left;
}

ul {
    color: #666;
    margin: 0 0 0 10px;
    padding-bottom: 10px;
    text-align: left;
}

li {
    list-style: none;
    line-height: 1.5em;
    margin-bottom: 10px;
    display: inline;
}

/* ===== 表格样式 ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 5px auto;
    empty-cells: show;
}

th, td {
    padding: 5px;
    border: 1px solid #ddd;
    text-align: left;
}

/* ===== 代码块样式 ===== */
pre, .code {
	font-family: Courier, Courier New;
	color: #000;
	background: #c3edcc;
	border-bottom: 1px solid #ccc;
	padding: 10px;
	text-align: left;
	white-space: pre-wrap;
	word-wrap: break-word;
	line-height: 1.5em;
}

/* ===== 链接样式 ===== */
a {
    color: #006699;
    text-decoration: none;
}

a:visited {
    color: #954F72;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

a:active {
    color: #f0f;
    text-decoration: underline;
}

a img {
    border: none;
}

/* ===== 实用类 ===== */
.STYLE6 {
    color: #f00;
    font-weight: bold;
}

.subtitle {
    font-size: 12px;
    font-weight: bold;
    color: #000;
    padding: 10px 0;
    display: block;
}

.text {
    text-indent: 12px;
    text-align: left;
}

/* ===== 页头页脚 ===== */
#header {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

#header h2 {
    float: none;
    display: inline-block;
    padding: 10px 0;
}

#footer {
    border-top: 1px solid #B4C9E0;
    background: #EEF5FD;
    color: #666;
    padding: 10px 0;
    margin-top: 10px;
    font: 1em Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.5em;
}

#copyright a {
    color: #0954A6;
}

/* ===== 表单元素 ===== */
input, textarea, select, button {
    color: #333;
    font: 12px/1.2em Trebuchet MS, Helvetica, Arial, sans-serif;
    padding: 5px;
    margin: 5px 0;
    border: 1px solid #ccc;
}

button {
    background: #f0f0f0;
    cursor: pointer;
    padding: 10px 10px;
}

/* ===== 响应式调整 ===== */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    table {
        font-size: 12px;
    }
    
    #header h2 {
        font-size: 1.2em;
    }
}
