/* ============================================================
 * PC 页面基础重置
 * 原站用 bootstrap 3.3.5 的 reset，这里做等价的最小实现，
 * 避免引入整个 bootstrap。仅用于 PC 端页面（archive/record-query.html）。
 * ============================================================ */

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background: #f1f1f1;   /* 原站 body 背景色 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 内容短时 footer 贴住视口底部（等效原站 .outer-layer 负 margin 方案） */
.footer { margin-top: auto; }

a {
    text-decoration: none;
    color: #333;
    outline: none;
    cursor: pointer;
    background-color: transparent;
}

a:hover,
a:focus {
    text-decoration: none;
}

ul, ol { list-style: none; }

img { border: 0; vertical-align: middle; }

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

button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: 0;
    background: none;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    font-size: 100%;
}

/* clearfix —— 原站大量使用 */
.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after { clear: both; }

.clearfix { *zoom: 1; }

/* 隐藏 */
.hide { display: none !important; }
