.modal {
    font-family: "Microsoft YaHei", "WenQuanYi Micro Hei", Arial, Verdana, Tahoma, sans-serif;
    display: none;
    position: fixed;
    z-index: 88881;
    left: 0;
    top: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
    background: #ffffff;
    margin: 25% auto;
    padding: 24px;
    border-radius: 18px;
    width: 95%;
    max-width: 520px;
    overflow-y: auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-bottom: 1px solid #eeeeee;
}

.close-btn {
    font-size: 19px !important;
    padding: 5px 10px !important;
}
.close-btn:hover {
    color: #333333;
}
.setting-group {
    margin-bottom: 24px;
}
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #eeeeee;
}
 
.modal .setting-item .label {
    font-size: 16px;
    color: #222222;
}

.modal .toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}
.modal .toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.modal .toggle .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cccccc;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
    padding: 2px;
    box-sizing: border-box;
}
.modal .toggle .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    top:3px;
    bottom: 2px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.modal .toggle input:checked + .slider {
    background-color: #409eff;
}
.modal .toggle input:checked + .slider:before {
    transform: translateX(20px);
}

.terms-group {
    margin-top: 0px;
    padding-top: 0px;
}
.terms-title {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 14px;
}
.terms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.term-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #f0f7ff;
    border-radius: 12px;
}
.term-icon {
    font-size: 18px;
    line-height: 1;
    margin-top: 0px;
}
.term-text {
    flex: 1;
}
.term-title {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: bold;
    margin-bottom: 6px;
}
.term-desc {
    font-size: 13px;
    color: #555555;
    line-height: 1.45;
    margin: 0;
}
.dark-mode .setting-item span {
    color: #222222 !important;
}
.shoucangjia{margin-bottom: 15px!important;}

#settingsBtn {
    width: 70px;
    height: 70px;
    position: absolute;
    bottom: -100px;
    right: 16px;
    border: none;
    border-radius: 50%;
    background: url(https://moxian.bobopic.com/new/set.svg) center / 50% no-repeat;
    background-color: transparent;
    cursor: pointer;
    z-index: 9999;
    display: block;
    transform-origin: 50% 50%;
    transform: rotate(0deg) translateZ(0);
    will-change: transform;
    animation: gearRotate 16s linear infinite;
}
html.hide-illustrator .col-lg-3 {display:none;}
html.hide-illustrator .single .row {justify-content:center;}
html.hide-illustrator  .single .related li {max-width: 15.198%;}
html.hide-related .single .related {display:none;}
html.hide-official .woshuosm2 {display:none;}
html.hide-collect .shoucangjia {display:none;}
html.hide-illustrator .col-lg-9 {flex: 0 0 100%;max-width: 100%;}
html.has-fixed-header .featured-posts {padding-top: 77px !important;}
html.has-fixed-header .daily-rank  { padding-top: 77px!important;}

@keyframes gearRotate { 0% { transform: rotate(0deg) translateZ(0); } 100% { transform: rotate(360deg) translateZ(0); } }

.label::before {
    content: "";
    top: -1px;
    position: relative;
    display: inline-block;
    width: 14px;  
    height: 14px;
    background: url(https://moxian.bobopic.com/new/quan.svg) center / contain no-repeat;
    margin-right: 5px; 
    vertical-align: middle;
}
 
@media only screen and (max-width: 1023px) {
  .fixed-header-set {
    display: none;
  }
}
 
@media only screen and (min-width: 768px) {
  .site-header.fixed-header {
    position: fixed !important;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 99;
  }
  html.has-fixed-header  .site-content {
    padding-top: 77px !important;
  }
  html.has-fixed-header .home .container.mobile {
    margin-bottom: -77px;
}
}

.bobopic-setting-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.bobopic-setting-toast.show {
    opacity: 1;
}
@media screen and (max-width:767px) {
#settingsBtn{bottom: -77px;right: -5px;}
html.has-fixed-header .featured-posts {padding-top: 0px !important;}
html.has-fixed-header .single .site-content { padding-top: 0px!important;}
html.has-fixed-header .daily-rank  { padding-top: 0px!important;}

    .fixed-header-set{display: none;border-bottom:unset!important;}
    .term-desc { font-size: 12px;}
    .setting-item {padding: 12px 0}
    .shoucangjia {margin-bottom: 0px !important;}
    .modal-content { padding: 20px;}
    .modal .setting-item .label {font-size: 14px;}
}
.term-desc p {
    margin: 5px 0 0px;
}
@media screen and (min-width:768px) {
    .modal-content {margin: 5% auto;}
}