/*百素(1099116749@qq.com)*/
/*
修改内容
.footer
.search-main .search-input input.kw
.search-main button.search-btn
.search-main .search-input input.kw
.search-main .search-btnlist .search-lists .list img
.search-main button.search-btn img
.search-main .search-input
.search-main-w .date-main
.index-nav .type-list .list
.index-nav .type-list .list a
.index-nav .logo a
.search-main-w
.search-main
.tool-list .list
.site-main .site-list .list
.m-header .logo (max-width:1200px)
.m-header .navbar(max-width:1200px)
.search-main-w(max-width:1200px)
#he-plugin-standard(max-width:1200px)
.search-main .search-btnlist .search-lists(max-width:1200px)
新增：
.m-header .logo a(max-width:1200px)
.wv-n-h-now-rain
p.content
#word
#word li
六零(admin@lylme.com)
*/
#word {
    width: 60%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    top: 290px;
    background-color: #FFFFFF;
    padding: 12px;
    border-radius: 6px;
    z-index: 100;
    box-shadow: 0px 0px 1px #999
}

#word li {
    padding: 8px;
    width: 100%;
    cursor: pointer
}

li.selected {
    background: #f1f1f1
}

#word li:hover {
    background-color: #f1f1f1;
}

p.content {
    text-align: center;
    color: #999;
    font-family: cursive;
    font-size: 0px;
    margin: -10px
}

.urllist img,
.urllist svg,
.site-name svg {
    width: 24px;
    height: 24px;
    margin: auto 15px auto 0px
}

.list svg.icon,
.list img {
  width: 28px;
  height: 28px;
  margin-right: 1px;
  padding: 2px;
  border: 10px;
  border-radius: 50%; /* ✅ 圆角 */
}

/* 分组图标样式（不影响链接图标） */
.list svg.group-icon,
.list img.group-icon {
  margin-right: 5px;
  border-radius: 0; /* 去掉圆角 */
}

/* 📱 手机端尺寸调整 */
@media (max-width: 768px) {
  .list img {
    width: 25px;
    height: 25px;
  }
  
  .list svg.group-icon,
  .list img.group-icon {
    margin-right: 5px;
    border-radius: 0; /* 去掉圆角 */
  }
}



* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 14px;
}

/* 手机端字体变为 11px */
@media (max-width: 768px) {
  * {
    font-size: 13px;
  }
}

input:focus {
    outline: none
}

textarea:focus {
    outline: none
}

input {}

body {
    background-color: #f9f9f9
}

img {
    border: none
}

li {
    list-style: none
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal
}

a {
    color: inherit;
    text-decoration: none
}

.cl {
    clear: both
}

.kongs,
.kongs:hover {
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important
}

.index-nav {
    width: 240px;
    height: 100vh;
    background-color: #fff;
    padding: 20px 5px 20px 0px;
    box-shadow: 1px 0px 5px 0 #eeeeee;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 9
}

.index-nav .logo {
    width: 100%;
    margin-bottom: 30px
}

.index-nav .logo a {
    display: block;
    font-weight: bold;
    font-size: 20px;
    height: 30px;
    margin: 25px
}

.m-header .logo a {
    font-size: 18px;
    font-weight: bold;
    line-height: 2
}

.index-nav .logo img {
    height: 120%;
    margin: auto;
    margin: 0px 10px -10px 0;
}

.index-nav .type-list {
    height: 100%;
    padding: 0 25px 80px;
    overflow: auto
}

.index-nav .type-list::-webkit-scrollbar {
    width: 6px;
    background-color: transparent
}

.index-nav .type-list::-webkit-scrollbar-button {
    height: 0px;
    width: 0px
}

.index-nav .type-list::-webkit-scrollbar-thumb {
    background-color: #dddee3;
    border-radius: 50px
}

.index-nav .type-list::-webkit-scrollbar-track {
    background-color: transparent
}

.index-nav .type-list::-webkit-scrollbar-track-piece {
    background-color: transparent
}

.index-nav .type-list .list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 3px;
    line-height: 42px;
    transition: 0.3s all;
    overflow: hidden
}

.index-nav .type-list .list a {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    padding: 0 10px;
    border-radius: 5px;
    color: #000;
    transition: 0.3s all;
    background: #fbfbfb;
}

.index-nav .type-list .list a i {
    display: block;
    margin-right: 6px;
    font-size: 22px
}

.index-nav .type-list .list span {
    display: block;
    width: 0;
    overflow: hidden;
    text-align: center;
    background-color: #477975;
    cursor: pointer;
    border-radius: 0px 5px 5px 0px;
    color: #FFFFFF;
    transition: 0.3s all
}

.index-nav .type-list .list span i {
    display: block;
    font-size: 18px;
    transition: 0.3s all
}

.index-nav .type-list-title {
    margin: 10px;
    color: #000;
    font-weight: bold;
    font-size: 16px;
}

.index-nav .type-list .list:hover a {
    background-color: #00000090;
    color: #FFFFFF;
    transition: 0.3s all
}

.index-nav .type-list .list:hover span {
    width: 20%;
    transition: 0.3s all
}

.index-nav .user-info {
    width: 100%;
    background-color: #ffffff;
    padding: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0
}

.index-nav .user-info .pic {
    display: block;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    overflow: hidden
}

.index-nav .user-info .pic img {
    display: block;
    width: 100%;
    height: 100%
}

.index-nav .user-info .text {
    padding-left: 10px
}

.index-nav .user-info .text p.t1 {
    font-weight: bold;
    color: #555555;
    margin-bottom: 5px
}

.index-nav .user-info .text p.t2 {
    color: #c2c2c2
}

.index-main {
    width: 100%;
    padding-left: 260px;
    padding-top: 20px;
    padding-right: 20px
}

.search {
    width: 100%;
    display: none;
    justify-content: space-between;
    align-items: center
}

.search .list {
    width: 370px;
    position: relative
}

.search .list input.kw {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 55px 0 25px;
    border-radius: 40px;
    border: none
}

.search .list button {
    display: block;
    height: 40px;
    width: 50px;
    background-color: transparent;
    border: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0
}

.search .list button i {
    display: block;
    font-weight: bold;
    font-size: 16px;
    color: #64a15e
}

.search .addsite {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: #64a15e;
    border-radius: 6px;
    cursor: pointer
}

.search .addsite i {
    display: block;
    font-size: 26px;
    color: #FFFFFF
}

.search-main-w {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.search-main {
    display: flex;
    /*padding-top: 25px;*/
    align-items: center;
    border-radius: 6px;
    background: none
}

.search-main .search-input {
    width: 80%;
    position: relative
}

.search-main .search-input input.kw {
    font-size: 15px;
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 65px 0 25px;
    border-radius: 10px 0px 0px 10px;
    border: 1px solid #F2F2F2
}

.search-main .search-input button.search-bendi {
    display: block;
    height: 50px;
    width: 60px;
    background-color: transparent;
    border: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0
}

.search-main .search-input button.search-bendi i {
    display: block;
    font-weight: bold;
    font-size: 20px;
    color: #64a15e
}

.search-main .search-btnlist {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative
}

.search-main button.search-btn {
    width: auto;
    min-width: 120px;
    height: 50px;
    border: none;
    background-color: #ffffff;
    color: #3a3a3a;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-left: 2px solid #9c9fa712
}

.search-main button.search-btn img,
.search-main button.search-btn svg {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 6px;
    margin-right: 6px
}

.search-main button.search-btn i {
    display: block;
    margin-right: 4px;
    font-size: 20px;
    line-height: 50px
}

.search-main button.search-change {
    width: 30px;
    height: 50px;
    text-align: center;
    border: none;
    border-radius: 0px 10px 10px 0px;
    background-color: #2C73D2;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer
}

.search-main button.search-change i {
    display: block;
    font-size: 16px;
    line-height: 50px
}

.search-main .search-btnlist .search-lists {
    width: calc(100vw - 30px);
    max-width: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #FFFFFF;
    padding: 12px;
    border-radius: 6px;
    z-index: 100;
    box-shadow: 0px 0px 6px #b4b4b4;
}

.search-main .search-btnlist .search-lists.hide {
    display: none
}

.search-main .search-btnlist .search-lists .list {
    width: 33%;
    line-height: 40px;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s all
}

.search-main .search-btnlist .search-lists .list img,
.search-main .search-btnlist .search-lists .list svg {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 6px
}

.search-main .search-btnlist .search-lists .list:hover {
    background-color: #64a15e;
    color: #FFFFFF;
    transition: 0.3s all
}

.search-main-w .date-main {
    text-shadow: 1px 1px 8px #504b4b;
    width: 100%;
    height: 180px;
    background-color: #477975;
    background-repeat: no-repeat;
    background-position: initial;
    background-size: cover;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transition: 0.3s all;
    position: relative
}

div#he-plugin-standard {
    width: 49% !important;
    height: 180px !important;
    background-repeat: round !important
}

.wv-n-h-now-rain {
    bottom: 10px !important
}

.search-main-w .date-main .times {
    width: 100%;
    display: block;
    text-align: center;
    color: #FFFFFF;
    font-size: 240%;
    font-weight: bolder;
    letter-spacing: 2px;
    margin-bottom: 15px;
    line-height: 1
}

.search-main-w .date-main .list {
    width: 100%;
    align-items: center;
    text-align: center
}

.search-main-w .date-main span {
    width: 49%;
    color: #FFFFFF;
    font-size: 16px
}

.search-main-w .date-main span.dates {
    width: 100%;
    display: block;
    text-align: center;
    margin-bottom: 12px;
    font-weight: bold
}

.search-main-w .date-main span.weeks {
    margin-left: 15px
}

.search-main-w .weather-main {
    width: 240px;
    height: 100%;
    background-color: #01AAED;
    border-radius: 6px;
    transition: 0.3s all
}

.site-main {
    width: 100%;
    margin-top: 30px
}

.site-main .site-name {
    background: #fff;
    border-radius: 6px;
    color: #000;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 15px;
    font-weight: 600 !important;
}

.site-main .site-name i {
    display: block;
    font-size: 20px;
    margin-right: 8px
}

.site-main .site-name span {
    display: block;
    height: 25px;
    width: 25px;
    line-height: 25px;
    text-align: center;
    background-color: #64a15e;
    border-radius: 5px;
    margin-left: 8px
}

.site-main .site-name span i {
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    margin-right: 0
}

.site-main .site-name.hidden {
    display: none
}

.site-main .site-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.site-main .site-list .list {
    width: 16%;
    background-color: #ffffff;
    border-radius: 6px;
    transition: 0.3s all;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start
}

/* 有角标：按卡片宽度缩放，并用圆角裁切 */
.site-main .site-list .list.has-badge {
    overflow: hidden;
    container-type: inline-size;
    container-name: link-card;
}

/* 仅红点：右上直角作圆心支点；允许圆伸出；三角标仍走上面的 hidden + 全圆角 */
.site-main .site-list .list.has-badge:has(> .link-badge-dot) {
    overflow: visible;
    border-top-right-radius: 0;
}

/* iOS 未读红点：纯圆点，圆心锚在右上直角 → 约 1/4 圆在卡内 */
.site-main .site-list .list .link-badge.link-badge-dot {
    --badge-size: clamp(11px, 12cqi, 18px);
    top: 0;
    right: 0;
    width: var(--badge-size);
    height: var(--badge-size);
    transform: translate(50%, -50%);
    display: block;
    border-radius: 999px;
    background: #ff3b30;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    z-index: 4;
}

.site-main .site-list .list > span:not(.link-badge) {
    display: block;
    width: 25px;
    height: 25px;
    margin: auto;
    text-align: center;
    line-height: 25px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0
}

.site-main .site-list .list > span:not(.link-badge) i {
    display: block;
    color: #64a15e;
    font-size: 18px
}

.site-main .site-list .list .link-badge {
    /* 更敏感：卡片稍变宽，角标就明显变大；上限 30px */
    --badge-size: clamp(18px, 8vw, 30px);
    --badge-size: clamp(18px, 22cqi - 6px, 30px);
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    display: block;
    width: var(--badge-size);
    height: var(--badge-size);
    margin: 0;
    padding: 0;
    line-height: 0;
    border: 0;
    background: linear-gradient(to bottom left, #e53935 50%, transparent 50%);
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

/* 字放在直角三角重心附近；默认 33%，≤375 用 32%，电脑 30% */
.site-main .site-list .list .link-badge:not(.link-badge-dot) span {
    position: absolute;
    top: 33%;
    right: 33%;
    bottom: auto;
    left: auto;
    display: block;
    width: 1.05em;
    height: 1.05em;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: calc(var(--badge-size) * 0.42);
    font-weight: 600;
    line-height: 1.05em;
    text-align: center;
    font-style: normal;
    transform: translate(50%, -50%) rotate(45deg);
    transform-origin: center center;
}

@media (max-width: 375px) {
    .site-main .site-list .list .link-badge:not(.link-badge-dot) span {
        top: 31%;
        right: 31%;
    }
}

@media (min-width: 769px) {
    .site-main .site-list .list .link-badge:not(.link-badge-dot) span {
        top: 30%;
        right: 30%;
    }
}

@media (max-width: 768px) {
    .site-main .site-list .list .link-badge:not(.link-badge-dot) span {
        font-size: calc(var(--badge-size) * 0.48);
    }
}

.site-main .site-list .list a {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    padding: 1.5% 5%;
    justify-content: space-evenly;
    flex-direction: row;
}

.site-main .site-list .list p.name {
  color: #000;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  padding-left: 5px;
  font-size: 14px; /* 电脑端字体 */
  line-height: 30px;
  white-space: nowrap;
}

/* 手机端字体变为 11px */
@media (max-width: 768px) {
  .site-main .site-list .list p.name {
    font-size: 13px;
  }
}


.site-main .site-list .list p.name em {
    width: 18px;
    height: 18px;
    display: block;
    margin-right: 10px;
    border-radius: 100%;
    line-height: 44px
}

.site-main .site-list .list p.name img {
    width: 18px;
    height: 18px;
    margin: auto;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0
}

.site-main .site-list .list .desc {
    display: none;
    width: 100%;
    font-size: 13px;
    padding-bottom: 10px;
    color: #666;
    line-height: 1.5
}

.site-main .site-list .list:hover {
    background-color: #00000090;
    transition: 0.3s all
}

.site-main .site-list .list:hover p.name,
.site-main .site-list .list:hover p.desc {
    color: #ffffff
}

.site-main .site-list .list.hidden {
    display: none
}

.site-main .site-list .list.visible {
    display: flex
}

footer {
    width: 100%;
    padding-left: 240px;
    font-size: 14px;
    color: #666;
    position: fixed;
    bottom: 10px;
    left: 0;
    margin: auto;
    text-align: center;
    height: auto;
    line-height: 25px;
    margin-top: 25px; /* 电脑端默认25px */
}

/* 移动端调整 */
@media (max-width: 768px) {
    footer {
        margin-top: -25px; /* 移动端-25px */
    }
}

footer a {
    color: #2eb3ff
}

footer.show {
    position: static
}

footer a:hover {
    color: #64a15e !important
}

/* 页脚「网站地图」入口：与下方成人内容/版权同一行高，无额外外边距 */
.footer-sitemap-link {
    text-align: center;
    margin: 0;
    padding: 0;
    line-height: 25px;
}
.footer-sitemap-link a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}
.footer-sitemap-link a:hover {
    color: #2eb3ff !important;
    text-decoration: underline;
}
@media (max-width: 768px) {
    footer {
        padding-left: 0;
    }
}

.tool-list {
    position: fixed;
    bottom: 30px;
    right: 15px;
    z-index: 99;
    width: 45px
}
a.icp {
    margin: 5px;
    font-size: 14px;
}
.tool-list .list {
    width: 45px;
    height: 45px;
    display: none;
    background-color: #00000090;
    color: white;
    text-align: center;
    line-height: 45px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 12px
}

/* 夜晚按钮：与返回顶部同列同尺寸，常显 */
.tool-list .night-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    line-height: normal;
}
.tool-list .night-mode-toggle .night-mode-btn,
.tool-list .night-mode-toggle img.night-mode-btn {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    display: block;
    /* light_mode.svg 为黑色月亮，在深色底上反色为白 */
    filter: invert(1);
}
html.night-mode .tool-list .night-mode-toggle .night-mode-btn,
html.night-mode .tool-list .night-mode-toggle img.night-mode-btn {
    /* night_mode.svg 本身已是白色太阳 */
    filter: none;
}

.tool-list .list i {
    font-size: 20px
}

.tool-list .addsite i {
    font-size: 24px
}

.addsiteBox {
    border-radius: 6px !important;
    overflow: hidden
}

.addsite-main {
    display: none;
    padding-bottom: 15px;
    width: 460px;
    margin: auto;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 6px #ccc;
    overflow: hidden
}

.addsite-main .title {
    background-color: #64a15e;
    text-align: center;
    line-height: 80px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 20px;
    letter-spacing: 2px
}

.addsite-main .list-w {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.addsite-main .list {
    width: 100%;
    margin-bottom: 15px;
    position: relative
}

.addsite-main .list span.icon {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 35px;
    text-align: center;
    height: 100%;
    margin: auto;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0
}

.addsite-main .list span.icon i {
    color: #64a15e;
    display: block;
    font-size: 18px
}

.addsite-main .list input.text {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 8px 0 35px;
    border-radius: 6px;
    background-color: #f5f6fa;
    border: none;
    color: #555
}

.addsite-main .list.type {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 7px
}

.addsite-main .list.type span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 19%;
    text-align: center;
    padding: 7px 0px;
    font-size: 13px;
    border: 1px solid #64a15e;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: 0.3s all
}

.addsite-main .list.type span:hover,
.addsite-main .list.type span.hover {
    background-color: #64a15e;
    color: #FFFFFF;
    transition: 0.3s all
}

.addsite-main .list-2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.addsite-main .list-2 .li {
    width: 48%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 40px;
    background-color: #f5f6fa;
    padding: 0 10px;
    border-radius: 6px;
    overflow: hidden
}

.addsite-main .list-2 .li span {
    display: block;
    width: 40%
}

.addsite-main .list-2 .li input.num {
    display: block;
    width: 60%;
    height: 40px;
    padding: 0 5px;
    background-color: #f5f6fa;
    border: none
}

.addsite-main .list textarea {
    display: block;
    width: 100%;
    height: 80px;
    padding: 10px;
    border-radius: 6px;
    background-color: #f5f6fa;
    border: none;
    color: #555;
    line-height: 1.4
}

.addsite-main .list button {
    width: 100%;
    display: block;
    height: 44px;
    background-color: #64a15e;
    border: 1px solid #64a15e;
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s all
}

.addsite-main .list button:hover {
    transition: 0.3s all;
    box-shadow: 0px 0px 6px #333333
}

.addsite-main .layui-unselect,
.addsite-main .layui-unselect * {
    box-sizing: content-box
}

.addsite-main .layui-form-switch {
    margin-top: 0
}

.m-header {
    display: none
}
.index-nav .type-list .list a i {
    font-size: 14px;
}
@media only screen and (max-width:1200px) {
    #word {
        top: 340px
    }

    .index-nav {
        left: -100%;
        transition: 0.3s all
    }

    .index-nav.show {
        left: 0;
        transition: 0.3s all
    }

    .index-main {
        padding: 15px !important
    }

    .search-main-w {
        width: 100%;
        margin-top: 60px
    }

    .search-main-w .date-main {}

    #he-plugin-standard {
        padding: 0px !important
    }

    .search-main {
        width: 100%;
        /*padding-top: 10px;*/
        background-position: center
    }

    .search-main .search-input {
        width: 80%
    }

    .search-main .search-btnlist {}

    .search-main .search-btnlist .search-lists {
        font-size: 13px
    }

    .site-main .site-name {
        margin-bottom: 10px
    }

    .site-main .site-list .list {
        width: 32%;
        margin-bottom: 8px
    }

    .site-main .site-list {
        margin-bottom: 10px
    }

    .site-main .site-list .list > span:not(.link-badge) {
        position: absolute;
        right: 0px;
        top: 0;
        bottom: 0;
        margin: auto
    }


    footer {
        padding-left: 0
    }

    .m-header {
        width: 100%;
        padding: 10px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        background-color: #FFFFFF;
        z-index: 9999;
        box-shadow: 0px 0px 1px #C0C4CC
    }

    .m-header .logo {}

    .m-header .logo img {
        width: 36px;
        height: 36px;
        margin: 0 10px -12px 0;
    }

    .m-header .navbar {
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 40px;
        height: 40px;
        font-size: 28px;
        text-align: center;
        /* border: 1px solid #919191; */
        color: #919191;
        border-radius: 6px
    }

    .m-navlist-w {
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        padding: 15px;
        display: none;
        border-top: 1px solid #C0C4CC
    }

    .m-navlist {
        display: flex;
        flex-wrap: wrap;
        align-items: center
    }

    .m-navlist a.list {
        width: 50%;
        padding: 0 10px;
        line-height: 44px;
        display: flex;
        justify-content: flex-start;
        align-items: center
    }

    /* tags：收录申请 / 官方TG；外宽与分组同列对齐，只收紧卡片内边距 */
    .m-navlist a.list.m-nav-tag {
        margin-bottom: 6px;
        padding: 0 10px; /* 与下方分组同一外边距，卡片宽对齐分组标题 */
        line-height: 42px;
        background: transparent;
        box-sizing: border-box;
    }

    .m-navlist a.list.m-nav-tag b {
        width: 100%;
        min-width: 0;
        padding: 0 4px; /* 只调卡片内部间距，保证单行放下 */
        border-radius: 5px;
        background: #fbfbfb;
        font-size: 15px;
        font-weight: 500;
        color: #000;
        white-space: nowrap;
        overflow: visible;
    }

    .m-navlist a.list i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        margin-right: 6px;
        flex-shrink: 0;
        font-size: 22px;
        line-height: 1;
    }
    
    /* 手机端分组图标样式 - 调整大小并与文字对齐 */
    .m-navlist a.list .group-icon,
    .m-navlist a.list svg.group-icon,
    .m-navlist a.list img.group-icon {
        width: 24px;
        height: 24px;
        margin-right: 6px;
        flex-shrink: 0; /* 防止图标被压缩 */
        display: inline-flex; /* 使用inline-flex确保对齐 */
        align-items: center;
        vertical-align: middle;
    }
    
    /* 确保分组图标与文字完全对齐 */
    .m-navlist a.list b {
        display: inline-flex;
        align-items: center;
        /*line-height: 1;*/
        font-size: 15px; /* 手机端分组名称字体大小 */
    }

    .addsite-main {
        width: 100%
    }

    .addsite-main .list.type span {
        width: 32%
    }
}

/* ========== 夜晚模式（与详情页共用 html.night-mode / localStorage.nightMode） ========== */
html.night-mode {
    background-color: #282828;
    color: #e8e8e8;
}
html.night-mode body {
    background-color: #171717;
    color: #e8e8e8;
}
html.night-mode .index-nav {
    background-color: #2a2a2a;
    box-shadow: 1px 0 5px 0 #1a1a1a;
}
html.night-mode .index-nav .logo a,
html.night-mode .index-nav .type-list .list a {
    color: #e8e8e8;
}
html.night-mode .index-nav .type-list-title {
    color: #e8e8e8;
}
/* 左侧菜单分组图标：夜晚跟字体同色 */
html.night-mode .index-nav .type-list .list a svg,
html.night-mode .index-nav .type-list .list a svg path,
html.night-mode .index-nav .type-list .list a i {
    fill: #e8e8e8 !important;
    color: #e8e8e8 !important;
}
html.night-mode .m-navlist a.list svg,
html.night-mode .m-navlist a.list svg path {
    fill: #e8e8e8 !important;
}
html.night-mode .index-nav .type-list .list a {
    background: #353535;
}
html.night-mode .index-nav .type-list .list:hover a {
    background-color: #4a4a4a;
    color: #fff;
}
html.night-mode .index-nav .type-list::-webkit-scrollbar-thumb {
    background-color: #555;
}
html.night-mode .index-nav .user-info {
    background-color: #2a2a2a;
}
html.night-mode .index-nav .user-info .text p.t1 {
    color: #ddd;
}
html.night-mode .site-main .site-name {
    background: #2a2a2a;
    color: #e8e8e8;
}
/* 夜晚：分组栏图标跟字体同色；白天仍用 SVG 里写死的 fill */
html.night-mode .site-main .site-name svg,
html.night-mode .site-main .site-name svg path {
    fill: #e8e8e8 !important;
}
html.night-mode .site-main .site-list .list {
    background-color: #2a2a2a;
}
html.night-mode .site-main .site-list .list p.name {
    color: #e8e8e8;
}
html.night-mode .site-main .site-list .list .desc {
    color: #aaa;
}
html.night-mode .site-main .site-list .list:hover {
    background-color: #4a4a4a;
}
html.night-mode .site-main .site-list .list:hover p.name,
html.night-mode .site-main .site-list .list:hover p.desc {
    color: #fff;
}
/* 夜晚：默认友链图标（透明底黑图）反色为白，彩色外链图标不动 */
html.night-mode .site-main .site-list .list img[src$="default-icon.png"] {
    filter: invert(1);
    -webkit-filter: invert(1);
}
html.night-mode footer {
    color: #999;
}
html.night-mode .m-header {
    background-color: #2a2a2a;
    box-shadow: 0 0 1px #444;
    color: #e8e8e8;
}
html.night-mode .m-header .navbar {
    color: #ccc;
}
html.night-mode .m-navlist-w {
    background-color: #2a2a2a;
    border-top-color: #444;
}
html.night-mode .m-navlist a.list {
    color: #e8e8e8;
}
html.night-mode .m-navlist a.list.m-nav-tag b {
    background: #333;
    color: #e8e8e8;
}
html.night-mode #word {
    background-color: #2a2a2a;
    box-shadow: 0 0 1px #555;
    color: #e8e8e8;
}
html.night-mode #word li:hover,
html.night-mode li.selected {
    background: #3d3d3d;
}
html.night-mode .search-main button.search-btn {
    background-color: #2a2a2a;
    color: #e8e8e8;
}
html.night-mode .search-main .search-btnlist .search-lists {
    background-color: #2a2a2a;
    box-shadow: 0 0 6px #111;
    color: #e8e8e8;
}
html.night-mode .tool-list .list {
    background-color: #000000b0;
}

/* 顶部图：夜晚保持原图，不做反色 */
html.night-mode .ac-image-container .ac-image,
html.night-mode .ac-image {
    filter: none !important;
    -webkit-filter: none !important;
}

/* 友情提示横栏：暂时隐藏（保留结构，后期可恢复） */
.sekuai-container {
    display: none !important;
}

/* 分组锚点导航条：页头图下方；样式跟随链接卡片 */
.group-anchor-nav {
    width: 100%;
    max-width: 1625px;
    margin: 5px auto 10px;
    padding: 0 2px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 6px;
    box-sizing: border-box;
}
.group-anchor-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 36px;
    padding: 0 4px;
    background-color: #ffffff;
    border-radius: 6px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.3s all;
    cursor: pointer;
}
.group-anchor-item:hover {
    background-color: #f0f0f0;
    color: #000;
}
.group-anchor-item.is-publish,
.group-anchor-item.is-app {
    color: #c9a227;
}
.group-anchor-item.is-app {
    cursor: default;
    user-select: none;
}
.group-anchor-item.is-app:hover {
    background-color: #ffffff;
    color: #c9a227;
}
.group-anchor-item.is-empty {
    visibility: hidden;
    pointer-events: none;
    cursor: default;
}
.group-anchor-item.is-checking {
    opacity: 0.7;
    cursor: wait;
}
@media (max-width: 768px) {
    .group-anchor-nav {
        flex-wrap: wrap;
        gap: 6px;
        margin: 5px auto 8px;
    }
    .group-anchor-item {
        flex: 0 0 calc(25% - 4.5px);
        max-width: calc(25% - 4.5px);
        height: 32px;
        font-size: 14px;
    }
}
html.night-mode .group-anchor-item {
    background-color: #2a2a2a;
    color: #e8e8e8;
}
html.night-mode .group-anchor-item:hover {
    background-color: #4a4a4a;
    color: #fff;
}
html.night-mode .group-anchor-item.is-publish,
html.night-mode .group-anchor-item.is-app {
    color: #f0d56a;
}
html.night-mode .group-anchor-item.is-app:hover {
    background-color: #2a2a2a;
    color: #f0d56a;
}

/* 顶部图下方友情提示横栏：夜晚暗色 */
html.night-mode .sekuai-container {
    background: #2a2a2a !important;
}
html.night-mode .sekuai-block {
    background: #353535 !important;
    border-color: #555 !important;
    color: #e8e8e8 !important;
}
html.night-mode .sekuai-block:hover {
    background: #4a4a4a !important;
    color: #fff !important;
}

/* 镜像条：电脑/手机均在锚点分类与「站長推薦」之间 */
.mirror-bar {
    width: 100%;
    max-width: 1625px;
    /* 上 10 + 锚点下 10 = 与上方间距 20；下边距归 0，由下方 site-main 凑齐 20 */
    margin: 10px auto 0;
    position: relative;
    text-align: center;
}
/* 镜像条在 site-main 外：把下方总间距压到 20px（原 site-main 上边距 30） */
.mirror-bar ~ .site-main {
    margin-top: 20px;
}
/* 手机端：镜像条上下间距均为 18px（不影响电脑端） */
@media (max-width: 768px) {
    .mirror-bar ~ .site-main {
        margin-top: 18px;
    }
}
.mirror-bar-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}
.mirror-bar-img.mirror-bar-pc {
    aspect-ratio: 1625 / 133;
}
/* 电脑端：图一底图右侧叠最新域名（两行×三列） */
.mirror-bar-pc-wrap {
    position: relative;
    display: block;
    line-height: 0; /* 去掉图片基线空隙，保证包裹高度=图片高度 */
    /* 只用 inline-size：size 会把高度算成 0，叠字区会塌掉 */
    container-type: inline-size;
    container-name: mirror-bar;
}
.mirror-bar-pc-wrap .mirror-bar-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    line-height: normal;
}
/* 电脑端镜像条昼夜切换：必须放在通用 img 规则之后，避免 display 被覆盖 */
.mirror-bar-pc-wrap .mirror-bar-day {
    display: block;
}
.mirror-bar-pc-wrap .mirror-bar-night {
    display: none;
}
html.night-mode .mirror-bar-pc-wrap .mirror-bar-day {
    display: none !important;
}
html.night-mode .mirror-bar-pc-wrap .mirror-bar-night {
    display: block !important;
}
.mirror-bar-pc-wrap .mirror-bar-domains {
    position: absolute;
    /* 对齐右侧灰底区域，两行作为整体垂直居中 */
    left: 21.5%;
    right: 1.2%;
    top: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    column-gap: 0.2%;
    row-gap: 0.45em;
    align-content: center;
    align-items: center;
    justify-items: stretch;
    pointer-events: none;
    box-sizing: border-box;
    padding: 0 0.4%;
    line-height: normal;
}
.mirror-bar-pc-wrap .mirror-bar-domain {
    pointer-events: auto;
    display: inline-flex;
    align-items: baseline;
    /* 以开头 ※ 左对齐，域名长短不影响起始位置 */
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    height: auto;
    padding: 0 0.3em 0 0.6em;
    color: #111;
    /* 按条宽缩放，贴近图内「永久域名」；不用 cqh（依赖高度容器会失效） */
    font-size: clamp(14px, 1.85cqi, 22px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mirror-bar-pc-wrap .mirror-bar-domain:hover {
    color: #111;
    opacity: 0.92;
}
.mirror-bar-pc-wrap .mirror-bar-domain.is-empty {
    visibility: hidden;
    pointer-events: none;
    /* 与有内容格子同高，避免只有 1～2 个时整行垂直漂到中间 */
    min-height: 1.15em;
}
.mirror-bar-pc-wrap .mirror-bar-domain .mirror-bar-host {
    color: #f70202;
    font-weight: 700;
    font-size: inherit;
}
/* 夜晚：※最新域名①:※ 等标签改白，主机域名仍红 */
html.night-mode .mirror-bar-pc-wrap .mirror-bar-domain {
    color: #fff;
}
html.night-mode .mirror-bar-pc-wrap .mirror-bar-domain:hover {
    color: #fff;
}
html.night-mode .mirror-bar-pc-wrap .mirror-bar-domain .mirror-bar-host {
    color: #f70202;
}

/* 手机端镜像条：纯 HTML/CSS（与发布页一致；电脑端不受影响） */
.mirror-bar.mb-css {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1625px;
    box-sizing: border-box;
    letter-spacing: 0;
    text-align: left;
    container-type: inline-size;
    container-name: mb-css;
}
.mirror-bar.mb-css .mb-css-inner {
    position: relative;
    box-sizing: border-box;
    border: 1.5px solid #8e8e8e;
    border-radius: 10px;
    padding: 14px 8px 8px;
    background: #f9f9f9;
}
.mirror-bar.mb-css .mb-css-title {
    position: absolute;
    top: -0.7em;
    left: 12px;
    z-index: 1;
    padding: 0 8px;
    background: #f9f9f9;
    color: #222;
    font-size: clamp(13px, 3.6cqi, 17px);
    font-weight: 800;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 1px 1px 0 rgba(180, 180, 180, 0.55);
}
.mirror-bar.mb-css .mb-css-row {
    display: flex;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
}
.mirror-bar.mb-css .mb-css-perm {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 42%;
    padding: 6px 8px;
    border: 1px solid #b0b0b0;
    border-radius: 8px;
    background: #f9f9f9;
    color: #111;
    font-size: clamp(10px, 2.7cqi, 13px);
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mirror-bar.mb-css .mb-css-perm-host {
    color: #e6b000;
    font-weight: 700;
}
.mirror-bar.mb-css .mb-css-grid {
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    row-gap: 0.35em;
    align-content: center;
    justify-items: center;
    align-items: center;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #b0b0b0;
    border-radius: 8px;
    background: #f0f0f0;
}
.mirror-bar.mb-css .mb-css-domain {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: auto;
    max-width: 100%;
    padding: 0.08em 0.15em;
    color: #111;
    font-size: clamp(13px, 3.7cqi, 17px);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mirror-bar.mb-css .mb-css-domain:hover {
    color: #111;
    opacity: 0.92;
}
.mirror-bar.mb-css .mb-css-domain .mb-css-host {
    color: #f70202;
    font-weight: 700;
    font-size: inherit;
}
/* 夜间：黑字/黑线改白；黄/红域名色保留；标题等底色 #171717（盖边线做缺口） */
html.night-mode .mirror-bar.mb-css .mb-css-inner {
    border-color: #fff;
    background: #171717;
}
html.night-mode .mirror-bar.mb-css .mb-css-title {
    background: #171717;
    color: #fff;
    text-shadow: none;
}
html.night-mode .mirror-bar.mb-css .mb-css-perm {
    border-color: #fff;
    background: #171717;
    color: #fff;
}
html.night-mode .mirror-bar.mb-css .mb-css-grid {
    border-color: #fff;
    background: #353535;
}
html.night-mode .mirror-bar.mb-css .mb-css-domain {
    color: #fff;
}
html.night-mode .mirror-bar.mb-css .mb-css-domain:hover {
    color: #fff;
}
html.night-mode .mirror-bar.mb-css .mb-css-perm-host {
    color: #e6b000;
}
html.night-mode .mirror-bar.mb-css .mb-css-domain .mb-css-host {
    color: #f70202;
}