/* 全局基础样式（完全不变） */
html {
    line-height: 1.5;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    background: #f5f5f5;
}

/* 唯一修改的部分（强制居中） */
body {
    width: 100%;
    max-width: 800px;
    margin: 0 auto !important; /* 强制居中 */
    padding: 0;
    color: #4c4c4c;
    font: 17px/1.5 "Microsoft YaHei", sans-serif;
    font-weight: bold;
    text-align: center;
    min-height: 100vh;
    background: white;
    display: block !important; /* 确保显示模式正确 */
    position: relative;
    left: 0;
    right: 0;
}
/* 列表样式清除 */
ul, ol, li {
    list-style: none;
}

/* 标题字号 */
h1 { font-size: 2.00em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.50em; }
h4 { font-size: 1.25em; }
h5 { font-size: 1.12em; }
h6 { font-size: 1.00em; }

/* 表单元素 */
button, input, select, textarea {
    font: inherit;
    outline: 0;
}

/* 图片默认规则 */
img:not([width]):not([height]):not([style*="width"]):not([style*="height"]) {
    max-width: 100%;
    height: auto;
    border-style: none;
    vertical-align: middle;
}

/* 紧凑文本样式 */
.tight-spacing {
    line-height: 1;
    margin-bottom: 1px;
}

/* 链接样式 */
a {
    color: inherit;
    text-decoration: none;
}

/* 标题分割条组件 */
.dht-container {
    background: #007bff;
    border: 2px solid #000;
    border-width: 2px 0;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dht-inner {
    display: flex;
    align-items: center;
    gap: 0;
    font: bold 24px/1 sans-serif;
}
.dht-title { color: white; }
.dht-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.dht-link-img {
    width: 26px;
    height: 26px;
}
.dht-link-text {
    background: #ff0;
    color: red;
}