/* 戎城传奇 留言系统 样式（兼容老内核浏览器） */
* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: "Microsoft YaHei", "SimSun", Arial, sans-serif;
    background: #14100a url('') repeat-x;
    color: #e6d3a3;
    font-size: 14px;
}
a { color: #f0c060; text-decoration: none; }
a:hover { text-decoration: underline; }

.header {
    background: #241608;
    border-bottom: 2px solid #8a6a2f;
    padding: 14px 0;
    text-align: center;
}
.header h1 {
    color: #f5c85a;
    font-size: 22px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px #000;
}
.header .sub { color:#a8894f; font-size:12px; margin-top:4px; }

.wrap { width: 720px; max-width: 96%; margin: 18px auto; background:#1e160c; border:1px solid #5a4420; padding:20px 24px; }

@media (max-width: 768px) {
    .wrap { padding:14px 12px; }
    .header h1 { font-size:18px; }
    table.form td.lab { width:80px; }
    .nav a { padding:5px 10px; font-size:13px; }
    .msg-item img.msg-img { max-width:100%; }
}

.nav { text-align:center; margin-bottom:16px; }
.nav a { display:inline-block; padding:6px 18px; margin:0 4px; background:#3a2a12; border:1px solid #8a6a2f; color:#f0c060; }
.nav a:hover, .nav a.on { background:#8a6a2f; color:#fff; text-decoration:none; }

.tip { background:#2a1f0e; border:1px dashed #8a6a2f; padding:10px 12px; color:#c9b078; margin-bottom:16px; line-height:1.7; }
.ok { background:#12240f; border:1px solid #4a7a3a; color:#9fd88a; padding:12px; margin-bottom:14px; line-height:1.8; }
.err { background:#2a1010; border:1px solid #8a3a3a; color:#e89a8a; padding:12px; margin-bottom:14px; }

table.form { width:100%; border-collapse:collapse; }
table.form td { padding:8px 6px; vertical-align:top; line-height:1.8; }
table.form td.lab { width:110px; color:#c9a86a; text-align:right; padding-top:10px; }
.req { color:#e0604a; }

input[type=text], input[type=password], input[type=tel], select, textarea {
    width: 100%;
    padding: 7px 8px;
    background:#0f0c07;
    border:1px solid #6a5226;
    color:#f0e0b0;
    font-size:14px;
    font-family: inherit;
}
textarea { height:110px; }
input[type=file] { color:#c9b078; }
input[type=submit], .btn {
    background: linear-gradient(#a87c2f, #6e4f16);
    border:1px solid #d8a84a;
    color:#fff;
    padding:9px 30px;
    font-size:15px;
    cursor:pointer;
    font-family: inherit;
}
input[type=submit]:hover { background:#c8963a; }

/* 查询结果列表 */
.msg-item { border:1px solid #5a4420; background:#181109; padding:14px; margin-bottom:14px; }
.msg-item .m-head { color:#a8894f; font-size:12px; margin-bottom:8px; }
.msg-item .m-cat { display:inline-block; background:#3a2a12; border:1px solid #8a6a2f; padding:1px 8px; margin-right:8px; color:#f0c060; }
.msg-item .m-status { float:right; font-weight:bold; }
.st-pending { color:#d8c060; }
.st-processing { color:#6ab8e0; }
.st-done { color:#7ad87a; }
.msg-item .m-content { line-height:1.9; margin:8px 0; }
.msg-item img.msg-img { max-width:220px; border:1px solid #5a4420; margin-top:6px; }
.reply-box { margin-top:10px; background:#101c0c; border:1px solid #4a7a3a; padding:10px 12px; line-height:1.8; }
.reply-box b { color:#9fd88a; }

/* 后台表格 */
table.list { width:100%; border-collapse:collapse; }
table.list th, table.list td { border:1px solid #4a3a1c; padding:7px 8px; text-align:left; font-size:13px; vertical-align:top; }
table.list th { background:#2e2210; color:#e0b860; }
table.list tr:nth-child(even) { background:#181109; }
table.list img.thumb { width:90px; border:1px solid #5a4420; }
.filter-bar { margin-bottom:12px; line-height:2; }
.filter-bar a { margin-right:10px; }
.stat-row { margin-bottom:14px; line-height:2; color:#c9a86a; }
.pager { margin-top:12px; }
.foot { text-align:center; color:#6a5226; font-size:12px; padding:20px 0; }
