/*Headroom.js*/
.headroom {
    transition: transform 300ms linear;
}

.headroom--pinned {
    transform: translateY(0%);
}

.headroom--unpinned {
    transform: translateY(-100%);
}

/* base css-------------------------------------------------*/
body {
    background: var(--izone-background) !important;
    padding-top: 4.8rem;
    display: -webkit-flex; /* Safari */
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    color: var(--izone-font-default) !important;
}

/*通知*/
.container > div.alert {
    width: 96.666667%;
}

main {
    flex: 1 0 auto;
}

.container,
.container-fluid {
    padding-right: 5px;
    padding-left: 5px;
}

a {
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: #ea6f5a;
}

.h1, h1 {
    font-size: 1.4em;
}

.h2, h2 {
    font-size: 1.3em;
}

.h3, h3 {
    font-size: 1.2em;
}

.h4, h4 {
    font-size: 1.1em;
}

.h5, h5 {
    font-size: 1.05em;
}

.h6, h6 {
    font-size: 1em;
}

.f-17 {
    font-size: 13px;
}

.f-16 {
    font-size: 12px;
}

.f-15 {
    font-size: 11px;
}

.f-14 {
    font-size: 10px;
}

.f-13 {
    font-size: 9px;
}

.f-12 {
    font-size: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

blockquote {
    padding: .8em;
    margin: 0 0 2.2em;
    border-left: 4px solid #b4b4b4;
    background: #f7f7f7;;
}

.clear-right {
    clear: right;
}

.clear-left {
    clear: left;
}

.clear-both {
    clear: both;
}

.form-control:focus,
.btn:focus {
    outline: 0;
    box-shadow: none;
}

.alert-debug {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.edit-category-tag {
    position: relative;
    margin-bottom: 2rem;
    color: #8f9ff2;
}

.edit-category-tag > a {
    position: absolute;
    bottom: -1rem;
    right: 0;
    margin-bottom: .5rem
}

ul.checklist {
    padding-left: 1.2em;
}

ul.checklist li {
    list-style: none;
}

.izone-container {
    background-color: var(--izone-background-container);
}


/* top navbar-------------------------------------------------*/
#site-logo-name,
#site-logo-name:hover,
#site-logo-name:active {
    color: #3c3f41;
}

.blog-navbar {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.blog-navbar .dropdown-menu {
    border-radius: 0 0 0.5rem 0.5rem !important;
}

#navbarDropdown .avatar {
    border-radius: 50%;
    width: 40px;
}

.get-msg {
    font-size: 13px;
    position: absolute;
    top: 5px;
    left: 32px;
    z-index: 3;
    color: #fff;
    display: block;
    min-width: 16px;
    padding: 0 3px;
    height: 16px;
    border-radius: 16px;
    line-height: 16px;
    background: red;
}

/* logo title */
.header-logo-title {
    font-size: 30px;
    color: #FF6600;
    font-family: xiaomainbao;
}

.blog-navbar .dropdown-menu {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.blog-navbar .navbar-toggler {
    color: rgba(0, 0, 0, .5);
    border-color: rgba(0, 0, 0, .1);
}

.blog-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

.edit-blog {
    color: #8f9ff2;
}

.nav-item a.active {
    color: #ea6f5a;
}


#searchform .form-control {
    border-radius: 0.5rem 0 0 0.5rem;
}

#searchform button {
    border-radius: 0 0.5rem 0.5rem 0;
}

.navbar-nav form.navbar-form {
    width: 11rem;
}

.navbar .navbar-nav .nav-link {
    font-weight: 500
}

/*to top+++++++++++++++++++++++++++++++++++++++++++++++++*/
#to-top {
    position: fixed;
    bottom: 7rem;
    right: 5%;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #34495e;
    top: auto;
    display: none;
    cursor: pointer;
    color: #fff;
    opacity: .6;
    z-index: 9999;
}

#to-top:hover {
    opacity: 1;
}

#to-top i {
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    display: block;
}

/*跳到评论*/
#go-to-com {
    position: fixed;
    bottom: 13rem;
    right: 5%;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #34495e;
    top: auto;
    display: none;
    cursor: pointer;
    color: #fff;
    opacity: .6;
    z-index: 9999;
}

#go-to-com:hover {
    opacity: 1;
}

#go-to-com i {
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    display: block;
}

/*切换主题*/
#change-theme {
    position: fixed;
    bottom: 10rem;
    right: 5%;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: #34495e;
    top: auto;
    display: none;
    cursor: pointer;
    color: #fff;
    opacity: .6;
    z-index: 9999;
}

#change-theme:hover {
    opacity: 1;
}

#change-theme i {
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    display: block;
}

/*carousel---------------------------------------------*/
.carousel-inner {
    border-radius: .5rem !important;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #fff;
    border-radius: 10px;
}

.description {
    border-radius: .5rem;
}

.description h1 {
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.description strong {
    padding-bottom: 7px;
    border-bottom: 2px solid #00AAEE;
}

/* article summary --------------------------------------------------*/
.top-article-img {
    margin-right: -.5rem;
    margin-top: -.5rem;
}

.choice .active {
    color: #212529;
    border-bottom: 2px solid #646464;
}

.summary-list .avatar {
    width: 1.2rem;
    heigth: 1.2rem;
    margin-right: .2rem;
    border-radius: 50%;
}


.summary-list .media {
    /*background: linear-gradient(to right, #EC695C, #61C454) no-repeat right bottom;*/
    background-size: 0 2px;
    transition: background-size 500ms;
}

.summary-list .media:hover {
    background-position-x: left;
    background-size: 100% 2px;
}

.summary-list .article-block {
    background-color: #fff;
    border-radius: .5rem;
}

.summary-list .cate {
    color: #ea6f5a;
}

.summary-list .cate:hover {
    color: #17a2b8;
}

.meta-container {
    color: var(--izone-font-3);
}

.media-date {
    margin: 0 .5rem;
    padding: 0 .5rem;
    border-left: 1px solid var(--izone-gray-1-1);
}

.media-tag-list {
    display: none;
}

.media-tag-i {
    color: var(--izone-font-2);
}

/* about页面容器 */
.about-container {
    margin: 8px auto 12px auto;
    padding: 20px; /* 内边距 */

    border: 5px solid #e0e0e0; /* 边框 */
    border-radius: 10px; /* 圆角 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 阴影 */
}

/* about页面容器 end*/

/* base right --------------------------------------------------*/
.rounded-6 {
    border-radius: .5rem !important;
}

/*#home-card {*/
/*    background-image: linear-gradient(180deg, #47b9f5eb 0%, #FFFFFF 50%);*/
/*}*/

/*#article-view-card {*/
/*    background-image: linear-gradient(180deg, rgba(246, 118, 87, 0.88) 0%, #FFFFFF 20%);*/
/*}*/

/*#category-card {*/
/*    background-image: linear-gradient(180deg, #7890f7eb 0%, #FFFFFF 20%);*/
/*}*/

/*#tag-card {*/
/*    background-image: linear-gradient(180deg, #f1a887eb 0%, #FFFFFF 20%);*/
/*}*/

/*#friends-card {*/
/*    background-image: linear-gradient(180deg, #e3b759eb 0%, #FFFFFF 50%);*/
/*}*/

#category-card .list-group-item {
    background-color: transparent;
}

#home-card .card-header,
#tag-card .card-header,
#category-card .card-header,
#friends-card .card-header,
#article-view-card .card-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

#home-card .card-header strong,
#tag-card .card-header strong,
#category-card .card-header strong,
#friends-card .card-header strong,
#article-view-card .card-header strong {
    padding-bottom: 12.5px;
    border-bottom: 2px solid #00AAEE;
}

#category-card .badge {
    width: 2.2rem;
    background-color: #7087ffed;
    color: #fff;
    font-weight: 700;
    border-radius: .2rem;
}

.category-item:before {
    position: absolute;
    top: 1em;
    left: .2rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent transparent #4285f4;
    -webkit-transform-origin: 25% center;
    transform-origin: 25% center;
    border-width: 4px;
    content: "";
}

ul.article-view-list {
    counter-reset: li-index;
}

ul.article-view-list > li {
    list-style-type: none;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

ul.article-view-list > li:last-child {
    border-bottom: none;
    margin-bottom: .2rem;
}

ul.article-view-list > li:before {
    display: block;
    float: left;
    content: counter(li-index);
    counter-increment: li-index;
    font-size: 12px;
    text-align: center;
    border: 0;
    width: 1.1rem;
    margin-right: 0.5rem;
    color: #fff;
    background: rgba(64, 168, 180, 0.8);
    border-radius: 3px
}

ul.article-view-list > li:nth-child(1):before {
    background: rgba(246, 17, 81, 0.8);
}

ul.article-view-list > li:nth-child(2):before {
    background: rgba(243, 51, 15, 0.8);
}

ul.article-view-list > li:nth-child(3):before {
    background: rgba(234, 78, 50, 0.8);
}

ul.article-view-list > li:nth-child(4):before,
ul.article-view-list > li:nth-child(5):before,
ul.article-view-list > li:nth-child(6):before,
ul.article-view-list > li:nth-child(7):before {
    background: rgba(242, 132, 19, 0.8);
}

.blog-info-list p {
    margin-bottom: .5rem;
}

.blog-info-list .badge {
    background-color: #e4e6eb;
    margin-bottom: 0;
    border-radius: .6rem;
    padding: 0.4em 0.5em;
}

/*标签云*/
.tag-cloud {
    width: 100%;
    margin: auto;
    overflow: hidden;
    text-align: left;
}

.tags {
    color: #fff;
    padding: .08rem .4rem;
    float: left;
    text-align: center;
    margin: .3rem;
    transition: all .5s;
    border-radius: .35rem;
}

/*云标签颜色*/
.tags:nth-child(9n+1) {
    background: #78BBE6;
}

.tags:nth-child(9n+2) {
    background: #FF895D;
}

.tags:nth-child(9n+3) {
    background: #A3DE83;
}

.tags:nth-child(9n+4) {
    background: #00BBF0;
}

.tags:nth-child(9n+5) {
    background: #FF2E63;
}

.tags:nth-child(9n+6) {
    background: #0D7377;
}

.tags:nth-child(9n+7) {
    background: #AC005D;
}

.tags:nth-child(9n+8) {
    background: #0881A3;
}

.tags:nth-child(9n+9) {
    background: #EDA045;
}

.tags:hover {
    color: #fff;
    background: #333;
}

/* 全文搜索 */
.highlighted {
    color: #ea6f5a;
}

/*友情链接开始*/
.friend-block {
    line-height: 2;
}

.friend-block h2 {
    text-align: center;
    padding-bottom: 1rem;
    color: var(--izone-font-3);
    letter-spacing: .5rem;
}

.friend-block .friend-list {
    margin-bottom: 3rem;
}

.friend-list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 15px;
    padding-top: 15px;
}

.friend-list .friend-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    user-select: none;
    height: 120px;
    width: 120px;
    background-size: auto 150%;;
    background-position: center;
    background-repeat: no-repeat;

    visibility: visible;
    box-shadow: 0 0 20px 0 rgba(44, 101, 144, 0.1);
}

.friend-list a:hover {
    text-decoration: none; /* 去掉链接的下划线 */
    color: inherit; /* 使用继承的颜色 */
}

.friend-list a:hover img {
    display: none;
}

.friend-list a:hover .friend-description {
    display: initial;
}

.not-show-friend {
    filter: grayscale(100%);
}

.friend-img {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: hsla(0, 0%, 100%, 0.1);
}

.friend-img img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 24px;
    transition: All 1s ease-in-out;
}

.friend-img .friend-description {
    display: none;
    color: #fff;
    position: absolute;
    padding: 12px 10px 12px 10px;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/*.friend-img img:hover {*/
/*    -webkit-transition: All 1s ease-in-out;*/
/*    -moz-transition: All 1s ease-in-out;*/
/*    -o-transition: All 1s ease-in-out;*/
/*    transform: rotate(360deg);*/
/*    -webkit-transform: rotate(360deg);*/
/*    -moz-transform: rotate(360deg);*/
/*    -o-transform: rotate(360deg);*/
/*    -ms-transform: rotate(360deg);*/
/*}*/

.friend-container .friend-title {
    width: 100%;
    height: 30px;
    background: #ffffff;
    opacity: 0.7;
    font-size: 13px;
    font-weight: 700;
    position: absolute;
    bottom: 0;
    text-align: center;
    color: #252933;
}

.friend-request {
    text-align: center;
    margin-top: 6.6rem;
}

.friend-request a,
.friend-post a {
    color: #e0dada !important;
    background-color: #617397;
    padding: 0.4rem 1.5rem;
    border-radius: 999px;
}

.friend-request a:hover {
    color: #FFFFFF !important;
}

.friend-add {
    margin-bottom: 3rem;
    color: var(--izone-font-2);
}

.friend-add p,
.friend-post p {
    margin-bottom: 0;
}

.friend-post {
    text-align: center;
}

.friend-post-btn {
    margin-top: 2rem;
}

.friend-post-btn #friendModal {
    text-align: left;
}

/*友情链接结束*/


/*分页*/
.page-inner {
    margin-top: .8rem;
    margin-bottom: 1rem;
}

.page-inner span {
    background-color: var(--izone-background-container);
    color: var(--izone-font-default);
    display: inline-block;
    text-align: center;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    margin: 0 .25rem;
    border-radius: .4rem;

}

.page-inner a > span:hover {
    background: rgba(23, 162, 184, .8);
    color: #FFFFFF;
}

.page-inner span.page-active {
    background: rgba(23, 162, 184, 1);
    color: #FFFFFF;
}

.page-inner span.n {
    width: 5rem;
}

/*分页*/
/*404页面+++++++++++++++++++++++*/
.errorpage {
    margin: 30px 15px;
}

.errormsg {
    margin: 30px 0;
    color: #6d6d7b;
}

.errormsg h3 {
    margin: 25px 0;
}

.errormsg a {
    text-decoration: none;
    background: #fff;
    padding: .6em 1em;
    color: #FF7150;
    border: 1px solid #ff7150;
    border-radius: 2px;
    line-height: 35px;
    cursor: pointer;
}

.errormsg a:hover {
    background: #ff7150;
    padding: .6em 1em;
    color: #fff;
}

footer {
    background: #1c1f21;
    color: #99979c;
    padding: 1rem 0;
}

footer a:hover {
    color: #fff;
}

@keyframes iconAnimate {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(0.9);
    }
    20%, 40%, 60%, 80% {
        transform: scale(1.1);
    }
    50%, 70% {
        transform: scale(1.1);
    }
}

.with-love i {
    color: #ff2152;
    display: inline-block;
    margin: 0 .2rem;
    animation: iconAnimate 1.33s ease-in-out infinite;
}

.bg-none {
    background-color: transparent !important;
}

.tool-link-text {
    overflow: hidden; /* 隐藏溢出的文本 */
    text-overflow: ellipsis; /* 在被裁剪文本末尾添加省略号 */
    white-space: nowrap;
}

/*归档页面start*/
div.archive > ul:before {
    content: ' ';
    background: #a9dcc7;
    display: inline-block;
    position: absolute;
    left: 1.85rem;
    width: .1rem;
    height: 98%;
    z-index: 400;
    margin-top: .5rem;
}

div.archive > ul > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border: 3px solid #228e6c;
    border-radius: 0.5rem;
    left: 1.4rem;
    width: 1rem;
    height: 1rem;
    z-index: 400;
    margin-top: .5rem;
}

div.archive > ul > li:first-child:before {
    background-color: #228e6c;
    color: rgb(226 232 240);
}

div.archive > ul,
div.archive > ul > li > ul {
    list-style-type: none;
}

/*归档页面end*/

/*专题页面start*/
.subject-card a:hover {
    color: var(--izone-font-default);
}

.subject-card-title {
    margin-bottom: .5rem;
    border-bottom: rgba(60, 60, 60, .2) dashed 1px;
    padding-bottom: .3rem;
}

.subject-card-title .card-title {
    margin-bottom: .3rem;
}

.card-body .subject-desc {
    font-size: .7rem;
}

.subject-card .card-body {
    padding: .5rem;
}

/*专题页面end*/

/* 页面卡片动态展示 start */


/* 弹性渐显动画 */
@keyframes fadeInScaleBounce {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
    }
    80% {
        transform: scale(0.97);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* show 后触发动画 */
.card.show, .col-lg-8.show, .article-toc.show, .subject-list.show {
    visibility: visible;
    animation: fadeInScaleBounce 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* 波浪延迟示例，可按需扩展 */
.card:nth-child(1).show {
    animation-delay: 0s;
}

.card:nth-child(2).show {
    animation-delay: 0.12s;
}

.card:nth-child(3).show {
    animation-delay: 0.24s;
}

.card:nth-child(4).show {
    animation-delay: 0.36s;
}

.col-lg-8:nth-child(1).show {
    animation-delay: 0s;
}

.col-lg-8:nth-child(2).show {
    animation-delay: 0.12s;
}

.article-toc:nth-child(1).show {
    animation-delay: 0s;
}

.article-toc:nth-child(2).show {
    animation-delay: 0.12s;
}

.subject-list:nth-child(1).show {
    animation-delay: 0s;
}

.subject-list:nth-child(2).show {
    animation-delay: 0.12s;
}

/* 页面卡片动态展示 end */

/* 题目页面样式 */
.container-topics {
    .problem-card, card {
        border-radius: 12px;
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
    }

    .problem-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 255, 81, 0.3) !important;
        border-color: rgba(0, 255, 81, 0.3); /* 更深的红色 */
    }
}

/*全局样式参数start*/
.light-theme, body {
    --izone-layer-golden-1: #faf3e5;
    --izone-layer-golden-2: #f6e7cb;
    --izone-component-hover: #e4e6eb;
    --izone-gradientgold_normal_start: #fde8c3;
    --izone-gradientgold_normal_end: #edd3a7;
    --izone-gradientgold_hover_start: #f1dfc0;
    --izone-gradientgold_hover_end: #e6c99b;
    --izone-gradientgold_click_start: #e9d5b3;
    --izone-gradientgold_click_end: #dac29a;
    --izone-layer_loading_start: rgba(228, 230, 235, 0);
    --izone-layer_loading_end: rgba(228, 230, 235, 0.5);
    --izone-layer_golden_2: #faf3e5;
    --izone-font_golden_4: #7e5d25;
    --izone-font-golden-1: #7e5d25;
    --izone-font-golden-2: #8a795c;
    --izone-font-golden-3: #d6b885;
    --izone-gray-0: #fff;
    --izone-gray-1-1: #e4e6eb;
    --izone-gray-1-2: rgba(228, 230, 235, 0.5);
    --izone-gray-1-3: #e4e6eb;
    --izone-gray-2: #f2f3f5;
    --izone-gray-3: #f7f8fa;
    --izone-background: rgb(242, 243, 245);
    --izone-layer-1: #fff;
    --izone-layer-2-1: #f7f8fa;
    --izone-layer-2-2: rgba(247, 248, 250, 0.7);
    --izone-layer-3-fill: #f2f3f5;
    --izone-layer-3-border: #e4e6eb;
    --izone-layer-4-dropdown: #fff;
    --izone-layer-5: #fff;
    --izone-brand-1-normal: #1e80ff;
    --izone-brand-2-hover: #1171ee;
    --izone-brand-3-click: #0060dd;
    --izone-brand-4-disable: #abcdff;
    --izone-brand-5-light: #eaf2ff;
    --izone-mask-1: rgba(0, 0, 0, 0.4);
    --izone-mask-2: #fff;
    --izone-mask-3: none;
    --izone-brand-fill1-normal: rgba(30, 128, 255, 0.05);
    --izone-brand-fill2-hover: rgba(30, 128, 255, 0.1);
    --izone-brand-fill3-click: rgba(30, 128, 255, 0.2);
    --izone-brand-stroke1-normal: rgba(30, 128, 255, 0.3);
    --izone-brand-stroke2-hover: rgba(30, 128, 255, 0.45);
    --izone-brand-stroke3-click: rgba(30, 128, 255, 0.6);
    --izone-font_danger: #ff5132;
    --izone-font-default: #515767;
    --izone-font-1: #30333b;
    --izone-font-2: #515767;
    --izone-font-3: #8a919f;
    --izone-font-4: #c2c8d1;
    --izone-font-brand1-normal: #1e80ff;
    --izone-font-brand2-hover: #1171ee;
    --izone-font-brand3-click: #0060dd;
    --izone-font-brand4-disable: #abcdff;
    --izone-font-success: #2bb91b;
    --izone-font-warning: #ff8412;
    --izone-font-danger: #ff5132;
    --izone-font-white-disable: #fff;
    --izone-font-white: #fff;
    --izone-success-1-normal: #00b453;
    --izone-success-2-deep: #00964e;
    --izone-success-3-light: #e2faed;
    --izone-warning-1-normal: #ff7426;
    --izone-warning-2-deep: #e05e00;
    --izone-warning-3-light: #fff3e5;
    --izone-danger-1-normal: #f64242;
    --izone-danger-2-deep: #cb2634;
    --izone-danger-3-light: #fff2ff;
    --izone-sub-1-purple: #9f54ff;
    --izone-sub-2-blue: #57a0ff;
    --izone-sub-3-cyan: #5ad7ff;
    --izone-sub-4-green: #33d790;
    --izone-sub-5-yellow: #ffcc15;
    --izone-sub-6-orange: #ff834e;
    --izone-sub-7-red: #ff5e54;
    --izone-coupon_1_button: #f64242;
    --izone-coupon_1_button_disable: #faa0a0;
    --izone-coupon_2_card: rgba(255, 245, 244, 0.7);
    --izone-coupon_3_stroke: rgba(246, 66, 66, 0.2);
    --izone-navigation: #fff;
    --izone-shade-1: rgba(0, 0, 0, 0.4);
    --izone-shade-2: rgba(0, 0, 0, 0.6);
    --izone-popup: #fff;
    --izone-popover: #464646;
    --izone-sheets: #f7f8fa;
    --izone-coupon-button: #f64242;
    --izone-coupon-button-disable: #faa0a0;
    --izone-coupon-card: rgba(255, 245, 244, 0.7);
    --izone-layer-loading-start: #e4e6eb;
    --izone-layer-loading-end: rgba(228, 230, 235, 0.5);
    --izone-font-priv-hint: #916be1;
    --izone-background-jscore-radar: #232323;
    --izone-background-container: #fff;
}

/*全局样式参数end*/


/* 公告start */
#exampleModalLong {
    background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */

}

/* 通过 ID 设置模态框内容区域背景颜色 */
#exampleModalLong .modal-content {
    background-color: #aca2d7;
    border-radius: 10px; /* 可选：添加圆角 */
}

/* 公告end */


/* 粒子背景start */
.particles-background {
    position: absolute; /* 使用 absolute 定位 */
    top: 0;
    left: 0;
    z-index: -1; /* 将背景放在页面内容后面 */
    pointer-events: none; /* 禁用鼠标事件 */
}

/* 粒子背景end */


@media (max-width: 420px) {
    .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding-right: 5px;
        padding-left: 5px;
    }

    div.archive > ul > li:before {
        margin-top: .2rem;
    }

    div.layui-layer-demo {
        width: 350px !important;; /* 固定宽度 */
        height: 500px !important;; /* 固定高度 */
    }
}

@media (min-width: 430px) {
    div.layui-layer-demo {
        width: 400px !important;; /* 固定宽度 */
        height: 500px !important;; /* 固定高度 */
    }
}

/* Small devices (landscape phones, 576px and up) */
/* X-iPhone6 AND plus */
@media (min-width: 576px) {
    .container,
    .container-fluid {
        max-width: 100%;
        padding-right: 5px;
        padding-left: 5px;
    }

    .f-17 {
        font-size: 14px;
    }

    .f-16 {
        font-size: 13px;
    }

    .f-15 {
        font-size: 12px;
    }

    .f-14 {
        font-size: 11px;
    }

    .f-13 {
        font-size: 10px;
    }

    .f-12 {
        font-size: 9px;
    }


}

/* Medium devices (tablets, 768px and up) */
/* Y-iPad mini */
@media (min-width: 768px) {
    .container,
    .container-fluid {
        max-width: 100%;
        padding-right: 8px;
        padding-left: 8px;
    }

    .f-17 {
        font-size: 16px;
    }

    .f-16 {
        font-size: 15px;
    }

    .f-15 {
        font-size: 14px;
    }

    .f-14 {
        font-size: 13px;
    }

    .f-13 {
        font-size: 12px;
    }

    .f-12 {
        font-size: 11px;
    }

    .summary-list .avatar {
        width: 1.35rem;
        heigth: 1.35rem;
    }

    .get-msg {
        top: 3px;
        left: 36px;
    }

    .tags {
        font-size: .8rem;
    }
}

/* Large devices (desktops, 992px and up) */
/* X-iPad Y-iPad Pro*/
@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 30%;
    }

    .top-article-img {
        margin-right: -1rem;
        margin-top: -1rem;
    }

    .container,
    .container-fluid {
        max-width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .tags {
        font-size: .8rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
/* PC X-iPad Pro*/
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .f-17 {
        font-size: 17px;
    }

    .f-16 {
        font-size: 16px;
    }

    .f-15 {
        font-size: 15px;
    }

    .f-14 {
        font-size: 14px;
    }

    .f-13 {
        font-size: 13px;
    }

    .f-12 {
        font-size: 12px;
    }

    .tags {
        font-size: .8rem;
    }

    .article-img {
        cursor: pointer;
        transition: all 0.6s;
    }

    .article-img:hover {
        transform: scale(1.1);
    }

    .summary-list .article-block:hover {
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.275)
    }

    .summary-list .avatar {
        width: 1.5rem;
        heigth: 1.5rem;
    }

    #navbarDropdown .avatar {
        transition: All 0.4s ease-in-out;
        -webkit-transition: All 0.4s ease-in-out;
        -moz-transition: All 0.4s ease-in-out;
        -o-transition: All 0.4s ease-in-out;
    }

    #navbarDropdown .avatar:hover {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
    }

    .media-tag-list {
        display: inline;
    }

    .media-date {
        border-right: 1px solid var(--izone-gray-1-1);
    }
}
