/**
 * Noto Theme - Core Stylesheet
 * 统一管理所有样式依赖
 */

/* 核心重置与变量 */
@import url('reset.css');

/* 主题模式 */
@import url('theme.css');

/* 主题图标 */
@import url('icons.css');
img{
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
img.lazy-loading {
    -webkit-filter: blur(2rem);
    filter: blur(2rem);
    opacity: 0;
}
img.lazy-loaded {
    filter: blur(0);
    -webkit-filter: blur(0);
    opacity: 1;
}
.line-clamp {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--line-num,1);
}
.container{
    max-width: 85rem;
    width: 100%;
    margin: auto;
    padding: 0 var(--space-4);
}
.article-container {
    overflow: hidden;
    max-width: 85rem;
    width: 100%;
    margin: auto;
}
.mobile-nav {
    position: sticky;
    top: 0;
    z-index: 9;
}
.category-nav{
    position: relative;
    z-index: 9;
    background: var(--bg-light);
    border-bottom: thin dashed var(--border-secondary);
}
.category-nav .category-list{
    display: flex;
    padding: var(--space-4);
    gap: var(--space-8);
    justify-content: center;
    white-space: nowrap;
}
.category-item:active, .page-item:active {
    opacity: 0.7;
    transform: scale(0.95);
}
.category-nav .category-list .category-active,
.page-nav .page-list .page-active{
    position: relative;
    color: var(--text-theme) !important;
    transition: .3s;
}
.category-active::after,
.page-active::after{
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: .5rem;
    height: 2px;
    background-color: var(--text-theme);
    border-radius: var(--border-radius);
}
.category-nav .category-list .category-item,
.page-nav .page-list .page-item{
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: .3s;
}
.page-nav {
    width: 100%;
    text-align: end;
    background: var(--bg-light-muted);
    transition: .3s;
}
.page-nav .page-list{
    display: flex;
    gap: var(--space-8);
    justify-content: flex-end;
    padding: var(--space-4);
    white-space: nowrap;
    border-bottom: thin dashed var(--border-secondary);
}
.scrolled-up .page-nav{
    transform: translateY(0);
}
.scrolled-down .page-nav{
    transform: translateY(-3.5rem);
}
.featured-content,
.article-header{
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: thin dashed var(--border-secondary);
}
.featured-content__grid{
    display: flex;
    align-items: center;
    gap: var(--space-8);
}
.featured-content__left {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}
.featured-content__left > * {
    flex: 100%;
}
.featured-content__left h2{
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    font-size: 26px;
}
.featured-content__title span{
    background: var(--bg-dark);
    padding: var(--space-2);
    color: var(--text-inverse);
    line-height: 1;
    font-weight: 400;
    font-size: 14px;
}
.featured-content__left h2{
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.featured-content__tags{
    display: flex;
    gap: var(--space-4);
    font-size: 14px;
    align-items: center;
}
.featured-content__tags a{
    background: var(--bg-dark);
    padding: var(--space-2);
    color: var(--text-inverse);
    line-height: 1;
    font-weight: 400;
    border: 1px dashed #0000;
    border-radius: var(--border-radius);
}
.featured-content__tags a:active{
    border-color: var(--bg-dark);
    background: var(--bg-light);
    color: var(--text-theme);
}
.featured-content__excerpt{
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}
.featured-content__image{
    height: 35rem;
    width: 30rem;
    padding: var(--space-1);
    outline: thin dashed var(--border-secondary);
}
.featured-content__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-layout > .article-item {
    outline: thin dashed var(--border-secondary);
}
.article-layout .article-image {
    height: 25rem;
    width: 20rem;
    padding: var(--space-1);
    outline: thin dashed var(--border-secondary);
}
.article-layout .article-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-layout .article-grid{
    display: flex;
    align-items: center;
    gap: var(--space-8);
}
.article-item--left .article-grid .article-left {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-inline-end: var(--space-8);
    border-right: thin dashed var(--border-secondary);
    padding-block: calc(var(--space-10) + var(--space-10));
}
.article-item--right .article-grid .article-left {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-inline-start: var(--space-8);
    border-left: thin dashed var(--border-secondary);
    padding-block: calc(var(--space-10) + var(--space-10));
}
.article-item--right .article-grid {
    flex-direction: row-reverse;
}
.article-layout .article-grid .article-tags{
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: 14px;
    align-items: center;
}
.article-layout .article-grid .article-tags a{
    background: var(--bg-dark);
    padding: var(--space-2);
    color: var(--text-inverse);
    line-height: 1;
    font-weight: 400;
}
.article-layout .article-grid .article-right {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-block: calc(var(--space-10) + var(--space-10));
}
.article-layout .article-grid .article-right > *{
    flex: 100%;
}
.article-layout .article-grid .article-right h2 {
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    font-size: 26px;
}
.featured-content__title a,
.article-layout .article-right .article-title a{
    padding-block: var(--space-1);
    border-bottom: thin dashed var(--border-secondary);
    transition: .3s;
}
.featured-content__title a:hover,
.article-layout .article-right .article-title a:hover{
    color: var(--text-theme);
    border-bottom-color: var(--text-theme);
}
.article-layout .article-left ~ .article-right .article-excerpt {
    --line-num:2;
}
.article-layout .article-right .article-excerpt {
    --line-num:6;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}
.article-layout .article-right .article-meta {
    font-size: 12px;
    color: var(--text-tertiary);
    display: flex;
    gap: var(--space-4);
    align-items: center;
    font-weight: 400;
}
.article-header .simple-breadcrumb{
    font-size: 10px;
    color: var(--text-tertiary);
    font-weight: 600;
}
.article-header .simple-breadcrumb .separator{
    padding-inline: var(--space-1);
    color: var(--text-tertiary);
}
.article-header .simple-breadcrumb span.current,
.article-header .simple-breadcrumb a{
    color: var(--text-secondary);
}
.article-header {
    min-height: 35vh;
}
.article-header > div {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding-block: var(--space-4);
}
.article-header > div > *{
    width: fit-content;
    z-index: 1;
}
.article-header .article-header__title{
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    font-size: 28px;
    z-index: 1;
}
.article-header .meta-group {
    display: flex;
    gap: var(--space-4);
    z-index: 1;
    font-size: 14px;
    color: var(--text-tertiary);
}
.article-header__description {
    width: 100%!important;
    z-index: 1;
    background: var(--bg-light-hover);
    padding: var(--space-4) var(--space-2);
    color: var(--text-tertiary);
}
.article-header__description p{
    text-align: left;
    word-break: break-all;
    line-height: 1.8;
    font-size: 14px;
}
.article-header__description b{
    padding-inline-start: 3.5rem;
    font-family: cursive !important;
}
.article-header__description p:first-letter{
    font-size: 350%;
    font-weight: bold;
    font-style: normal;
    float: left;
    margin-inline-end: .5rem;
    line-height: .01;
    font-family: cursive !important;
}
.article-content {
    padding: var(--space-4) 0;
    border-bottom: thin dashed var(--border-secondary);
}
.article-content__main {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 17px;
}
.article-content__main > *{
    margin-block-end: var(--space-8) !important;
}
.article-content__footer .article-content__copyright {
    background: var(--bg-light-hover);
    padding: var(--space-2);
    color: var(--text-tertiary);
    text-align: left;
    word-break: break-all;
}
.article-content__footer .article-content__copyright p{
    font-size: 12px;
    color: var(--text-muted);
}
.article-content__tags {
    margin-block: var(--space-4);
    font-size: 12px;
    color: var(--text-tertiary);
    display: flex;
    gap: var(--space-4);
    align-items: center;
}
.article-content__tags a{
    transition: .3s;
}
.category-nav .category-list .category-item:hover,
.page-nav .page-list .page-item:hover,
.article-content__tags a:hover{
    color:var(--text-theme);
}
/* 评论区 */
.article-comments__body {
    padding-block: var(--space-10) 0;
}
.comments-section h3{
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    font-size: 26px;
    width: max-content;
    padding-block-end: 8px;
    border-bottom:thin dashed var(--border-secondary);
}
.comments-section__form{
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
    outline: thin dashed var(--border-secondary);
    margin-block-start: var(--space-8);
    margin-block-end: var(--space-4);
}
.comments-section__form-head{
    display: flex;
    flex-flow: wrap;
    flex: auto;
    background: var(--bg-light-muted);
}
.comments-section__form-head .form-field{
    flex: 8rem;
}
.comments-section__form-head input{
    line-height: 1.5;
    width: 100%;
    outline: none;
    color: var(--text-emphasis);
    padding: var(--space-4) var(--space-2);
    font-size: 14px;
    transition: all 0.7s ease 0s;
    border-bottom: thin dashed #0000;
}
.comments-section__form-head input:focus{
    background: var(--bg-light);
    border-bottom: thin dashed var(--border-secondary);
}
.comments-section__form-head input:not(:placeholder-shown){
    background: var(--bg-light);
    border-bottom: thin dashed var(--border-secondary);
}
.comments-section__form-body {
    flex: 100%;
}
.comments-section__form-body textarea{
    width: 100%;
    outline: none;
    min-height: 6rem;
    font-size: 15px;
    color: var(--text-primary);
    padding: var(--space-4) var(--space-2);
}
.comments-section__form-foot{
    display: flex;
    justify-content: space-between;
    flex: 100%;
    padding: var(--space-4) var(--space-2);
    font-size: 14px;
    line-height: 1;
    gap: var(--space-4);
}
.comments-section__form-foot .form-actions .form-submit{
    background: var(--bg-dark);
    padding: var(--space-2) var(--space-4);
    color: var(--text-inverse);
    border: 1px dashed #0000;
}
.form-actions .form-submit:active{
    background: var(--bg-light);
    border-color: var(--bg-dark);
    color: var(--text-theme);
}
.comments-section__form-foot .form-actions{
    display: flex;
    align-items: center;
    gap: var(--space-4);
}
.comments-list .comment-main{
    display: flex;
    gap: var(--space-2);
    align-items: baseline;
}
.comments-list .comment-item {
    list-style: none;
    margin-block: var(--space-6);
}
.comments-list .comment-right{
    display: flex;
    justify-content: flex-end;
}
.comments-list .comment-right .comment-wrapper .comment-main{
    flex-direction: row-reverse;
}
.comments-list .comment-right .comment-meta{
    margin-inline: 0 2.5rem;
    display: flex;
    justify-content: flex-end;
}
.comments-list .comment-item .comment-avatar{
    max-width: 2rem;
}
.comments-list .comment-avatar img{
    min-width: 2rem;
    max-width: 2rem;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.comments-list .comment-content .comment-content__bubble{
    transition: .3s;
}
.comments-list .comment-content .comment-content__bubble > p{
    outline: thin dashed var(--border-primary);
    padding: var(--space-2);
    border-radius: var(--border-radius);
    font-size: 14px;
    color: var(--text-secondary);
    margin-block-end: var(--space-2);
}
.comments-list .comment-content .comment-content__bubble:hover > p{
    background: var(--bg-light);
}
.comments-list .comment-meta{
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 12px;
    margin-inline-start: 2.5rem;
    margin-block-start: var(--space-1);
    color: var(--text-tertiary);
}
.comments-section__notice {
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
}
.comments-pagination {
    margin-block: var(--space-4);
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}
.comments-pagination li{
    padding: var(--space-2);
    outline: thin dashed var(--border-secondary);
    font-size: 12px;
    line-height: 1;
    color: var(--text-secondary);
    transition: .3s;
}
.comments-pagination li.active,
.comments-pagination li:hover{
    background: var(--accent-muted);
    color: var(--text-inverse);
    outline-color:var(--text-tertiary);
}

/* 内容美化 */
.article-content__main .bg-with-text {
    position: relative;
    margin-left: -50vw;
    width: 100vw;
    left: 50%;
}
.article-content__main .bg-with-text .has-background{
    background-color: #000;
    position: absolute;
    inset: 0;
    opacity: .2;
}
.article-content__main .bg-with-text .image-background{
    min-height: 90vh;
    width: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}
.article-content__main .bg-with-text .image-content{
    max-width: 85rem;
    width: 100%;
    margin: auto;
    padding: 0 var(--space-4);
    z-index: 1;
    position: absolute;
    inset: 0;
    font-size: 13px;
    font-weight: 400;
    opacity: .8;
    display: flex;
    flex-direction: column;
    color: var(--text-inverse);
    line-height: 2.5;
}
.article-content__main .gallery-grid{
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}
.article-content__main .gallery-grid .gallery-item{
    position: relative;
    flex-grow: 1;
}
.article-content__main .gallery-grid .gallery-item > figure{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    outline: thin dashed var(--text-muted);
    padding: var(--space-1);
}
.article-content__main .gallery-grid .gallery-item > figure:active img{
    border-color: var(--text-theme);
    transform: scale(0.98);
    filter: brightness(0.95);
    -webkit-filter: brightness(0.95);
}
.article-content__main .gallery-grid > * img {
    display: block;
    max-width: 100%;
    object-fit: cover;
    transition: 0.5s;
    height: 15rem;
    max-height: 32vw;
    flex-grow: 1;
}
.article-content__main .gallery-container .gallery-caption{
    position: absolute;
    margin: auto;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5rem;
    padding: 0.2rem 0.5rem;
    background: var(--bg-light-muted);
    cursor: pointer;
    inset: 0;
    top: auto;
    text-align: center;
    border-top: thin dashed var(--border-primary);
    transition: .3s;
}
.article-content__main .gallery-container .gallery-item:hover .gallery-caption{
    opacity: 0;
    z-index: -1;
}
.article-content__main figure{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 10vh;
    overflow: hidden;
}
.article-content__main figure img{
    object-fit: cover;
    transform: scale(1.1);
    transform-origin: top;
    opacity: 0;
    transition: 0.3s ease;
}
.article-content__main figure img:hover{
    filter: brightness(.9);
}
.article-content__main figure img.lazy-loaded{
    opacity: 1;
    transform:none;
}
.article-content__main figure loaed{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    width: fit-content;
    min-width: 8rem;
    height: 2rem;
    line-height: 1;
    padding: 1rem;
    margin: auto;
    gap: .5rem;
    color: var(--text-emphasis);
    outline: thin dashed var(--border-primary);
    border-radius: 2em;
    animation:.3s;
    transform-origin: center bottom;
    pointer-events: none;
    transition: all 0.5s ease 0s;
}
.article-content__main figure img.lazy-loaded ~ loaed{
    transform: scale(1.1);
    opacity: 0;
    visibility: hidden;
}
.article-content__main > blockquote{
    padding: var(--space-2);
    border: thin dashed var(--border-secondary);
    cursor: pointer;
    font-size: 14px;
}
.article-content__main > blockquote:hover{
    background: var(--bg-light-hover);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-md);
}
.article-content__main > hr{
    font-size: 12px;
    padding: 0.5rem 0;
    position: relative;
    border-bottom: thin dashed var(--border-secondary);
    margin: 3rem 0;
    border-top: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}
.article-content__main > hr:before{
    content:'分割线';
    position: absolute;
    right: 0;
    line-height: 0px;
    color:var(--text-muted);
}
.article-content__main a{
    padding-block: var(--space-1);
    border-bottom: thin dashed var(--text-theme);
    transition: .3s;
}
.article-content__main a:hover{
    color: var(--text-theme);
    border-bottom-color: var(--text-theme);
}
.article-content__main strong{
    font-weight: 600;
    color: var(--text-theme);
}
/* 轮播图 */
.article-content__main .carousel-container{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--space-4);
}
.article-content__main .carousel-content{
    max-width: 20rem;
    width:100%;
}
.article-content__main .f-carousel__slide{
    width: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.article-content__main #postCarousel {
    gap: var(--space-1);
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.article-content__main #postCarousel .f-carousel__slide img{
    height: 100%;
    width:100%;
    min-height: 22.5rem;
    max-height:55vh;
    padding: 0 var(--space-1);
}
.article-content__main #postCarousel .f-carousel__nav{
    order: 3;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.article-content__main #postCarousel .f-carousel__nav button{
    transform: scale(0.7) !important;
    background: var(--bg-light-hover);
    border-radius: 50%;
    transition: .3s;
}
.article-content__main #postCarousel .f-carousel__nav button:hover{
    background: var(--bg-light-active);
    color: var(--text-inverse);
}
.article-content__main #postCarousel .f-carousel__nav button,
.article-content__main #postCarousel .f-carousel__dots{
    position: static;
    transform: none;
    margin: 0 !important;
}
.article-content__main #postCarousel figcaption{
    margin: 0;
    flex: auto;
    text-align: center;
    font-size: 12px;
    position: absolute;
    margin: 0 var(--space-1);
    padding: 0 var(--space-2);
    color: var(--text-inverse);
    inset: 0;
    top: auto;
    background: rgb(30 41 56 / 35%);
}
/* 数字列表 */
.article-content__main ol:not([class]){
    position: relative;
    counter-reset: ol-counter;
}
.article-content__main ol li {
    position: relative;
    padding-inline: var(--space-8) 0;
    margin-block: var(--space-4);
}
.article-content__main ol:not([class]) li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--bg-light);
    color: var(--text-theme);
    border: thin dashed var(--text-theme);
    border-radius: var(--border-radius);
    transition: .3s;
}
.article-content__main ol li:hover::before {
    transform: translateY(-50%) rotate(0deg);
}
.article-content__main ol:not([class]) li::after {
    content: counter(ol-counter);
    counter-increment: ol-counter;
    position: absolute;
    left: 0;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
}
/* 普通列表 */
.article-content__main ul:not([class]) li{
    position: relative;
    padding-inline: var(--space-5) 0;
    margin-block: var(--space-4);
}
.article-content__main ul:not([class]) li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: transparent;
    border: thin dashed var(--text-theme);
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.2s ease;
}
.article-content__main ul:not([class]) li:hover::before {
    background-color: var(--text-theme);
    color: #fff;
    transform:scale(.5) translateY(-50%) rotate(45deg);
}
/* 友链页 */
.friend-link-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: var(--space-4);
    margin-block: var(--space-6);
}
.friend-link-list .friend-card {
    padding: var(--space-2);
    background: var(--bg-light-muted);
    border: thin dashed var(--border-secondary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.friend-link-list .friend-card::before {
    content: "友链";
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 10px;
    color: var(--text-tertiary);
    background: var(--bg-light-muted);
    padding-inline: var(--space-2);
    border: thin dashed var(--border-secondary);
    border-radius: var(--border-radius);
}
.friend-link-list .card-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-block-start: var(--space-2);
    padding-block-end: var(--space-2);
    border-bottom: thin dashed var(--border-secondary);
    font-size: 15px;
    color: var(--text-secondary);
}
.friend-link-list img{
    width: 100%;
    min-width: 3rem;
    max-width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius);
}
.friend-link-list .article-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-block: var(--space-2);
}
.friend-link-list .article-item {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    color: #5c544b;
}
.friend-link-list .site-title a,
.friend-link-list .article-item a{
    transition: .3s;
    border-bottom: thin dashed var(--border-secondary);
}
.friend-link-list .site-title a:hover,
.friend-link-list .article-item a:hover{
    color: var(--text-theme);
    border-bottom-color: var(--text-theme);
}
.friend-link-list .article-time {
    font-size: 10px;
    color: var(--text-tertiary);
    border: thin dashed var(--border-secondary);
    padding: 0 var(--space-1);
    border-radius: var(--border-radius);
    margin-right: var(--space-2);
    white-space: nowrap;
    flex-shrink: 0;
}
.friend-link-list .visit-btn {
    text-align: right;
}
.friend-link-list .visit-btn a {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 3px 10px;
    border: thin dashed var(--border-secondary);
    border-radius: var(--border-radius);
    display: inline-block;
    transition: .3s;
}
.friend-link-list .visit-btn a:hover {
    background: var(--bg-light);
    border-color: var(--border-primary);
}
/* 关于页面 */
.about-header{
    flex-direction: column;
}
.about-header .top-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    width:100%!important;
    padding:0 var(--space-2);
}
.about-header .top-info img{
    min-width: 5vw;
    max-width: 20rem;
}
.about-header .top-info > *{
    flex: 100%;
    text-align: center;
}
.about-header .top-info .name{
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-emphasis);
}
.about-header .top-info .tag{
    font-size: 14px;
    font-weight: 400;
    color: var(--text-theme);
}
.about-header .bio-block {
    margin: var(--space-8) auto;
    max-width: 45rem;
    padding: var(--space-4);
    font-weight: 400;
    transition: .3s;
}
.about-header .bio-block:hover{
    outline-color:var(--border-primary);
}
.about-header .bio-block .bio-title{
    color: var(--text-theme);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    font-size: 1.1em;
}
.about-header .bio-block .bio-text{
    font-size: .95em;
    line-height: 1.8;
    color: var(--text-tertiary);
    letter-spacing: 1.5pt;
}
.about-header .stats{
    flex-direction: initial;
}
.about-header .stats>div{
    display: flex;
    gap: var(--space-1);
    flex: none;
    font-size: 14px;
    color: var(--text-tertiary);
}
.about-header .stats>div span{
    font-weight: 600;
    color: var(--text-theme);
}
.about-content .social{
    position: relative;
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-block: var(--space-4) var(--space-8);
}
*[title-copy] {
    position: relative; /* 仅保留必要定位，移除overflow（hover时无需强制visible） */
}
*[title-copy]:before {
    content: attr(title-copy);
    position: absolute;
    top: -1.8em; /* 精简间距计算，直接写固定值 */
    left: 50%;
    transform: translateX(-50%) translateY(4px); /* 简化3d变换为2d，减少性能消耗 */
    padding: 2px 8px; /* 极简内边距，左右宽上下窄更紧凑 */
    background: #333; /* 纯深灰替代半透明，视觉更干净 */
    color: #fff;
    font-size: 0.85rem; /* 缩小字号更克制 */
    line-height: 1.4;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.2s ease; /* 缩短动画时长，更轻快 */
    box-shadow: none; /* 移除阴影，极致极简 */
    letter-spacing: 0;
}
*[title-copy]:hover:before {
    opacity: 1;
    transform: translateX(-50%) translateY(0); /* 仅垂直位移，更极简 */
}
/* 复制成功后的提示样式（极简反馈） */
*[title-copy].copied:before {
    content: "已复制"; /* 替换为复制成功提示 */
    background: #4a6fa5; /* 用你的主题色突出反馈 */
}
*[title-copy]:hover:before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
/* 分页 */
.pagination{
    margin: var(--space-8) 0;
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    align-items: center;
    line-height: 1;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}
.pagination a{
    transition: .3s;
    padding: var(--space-2);
    outline: thin dashed var(--border-secondary);
}
.pagination a:hover{
    color: var(--text-theme);
    outline-color: var(--border-primary);
}
/* 底部 */
.footer-main {
    padding: var(--space-4) 0;
    border-top:thin dashed var(--border-primary)
}
.footer-main{
    background: var(--bg-light-hover);
}
.footer-main .foot{
    display: flex;
    justify-content: space-between;
    gap: var(--space-2);
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 400;
}
.foot-extra{
    background:var(--bg-light);
    border-top:thin dashed var(--border-primary)
}
.foot-extra .container{
    display: flex;
    justify-content: space-between;
    gap: var(--space-2);
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 400;
    padding-block: var(--space-2);
}
/* 足迹相关 */
#cover-map {
    width: 100%;
    height: 20vh;
    min-height: 35vh;
    position: absolute;
    border-radius: var(--border-radius);
    inset: 0;
    z-index: 0;
    opacity: .8;
    mask: radial-gradient(ellipse at center, #000 0%, #0000 70%);
    -webkit-mask: radial-gradient(ellipse at center, #000 0%, #0000 70%);
    transform:translateX(calc((var(--space-2) + var(--space-4))* +8)) translateY(calc((var(--space-2) + var(--space-4))* -3));
    transition: .3s;
}
.default-marker {
    position: relative;
    cursor: pointer;
}

.marker-pin {
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    background: var(--bg-dark);
    transform: rotate(-45deg);
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.marker-pin::after {
    content: '';
    width: 14px;
    height: 14px;
    margin: 3px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
}
.marker-glow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-dark);
    opacity: 0.2;
    position: absolute;
    top: -5px;
    left: -5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.2;
    }
}
.amap-marker-label a {
    padding: 0.2rem;
    font-size: 16px;
    background: var(--bg-light);
    border-radius: 50%;
    transition: all 0.2s ease;
}
.amap-marker-label a:hover{
    color: var(--text-theme);
    rotate: 45deg;
}
#cover-map .amap-marker-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem; 
    padding: var(--space-1) var(--space-2);
    border: 0;
    color: var(--text-secondary);
    border-radius: 2em;
    background: rgb(255 255 255 / 40%);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
    opacity: 0;
    transition: .3s;
}
#cover-map .amap-marker:hover .amap-marker-label {
    opacity: 1;
}
#cover-map.full-screen,#cover-map.is-page {
	position: fixed;
    height: 100%;
    opacity: 1;
    -webkit-mask: none;
    mask: none;
    background: var(--bg-light);
    border-radius: 0;
    transform: none;
    visibility: visible;
    z-index: 7;
    inset: 0;
}
.amap-controls {
	position: absolute;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    line-height: 1;
    width: fit-content;
    inset: auto var(--space-2) var(--space-2);
    gap: 0.5rem 0;
    padding: 0.5rem 0.25rem;
    margin: auto;
    border-radius: 2em;
    background: rgb(255 255 255 / 60%);
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
    box-shadow: var(--shadow-sm);
    z-index: 7;
}
.amap-control input {
	width: 3rem;
	height: 1rem;
	margin: 0 -.5rem 0 0;
}
.amap-control,
.amap-controls :is(ul, span),
.amap-scalecontrol, 
.amap-ctrl-list-layer {
	all: unset;
}
.amap-scalecontrol {
	display: block;
	position: absolute;
	inset: -2.5rem 0 auto !important;
	margin: auto;
	width: fit-content;
	pointer-events: none;
	opacity: .7;
}
.amap-controls :is(ul, li, span) {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	margin: var(--space-1);
}
#cover-map:not(.full-screen) :is(.amap-controls, .maps-name),
.amap-copyright, .amap-logo {
	display: none !important;
}
#cover-map:not(.full-screen) .amap-controls {
	display: flex !important;
	inset: auto 0 0;
	max-width: 100%;
	width: 100%;
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: none;
	justify-content: space-between;
	z-index: 1;
}
#cover-map:not(.full-screen) .amap-toolbar span {
	-webkit-backdrop-filter: blur(1em);
	backdrop-filter: blur(1em);
}
#cover-map:not(.full-screen) .amap-scalecontrol {
	position: static;
	margin: 0 auto 0 0;
}
#cover-map:not(.full-screen) :is(.amap-ctrl-overlay-layer, .amap-ctrl-list-layer) {
	display: none;
}
.amap-toolbar span {
    font-size: 1.25em;
    width: 2em;
    height: 2em;
    padding: 0;
    line-height: 2;
    color: var(--text-secondary);
    font-weight: 400 !important;
    outline: thin dashed var(--border-primary);
    border-radius: 50% !important;
    border: 0 !important;
    user-select: none;
    margin: 0 0.25em;
    transition: .3s;
    display: inline-flex;
}
.amap-toolbar span:hover {
    color: var(--text-primary);
    outline-color: var(--text-theme);
}
.amap-ctrl-list-layer li input {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    position: relative;
    box-shadow: var(--shadow-md);
    border-radius: 2rem;
    outline: 1px dashed var(--text-theme);
}
.amap-ctrl-list-layer li input:checked {
    background: var(--text-theme);
    outline: 1px dashed var(--bg-light);
    transition: .3s;
    box-sizing: border-box;
}
.meta-group .meta-locale #cover-map-btn{
    transition: .3s;
    font-size: 12px;
    margin-inline-start: .5rem;
}
.meta-group .meta-locale:hover #cover-map-btn{
    border-radius: 50%;
    transform: scale(1.5);
}
#cover-map-btn:hover{
    color: var(--text-theme);
}
.is-page .amap-marker .cont {
    padding: 0.25rem;
    border-radius: 50% 50% 50% 0.5em;
    transform: rotate(-45deg);
    background: hsl(0 0% 100% / .6);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: .3s;
}
.is-page .amap-marker img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    object-view-box: inset(15%);
    outline: inherit;
    border-radius: 50%;
    transform: rotate(45deg);
    vertical-align: middle;
}
.is-page .amap-marker .cont:after {
    content: "";
    display: block;
    position: absolute;
    width: 2rem;
    height: 1rem;
    outline: inherit;
    background: inherit;
    box-shadow: inherit;
    border-radius: 50%;
    transform: rotate(45deg) translate(-50%,50%);
    z-index: -1;
}
.is-page .amap-info-contentContainer{
    min-width: 13.5rem;
    max-width: 15rem;
    padding: var(--space-4);
    background: rgb(255 255 255 / 80%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}
.is-page .amap-info-contentContainer .info-header{
    border-bottom: thin dashed var(--border-primary);
    padding-block-end: var(--space-2);
    font-size: 14px;
    color: var(--text-primary);
    margin-block-end: var(--space-2);
}
.is-page .amap-info-contentContainer .info-content{
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-size: 12px;
    color: var(--text-secondary);
}
.is-page .amap-info-contentContainer .info-content .info-item {
    flex: 100%;
}
.is-page .amap-info-contentContainer .info-footer {
    width: 100%;
    text-align: center;
    margin-block-start: var(--space-4);
    font-size: 12px;
    outline: thin dashed var(--border-primary);
    padding: var(--space-1);
    border-radius: 2rem;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.is-page .amap-info-contentContainer .info-footer:hover {
    color: var(--text-theme);
    outline-color: var(--text-theme)
}
.is-page .amap-info-contentContainer .info-footer button{
    padding: 0.2rem;
    font-size: 16px;
    background: var(--bg-light);
    border-radius: 50%;
    transition: all 0.2s ease;
}
.is-page .amap-info-contentContainer .info-footer:hover button{
    color: var(--text-theme);
    rotate: 45deg;
}
.is-page .cluster-num {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-theme);
    font-size: 12px;
    min-width: var(--height);
    height: var(--height);
    border-radius: calc(var(--height) / 2);
    box-shadow: var(--shadow-sm);
    background: rgb(255 255 255 / 60%);
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
    outline: thin dashed var(--text-theme);
    transition: .3s;
}
.is-page .cluster-num:hover{
    color: #fff;
    background: var(--text-theme);
    outline-color: #fff;
}
@media (width <= 900px){
    .featured-content__grid{
        display: flex;
        padding-block: var(--space-10);
        flex-direction: column-reverse;
    }
    .featured-content__left h2,
    .featured-content__tags,
    .article-layout .article-grid .article-right h2,
    .article-layout .article-grid .article-tags{
        text-align: center;
        justify-content: center;
    }
    .featured-content__right{
        width: 100%;
        padding-block: 0 var(--space-4);
    }
    .featured-content__image{
        width: auto;
        height:10rem;
    }
    .article-layout .article-grid{
        flex-direction: column;
    }
    .article-item--left .article-grid .article-left,
    .article-item--right .article-grid .article-left{
        width: 100%;
        padding-inline:0;
        padding-block-end:0;
        border: none;
        padding-block:var(--space-10) 0;
    }
    .article-layout .article-grid .article-right{
        padding-block-start: var(--space-4);
    }
    .article-layout .article-image {
        width: 100%;
        height: 8rem;
    }
}
@media (width <= 600px){
    .mobile-nav{
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9;
        transition: .3s;
        box-shadow: var(--shadow-lg);
        border-top: thin dashed var(--border-secondary);
    }
    .scroll-container {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .scrolled-down .mobile-nav {
        transform: translateY(3.5rem);
    }
    .page-nav .page-list{
        border-top: thin dashed var(--border-secondary);
    }
    .category-nav,.page-nav .page-list{
        border-bottom: none;
    }
    .page-nav .page-list,.category-nav .category-list{
        justify-content: flex-start;
    }
    .foot-extra{
        margin-block-end: 3.5rem;
    }
    .friend-link-list{
        grid-template-columns: repeat(1,minmax(0,1fr));
    }
    .article-content__main .carousel-container{
        flex-direction: column;
        align-items: baseline;
    }
    
}
@media (width <= 426px){
    #cover-map{
        transform: translateY(calc((var(--space-2) + var(--space-4))* -3.5));
        opacity: .5;
    }
    .article-header .meta-group{
        scroll-snap-type: x mandatory;
        scroll-padding: 1rem;
        overflow: scroll visible;
        scrollbar-width: none;
    }
    .article-header .meta-group > span{
        flex: 1 0 auto;
    }
}









