/* 全局基础样式 */
html {
    line-height: 1.5;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    background: #f5f5f5;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
body {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    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;
    overflow-x: hidden;
}
/* 列表样式清除 */
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 {
    width: 100%;
    border: 2px solid #0ff; /* 黑色外框 */
    height: 44px; /* 44px高度 */
    font-size: 16pt;
    background-color: #33f; /* 蓝色背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 0 1px 0;
    box-sizing: border-box;
    position: relative;
}

.dht-inner {
    height: 32px; /*比外部容器少10px */
    background-color: #f0f; /* 保持原来的粉色 */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    line-height: 1;
    max-width: calc(100% - 4px); /* 减去边框宽度 */
    overflow: hidden;
    box-sizing: border-box;
}

.dht-title {
    color: #000000;
    font-weight: bold;
    background: #f0f; /* 保持原来的粉色 */
    height: 100%;
    display: inline-flex;
    align-items: center;
    padding: 0 2px;
    margin: 0;
    font-size: 16pt;
    line-height: 1;
    font-family: sans-serif;
    white-space: nowrap;
}

.dht-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    height: 100%;
    background-color: #f0f; /* 保持原来的粉色 */
    color: white;
    padding: 0;
    margin: 0;
    font-size: 16pt;
    line-height: 1;
    font-family: sans-serif;
    white-space: nowrap;
}

.dht-link-text {
    background-color:yellow;
    color: red;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    font-size: 16pt;
    font-family: sans-serif;
    white-space: nowrap;
}


/* 标题分割条2红色 */
.dht-container2 {
    background: #f00;
    border: 2px solid #000;
    border-width: 2px 0;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dht-inner2 {
    display: flex;
    align-items: center;
    gap: 0;
    font: bold 24px/1 sans-serif;
}
.dht-title2 { color: white; }
.dht-link2 {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.dht-link-img2 {
    width: 26px;
    height: 26px;
}
.dht-link-text2 {
    background: #ff0;
    color: red;
}

/* 标题分割条3粉色 */
.dht-container3 {
    background: #f0f;
    border: 2px solid #f0f;
    border-width: 2px 0;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dht-inner3 {
    display: flex;
    align-items: center;
    gap: 0;
    font: bold 24px/1 sans-serif;
}
.dht-title3 { color: white; }
.dht-link3 {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.dht-link-img3 {
    width: 26px;
    height: 26px;
}
.dht-link-text3 {
    background: #ff0;
    color: red;
}
/* 标题分割条4黑色 */
.dht-container4 {
    background: #000;
    border: 2px solid #0ff;
    border-width: 2px 0;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dht-inner4 {
    display: flex;
    align-items: center;
    gap: 0;
    font: bold 24px/1 sans-serif;
}
.dht-title4 { color: white; }
.dht-link4 {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.dht-link-img4 {
    width: 26px;
    height: 26px;
}
.dht-link-text4 {
    background: #ff0;
    color: red;
}

/* 外框样式 */
.js-wrapper {
    border-radius: 15px;
    margin: 4px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    border: 4px solid;
}

.js-wrapper > div { padding-top: 30px; }
.js-wrapper script { display: none; }

/* 标题样式 */
.js-wrapper::before {
    content: attr(data-title);
    position: absolute;
    top: 0;
    left: 0;
    color:#000000;
    font-size: 16px;
    padding: 3px 10px;
    border-bottom-right-radius: 5px;
    font-weight: bold;
    z-index: 2;
}

/* 标题下方线条 */
.js-wrapper::after {
    content: "";
    position: absolute;
    top: 26px;
    left: -3px;
    right: -3px;
    height: 4px;
    z-index: 1;
}

/* 标题说明文字 */
.title-desc {
    position: absolute;
    top: 3px;
    left: 90px;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    margin: 0;
    background: none;
    height: 22px;
    line-height: 22px;
}

/* 不同字数标题的位置调整 */
.js-wrapper[data-title*="六合数据.cc"] .title-desc,
.js-wrapper[data-title*="六位一体"] .title-desc { left: 140px; }

.js-wrapper[data-title*="六合数据"] .title-desc,
.js-wrapper[data-title*="四位一体"] .title-desc { left: 80px; }

.js-wrapper[data-title*="天下"] .title-desc,
.js-wrapper[data-title*="二位一体"] .title-desc { left: 60px; }


/* ===== 粉色主题 ===== */
.js-wrapper-fen {
    border-color: #f0f;
}
.js-wrapper-fen::before {
    background-color: #f0f;
}
.js-wrapper-fen::after {
    background-color: #f0f;
}

/* ===== 绿色主题 ===== */
.js-wrapper-lu {
    border-color: #2ecc71;
}
.js-wrapper-lu::before {
    background-color: #2ecc71;
}
.js-wrapper-lu::after {
    background-color: #2ecc71;
}

/* ===== 蓝色主题 ===== */
.js-wrapper-lan {
    border-color: #3498db;
}
.js-wrapper-lan::before {
    background-color: #3498db;
}
.js-wrapper-lan::after {
    background-color: #3498db;
}

/* ===== 橙色主题 ===== */
.js-wrapper-cheng {
    border-color: #e67e22;
}
.js-wrapper-cheng::before {
    background-color: #e67e22;
}
.js-wrapper-cheng::after {
    background-color: #e67e22;
}

/* ===== 红色主题 ===== */
.js-wrapper-hong {
    border-color: #f00;
}
.js-wrapper-hong::before {
    background-color: #f00;
}
.js-wrapper-hong::after {
    background-color: #f00;
}

/* ===== 紫色主题 ===== */
.js-wrapper-zi {
    border-color: #a31aff;
}
.js-wrapper-zi::before {
    background-color: #a31aff;
}
.js-wrapper-zi::after {
    background-color: #a31aff;
}

/* ===== 黑色主题 ===== */
.js-wrapper-hei {
    border-color: #000;
}
.js-wrapper-hei::before {
    background-color: #000;
}
.js-wrapper-hei::after {
    background-color: #000;
}


