:root {
    /* 背景色 */
    --gt-body-bg: #e8eaed;
    --gt-card-bg: #fff;
    --gt-bg-fa: #fafafa;
    --gt-bg-f5: #f5f5f5;
    --gt-white-color: #ffffff;
    --gt-header-bg: rgba(255, 255, 255, 0.95);
    --gt-footer-bg: #f8f9fa;
    
    /* 文字色 - 静态定义（浅色/深色模式各自独立） */
    --gt-text-secondary: rgba(52, 73, 94, 0.66);
    --gt-text-muted: rgba(52, 73, 94, 0.56);
    
    /* 边框色 */
    --gt-border-color: rgba(50, 83, 180, 0.1);
    --gt-border-light: rgba(52, 73, 94, 0.16);
    
    /* 阴影 */
    --gt-box-shadow: 0 3px 8px 6px rgba(7, 17, 27, 0.05);
    --gt-header-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
    --gt-footer-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    
    /* 布局 */
    --gt-header-height: 72px;

    /* 动画效果 */
    --gt-img-hover-scale: 1.05;
    --gt-card-hover-lift: -5px;
    
    /* 状态色 */
    --gt-info: #1890ff;
    --gt-info-hover: rgba(24, 144, 255, 0.09);
    --gt-success: #01C4B6;
    --gt-success-hover: rgba(1, 196, 182, 0.09);
    --gt-warning: #DD8636;
    --gt-warning-hover: rgba(221, 134, 54, 0.09);
    --gt-error: #DE3C3D;
    --gt-error-hover: rgba(222, 60, 61, 0.09);
    --gt-import: #FF69B4;
    --gt-import-hover: rgba(255, 105, 180, 0.09);
    
    /* 代码块 - 共享变量 */
    --gt-code-radius: var(--gt-main-radius);
    --gt-code-font: 'Cascadia Code', 'Source Code Pro', 'Fira Code', Consolas, monospace;
    --gt-code-font-size: 14px;
    --gt-code-line-height: 1.6;
    --gt-code-decoration-color: #ff5f56;
    --gt-code-decoration-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f;
    --gt-code-lang-font: system-ui, -apple-system, sans-serif;
    
    /* 代码块 - 浅色模式 */
    --gt-code-bg: #ffffff;
    --gt-code-border: #e1e4e8;
    --gt-code-color: #24292e;
    --gt-code-lang-color: #6a737d;
    
    /* 语法高亮 - 浅色模式 */
    --gt-hl-keyword: #d73a49;
    --gt-hl-built-in: #005cc5;
    --gt-hl-string: #032f62;
    --gt-hl-number: #005cc5;
    --gt-hl-function: #6f42c1;
    --gt-hl-variable: #24292e;
    --gt-hl-comment: #6a737d;
    --gt-hl-tag: #22863a;
    --gt-hl-addition-bg: #f0fff4;
    --gt-hl-deletion-bg: #ffeef0;
    
    /* 层级 */
    --z-header: 500;
    --z-dropdown: 150;
    --z-overlay: 200;
    --z-modal: 300;
    --z-search-modal: 310;
    --z-mobile-sidebar: 900;
    --z-auth-modal: 999;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0
}

del {
    text-decoration: line-through
}

html:focus-within {
    scroll-behavior: smooth
}

a:not([class]) {
    text-decoration-skip-ink: auto
}

input,
button,
textarea,
select {
    font: inherit
}

* {
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    outline: none
}

::selection,
::-webkit-selection {
    color: #fff;
    background: var(--gt-main-color-88)
}

html {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 16px;
    font-weight: 400
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100vw;
    min-height: 100vh;
    color: var(--gt-font-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    background: var(--gt-body-bg);
    overflow-x: hidden
}

a {
    color: var(--gt-font-color);
    text-decoration: none;
    transition: color 0.18s ease-in-out
}

a:hover {
    color: var(--gt-main-color)
}

img {
    max-width: 100%;
    user-select: none;
    -webkit-user-drag: none
}

img[data-src]:not(.lazyloaded),
img.lazyload:not(.lazyloaded) {
    filter: blur(0.88rem) brightness(1);
    transition: filter 0.18s ease-in
}

img.lazyloaded {
    filter: none
}

.gt-hover:hover {
    color: var(--gt-main-color)
}

.gt-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-all
}

.gt-ellipsis:not([class*="line-"]) {
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gt-ellipsis.line-2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    white-space: normal
}

.gt-ellipsis.line-3 {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    white-space: normal
}

header.gt-header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: var(--gt-header-height);
    background: 0 0;
    box-shadow: none;
    transition: transform 0.3s ease-in-out;
    z-index: var(--z-header);
    transform: translateY(0);
    pointer-events: none
}

header.gt-header>section {
    margin: 0.5rem auto 0;
    padding: 0 0.298rem;
    width: 100%;
    max-width: var(--gt-main-max-width);
    height: calc(var(--gt-header-height) - 0.5rem);
    background: color-mix(in srgb, var(--gt-card-bg) 75%, transparent);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-radius: calc(var(--gt-main-radius) * var(--gt-nav-radius-multiplier, 2));
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(255, 255, 255, .4);
    pointer-events: auto;
    display: flex;
    align-items: center
}

[data-theme="dark"] header.gt-header>section {
    background: color-mix(in srgb, var(--gt-card-bg) 70%, transparent);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .08)
}

body.header-hidden header.gt-header {
    transform: translateY(-100%)
}

header.gt-header .home,
header.gt-header .site-logo {
    flex-shrink: 0;
    padding: 0.266rem 0 0.266rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.618rem;
    color: var(--gt-font-color)
}

header.gt-header .home a,
header.gt-header .site-logo a {
    display: flex;
    align-items: center;
}

header.gt-header .home img,
header.gt-header .site-logo img,
header.gt-header .home span,
header.gt-header .site-logo span {
    display: block;
}

header.gt-header .home img,
header.gt-header .site-logo img {
    height: 2.5rem;
}

header.gt-header .home span,
header.gt-header .site-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

header.gt-header .nav-center {
    flex: 1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.18rem;
    height: 100%;
    margin: 0
}

header.gt-header .nav-link {
    padding: 0.288rem 0.36rem;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--gt-font-color);
    user-select: none;
    cursor: pointer;
    transition: all 0.18s;
    border: none;
    background: none
}

header.gt-header .nav-link:hover {
    color: var(--gt-main-color)
}

header.gt-header .nav-center .nav-link {
    white-space: nowrap
}

header.gt-header .nav-center .nav-link i {
    transition: transform 0.18s
}

header.gt-header .nav-center .nav-dropdown:hover .nav-link i {
    transform: rotate(180deg)
}

header.gt-header .nav-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.88rem;
    margin-left: auto
}

header.gt-header .nav-right .nav-link:last-child {
    padding-right: 0.6rem
}

header.gt-header .menu-btn {
    display: none
}

header.gt-header .menu-btn i {
    display: block;
    font-size: 1.5rem;
    color: var(--gt-main-color)
}

header.gt-header .nav-right .nav-link i {
    display: block;
    font-size: 1.35rem;
    color: var(--gt-main-color)
}

header.gt-header .menu-btn.active i:first-child {
    display: none
}

header.gt-header .menu-btn.active i:last-child {
    display: block !important
}

main.main {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 200px);
    overflow: visible
}

main.main>.main-inner {
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    padding-top: calc(var(--gt-header-height) + 0.5rem);
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    max-width: var(--gt-main-max-width);
    min-height: calc(100vh - 200px);
    z-index: 1
}

main.main>.main-inner.aside-right {
    flex-direction: row
}

main.main>.main-inner.aside-left {
    flex-direction: row-reverse
}

main.main>.main-inner>.main-inner-content {
    flex: 1 1 0%;
    box-sizing: border-box;
    padding: 0.5rem 0.298rem 0.88rem;
    width: 100%;
    min-width: 0;
    height: max-content;
    overflow: hidden
}

aside.gt-aside {
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    padding: 2rem 0.298rem 0.88rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: var(--gt-aside-width);
    height: auto
}

.main-inner.home-page aside.gt-aside {
    padding: 0.75rem 0.298rem 0.88rem;
}

aside.gt-aside>.sticky-aside {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    flex-grow: 1;
}

aside.gt-aside>.sticky-aside>.gt-aside-item:last-child {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--gt-header-height) + 1rem);
    z-index: 10;
}

.main-inner.home-page aside.gt-aside>.sticky-aside>.gt-aside-item:last-child {
    top: calc(var(--gt-header-height) + 0.75rem);
}

.gt-aside-item {
    position: relative;
    box-sizing: border-box;
    padding: 1.28rem 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    height: max-content;
    border-radius: var(--gt-main-radius);
    background: var(--gt-card-bg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    isolation: isolate;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}

.gt-aside-item::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow: -22px 0 0 #ffbd2e, -44px 0 0 #27c93f;
    z-index: 2;
}

.gt-aside-item:hover {
    transform: translateY(var(--gt-card-hover-lift)) !important;
}

.gt-aside-item.user {
    padding: 1.88rem 0;
    align-items: center;
    position: relative;
    overflow: hidden
}

.gt-aside-item.user.has-bg-image {
    padding-top: 140px
}

.gt-aside-item.user .gt-aside-user-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--gt-main-radius) var(--gt-main-radius) 0 0
}

.gt-aside-item.user .gt-aside-user-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.gt-aside-item.user .gt-aside-user-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gt-card-bg))
}

.gt-aside-item.user.has-bg-image .gt-aside-avatar {
    position: relative;
    margin-top: -60px;
    z-index: 2
}

.gt-aside-item:not(.user) .sky-h3 {
    font-size: 1rem;
    margin: -0.5rem 0 0.5rem 0;
    line-height: 14px;
    color: var(--gt-font-color);
    font-weight: 600;
    padding: 0;
    position: relative;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    vertical-align: middle
}

.gt-aside-item:not(.user) .sky-h3 i {
    font-size: 16px;
    display: inline-block;
    vertical-align: middle
}

.gt-aside-item.user .gt-aside-avatar {
    position: relative;
    width: 6.36rem;
    height: 6.36rem;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden
}

.gt-aside-item.user .gt-aside-author {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0
}

.gt-aside-item.user .gt-aside-bio {
    font-size: 0.875rem;
    color: var(--gt-font-66);
    text-align: center;
    padding: 0 1rem;
    margin-top: 0.5rem;
    line-height: 1.5
}

.gt-aside-item.tags .gt-aside-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.68rem 1rem;
    width: 100%;
    height: max-content;
    max-height: 18.88rem;
    overflow-x: hidden;
    overflow-y: auto
}

.gt-aside-item.tags .gt-aside-tags a {
    display: flex;
    align-items: center;
    gap: 0.18rem;
    width: max-content;
    height: max-content
}

.gt-aside-item.tags .gt-aside-tags a:hover span {
    color: var(--gt-main-color)
}

.gt-aside-item.tags .gt-aside-tags a span {
    box-sizing: border-box;
    width: max-content;
    font-size: 0.8rem;
    line-height: 1.5;
    transition: color 0.18s ease-in-out;
    overflow: hidden
}

.gt-aside-item.tags .gt-aside-tags a em {
    color: var(--gt-font-28);
    font-size: 0.688rem;
    font-style: normal
}

.gt-aside-item.articles .gt-aside-articles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    height: max-content;
    overflow: hidden
}

/* 边栏最新评论 */
.gt-aside-item.recent-comments .gt-aside-comments {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    height: max-content;
    overflow: hidden
}

.gt-aside-item.recent-comments .gt-aside-comment-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--gt-main-radius);
    transition: background-color 0.18s ease-in-out;
    text-decoration: none
}

.gt-aside-item.recent-comments .gt-aside-comment-item:hover {
    background-color: var(--gt-main-color-6)
}

.gt-aside-item.recent-comments .gt-aside-comment-avatar {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover
}

.gt-aside-item.recent-comments .gt-aside-comment-content {
    flex: 1;
    min-width: 0
}

.gt-aside-item.recent-comments .gt-aside-comment-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
    font-size: 0.75rem
}

.gt-aside-item.recent-comments .gt-aside-comment-author {
    font-weight: 500;
    color: var(--gt-font-color)
}

.gt-aside-item.recent-comments .gt-aside-comment-time {
    color: var(--gt-font-56)
}

.gt-aside-item.recent-comments .gt-aside-comment-text {
    font-size: 0.8125rem;
    color: var(--gt-font-66);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5
}

/* 带封面的边栏文章样式 */
.gt-aside-item.articles .gt-aside-articles.gt-aside-articles-cover .gt-aside-article-item {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0.12rem;
    overflow: hidden;
    border-radius: var(--gt-main-radius);
    background-color: transparent;
    transition: all 0.3s ease;
}

.gt-aside-item.articles .gt-aside-articles.gt-aside-articles-cover .gt-aside-article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gt-aside-item.articles .gt-aside-articles.gt-aside-articles-cover .gt-aside-article-item:last-child {
    margin-bottom: 0;
}

.gt-aside-item.articles .gt-aside-articles.gt-aside-articles-cover .gt-aside-article-cover {
    position: relative;
    width: 100%;
    height: 8.88rem;
    overflow: hidden;
}

.gt-aside-item.articles .gt-aside-articles.gt-aside-articles-cover .gt-aside-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gt-aside-item.articles .gt-aside-articles.gt-aside-articles-cover .gt-aside-article-item:hover .gt-aside-article-img {
    transform: scale(var(--gt-img-hover-scale));
}

.gt-aside-item.articles .gt-aside-articles.gt-aside-articles-cover .gt-aside-article-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--gt-white-color);
}

.gt-aside-item.articles .gt-aside-articles.gt-aside-articles-cover .gt-aside-article-title {
    margin: 0 0 0.36rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gt-white-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gt-aside-item.articles .gt-aside-articles.gt-aside-articles-cover .gt-aside-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.688rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 边栏文章元信息 */
.gt-aside-article-views,
.gt-aside-article-time {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    vertical-align: middle;
    line-height: 1;
}

.gt-aside-article-views i,
.gt-aside-article-time i {
    display: inline-block;
    vertical-align: middle;
    font-size: 11px
}

/* 纯文字边栏文章样式 */
.gt-aside-articles-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gt-aside-article-text-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--gt-main-radius);
    background: var(--gt-card-bg);
    border: 1px solid rgba(var(--gt-main-rgb), 0.08);
    transition: all 0.3s ease;
}

.gt-aside-article-text-item:hover {
    background: rgba(var(--gt-main-rgb), 0.05);
    border-color: rgba(var(--gt-main-rgb), 0.15);
    transform: translateX(4px);
}

.gt-aside-article-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    background: linear-gradient(135deg, var(--gt-main-color, #6c5ce7), var(--gt-main-color-light, #a29bfe));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* 序号颜色循环 - 12色循环支持任意数量的文章 */
/* 第2个：红色 */
.gt-aside-article-text-item:nth-child(12n+2) .gt-aside-article-rank {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
}

/* 第3个：橙色 */
.gt-aside-article-text-item:nth-child(12n+3) .gt-aside-article-rank {
    background: linear-gradient(135deg, #feca57, #ff9f43);
}

/* 第4个：黄色 */
.gt-aside-article-text-item:nth-child(12n+4) .gt-aside-article-rank {
    background: linear-gradient(135deg, #fdcb6e, #f39c12);
}

/* 第5个：绿色 */
.gt-aside-article-text-item:nth-child(12n+5) .gt-aside-article-rank {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
}

/* 第6个：青色 */
.gt-aside-article-text-item:nth-child(12n+6) .gt-aside-article-rank {
    background: linear-gradient(135deg, #00cec9, #01a3a4);
}

/* 第7个：蓝色 */
.gt-aside-article-text-item:nth-child(12n+7) .gt-aside-article-rank {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
}

/* 第8个：靛蓝 */
.gt-aside-article-text-item:nth-child(12n+8) .gt-aside-article-rank {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

/* 第9个：紫色 */
.gt-aside-article-text-item:nth-child(12n+9) .gt-aside-article-rank {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

/* 第10个：粉色 */
.gt-aside-article-text-item:nth-child(12n+10) .gt-aside-article-rank {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

/* 第11个：玫红 */
.gt-aside-article-text-item:nth-child(12n+11) .gt-aside-article-rank {
    background: linear-gradient(135deg, #e17055, #d63031);
}

/* 第12个：薄荷绿 */
.gt-aside-article-text-item:nth-child(12n+12) .gt-aside-article-rank {
    background: linear-gradient(135deg, #55efc4, #00b894);
}

.gt-aside-article-text-title {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gt-font-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gt-aside-article-text-item:hover .gt-aside-article-text-title {
    color: var(--gt-main-color);
}

.article-list-main {
    position: relative;
    box-sizing: border-box;
    padding-bottom: 0.88rem;
    width: 100%;
    max-width: var(--gt-main-max-width);
    margin: 0 auto 0;
    height: max-content;
}

.article-list-main>section.article-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
    height: max-content;
}
/* 根据data-grid属性显示不同列数 */
.article-list-main>section.article-list[data-grid="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.gt-article-item {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: max-content;
    border: solid 1px rgba(var(--gt-main-rgb), 0.1);
    border-radius: var(--gt-main-radius);
    background: var(--gt-card-bg);
    overflow: hidden;
    transition: all 0.3s ease;
    isolation: isolate;
    cursor: pointer
}

.gt-article-item:hover {
    transform: translateY(var(--gt-card-hover-lift)) !important;
}

.gt-article-item:hover .gt-article-banner img {
    transform: scale(var(--gt-img-hover-scale))
}

/* 置顶标识基础样式 */
.gt-article-item.active::before,
.gt-recommend-top-badge {
    position: absolute;
    top: 0.8rem;
    left: -0.3rem;
    box-sizing: border-box;
    padding: 0.18rem 1rem;
    width: max-content;
    height: max-content;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border-radius: 0.66rem;
    transform: rotate(-45deg);
    background: rgba(255, 0, 0, 0.8);
    box-shadow: 0 2rem 1rem rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.gt-article-item.active::before {
    content: "置顶";
}

.gt-recommend-top-badge {
    transition: all 0.3s ease;
}

.gt-article-item.active .gt-article-banner::before,
.gt-recommend-card.active .gt-recommend-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.06);
    z-index: 1;
    pointer-events: none
}

.gt-article-item .gt-article-banner {
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden
}

.gt-article-item .gt-article-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease
}

.gt-article-item .gt-article-banner .banner-cat {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    padding: 0.1rem 0.3rem;
    background-color: var(--gt-main-color);
    color: var(--gt-white-color);
    border: 0.5px solid var(--gt-main-color);
}



.gt-article-item > header {
    box-sizing: border-box;
    padding: 0.5rem 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    height: max-content
}

.gt-article-item>header>div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    height: max-content;
    margin: 0;
    font-weight: normal
}

.gt-article-item .gt-article-cat {
    box-sizing: border-box;
    width: max-content;
    background-color: var(--gt-main-color);
    color: var(--gt-white-color);
    padding: 0.05rem 0.2rem;
    margin-right: 0.1rem;
    border: 0.5px solid var(--gt-main-color);
    border-radius: 0.15rem;
    font-size: 0.688rem;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
}

.gt-article-item .gt-article-taglist .gt-article-cat {
    margin-right: 0.28rem;
}

.gt-article-item>header>div:first-child time {
    box-sizing: border-box;
    font-weight: 400;
    color: var(--gt-font-56);
    width: max-content;
    margin-left: auto
}

.gt-article-item>header .title {
    box-sizing: border-box;
    width: 100%;
    height: max-content;
    overflow: hidden;
    margin: 0;
    font-size: 0.81rem;
    font-weight: 600
}

.gt-article-item>header .title a {
    font-weight: 600;
    font-size: 0.81rem;
    color: var(--gt-font-color);
    transition: color 0.18s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4
}

.gt-article-item>header .title a:hover {
    color: var(--gt-main-color)
}

.gt-article-item .gt-article-excerpt {
    box-sizing: border-box;
    padding: 0 0.5rem;
    width: 100%;
    height: max-content;
    color: var(--gt-font-66);
    font-size: 0.788rem;
    font-weight: 400;
    letter-spacing: 0.88px;
    line-height: 0.9rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(0.9rem * 1);
}

.gt-article-item .gt-article-tags,
.gt-article-item .gt-article-taglist {
    box-sizing: border-box;
    padding: 0.1rem 0.5rem;
    width: 100%;
    height: max-content;
    font-weight: normal;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-top: auto;
    padding-bottom: 0.5rem;
}

/* 标签基础样式（网格布局） */
.gt-article-item .gt-article-tag {
    position: relative;
    box-sizing: border-box;
    margin-right: 0.2rem;
    padding: 0 0.3125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    flex-shrink: 0;
    max-width: 100%;
    height: 1rem;
    color: var(--gt-main-color);
    border-radius: 0.28rem;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.2;
    transition: color 0.288s ease-in-out;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1;
    vertical-align: middle;
}

/* 单列布局标签字体大小 */
.article-list.single-column .gt-article-tag {
    font-size: 0.78rem;
}

.gt-article-item .gt-article-tag::before,
.gt-article-item .gt-article-tag::after,
article.gt-article-main>.article-content-container .tag-list a::before,
article.gt-article-main>.article-content-container .tag-list a::after {
    content: '';
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: width 0.288s ease-in-out;
    background-color: var(--gt-main-color-16);
}

.gt-article-item .gt-article-tag::after,
article.gt-article-main>.article-content-container .tag-list a::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* 标签颜色 - 6种不同颜色循环 */
.gt-article-item .gt-article-tag.tag-1,
article.gt-article-main>.article-content-container .tag-list a.tag-1 { color: var(--gt-main-color); }
.gt-article-item .gt-article-tag.tag-1::after,
article.gt-article-main>.article-content-container .tag-list a.tag-1::after { background-color: var(--gt-main-color-10); }
.gt-article-item .gt-article-tag.tag-1:hover::before,
article.gt-article-main>.article-content-container .tag-list a.tag-1:hover::before { background-color: var(--gt-main-color-10); }

.gt-article-item .gt-article-tag.tag-2,
article.gt-article-main>.article-content-container .tag-list a.tag-2 { color: var(--gt-info); }
.gt-article-item .gt-article-tag.tag-2::after,
article.gt-article-main>.article-content-container .tag-list a.tag-2::after { background-color: var(--gt-info-hover); }
.gt-article-item .gt-article-tag.tag-2:hover::before,
article.gt-article-main>.article-content-container .tag-list a.tag-2:hover::before { background-color: var(--gt-info-hover); }

.gt-article-item .gt-article-tag.tag-3,
article.gt-article-main>.article-content-container .tag-list a.tag-3 { color: var(--gt-success); }
.gt-article-item .gt-article-tag.tag-3::after,
article.gt-article-main>.article-content-container .tag-list a.tag-3::after { background-color: var(--gt-success-hover); }
.gt-article-item .gt-article-tag.tag-3:hover::before,
article.gt-article-main>.article-content-container .tag-list a.tag-3:hover::before { background-color: var(--gt-success-hover); }

.gt-article-item .gt-article-tag.tag-4,
article.gt-article-main>.article-content-container .tag-list a.tag-4 { color: var(--gt-warning); }
.gt-article-item .gt-article-tag.tag-4::after,
article.gt-article-main>.article-content-container .tag-list a.tag-4::after { background-color: var(--gt-warning-hover); }
.gt-article-item .gt-article-tag.tag-4:hover::before,
article.gt-article-main>.article-content-container .tag-list a.tag-4:hover::before { background-color: var(--gt-warning-hover); }

.gt-article-item .gt-article-tag.tag-5,
article.gt-article-main>.article-content-container .tag-list a.tag-5 { color: var(--gt-error); }
.gt-article-item .gt-article-tag.tag-5::after,
article.gt-article-main>.article-content-container .tag-list a.tag-5::after { background-color: var(--gt-error-hover); }
.gt-article-item .gt-article-tag.tag-5:hover::before,
article.gt-article-main>.article-content-container .tag-list a.tag-5:hover::before { background-color: var(--gt-error-hover); }

.gt-article-item .gt-article-tag:hover,
article.gt-article-main>.article-content-container .tag-list a:hover {
    color: var(--gt-main-color);
}

.gt-article-item .gt-article-tag:hover::before,
article.gt-article-main>.article-content-container .tag-list a:hover::before {
    width: 100%;
    left: 0;
    right: auto;
}

.gt-article-item .gt-article-tag:hover::after,
article.gt-article-main>.article-content-container .tag-list a:hover::after {
    width: 0;
    right: 0;
    left: auto;
}

/* 文章卡片元信息 */
.gt-article-item .gt-article-taglist > time.sky-h6,
.gt-article-item .gt-article-taglist > span.sky-h6 {
    box-sizing: border-box;
    margin-right: 0.28rem;
    color: var(--gt-font-66);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    vertical-align: middle;
    transition: color 0.18s;
    white-space: nowrap;
}

.gt-article-item .gt-article-taglist > time.sky-h6:last-child,
.gt-article-item .gt-article-taglist > span.sky-h6:last-child {
    margin-right: 0;
}

/* 文章列表点赞和评论图标 */
.gt-article-item .gt-article-likes i,
.gt-article-item .gt-article-comments i {
    display: inline-block;
    vertical-align: middle;
    color: var(--gt-font-56);
    opacity: 0.8;
    font-size: 12px
}

/* 单列布局电脑端元信息间距 */
.article-list.single-column .gt-article-taglist > time.sky-h6,
.article-list.single-column .gt-article-taglist > span.sky-h6 {
    margin-right: 0.8rem;
}

.article-list.single-column .gt-article-taglist > time.sky-h6:last-child,
.article-list.single-column .gt-article-taglist > span.sky-h6:last-child {
    margin-right: 0;
}

/* 单列布局手机端元信息间距 */
@media screen and (max-width: 768px) {
    .article-list.single-column .gt-article-taglist > time.sky-h6,
    .article-list.single-column .gt-article-taglist > span.sky-h6 {
        margin-right: 0.28rem;
    }
}

.gt-author-mini-avatar {
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--gt-bg-f5);
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
}

.article-meta-item .gt-author-mini-avatar {
    width: 1.4rem;
    height: 1.4rem;
    vertical-align: middle;
}

.gt-article-item .gt-author-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gt-font-color)
}

.gt-article-item .gt-author-link:hover {
    color: var(--gt-main-color)
}

.gt-article-item .gt-article-views i {
    display: inline-block;
    vertical-align: middle;
    color: var(--gt-font-56);
    font-size: 12px
}

.gt-article-item .gt-article-tag:last-of-type {
    margin-right: 0
}

section.gt-art-page {
    position: relative;
    box-sizing: border-box;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    height: max-content;
    overflow: hidden;
    margin-top: 1rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

article.gt-article-main {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: max-content
}

article.gt-article-main>header {
    box-sizing: border-box;
    padding: 1.25rem 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: max-content;
    background-color: var(--gt-card-bg);
    border-top-left-radius: var(--gt-main-radius);
    border-top-right-radius: var(--gt-main-radius);
    box-shadow: none;
    overflow: hidden
}

article.gt-article-main>header h1 {
    width: 100%;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0
}

article.gt-article-main>header .article-meta {
    display: flex;
    margin-top: 0.88rem
}

article.gt-article-main>header .article-meta-left {
    display: flex;
    align-items: center
}

article.gt-article-main>header #article-views {
    white-space: nowrap;
    font-size: 0.8rem;
    color: var(--gt-font-88)
}

article.gt-article-main>header #article-views i {
    margin-right: 2px
}

article.gt-article-main>header .article-author-box {
    display: flex;
    align-items: center;
    gap: 0.5rem
}

article.gt-article-main>header .article-author-avatar {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0
}

article.gt-article-main>header .article-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: var(--gt-bg-f5)
}

article.gt-article-main>header .article-author-info {
    display: flex;
    flex-direction: column
}

article.gt-article-main>header .article-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gt-font-color)
}

article.gt-article-main>header .article-author-name:hover {
    color: var(--gt-main-color)
}

article.gt-article-main>header .article-publish-time {
    display: flex;
    align-items: center;
    gap: 0.288rem;
    font-size: 0.8rem;
    color: var(--gt-font-88)
}

article.gt-article-main>header .article-publish-time .time-separator {
    color: var(--gt-font-28)
}

article.gt-article-main>.article-content-container {
    box-sizing: border-box;
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: max-content;
    background-color: var(--gt-card-bg);
    border-bottom-left-radius: var(--gt-main-radius);
    border-bottom-right-radius: var(--gt-main-radius);
    box-shadow: none;
    overflow: hidden
}

article.gt-article-main>.article-content-container .tag-list {
    margin-top: 2rem;
    position: relative;
    box-sizing: border-box;
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
    width: 100%
}

article.gt-article-main>.article-content-container .tag-list a {
    position: relative;
    box-sizing: border-box;
    padding: 0 0.3125rem;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    width: max-content;
    height: 1.5rem;
    color: var(--gt-main-color);
    border-radius: 0.28rem;
    font-size: 0.76rem;
    transition: color 0.288s ease-in-out;
    overflow: hidden;
    z-index: 1
}





article.gt-article-main>.article-content-container .tag-list a i {
    height: 0.8rem;
    width: auto;
    object-fit: contain
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    display: inline-block;
    box-sizing: border-box;
    margin: 1.666rem 0 0.36rem;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    word-break: break-all;
    color: var(--gt-font-color)
}

.article-content h1:hover::before,
.article-content h2:hover::before,
.article-content h3:hover::before,
.article-content h4:hover::before {
    color: var(--gt-main-color-88)
}

.article-content h1 {
    margin: 0;
    padding-bottom: 1rem;
    font-size: 1.58rem
}

.article-content h1::before {
    display: none
}

.article-content h2 {
    font-size: 1.5rem;
    position: relative;
    padding-left: 1.25rem;
    color: var(--gt-font-color)
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1em;
    width: 4px;
    background-color: var(--gt-main-color);
    border-radius: 2px
}

.article-content h3 {
    font-size: 1.25rem;
    position: relative;
    display: inline-block;
    width: auto;
    padding-bottom: 0.25rem;
    margin-bottom: 0.5rem;
    color: var(--gt-font-color)
}

.article-content p,
.article-content ul:not(.gt-comment ul),
.article-content ol:not(.gt-comment ol) {
    padding: 0.618rem 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gt-font-color)
}

.article-content ul:not(.gt-comment ul) li,
.article-content ol:not(.gt-comment ol) li {
    color: var(--gt-font-66);
    font-size: 0.875rem;
    line-height: 1.6
}

.article-content a{color:var(--gt-main-color)}
.article-content a:hover{color:var(--gt-main-color-88)}

.article-content ul:not(.gt-comment ul),
.article-content ol:not(.gt-comment ol) {
    box-sizing: border-box;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: disc
}

.article-content ol:not(.gt-comment ol) {
    list-style: decimal
}

.article-content blockquote {
    margin: 1rem 0 1.618rem;
    padding: 0 0.88rem;
    border-left: 0.288rem solid var(--gt-main-color);
    background-color: var(--gt-main-color-10);
    border-radius: 0.618rem
}

.article-content blockquote p {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.58rem;
    color: var(--gt-font-color)
}

.article-content table {
    box-sizing: border-box;
    margin: 1rem 0;
    width: 100%;
    border-spacing: 0;
    font-size: 0.9rem;
    background-color: var(--gt-card-bg);
    border: 1px solid var(--gt-font-16);
    border-radius: 0.38rem;
    overflow: hidden
}

.article-content table a {
    color: var(--gt-main-color)
}

.article-content table th {
    background-color: var(--gt-font-6);
    padding: 0.75rem;
    border-bottom: solid 1px var(--gt-font-16);
    border-right: solid 1px var(--gt-font-16);
    color: var(--gt-font-color)
}

.article-content table th:last-of-type {
    border-right: none
}

.article-content table td {
    padding: 0.618rem 0.75rem;
    vertical-align: top;
    border-bottom: solid 1px var(--gt-font-16);
    border-right: solid 1px var(--gt-font-16);
    color: var(--gt-font-color)
}

.article-content table td:last-of-type {
    border-right: none
}

.article-content table tr:last-of-type td {
    border-bottom: none
}

.article-content table tr:hover {
    background-color: rgba(242, 242, 242, 0.4)
}

.article-content img {
    display: block;
    margin: 0 auto
}

.article-content img.gt-article-img {
    box-sizing: border-box;
    padding: 0.36rem;
    width: max-content;
    max-width: 100%;
    max-height: 36rem;
    border: solid 1px var(--gt-font-16);
    border-radius: 5px;
    cursor: zoom-in
}

.article-content img.gt-article-img:not(.loaded) {
    width: 100%
}

.article-excerpt {
    margin: 1.25rem 0;
    padding: 1rem;
    background: var(--gt-card-bg);
    border: 1px solid var(--gt-border-color, rgba(0, 0, 0, 0.1));
    border-radius: var(--gt-main-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1)
}

.article-excerpt-title {
    margin-bottom: 0.5rem;
    color: var(--gt-font-color);
    font-size: 0.85rem;
    font-weight: 600
}

.article-excerpt-content {
    text-align: left;
    color: var(--gt-font-color);
    line-height: 1.7
}

pre,
code {
    font-family: var(--gt-code-font);
    font-size: inherit
}

.article-content code {
    background-color: var(--gt-font-16);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem
}

pre.gt-code-block {
    position: relative;
    background: var(--gt-code-bg);
    border: 1px solid var(--gt-code-border);
    border-radius: var(--gt-code-radius);
    margin: 1.25rem 0;
    padding: 2.5rem 1rem 1rem;
    font-family: var(--gt-code-font);
    font-size: var(--gt-code-font-size);
    line-height: var(--gt-code-line-height);
    color: var(--gt-code-color);
    overflow: auto;
    max-height: 500px
}

pre.gt-code-block::before {
    content: "";
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--gt-code-decoration-color);
    border-radius: 50%;
    box-shadow: var(--gt-code-decoration-shadow);
}

pre.gt-code-block .gt-code-lang,
pre.gt-code-block .gt-code-copy {
    position: absolute;
    top: 0.5rem;
    font-size: 0.75rem;
    font-family: var(--gt-code-lang-font);
    border-radius: 0.375rem
}

pre.gt-code-block .gt-code-lang {
    left: 4.5rem;
    color: var(--gt-code-lang-color);
    font-weight: 500;
    text-transform: uppercase
}

pre.gt-code-block .gt-code-copy {
    right: 0.75rem;
    padding: 0.25rem 0.625rem;
    background: var(--gt-card-bg);
    color: var(--gt-font-color);
    border: 1px solid var(--gt-border-light);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.8
}

pre.gt-code-block .gt-code-copy:hover {
    opacity: 1;
    background: var(--gt-main-color-16)
}

pre.gt-code-block .gt-code-copy.copy-success {
    background: var(--gt-success, #27c93f);
    color: #fff;
    border-color: var(--gt-success, #27c93f)
}

pre.gt-code-block .hljs {
    background: transparent;
    color: inherit;
    padding: 0
}

pre.gt-code-block :is(.hljs-keyword, .hljs-selector-tag) { color: var(--gt-hl-keyword) }
pre.gt-code-block .hljs-built_in { color: var(--gt-hl-built-in) }
pre.gt-code-block .hljs-tag { color: var(--gt-hl-tag) }
pre.gt-code-block :is(.hljs-string, .hljs-attr) { color: var(--gt-hl-string) }
pre.gt-code-block .hljs-number { color: var(--gt-hl-number) }
pre.gt-code-block :is(.hljs-function, .hljs-title, .hljs-class) { color: var(--gt-hl-function) }
pre.gt-code-block :is(.hljs-variable, .hljs-template-variable) { color: var(--gt-hl-variable) }
pre.gt-code-block :is(.hljs-comment, .hljs-quote) { color: var(--gt-hl-comment) }
pre.gt-code-block .hljs-addition { background-color: var(--gt-hl-addition-bg) }
pre.gt-code-block .hljs-deletion { background-color: var(--gt-hl-deletion-bg) }

.gt-footer {
    margin-top: 0;
    box-sizing: border-box;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: max-content;
    background-color: var(--gt-footer-bg);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    font-size: 0.85rem
}

.gt-footer-main {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.618rem;
    width: 100%;
    max-width: var(--gt-main-max-width);
    height: max-content;
    padding: 0 1rem
}

.gt-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr;
    gap: 1.68rem;
    align-items: center;
    width: 100%
}

.gt-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem
}

.gt-footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center
}

.gt-footer-logo {
    display: inline-flex;
    align-items: center;
    width: max-content;
    height: max-content;
    color: var(--gt-font-color)
}

.gt-footer-logo-img {
    display: block;
    width: 120px;
    height: 40px;
    object-fit: contain
}

.gt-footer-desc {
    line-height: 1.6;
    color: var(--gt-font-66);
    font-weight: normal
}

.gt-footer-custom {
    color: var(--gt-font-66);
    line-height: 1.6
}

.gt-footer-qrcodes {
    display: flex;
    justify-content: flex-end;
    gap: 1rem
}

.gt-footer-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem
}

.gt-footer-qrcode-img {
    display: block;
    background: var(--gt-white-color);
    border-radius: 0.5rem;
    box-shadow: var(--gt-box-shadow);
    object-fit: cover
}

.gt-footer-qrcode-text {
    color: var(--gt-font-66);
    line-height: 1.5
}

.gt-footer-bottom {
    margin-top: 0;
    color: var(--gt-font-66)
}

.gt-footer-bottom p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.618rem;
    line-height: 1.5;
    color: var(--gt-font-66)
}

.gt-footer-bottom p span {
    padding-left: 0.28rem;
    display: flex;
    align-items: center;
    width: max-content;
    border-radius: 0.18rem
}

.gt-footer-bottom .footer-copyright {
    line-height: 1.5
}

.gt-footer-bottom a {
    color: var(--gt-font-66)
}

.gt-footer-bottom a:hover {
    color: var(--gt-main-color)
}

@media (max-width: 992px) {
    .gt-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.18rem
    }
    .gt-footer-qrcodes {
        justify-content: center
    }
    .gt-footer-brand {
        display: none
    }
    .gt-footer-custom {
        text-align: center
    }
}

.gt-search-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-search-modal);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 18vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease
}
.gt-search-modal.active {
    opacity: 1;
    visibility: visible
}

.gt-search-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px)
}

.gt-search-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    margin: 0 1.5rem;
    background: var(--gt-card-bg);
    border-radius: var(--gt-main-radius);
    box-shadow: var(--gt-box-shadow), 0 16px 48px rgba(0,0,0,.12);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .3s ease
}
.gt-search-modal.active .gt-search-panel {
    transform: translateY(0);
    opacity: 1
}

.gt-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gt-border-color)
}

.gt-search-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--gt-font-color);
    line-height: 1.5
}
.gt-search-form input::placeholder {
    color: var(--gt-text-muted)
}

.gt-search-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: none;
    border-radius: var(--gt-main-radius);
    background: var(--gt-main-color);
    color: var(--gt-white-color);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease
}
.gt-search-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(0,0,0,.12)
}
.gt-search-form button:active {
    transform: scale(.95)
}
.gt-search-form button i {
    font-size: 15px
}

.gt-search-body {
    padding: 14px 22px 18px
}

.gt-search-section-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gt-text-secondary)
}

.gt-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.gt-search-tag {
    display: inline-block;
    padding: 5px 13px;
    font-size: 13px;
    color: var(--gt-text-secondary);
    background: var(--gt-bg-fa);
    border: 1px solid var(--gt-border-color);
    border-radius: var(--gt-main-radius);
    text-decoration: none;
    line-height: 1.4;
    transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s
}
.gt-search-tag:hover {
    color: var(--gt-white-color);
    background: var(--gt-main-color);
    border-color: var(--gt-main-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,.1)
}

.gt-animation.gt-animation-init {
    opacity: 0;
    animation: 300ms gt-init-show;
    animation-fill-mode: forwards;
    transition: opacity 0.18s ease-in-out, transform 0.18s ease-in-out
}

@keyframes gt-init-show {
    0% {
        transform: translateY(2rem);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

.gt-article-item:nth-child(1) {
    animation-delay: 0.05s
}

.gt-article-item:nth-child(2) {
    animation-delay: 0.1s
}

.gt-article-item:nth-child(3) {
    animation-delay: 0.15s
}

.gt-article-item:nth-child(4) {
    animation-delay: 0.2s
}

.gt-article-item:nth-child(5) {
    animation-delay: 0.25s
}

.gt-article-item:nth-child(6) {
    animation-delay: 0.3s
}

.gt-article-item:nth-child(7) {
    animation-delay: 0.35s
}

.gt-article-item:nth-child(8) {
    animation-delay: 0.4s
}

.gt-article-item:nth-child(9) {
    animation-delay: 0.45s
}

.gt-space-loading {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: span 3;
    width: 100%;
    height: 8.88rem;
    overflow: hidden
}

.gt-space-loading span {
    background-color: #000;
    position: relative;
    width: 5px;
    height: 5px;
    margin: 3px;
    border-radius: 5px
}

.gt-space-loading span:nth-of-type(1) {
    animation: gt-loading-animation 0.8s ease infinite
}

.gt-space-loading span:nth-of-type(2) {
    animation: gt-loading-animation 0.8s ease 0.2s infinite
}

.gt-space-loading span:nth-of-type(3) {
    animation: gt-loading-animation 0.8s ease 0.4s infinite
}

@keyframes gt-loading-animation {
    50% {
        height: 25px
    }

    0% {
        height: 5px
    }
}

@media screen and (max-width:1150px) {
    .article-list-main>section.article-list,
    .article-list-main>section.article-list[data-grid="4"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width:888px) {
    main.main>.main-inner {
        flex-direction: column;
        padding-top: calc(var(--gt-header-height) + 0rem);
    }

    main.main>.main-inner>aside.gt-aside {
        display: none;
    }

    header.gt-header .nav-center {
        display: none
    }

    header.gt-header .nav-right {
        gap: 0.35rem
    }

    header.gt-header .nav-right .nav-link {
        padding: 0.2rem 0.3rem
    }
}

@media screen and (max-width:768px) {
    :root {
        --gt-header-height: 62px
    }

    header.gt-header>section {
        position: relative;
        justify-content: flex-end;
        padding: 0 0.298rem;
        width: calc(100% - 0.5rem);
        border-radius: calc(var(--gt-main-radius) * var(--gt-nav-radius-multiplier, 2))
    }

    header.gt-header .home,
    header.gt-header .site-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0
    }

    header.gt-header .home img,
    header.gt-header .site-logo img {
        height: 2rem;
    }

    header.gt-header .home span,
    header.gt-header .site-logo span {
        font-size: 1.2rem;
        line-height: 1;
    }

    article.gt-article-main>header h1 {
        font-size: 1.15rem
    }

    article.gt-article-main>header .article-meta {
        gap: 0.5rem 0.75rem
    }

    article.gt-article-main>header .article-author-box {
        flex-wrap: wrap
    }

    article.gt-article-main>header .article-publish-time {
        flex-wrap: wrap
    }

    .article-content h1 {
        font-size: 1.36rem
    }

    .article-content h2 {
        font-size: 1.26rem
    }

    .article-content h3 {
        font-size: 1.125rem
    }
    
    /* 手机端缩小置顶标识 */
    .gt-article-item.active::before,
    .gt-recommend-top-badge {
        top: 0.6rem;
        left: -0.4rem;
        padding: 0.1rem 0.6rem;
        font-size: 0.688rem;
        border-radius: 0.4rem;
    }
}

@media screen and (max-width:1024px) {
    .article-list-main>section.article-list[data-grid="3"] {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:768px) {
    .article-list-main>section.article-list[data-grid="4"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

[data-theme="dark"] {
    /* 背景色 - 深色模式 */
    --gt-body-bg: #232323;
    --gt-card-bg: #303030;
    --gt-bg-fa: #2a2a2a;
    --gt-bg-f5: #333333;
    --gt-white-color: #f0f0f0;
    --gt-header-bg: rgba(30, 32, 33, 0.98);
    --gt-footer-bg: #2a2a2a;
    
    /* 文字色 - 深色模式 - 由 control.php 动态输出 */
    --gt-text-secondary: rgba(232, 230, 227, 0.72);
    --gt-text-muted: rgba(232, 230, 227, 0.62);
    
    /* 边框色 - 深色模式 */
    --gt-border-color: #3a3d40;
    --gt-border-light: rgba(232, 230, 227, 0.16);
    
    /* 阴影 - 深色模式 */
    --gt-box-shadow: 0 3px 8px 6px rgba(0, 0, 0, 0.15);
    --gt-header-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
    --gt-footer-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
    
    /* 状态色 - 深色模式 */
    --gt-info: #A8D08D;
    --gt-info-hover: rgba(168, 208, 141, 0.12);
    --gt-success: #FFD666;
    --gt-success-hover: rgba(255, 214, 102, 0.12);
    --gt-warning: #FF9999;
    --gt-warning-hover: rgba(255, 153, 153, 0.12);
    --gt-error: #B794F4;
    --gt-error-hover: rgba(183, 148, 244, 0.12);
    --gt-import: #F687B3;
    --gt-import-hover: rgba(246, 135, 179, 0.12);
    
    /* 代码块 - 深色模式 */
    --gt-code-bg: #1e1e1e;
    --gt-code-border: #3a3d40;
    --gt-code-color: #d4d4d4;
    --gt-code-lang-color: #858585;
    
    /* 语法高亮 - 深色模式 */
    --gt-hl-keyword: #569cd6;
    --gt-hl-built-in: #4ec9b0;
    --gt-hl-string: #ce9178;
    --gt-hl-number: #b5cea8;
    --gt-hl-function: #dcdcaa;
    --gt-hl-variable: #9cdcfe;
    --gt-hl-comment: #6a9955;
    --gt-hl-tag: #569cd6;
    --gt-hl-addition-bg: #203522;
    --gt-hl-deletion-bg: #4b1818;
}

[data-theme="dark"] .reward-close-btn {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .reward-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.gt-pw-form {
    box-sizing: border-box;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%
}

.gt-pw-form-content {
    box-sizing: border-box;
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px
}

.gt-pw-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gt-font-16);
    border-radius: var(--gt-main-radius);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.18s;
    background-color: var(--gt-bg-fa);
    color: var(--gt-font-color)
}

.gt-pw-input:focus {
    border-color: var(--gt-main-color);
    box-shadow: 0 0 0 3px var(--gt-main-color-16)
}

.gt-pw-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0 1.25rem;
    background: var(--gt-main-color);
    border: none;
    border-radius: var(--gt-main-radius);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s
}

.gt-pw-btn:hover {
    background: var(--gt-main-color-88);
    transform: translateX(2px)
}

.gt-pw-btn i {
    font-size: 1rem
}

.gt-comment {
    margin-top: 1.25rem;
    box-sizing: border-box;
    width: 100%;
    height: max-content;
    border-radius: 0.5rem;
    background-color: var(--gt-card-bg);
    box-shadow: var(--gt-box-shadow);
    overflow: hidden
}

.gt-comment-header {
    box-sizing: border-box;
    padding: 0.5rem 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--gt-main-color-6);
    border-bottom: 1px solid var(--gt-main-color-6)
}

.gt-comment-title {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gt-font-color)
}

.gt-comment-title i.comment-title-icon {
    font-size: 1.25rem;
    color: var(--gt-font-color)
}

.gt-comment-count-text {
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    color: var(--gt-font-56);
    margin-left: 0.25rem
}

.gt-comment-form-wrap {
    box-sizing: border-box;
    padding: 1.5rem
}

.gt-comment-closed {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--gt-font-56);
    text-align: center
}

.gt-comment-closed i {
    font-size: 2.5rem;
    color: var(--gt-font-28)
}

.gt-comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.gt-comment-textarea-wrap {
    position: relative;
    border: 1px solid var(--gt-main-color-16);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.18s ease-in-out
}

.gt-comment-textarea-wrap:focus-within {
    border-color: var(--gt-main-color);
    box-shadow: 0 0 0 3px var(--gt-main-color-16)
}

.gt-comment-textarea-wrap textarea {
    width: 100%;
    min-height: 140px;
    padding: 1rem;
    border: none;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gt-font-color);
    background-color: transparent;
    resize: vertical;
    outline: none
}

.gt-comment-textarea-wrap textarea::placeholder {
    color: var(--gt-font-28)
}

.gt-comment-textarea-footer {
    padding: 0.5rem 1rem;
    background-color: var(--gt-main-color-6);
    border-top: 1px solid var(--gt-main-color-6)
}

.gt-comment-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.gt-comment-field {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--gt-main-color-16);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.18s ease-in-out
}

.gt-comment-field:focus-within {
    border-color: var(--gt-main-color);
    box-shadow: 0 0 0 3px var(--gt-main-color-16)
}

.gt-comment-field i {
    flex-shrink: 0;
    margin-left: 0.6875rem;
    color: var(--gt-font-56);
    opacity: 0.9;
    font-size: 1.125rem
}

.gt-comment-field input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    border: none;
    font-size: 0.875rem;
    color: var(--gt-font-color);
    background-color: transparent;
    outline: none
}

.gt-comment-field input::placeholder {
    color: var(--gt-font-28)
}

.gt-comment-submit-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem
}

.gt-comment-submit-wrap button,
.gt-comment-submit-wrap .cancel-comment-reply a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    min-height: 2rem;
    box-sizing: border-box;
    font-weight: 500;
    color: var(--gt-white-color);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s
}

.gt-comment-submit-wrap button {
    background: var(--gt-main-color);
    border: none
}

.gt-comment-submit-wrap .cancel-comment-reply a {
    background-color: var(--gt-font-28)
}

.gt-comment-submit-wrap button:hover {
    background: var(--gt-main-color-dark, var(--gt-main-color));
    transform: translateY(-1px)
}

.gt-comment-submit-wrap .cancel-comment-reply a:hover {
    background-color: var(--gt-font-56)
}

.gt-comment-list {
    box-sizing: border-box;
    padding: 0 1.5rem 1.5rem
}

/* 修复：嵌套的评论列表不要左右 padding，避免递归累加 */
.gt-comment-replies .gt-comment-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.gt-comment-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 1rem;
    color: var(--gt-font-56)
}

.gt-comment-empty i {
    font-size: 3rem;
    color: var(--gt-main-color-16)
}

.gt-comment-item {
    display: flex;
    border-bottom: 1px dashed var(--gt-main-color-16);
    flex-wrap: wrap;
}

.gt-comment-item > .respond {
    width: 100%;
    flex-basis: 100%;
}

.gt-comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.gt-comment-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden
}

.gt-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.gt-comment-master>.gt-comment-avatar {
    position: relative;
    overflow: visible
}

.gt-comment-master>.gt-comment-avatar img {
    border-radius: 50%
}

.gt-comment-master>.gt-comment-avatar::after {
    content: "\eed3";
    font-family: 'remixicon' !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: -0.35rem;
    bottom: -0.35rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--gt-white-color);
    background-size: 70%;
    box-shadow: 0 2px 6px rgba(153, 153, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #9999ff
}

.gt-comment-main {
    flex: 1;
    min-width: 0
}

.gt-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap
}

.gt-comment-meta-wrapper {
    display: flex;
    flex-direction: column
}

.gt-comment-meta-info {
    margin-top: 0.125rem;
    font-size: 0.8rem
}

.gt-comment-footer {
    display: flex;
    align-items: center
}

.gt-comment-footer .gt-comment-actions {
    margin-left: 0.5rem
}

.gt-comment-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap
}

.gt-comment-nick {
    position: relative;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gt-font-color);
    text-decoration: none;
    transition: color 0.18s ease-in-out
}

.gt-comment-nick::after {
    content: "";
    position: absolute;
    left: auto;
    right: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background-color: var(--gt-main-color);
    transition: all 0.28s ease-in-out
}

a.gt-comment-nick:hover {
    color: var(--gt-main-color)
}

a.gt-comment-nick:hover::after {
    left: 0;
    right: auto;
    width: 100%
}

.gt-comment-master .gt-comment-nick {
    color: #9999ff;
    font-weight: 700
}

.gt-comment-badge {
    display: inline-flex;
    align-items: center;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9999ff;
    border: 1px solid #9999ff;
    border-radius: 4px;
    line-height: 1.4
}

.gt-comment-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.68rem;
    color: var(--gt-font-56);
    background-color: var(--gt-main-color-6);
    border-radius: 0.25rem;
    white-space: nowrap;
    line-height: 1
}

.gt-comment-tag i.location-icon {
    display: inline-block;
    vertical-align: middle;
    color: var(--gt-font-56);
    font-size: 0.75rem
}

.gt-comment-time {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--gt-font-66);
    white-space: nowrap
}

.gt-comment-content {
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--gt-font-66);
    word-break: break-word
}

.gt-comment-content p {
    margin: 0;
    padding: 0.18rem 0
}

.gt-comment-content a {
    color: var(--gt-main-color);
    box-shadow: inset 0 -0.12rem var(--gt-main-color);
    transition: box-shadow 0.2s ease-in-out
}

.gt-comment-content a:hover {
    box-shadow: inset 0 -1.5rem var(--gt-main-color-16)
}

.gt-comment-actions {
    display: flex;
    gap: 1rem
}

/* Typecho 生成的回复链接样式 */
.gt-comment-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    font-size: 0.75rem;
    color: var(--gt-font-66);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.18s ease-in-out
}

.gt-comment-actions a:hover {
    color: var(--gt-main-color)
}

@media screen and (max-width:768px) {
    .gt-comment-fields {
        grid-template-columns: 1fr
    }

    .gt-comment-avatar {
        width: 36px;
        height: 36px
    }



    .gt-comment-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem
    }
}

.gt-breadcrumb {
    box-sizing: border-box;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gt-font-color)
}

.gt-breadcrumb a {
    color: var(--gt-main-color);
    transition: color 0.18s ease-in-out
}

.gt-breadcrumb a:hover {
    color: var(--gt-main-color-88)
}

.gt-breadcrumb span {
    color: var(--gt-font-66)
}

/* 面包屑样式优化 - 仅针对移动端 */
@media (max-width: 768px) {
    .gt-breadcrumb {
        flex-wrap: nowrap;
        overflow: hidden;
        white-space: nowrap;
        font-size: 13px;
    }
    
    .gt-breadcrumb span:not(.current) {
        font-size: 12px;
    }
    
    .gt-breadcrumb span.current {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
}

.gt-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: var(--gt-card-bg);
    border-radius: var(--gt-main-radius);
    box-shadow: var(--gt-box-shadow);
    text-align: center
}

.gt-empty img {
    max-width: 200px;
    margin-bottom: 1rem
}

.gt-empty p {
    color: var(--gt-font-66);
    font-size: 0.9rem
}

/* 分页 */
.p-wrap{display:flex;align-items:center;justify-content:center;gap:.375rem;padding:1.25rem 1rem}
.p-num{display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;padding:0 .5rem;border-radius:var(--gt-main-radius);background:var(--gt-card-bg);box-shadow:var(--gt-box-shadow);font-size:.875rem;color:var(--gt-font-66);transition:.15s;flex-shrink:0}
.p-num:not(.cur):not(.dis):hover{color:var(--gt-main-color);background:var(--gt-main-color-10)}
.p-num.cur{background:var(--gt-main-color);color:#fff;cursor:default}
.p-num.dis{opacity:.4;cursor:not-allowed;background:var(--gt-font-6)}
.p-num.p-dots{color:var(--gt-font-28)}

header.gt-header .nav-center .nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center
}

header.gt-header .nav-center .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 150px;
    padding: 0.5rem 0;
    background: var(--gt-card-bg);
    border-radius: var(--gt-main-radius);
    box-shadow: var(--gt-box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.18s ease-in-out;
    z-index: 100
}

header.gt-header .nav-center .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0)
}

header.gt-header .nav-center .nav-dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gt-font-color);
    transition: all 0.18s;
    white-space: nowrap
}

header.gt-header .nav-center .nav-dropdown-item:hover {
    background: var(--gt-main-color-16);
    color: var(--gt-main-color)
}

.d-flex {
    display: flex !important
}

.text-truncate {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

@media (min-width:768px) {
    .d-md-block {
        display: block !important
    }

    .d-md-flex {
        display: flex !important
    }

    .d-md-none {
        display: none !important
    }
}

@media (max-width:767px) {
    .d-md-block {
        display: none !important
    }

    .d-md-flex {
        display: none !important
    }

    .d-md-none {
        display: block !important
    }
}

/* ==================== 评论样式 ==================== */
.gt-comment-item {
    gap: 12px;
    padding: 12px 0 0
}

.gt-comment-at {
    display: inline;
    margin-right: 4px;
    color: var(--gt-main-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: none !important
}

.gt-comment-at:hover {
    text-decoration: underline;
    box-shadow: none !important
}

.gt-comment-replies {
    width: 100%;
    margin-top: 8px;
    padding-left: 42px
}

.gt-comment-replies .gt-comment-replies {
    padding-left: 0
}

/* 5. 评论渲染错误提示 */
.gt-comment-error {
    color: #de3c3d;
    padding: 12px 16px;
    border: 1px solid rgba(222, 60, 61, 0.3);
    border-radius: 8px;
    margin: 12px 0;
    background: rgba(222, 60, 61, 0.05);
    font-size: 0.875rem
}

.form-control,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--gt-font-color);
    background-color: var(--gt-bg-fa);
    border: 1px solid var(--gt-font-16);
    border-radius: var(--gt-main-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    outline: none
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--gt-main-color);
    box-shadow: 0 0 0 3px var(--gt-main-color-16)
}

.gt-comment-field input,
.gt-comment-textarea-wrap textarea {
    border: none;
    box-shadow: none;
    background-color: transparent
}

input[type="text"]:-webkit-autofill,
input[type="email"]:-webkit-autofill,
input[type="url"]:-webkit-autofill,
input[type="password"]:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--gt-font-color);
    caret-color: var(--gt-font-color);
    box-shadow: 0 0 0 1000px var(--gt-bg-fa) inset;
    -webkit-box-shadow: 0 0 0 1000px var(--gt-bg-fa) inset
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: var(--gt-main-radius);
    transition: all 0.15s ease-in-out
}

.btn-primary {
    color: #fff;
    background-color: var(--gt-main-color);
    border-color: var(--gt-main-color)
}

.btn-primary:hover {
    background-color: var(--gt-main-color-88);
    border-color: var(--gt-main-color-88)
}

.btn-outline-secondary {
    color: var(--gt-font-color);
    border-color: var(--gt-font-16);
    background-color: transparent
}

.btn-outline-secondary:hover {
    color: var(--gt-main-color);
    border-color: var(--gt-main-color);
    background-color: var(--gt-main-color-16)
}

.ticket {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.25rem;
    color: #fff
}

.ticket-primary {
    background: var(--gt-main-color)
}

.ticket-success {
    background: var(--gt-success)
}

.ticket-warning {
    background: var(--gt-warning)
}

.ticket-danger {
    background: var(--gt-error)
}

.ticket-rainbow {
    background: #667eea
}

.gt-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.gt-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gt-mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--gt-card-bg);
    z-index: var(--z-mobile-sidebar);
    transform: translateX(-280px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    border-radius: 0 20px 20px 0;
    overflow: hidden;
    padding-top: var(--gt-header-height);
}

.gt-mobile-sidebar.active {
    transform: translateX(0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Body */
.gt-mobile-sidebar-body {
    flex: 1;
    padding: 5px 0.298rem 10px;
}

.gt-mobile-sidebar-body .gt-aside-item {
    margin-bottom: 1rem;
}

/* Header */
.gt-mobile-sidebar-header {
    padding: 15px 20px;
    background: var(--gt-card-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.gt-mobile-sidebar-header .header-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--gt-font-color);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.gt-mobile-sidebar-header .header-item .item-icon {
    width: 40px;
    height: 40px;
    background: var(--gt-main-color-6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s;
    color: var(--gt-font-color);
}

.gt-mobile-sidebar-header .header-item:hover .item-icon {
    background: var(--gt-main-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--gt-main-color-28);
}

.gt-mobile-sidebar-header .header-item .item-icon i {
    display: block;
    font-size: 20px
}



.gt-mobile-nav-list {
    display: flex;
    flex-direction: column;
    padding: 0 0 10px;
    margin: 0;
}

/* 一级菜单项 */
.gt-mobile-nav-item {
    position: relative;
}

.gt-mobile-nav-item.has-children {
    display: flex;
    flex-direction: column;
}

.gt-mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 10px 12px 0.75rem;
    font-size: 14px;
    color: var(--gt-font-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 2px;
    margin-left: 0;
    margin-right: 0;
    transition: all 0.2s;
    position: relative;
}

.gt-mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: var(--gt-main-color);
    border-radius: 2px;
}

/* 第一个一级菜单项减少上边距 */
.gt-mobile-nav-item:first-child .gt-mobile-nav-link {
    padding-top: 5px;
    padding-left: 0.75rem;
}

.gt-mobile-nav-link:hover,
.gt-mobile-nav-link.active {
    color: var(--gt-main-color);
}

.gt-mobile-nav-item.has-children .gt-mobile-nav-link {
    padding-bottom: 8px;
    padding-left: 0.75rem;
}

/* 二级菜单（自适应标签布局） */
.gt-mobile-submenu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--gt-bg-fa);
    border-radius: 8px;
    margin-top: -10px;
}

.gt-mobile-submenu-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    color: var(--gt-main-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.75rem;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
    background: var(--gt-main-color-5);
    flex: 0 0 auto;
    min-width: 60px;
}

.gt-mobile-submenu-item:hover {
    color: var(--gt-main-color);
    background: var(--gt-main-color-10);
}

.gt-recommend-section {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--gt-main-max-width);
    margin: 0.25rem auto 0.5rem;
    overflow: hidden;
}

@media screen and (max-width: 888px) {
    .gt-recommend-section {
        margin-top: 0.25rem;
    }
}

.gt-recommend-top {
    display: grid;
    grid-template-columns: calc(70% - 0.375rem) calc(30% - 0.375rem);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    height: 390px
}

.gt-recommend-top:has(.gt-recommend-right:only-child) {
    grid-template-columns: 1fr
}

.gt-recommend-top:has(.gt-recommend-main:only-child) {
    grid-template-columns: 1fr
}

/* 电脑端只有小图时，改为水平排列，只针对大屏幕 */
@media screen and (min-width:1025px) {
    .gt-recommend-top:has(.gt-recommend-right:only-child) .gt-recommend-right {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr;
        height: 390px;
    }
    /* 当只有一个小图时，宽度改为100% */
    .gt-recommend-top:has(.gt-recommend-right:only-child) .gt-recommend-right:has(.gt-recommend-item:only-child) {
        grid-template-columns: 1fr;
    }
}

/* 中等屏幕电脑端只有小图时（769px-1024px），不影响手机端 */
@media screen and (min-width:769px) and (max-width:1024px) {
    .gt-recommend-top:has(.gt-recommend-right:only-child) .gt-recommend-right {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr;
        height: 280px;
    }
    /* 当只有一个小图时，宽度改为100% */
    .gt-recommend-top:has(.gt-recommend-right:only-child) .gt-recommend-right:has(.gt-recommend-item:only-child) {
        grid-template-columns: 1fr;
    }
}

.gt-recommend-main {
    position: relative;
    display: block;
    height: 100%;
    border-radius: var(--gt-main-radius);
    overflow: hidden;
    box-shadow: var(--gt-box-shadow);
    transition: all 0.3s ease
}

.gt-recommend-main:not(.is-image):hover,
.gt-recommend-item:not(.is-image):hover,
.gt-recommend-card:hover {
    transform: translateY(var(--gt-card-hover-lift)) !important;
}

.gt-recommend-main:not(.is-image):hover img,
.gt-recommend-item:not(.is-image):hover img,
.gt-recommend-card:hover img {
    transform: scale(var(--gt-img-hover-scale))
}

.gt-recommend-main picture,
.gt-recommend-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease
}

.gt-recommend-main .gt-recommend-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff
}

.gt-recommend-main .gt-recommend-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--gt-main-color);
    border-radius: 0.25rem;
    margin-bottom: 0.4rem
}

.gt-recommend-main h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #fff;
    box-sizing: border-box !important
}

.gt-recommend-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
    height: 100%
}

.gt-recommend-right:has(.gt-recommend-item:only-child) {
    grid-template-rows: 1fr
}

.gt-recommend-item {
    position: relative;
    display: block;
    border-radius: var(--gt-main-radius);
    overflow: hidden;
    box-shadow: var(--gt-box-shadow);
    transition: all 0.3s ease
}

.gt-recommend-item picture,
.gt-recommend-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease
}

.gt-recommend-item .gt-recommend-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff
}

.gt-recommend-item .gt-recommend-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--gt-main-color);
    border-radius: 0.2rem;
    margin-bottom: 0.25rem
}

.gt-recommend-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #fff;
    box-sizing: border-box !important
}

.gt-recommend-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.gt-recommend-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--gt-main-radius);
    overflow: hidden;
    background: var(--gt-card-bg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease
}

.gt-recommend-card .gt-recommend-thumb {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    flex-shrink: 0
}

.gt-recommend-card .gt-recommend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease
}

.gt-recommend-card .gt-recommend-views {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 0.25rem;
    backdrop-filter: blur(4px)
}

.gt-recommend-card h3 {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    color: var(--gt-font-color);
    transition: color 0.18s;
    height: max-content
}

.gt-recommend-card:hover h3 {
    color: var(--gt-main-color)
}

@media screen and (max-width:1024px) {
    .gt-recommend-top {
        height: 280px
    }

    .gt-recommend-bottom {
        grid-template-columns: repeat(2, 1fr)
    }

    .gt-recommend-card .gt-recommend-thumb {
        height: 100px
    }
}

@media screen and (max-width:768px) {
    .gt-recommend-section {
        margin-top: 0.5rem
    }

    .gt-recommend-top {
        grid-template-columns: 1fr;
        height: auto
    }

    .gt-recommend-main {
        height: 210px
    }

    .gt-recommend-main h3 {
        font-size: 1.1rem;
    }

    .gt-recommend-right {
        grid-template-rows: 1fr 1fr;
        height: auto; /* 移除固定高度，改为自适应 */
        gap: 0.75rem; /* 保持间距 */
    }

    .gt-recommend-right .gt-recommend-item {
        height: 130px; /* 设置单个小卡片固定高度 */
    }

    .gt-recommend-item h3 {
        font-size: 0.9rem;
    }

    /* 当只有一个推荐项时，高度与左侧大图匹配 */
    .gt-recommend-right:has(.gt-recommend-item:only-child) {
        grid-template-rows: 1fr;
    }

    /* 单卡片时高度设置 */
    .gt-recommend-right:has(.gt-recommend-item:only-child) .gt-recommend-item {
        height: 210px; /* 单卡片时与左侧大图高度一致 */
    }

    /* 当大图未填写，只填写右侧小图两个id时，两个卡片均为210px */
    .gt-recommend-top:not(:has(.gt-recommend-main)) .gt-recommend-right:not(:has(.gt-recommend-item:only-child)) .gt-recommend-item {
        height: 210px;
    }

    .gt-recommend-bottom {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem
    }

    .gt-recommend-card .gt-recommend-thumb {
        height: 90px
    }

    .gt-recommend-card h3 {
        font-size: 0.8rem;
        padding: 0.5rem 0.6rem
    }
}

@media screen and (max-width:480px) {
    .gt-recommend-section {
        margin-top: 0.3rem
    }

    .gt-recommend-main {
        height: 170px
    }

    .gt-recommend-main h3 {
        font-size: 1rem;
    }

    .gt-recommend-right .gt-recommend-item {
        height: 110px; /* 小屏幕下单个小卡片高度 */
    }

    .gt-recommend-item h3 {
        font-size: 0.8rem;
    }

    /* 小屏幕下单卡片时与左侧大图高度一致 */
    .gt-recommend-right:has(.gt-recommend-item:only-child) .gt-recommend-item {
        height: 170px;
    }

    /* 当大图未填写，只填写右侧小图两个id时，两个卡片均为170px */
    .gt-recommend-top:not(:has(.gt-recommend-main)) .gt-recommend-right:not(:has(.gt-recommend-item:only-child)) .gt-recommend-item {
        height: 170px;
    }

    .gt-recommend-card .gt-recommend-thumb {
        height: 75px
    }

    .gt-recommend-card h3 {
        font-size: 0.65rem;
        padding: 0.4rem 0.5rem
    }
}

.actions-title {
    margin: 2rem 0 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gt-font-color);
    text-align: center
}

.article-actions-bar {
    margin-top: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap
}

.action-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border: none;
    background: none;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--gt-font-color);
    min-width: 4rem
}

.action-btn .btn-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.5rem
}

.action-btn .btn-icon-wrap i {
    font-size: 1.5rem;
    color: var(--gt-font-color);
    opacity: 0.9
}

.action-btn .btn-text {
    font-size: 0.75rem;
    line-height: 1.2
}

.action-btn.liked .btn-icon-wrap i,
.action-btn.collected .btn-icon-wrap i {
    color: var(--gt-main-color)
}

.reward-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: var(--z-auth-modal);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease
}

.reward-modal.active {
    display: flex
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.reward-modal-content {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: var(--gt-card-bg);
    border-radius: var(--gt-main-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.reward-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--gt-main-color);
    color: #fff
}

.reward-modal-header .sky-h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600
}

.reward-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease
}

.reward-close-btn:hover {
    transform: rotate(90deg)
}

.reward-close-btn i {
    font-size: 1.25rem
}

.reward-modal-body {
    padding: 1.5rem
}

.reward-qrcodes {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap
}

.reward-qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem
}

.reward-qrcode-label {
    font-size: 0.875rem;
    color: var(--gt-font-66);
    font-weight: 500
}

.reward-qrcode-box {
    width: 160px;
    height: 160px;
    padding: 0.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    animation: fadeIn 0.3s ease
}

.reward-qrcode-box.wechat {
    background: #07c160
}

.reward-qrcode-box.alipay {
    background: #1677ff
}

.reward-qrcode-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    background: #fff
}

@media (max-width:768px) {
    .reward-modal-content {
        max-width: 340px
    }

    .reward-qrcodes {
        gap: 0.5rem
    }

    .reward-qrcode-box {
        width: 130px;
        height: 130px
    }
}

.article-copyright {
    margin-top: 1.25rem;
    background: var(--gt-card-bg);
    border: 1px solid var(--gt-main-color-16);
    border-radius: var(--gt-main-radius);
    overflow: hidden;
    box-shadow: var(--gt-box-shadow)
}

.article-copyright .copyright-header,
.gt-related-posts .gt-related-header {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.875rem;
    background: var(--gt-main-color-6);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gt-font-color);
    margin: 0;
    line-height: 1.4
}

.sky-h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2
}

.sky-h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3
}

.sky-h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4
}

.sky-h4 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5
}

.sky-h5 {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6
}

.sky-h6 {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.7
}

.text-truncate-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important
}

.text-truncate-3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important
}

@media screen and (max-width:1024px) {

    .sky-h1,
    .sky-h2 {
        font-size: calc(1rem + 2vw)
    }

    .sky-h3,
    .sky-h4 {
        font-size: calc(0.875rem + 1vw)
    }

    .sky-h5,
    .sky-h6 {
        font-size: 0.875rem
    }
}

@media screen and (max-width:768px) {
    .sky-h1 {
        font-size: 1.5rem
    }

    .sky-h2 {
        font-size: 1.25rem
    }

    .sky-h3 {
        font-size: 1.125rem
    }

    .sky-h4 {
        font-size: 1rem
    }
}

.article-copyright .copyright-header i {
    display: inline-block;
    vertical-align: middle;
    color: var(--gt-font-color);
    opacity: 0.9;
    font-size: 1.1rem
}

.article-copyright .copyright-content {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--gt-font-color)
}

.article-copyright .copyright-content p {
    margin: 0;
    padding: 0.125rem 0
}

.article-copyright .copyright-content a {
    color: var(--gt-main-color);
    word-break: break-all
}

.article-copyright .copyright-content a:hover {
    color: var(--gt-main-color-88)
}

.article-copyright .copyright-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--gt-main-radius);
    margin: 0.5rem 0;
    border: 1px solid var(--gt-main-color-16)
}

.article-copyright .copyright-content strong {
    color: var(--gt-font-88)
}

@media (max-width:768px) {
    .article-copyright .copyright-content {
        font-size: 0.8125rem
    }
}

.gt-related-posts {
    margin-top: 1.25rem;
    background: var(--gt-card-bg);
    border: 1px solid var(--gt-main-color-16);
    border-radius: var(--gt-main-radius);
    overflow: hidden;
    box-shadow: var(--gt-box-shadow)
}

.gt-related-posts .gt-related-header i {
    display: inline-block;
    vertical-align: middle;
    color: var(--gt-font-color);
    opacity: 0.9;
    font-size: 1.25rem
}

.gt-related-posts .gt-related-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 200px;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gt-related-posts .gt-related-card {
    display: flex;
    flex-direction: column;
    width: 200px;
    border-radius: var(--gt-main-radius);
    overflow: hidden;
    background: var(--gt-card-bg);
    box-shadow: var(--gt-box-shadow);
    transition: all 0.25s ease
}

.gt-related-posts .gt-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12)
}

.gt-related-posts .gt-related-card:hover img {
    transform: scale(var(--gt-img-hover-scale))
}

.gt-related-posts .gt-related-thumb {
    width: 100%;
    height: 110px;
    overflow: hidden
}

.gt-related-posts .gt-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease
}

.gt-related-posts .gt-related-title {
    padding: 0.6rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--gt-font-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s;
    box-sizing: border-box !important
}

.gt-related-posts .gt-related-card:hover .gt-related-title {
    color: var(--gt-main-color)
}

@media screen and (max-width:1024px) {
    .gt-related-posts .gt-related-grid {
        grid-auto-columns: 180px;
        padding: 0.875rem 1rem
    }

    .gt-related-posts .gt-related-card {
        width: 180px
    }

    .gt-related-posts .gt-related-thumb {
        height: 100px
    }
}

@media screen and (max-width:768px) {
    .gt-related-posts .gt-related-grid {
        grid-auto-columns: 160px;
        gap: 0.6rem;
        padding: 0.75rem
    }

    .gt-related-posts .gt-related-card {
        width: 160px
    }

    .gt-related-posts .gt-related-thumb {
        height: 90px
    }

    .gt-related-posts .gt-related-title {
        font-size: 0.875rem;
        padding: 0.5rem 0.6rem
    }
}

@media screen and (max-width:480px) {
    .gt-related-posts .gt-related-grid {
        grid-auto-columns: 140px
    }

    .gt-related-posts .gt-related-card {
        width: 140px
    }

    .gt-related-posts .gt-related-thumb {
        height: 75px
    }
}
/* Single Column Layout - Compact */
.article-list.single-column {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
}

.article-list.single-column .gt-article-item {
    display: grid !important;
    grid-template-columns: 260px 1fr;
    gap: 0.25rem 0.9rem;
    padding: 0.6rem;
    align-items: start;
    min-height: auto;
    height: auto;
}

.article-list.single-column .gt-article-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    justify-content: space-between;
}

.article-list.single-column .gt-article-banner {
    height: 140px;
    aspect-ratio: 16/10 !important;
    padding: 0;
    border-radius: var(--gt-main-radius);
    overflow: hidden;
}

.article-list.single-column .gt-article-banner img {
    object-position: center;
    transition: transform 0.6s ease;
    border-radius: 0;
}

.article-list.single-column .gt-article-content header {
    padding: 0;
    margin-top: 0.35rem;
    gap: 0.1rem;
    width: 100%;
    align-self: start;
}

.article-list.single-column .gt-article-content header .title {
    font-size: 1.05rem;
    line-height: 1.3;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    margin: 0;
}

.article-list.single-column .gt-article-excerpt {
    padding: 0;
    margin: 0.4rem 0 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    height: auto;
    max-height: 100%;
    font-size: 0.8125rem;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-word;
    align-self: start;
}

.article-list.single-column .gt-article-tags {
    margin-top: 0.35rem;
    padding: 0;
    gap: 0.1rem;
    margin-bottom: 0.2rem;
}

.article-list.single-column .gt-article-taglist {
    padding: 0;
    margin-top: 0.25rem;
    align-self: end;
}

/* 大屏幕下单列布局样式优化 */
.article-list.single-column .gt-article-item.active::before {
    left: 0;
    top: 0;
    transform: none;
    border-radius: 0 0 0.5rem 0;
    font-size: 0.8rem;
    padding: 0.2rem 0.8rem;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.article-list.single-column .gt-article-item.active .gt-article-banner::before {
    display: none;
}

/* Mobile Responsive for Single Column */
@media screen and (max-width: 768px) {
    .article-list.single-column .gt-article-item {
        grid-template-columns: 140px 1fr;
        grid-template-rows: auto;
        height: 118px;
        gap: 0.4rem 0.75rem;
        padding: 0.6rem;
    }
    
    .article-list.single-column .gt-article-content header {
        padding: 0.1rem 0 0;
        margin-top: 0;
    }

    /* 手机端：单列布局只显示评论量，非单列布局隐藏点赞和评论数 */
    .article-list-main > section.article-list .gt-article-likes,
    .article-list-main > section.article-list:not(.single-column) .gt-article-comments {
        display: none !important;
    }
    
    .article-list.single-column .gt-article-content header .title {
        font-size: 0.88rem;
        margin: 0;
    }
    
    .article-list.single-column .gt-article-content header .title a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
        word-break: break-word;
        white-space: normal;
    }
    
    .article-list.single-column .gt-article-banner {
        height: 100%;
        aspect-ratio: unset !important;
    }

    .article-list.single-column .gt-article-excerpt {
        display: none;
    }

    .article-list.single-column .gt-article-taglist > time.sky-h6 {
        display: inline;
    }
}

@media screen and (max-width: 480px) {
    .article-list.single-column .gt-article-item {
        grid-template-columns: 120px 1fr;
        height: 108px;
        gap: 0.35rem 0.65rem;
        padding: 0.55rem;
    }
}

.gt-cms-section {
    margin-top: 1.5rem;
    width: 100%;
}

.gt-cms-title-h3.gt-cms-title-h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gt-font-color);
    margin: 0.5rem 0 0.5rem;
    padding-left: 0.75rem;
    position: relative;
    display: inline-block;
}

.gt-cms-title-h3.gt-cms-title-h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1em;
    background-color: var(--gt-main-color);
    border-radius: 2px;
}

.gt-cms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gt-cms-card {
    background: var(--gt-card-bg);
    border-radius: var(--gt-main-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gt-cms-card:hover {
    transform: translateY(var(--gt-card-hover-lift)) !important;
}

.gt-cms-header {
    display: flex;
    padding: 0.75rem;
    gap: 0.75rem;
}

.gt-cms-cover {
    position: relative;
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--gt-main-radius);
    overflow: hidden;
}

.gt-cms-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gt-cms-card:hover .gt-cms-cover img {
    transform: scale(var(--gt-img-hover-scale));
}

.gt-cms-views {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.15rem 0.5rem;
    background: #ff6b6b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    box-shadow: 0 2px 6px rgba(238, 90, 36, 0.4);
}

.gt-cms-views i {
    display: inline-block;
    vertical-align: middle;
    font-size: 11px
}

.gt-cms-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gt-cms-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.gt-cms-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gt-font-color);
    transition: color 0.2s;
}

.gt-cms-name:hover {
    color: var(--gt-main-color);
}

.gt-cms-more {
    font-size: 0.85rem;
    color: var(--gt-main-color);
    transition: all 0.2s;
    white-space: nowrap;
}

.gt-cms-more:hover {
    color: var(--gt-main-color-88);
}

.gt-cms-desc {
    font-size: 0.85rem;
    color: var(--gt-font-66);
    margin: 0 0 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gt-cms-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--gt-font-56);
    line-height: 1;
}

.gt-cms-count i {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.75rem
}

.gt-cms-body {
    padding: 0 0.75rem 0.75rem;
}

.gt-cms-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gt-cms-list li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px dashed var(--gt-main-color-16);
    font-size: 0.875rem;
    transition: all 0.2s;
}

.gt-cms-list li:last-child {
    border-bottom: none;
}

.gt-cms-list li::before {
    content: '•';
    color: var(--gt-main-color);
    margin-right: 0.5rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.gt-cms-list li a {
    flex: 1;
    color: var(--gt-font-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.gt-cms-list li:hover a {
    color: var(--gt-main-color);
}

.gt-cms-date {
    font-size: 0.75rem;
    color: var(--gt-font-56);
    margin-left: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.gt-cms-empty {
    text-align: center;
    padding: 1.5rem;
    color: var(--gt-font-56);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.gt-cms-empty i {
    display: inline-block;
    vertical-align: middle;
    font-size: 1rem
}

/* 分类推荐文章列表阅读量 */
.gt-cms-post-views {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    vertical-align: middle;
    line-height: 1;
    font-size: 0.75rem;
    color: var(--gt-font-56);
}

.gt-cms-post-views i {
    display: inline-block;
    vertical-align: middle;
    font-size: 11px
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .gt-cms-grid {
        gap: 0.75rem;
    }
    .gt-cms-cover {
        width: 120px;
        height: 85px;
    }
    .gt-cms-name {
        font-size: 1rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .gt-cms-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .gt-cms-header {
        padding: 0.625rem;
    }
    .gt-cms-cover {
        width: 110px;
        height: 80px;
    }
    .gt-cms-name {
        font-size: 0.95rem;
    }
    .gt-cms-desc {
        font-size: 0.8rem;
    }
    .gt-cms-list li {
        font-size: 0.825rem;
        padding: 0.4rem 0 !important;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .gt-cms-section {
        margin-top: 1rem;
    }
    .gt-cms-title-h3.gt-cms-title-h3 {
        font-size: 1rem;
        margin: 0.5rem 0 0.5rem;
    }
    .gt-cms-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    .gt-cms-cover {
        width: 100%;
        height: 120px;
    }
    .gt-cms-views {
        top: 0.4rem;
        left: 0.4rem;
        padding: 0.1rem 0.4rem;
        font-size: 0.7rem;
    }
    .gt-cms-info {
        width: 100%;
    }
    .gt-cms-meta {
        margin-bottom: 0.35rem;
    }
    .gt-cms-body {
        padding: 0 0.625rem 0.625rem;
    }
    .gt-cms-list li {
        font-size: 0.8rem;
        padding: 0.35rem 0 !important;
    }
    .gt-cms-date {
        font-size: 0.7rem;
    }
}
/* Share Modal Styles */
#mirai-share-modal{display:none;position:fixed;inset:0;z-index:9999}
#mirai-share-modal.show{display:block}
#mirai-share-modal .share-mask{position:absolute;inset:0;background:rgba(0,0,0,.5)}
#mirai-share-modal .share-container{position:absolute;bottom:0;left:0;width:100%;background:var(--gt-card-bg);border-radius:16px 16px 0 0;padding:20px;transform:translateY(100%);transition:transform .3s ease;color:var(--gt-font-color)}
#mirai-share-modal.show .share-container{transform:translateY(0)}
#mirai-share-modal .share-title{text-align:center;margin-bottom:20px;font-weight:bold;font-size:16px;color:var(--gt-font-color)}
#mirai-share-modal .share-options{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;text-align:center}
#mirai-share-modal .share-item{cursor:pointer;font-size:12px;color:var(--gt-font-66);transition:opacity .2s}
#mirai-share-modal .share-item:hover{opacity:.8}
#mirai-share-modal .share-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 8px}
#mirai-share-modal .share-icon i{font-size:28px}
#mirai-share-modal .icon-qq{background:rgba(24,144,255,.15);color:#1890FF}
#mirai-share-modal .icon-wechat{background:rgba(7,193,96,.15);color:#07C160}
#mirai-share-modal .icon-weibo{background:rgba(224,47,41,.15);color:#E02F29}
#mirai-share-modal .icon-qzone{background:rgba(250,140,22,.15);color:#FA8C16}
#mirai-share-modal .icon-poster{background:rgba(114,46,209,.15);color:#722ED1}
#mirai-share-modal .icon-link{background:var(--gt-main-color-16);color:var(--gt-font-66)}
.share-close-btn{margin-top:20px;padding:10px;text-align:center;border-top:1px solid var(--gt-border-color);cursor:pointer;color:var(--gt-font-66);transition:color .2s}
.share-close-btn:hover{color:var(--gt-main-color)}
.poster-close i,.wechat-close i{font-size:20px}

/* Poster Modal */
#mirai-poster-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0;transition:opacity .3s}
#mirai-poster-modal.show{pointer-events:auto;opacity:1}
#mirai-poster-modal .poster-mask{position:absolute;inset:0;background:rgba(0,0,0,.8);pointer-events:auto}
#mirai-poster-modal .poster-content{position:relative;z-index:1;max-width:90%;max-height:90%;pointer-events:auto;display:flex;flex-direction:column;align-items:center}
#mirai-poster-modal .poster-card{position:relative;display:inline-block;border-radius:8px;overflow:hidden}
#mirai-generated-poster{max-width:100%;max-height:80vh;display:block}
#mirai-poster-modal .poster-tip{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);text-align:center;color:#fff;background:rgba(0,0,0,.6);padding:3px 10px;border-radius:12px;font-size:11px;white-space:nowrap;line-height:1.4}
#mirai-poster-modal .poster-close{position:absolute;top:8px;right:8px;color:#fff;cursor:pointer;padding:4px;background:rgba(0,0,0,.5);border-radius:50%;opacity:.9;transition:opacity .2s,background .2s;display:flex;align-items:center;justify-content:center;width:24px;height:24px;z-index:10}
#mirai-poster-modal .poster-close:hover{opacity:1;background:rgba(0,0,0,.8)}

/* WeChat Modal */
#mirai-wechat-modal{display:none;position:fixed;inset:0;z-index:10000;align-items:center;justify-content:center}
#mirai-wechat-modal.show{display:flex}
#mirai-wechat-modal .wechat-mask{position:absolute;inset:0;background:rgba(0,0,0,.8)}
#mirai-wechat-modal .wechat-content{position:relative;background:var(--gt-card-bg);padding:30px;border-radius:12px;text-align:center;max-width:300px;box-shadow:var(--gt-box-shadow)}
#mirai-wechat-modal .wechat-title{font-size:16px;font-weight:bold;margin-bottom:20px;color:var(--gt-font-color)}
#mirai-wechat-modal .wechat-qr{width:200px;height:200px;margin:0 auto;background:var(--gt-white-color);padding:10px;border-radius:4px;display:flex;align-items:center;justify-content:center}#mirai-wechat-modal .wechat-qr canvas,#mirai-wechat-modal .wechat-qr img{display:block;margin:0 auto}
#mirai-wechat-modal .wechat-desc{margin-top:15px;color:var(--gt-font-66);font-size:12px;line-height:1.5}
#mirai-wechat-modal .wechat-close{position:absolute;top:10px;right:10px;cursor:pointer;color:var(--gt-font-66);transition:color .2s}
#mirai-wechat-modal .wechat-close:hover{color:var(--gt-main-color)}

/* 验证码输入框及发送按钮样式 */
.gt-auth-code {
    display: flex !important;
    gap: 0.75rem;
    align-items: stretch;
}

.gt-auth-code input {
    flex: 1;
    width: 0 !important; /* 覆盖 width: 100% 以便 flex 生效 */
    min-width: 0;
}

.gt-btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border: none;
    background: var(--gt-main-color);
    color: #fff;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}

.gt-btn-send:hover {
    background: var(--gt-main-color-88);
}

.gt-btn-send:disabled {
    background: var(--gt-main-color-16);
    color: var(--gt-font-56);
    cursor: not-allowed;
    opacity: 0.8;
}

.gt-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.gt-post-navigation a {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    background: var(--gt-card-bg);
    border: 1px solid var(--gt-main-color-16);
    border-radius: var(--gt-main-radius);
    text-decoration: none;
    box-shadow: var(--gt-box-shadow);
    transition: all 0.25s ease;
}

.gt-post-navigation a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--gt-main-color-28);
}

.gt-post-navigation .gt-nav-label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--gt-font-56);
    margin-bottom: 0.25rem;
}

.gt-post-navigation .gt-nav-label i.nav-prev-icon,
.gt-post-navigation .gt-nav-label i.nav-next-icon {
    display: inline-block;
    vertical-align: middle;
    color: var(--gt-font-56);
    opacity: 0.9;
    transition: color 0.18s;
    font-size: 1.125rem
}

.gt-post-navigation a:hover .gt-nav-label,
.gt-post-navigation a:hover .gt-nav-label i.nav-prev-icon,
.gt-post-navigation a:hover .gt-nav-label i.nav-next-icon {
    color: var(--gt-main-color);
}

.gt-post-navigation .gt-nav-title {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--gt-font-color);
    transition: color 0.18s;
}

.gt-post-navigation a:hover .gt-nav-title {
    color: var(--gt-main-color);
}

.gt-nav-prev {
    align-items: flex-start;
}

.gt-nav-next {
    align-items: flex-end;
    text-align: right;
}

.gt-nav-empty {
    visibility: hidden;
}

@media screen and (max-width: 768px) {
    .gt-post-navigation {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* 移动端底部导航 - 毛玻璃悬浮风格 */
.gt-mobile-bottom-tab {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 0.298rem calc(0.5rem + env(safe-area-inset-bottom, 0));
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
    pointer-events: none
}

body.header-hidden .gt-mobile-bottom-tab {
    transform: translateY(100%)
}

.gt-mobile-bottom-tab-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    max-width: 480px;
    margin: 0 auto;
    background: color-mix(in srgb, var(--gt-card-bg) 75%, transparent);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-radius: calc(var(--gt-main-radius) * var(--gt-nav-radius-multiplier, 2));
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(255, 255, 255, .4);
    pointer-events: auto
}

[data-theme="dark"] .gt-mobile-bottom-tab-inner {
    background: color-mix(in srgb, var(--gt-card-bg) 70%, transparent);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .15), inset 0 0 0 1px rgba(255, 255, 255, .08)
}

.gt-mobile-bottom-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: var(--gt-font-color);
    transition: color .2s, transform .2s
}

.gt-mobile-bottom-tab-item i {
    margin-bottom: 3px;
    font-size: 1.5rem;
    color: var(--gt-main-color);
    opacity: .95;
    transition: transform .2s, opacity .2s
}

.gt-mobile-bottom-tab-item svg {
    margin-bottom: 3px;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--gt-main-color);
    opacity: .95;
    transition: transform .2s, opacity .2s
}

.gt-mobile-bottom-tab-item span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gt-font-color);
    opacity: .95
}

.gt-mobile-bottom-tab-item.active,
.gt-mobile-bottom-tab-item:hover {
    color: var(--gt-main-color)
}

.gt-mobile-bottom-tab-item.active i {
    font-weight: 700
}

@media screen and (max-width: 768px) {
    .gt-mobile-bottom-tab {
        display: block
    }

    .gt-footer {
        margin-bottom: 0;
        padding-bottom: calc(64px + 0.5rem + env(safe-area-inset-bottom, 0))
    }
}

@media screen and (max-width: 480px) {
    .gt-mobile-bottom-tab-inner {
        height: 58px
    }

    .gt-mobile-bottom-tab-item i {
        font-size: 1.375rem
    }

    .gt-mobile-bottom-tab-item span {
        font-size: 0.7rem
    }

    .gt-footer {
        padding-bottom: calc(58px + 0.5rem + env(safe-area-inset-bottom, 0))
    }
}

.gt-home-links-section{margin-top:1.5rem;width:100%}
.gt-home-links-wrapper{background:var(--gt-card-bg);border-radius:var(--gt-main-radius);box-shadow:var(--gt-box-shadow);padding:1.25rem 1.5rem}
.gt-home-links-list{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;align-items:center}
.gt-home-link-item{display:inline-flex;align-items:center;padding:.375rem 0;color:var(--gt-font-color);text-decoration:none;font-size:.9375rem;transition:color .2s;position:relative}
.gt-home-link-item:hover{color:var(--gt-main-color)}
.gt-home-link-item:not(:last-child)::after{content:'';position:absolute;right:-.625rem;top:50%;transform:translateY(-50%);width:1px;height:.875rem;background:var(--gt-main-color-16)}
.gt-home-link-more{color:var(--gt-main-color);font-weight:500}
.gt-home-link-more:hover{color:var(--gt-main-color-88)}
@media(max-width:768px){.gt-home-links-section{margin-top:1rem}.gt-home-links-wrapper{padding:1rem 1.25rem}.gt-home-links-list{gap:.375rem 1rem}.gt-home-link-item{font-size:.875rem}}
@media(max-width:480px){.gt-home-links-wrapper{padding:.875rem 1rem}.gt-home-links-list{gap:.25rem .875rem}.gt-home-link-item{font-size:.85rem;padding:.25rem 0}.gt-home-link-item:not(:last-child)::after{right:-.4375rem;height:.75rem}}
.mirai-paybox{margin-top:14px;background:var(--gt-card-bg);border-radius:var(--gt-main-radius);border:1px solid var(--gt-border-color);overflow:hidden}
.mirai-paybox-title{display:inline-flex;align-items:center;font-size:12px;font-weight:600;color:#fff;background:#ff4757;padding:5px 12px;border-radius:calc(var(--gt-main-radius) * 0.5)}
.mirai-paybox-layout{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px 20px}
.mirai-paybox-price-area{display:flex;align-items:baseline;justify-content:center;gap:10px;flex-wrap:wrap}
.mirai-paybox-badge{display:inline-flex;align-items:center;background:#ff4757;color:#fff;font-size:11px;font-weight:600;border-radius:calc(var(--gt-main-radius) * 0.5);padding:3px 8px;gap:4px}
.mirai-paybox-badge-icon{width:14px;height:14px;vertical-align:-2px}
.mirai-paybox-price-num{font-size:28px;font-weight:700;color:#ff4757;line-height:1}
.mirai-paybox-price-num::before{content:'¥';font-size:16px;font-weight:600;margin-right:2px}
.mirai-paybox-price-old{font-size:13px;color:var(--gt-text-secondary);text-decoration:line-through}
.mirai-paybox-price-old::before{content:'¥'}
.mirai-paybox-vip-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.mirai-paybox-vip-item{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--gt-font-color);background:var(--gt-bg-fa);padding:4px 8px;border-radius:calc(var(--gt-main-radius) * 0.5)}
.mirai-paybox-vip-item i{color:#ffa500;font-size:14px}
.mirai-paybox-vip-item strong{color:#ff4757;margin-left:2px}
.mirai-paybox-submit{min-width:200px;max-width:320px;height:44px;padding:0 40px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--gt-main-color);border:none;border-radius:var(--gt-main-radius);font-size:15px;font-weight:700;cursor:pointer}
.mirai-paybox-submit:hover{background:var(--gt-main-color-88)}
.mirai-paybox-desc{font-size:12px;color:var(--gt-font-color);line-height:1.6;text-align:center;max-width:420px}
.mirai-paybox-tip{font-size:11px;color:var(--gt-text-secondary);text-align:center;margin-top:4px}
.mirai-paybox-actions{padding:18px 20px;text-align:center;display:flex;flex-direction:column;align-items:center}
.mirai-paybox-empty{padding:20px;text-align:center;color:var(--gt-text-secondary);font-size:14px}
.mirai-paybox-notice-extra{font-size:12px;color:var(--gt-text-secondary);line-height:1.5;text-align:center;max-width:420px}
.mirai-paybox-login-disabled{color:var(--gt-text-secondary);font-size:13px}
.mirai-paybox-row{margin-bottom:12px}
.mirai-paybox-amount{width:100%;padding:10px 12px;border:1px solid var(--gt-border-color);border-radius:var(--gt-main-radius);font-size:14px;background:var(--gt-card-bg);color:var(--gt-font-color)}
@media(max-width:576px){.mirai-paybox-layout{padding:18px 16px;gap:14px}.mirai-paybox-submit{max-width:100%;width:100%;min-width:auto;padding:0 24px}.mirai-paybox-desc,.mirai-paybox-notice-extra{max-width:100%}}
[data-theme="dark"] .mirai-paybox-title,[data-theme="dark"] .mirai-paybox-badge{background:var(--gt-error);color:#fff}[data-theme="dark"] .mirai-paybox-price-num,[data-theme="dark"] .mirai-paybox-vip-item strong{color:var(--gt-error)}[data-theme="dark"] .mirai-paybox-vip-item{background:var(--gt-bg-fa)}[data-theme="dark"] .mirai-paybox-amount{background:var(--gt-bg-color);color:var(--gt-font-color)}