/* ==========================================================================
   Tech 深色科技模板 - 暗色霓虹风
   ========================================================================== */

:root {
    --tc-bg: #0b0f1a;
    --tc-bg-alt: #101627;
    --tc-card: #141b2e;
    --tc-card-2: #182137;
    --tc-border: #233052;
    --tc-cyan: #22d3ee;
    --tc-green: #34d399;
    --tc-blue: #60a5fa;
    --tc-purple: #a78bfa;
    --tc-grad: linear-gradient(135deg, #22d3ee 0%, #34d399 100%);
    --tc-text: #e2e8f0;
    --tc-text-dim: #94a3b8;
    --tc-text-faint: #64748b;
    --tc-radius: 14px;
    --tc-radius-lg: 20px;
    --tc-glow: 0 0 24px rgba(34, 211, 238, 0.15);
    --tc-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
    --tc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--tc-font);
    color: var(--tc-text);
    background: var(--tc-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--tc-cyan);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--tc-green);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.tc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 顶部导航 ==================== */

.tc-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.12);
}

.tc-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.tc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.tc-logo:hover {
    color: var(--tc-cyan);
}

.tc-logo-badge {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #06121a;
    background: var(--tc-grad);
    box-shadow: var(--tc-glow);
    font-size: 1.05rem;
}

.tc-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tc-nav-links a {
    display: block;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--tc-text-dim);
    font-weight: 500;
    transition: all 0.25s ease;
}

.tc-nav-links a:hover {
    color: #06121a;
    background: var(--tc-grad);
}

.tc-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.tc-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tc-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.tc-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.tc-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==================== Hero ==================== */

.tc-hero {
    position: relative;
    padding: 110px 0 130px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #0d1526 0%, #0b0f1a 100%);
    border-bottom: 1px solid rgba(34, 211, 238, 0.08);
}

.tc-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
}

.tc-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
}

.tc-hero-glow-1 {
    width: 420px;
    height: 420px;
    left: -120px;
    top: -100px;
    background: #22d3ee;
}

.tc-hero-glow-2 {
    width: 480px;
    height: 480px;
    right: -140px;
    bottom: -160px;
    background: #8b5cf6;
}

.tc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.tc-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--tc-cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.3);
    margin-bottom: 26px;
    letter-spacing: 1px;
}

.tc-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

.tc-hero-title-grad {
    background: var(--tc-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tc-hero-subtitle {
    font-size: 1.1rem;
    color: var(--tc-text-dim);
    margin-bottom: 34px;
}

.tc-hero-search {
    display: flex;
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 999px;
    padding: 6px 6px 6px 24px;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tc-hero-search:focus-within {
    border-color: var(--tc-cyan);
    box-shadow: var(--tc-glow);
}

.tc-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.98rem;
    color: var(--tc-text);
    background: transparent;
}

.tc-search-input::placeholder {
    color: var(--tc-text-faint);
}

.tc-search-btn {
    border: none;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #06121a;
    background: var(--tc-grad);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tc-search-btn:hover {
    opacity: 0.94;
    transform: scale(1.02);
    box-shadow: var(--tc-glow);
}

/* ==================== 数据条 ==================== */

.tc-stats {
    margin-top: -58px;
    position: relative;
    z-index: 3;
}

.tc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tc-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--tc-card);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    padding: 22px 26px;
    box-shadow: var(--tc-shadow);
    transition: all 0.35s ease;
}

.tc-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: var(--tc-glow);
}

.tc-stat-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.3rem;
    color: var(--tc-cyan);
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.tc-stat-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.tc-stat-desc {
    font-size: 0.85rem;
    color: var(--tc-text-dim);
}

/* ==================== 通用区块 ==================== */

.tc-main {
    padding: 64px 0;
}

.tc-main-alt {
    background: var(--tc-bg-alt);
    border-top: 1px solid rgba(34, 211, 238, 0.06);
    border-bottom: 1px solid rgba(34, 211, 238, 0.06);
}

.tc-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.tc-section-title {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.tc-section-title i {
    color: var(--tc-cyan);
    margin-right: 8px;
}

.tc-section-subtitle {
    color: var(--tc-text-dim);
    font-size: 0.96rem;
}

.tc-mini-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
    padding-left: 14px;
    position: relative;
}

.tc-mini-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 3px;
    background: var(--tc-grad);
    box-shadow: var(--tc-glow);
}

/* ==================== 首页文章卡片 ==================== */

.tc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tc-card {
    background: var(--tc-card);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    overflow: hidden;
    transition: all 0.35s ease;
}

.tc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: var(--tc-glow);
}

.tc-card-imgwrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.tc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tc-card:hover .tc-card-img {
    transform: scale(1.08);
}

.tc-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: rgba(34, 211, 238, 0.35);
    background: linear-gradient(135deg, #182137, #1d2740);
}

.tc-card-cat {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.76rem;
    color: #06121a;
    background: var(--tc-grad);
    box-shadow: var(--tc-glow);
}

.tc-card-body {
    padding: 20px;
}

.tc-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-card:hover .tc-card-title {
    color: var(--tc-cyan);
}

.tc-card-excerpt {
    font-size: 0.87rem;
    color: var(--tc-text-dim);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--tc-text-faint);
    padding-top: 12px;
    border-top: 1px dashed var(--tc-border);
}

.tc-card-meta i {
    color: var(--tc-cyan);
    margin-right: 3px;
}

/* ==================== 栏目精选 ==================== */

.tc-cats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tc-cat-card {
    background: var(--tc-card);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    padding: 26px;
    transition: all 0.3s ease;
}

.tc-cat-card:hover {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: var(--tc-glow);
}

.tc-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tc-border);
}

.tc-cat-name a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.tc-cat-name a:hover {
    color: var(--tc-cyan);
}

.tc-cat-more {
    font-size: 0.84rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--tc-cyan);
}

.tc-cat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.tc-cat-list li a {
    color: var(--tc-text-dim);
    font-size: 0.94rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-cat-list li a:hover {
    color: var(--tc-cyan);
}

.tc-cat-date {
    flex-shrink: 0;
    font-size: 0.78rem;
    color: var(--tc-text-faint);
}

/* ==================== 芯片云（分站/友链） ==================== */

.tc-chip-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--tc-text-dim);
    background: var(--tc-card);
    border: 1px solid var(--tc-border);
    transition: all 0.3s ease;
}

.tc-chip i {
    color: var(--tc-cyan);
}

.tc-chip:hover {
    color: #06121a;
    background: var(--tc-grad);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--tc-glow);
}

.tc-chip-plain {
    background: var(--tc-bg-alt);
}

/* ==================== 列表页头部 ==================== */

.tc-page-head {
    background: linear-gradient(180deg, #0d1526 0%, #0b0f1a 100%);
    padding: 58px 0 50px;
    text-align: center;
    border-bottom: 1px solid rgba(34, 211, 238, 0.08);
}

.tc-page-head-sm {
    padding: 24px 0;
    text-align: left;
}

.tc-page-title {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.tc-page-subtitle {
    color: var(--tc-text-dim);
    margin-bottom: 22px;
}

.tc-breadcrumb {
    font-size: 0.88rem;
    color: var(--tc-text-faint);
}

.tc-breadcrumb a {
    color: var(--tc-text-dim);
}

.tc-breadcrumb a:hover {
    color: var(--tc-cyan);
}

.tc-breadcrumb-sep {
    margin: 0 8px;
}

.tc-breadcrumb-current {
    color: var(--tc-cyan);
    font-weight: 600;
}

/* 搜索框 */
.tc-search-box {
    display: flex;
    max-width: 560px;
    margin: 0 auto 26px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 999px;
    padding: 6px 6px 6px 24px;
}

.tc-search-box:focus-within {
    border-color: var(--tc-cyan);
    box-shadow: var(--tc-glow);
}

/* ==================== 列表主体 ==================== */

.tc-main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: start;
}

.tc-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.tc-list-item {
    background: var(--tc-card);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    overflow: hidden;
    transition: all 0.35s ease;
}

.tc-list-item:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: var(--tc-glow);
    transform: translateY(-4px);
}

.tc-list-link {
    display: flex;
    gap: 22px;
    padding: 18px;
    color: inherit;
}

.tc-list-imgwrap {
    width: 230px;
    height: 145px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.tc-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tc-list-item:hover .tc-list-img {
    transform: scale(1.06);
}

.tc-list-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(34, 211, 238, 0.35);
    background: linear-gradient(135deg, #182137, #1d2740);
}

.tc-list-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tc-list-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--tc-text-faint);
}

.tc-list-cat {
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    color: #06121a;
    background: var(--tc-grad);
}

.tc-list-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-list-item:hover .tc-list-title {
    color: var(--tc-cyan);
}

.tc-list-excerpt {
    font-size: 0.9rem;
    color: var(--tc-text-dim);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-list-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: var(--tc-text-faint);
    padding-top: 10px;
    border-top: 1px dashed var(--tc-border);
}

.tc-list-more {
    color: var(--tc-cyan);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tc-list-more i {
    transition: transform 0.3s ease;
}

.tc-list-item:hover .tc-list-more i {
    transform: translateX(4px);
}

/* 空状态 */
.tc-empty {
    text-align: center;
    padding: 70px 20px;
    background: var(--tc-card);
    border: 1px dashed var(--tc-border);
    border-radius: var(--tc-radius-lg);
}

.tc-empty-icon {
    font-size: 3rem;
    color: rgba(34, 211, 238, 0.3);
    margin-bottom: 18px;
}

.tc-empty h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 8px;
}

.tc-empty p {
    color: var(--tc-text-dim);
    margin-bottom: 24px;
}

.tc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.tc-btn-primary {
    color: #06121a;
    background: var(--tc-grad);
    box-shadow: var(--tc-glow);
}

.tc-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 32px rgba(34, 211, 238, 0.4);
    color: #06121a;
}

/* 分页 */
.tc-pagination {
    margin-top: 34px;
    display: flex;
    justify-content: center;
}

.tc-pagination a,
.tc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--tc-text-dim);
    background: var(--tc-card);
    border: 1px solid var(--tc-border);
    transition: all 0.25s ease;
}

.tc-pagination a:hover {
    color: #06121a;
    background: var(--tc-grad);
    border-color: transparent;
    box-shadow: var(--tc-glow);
}

.tc-pagination .active {
    color: #06121a;
    background: var(--tc-grad);
    border-color: transparent;
    box-shadow: var(--tc-glow);
}

/* ==================== 详情页 ==================== */

.tc-article {
    background: var(--tc-card);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-lg);
    padding: 38px;
}

.tc-article-head {
    border-bottom: 1px solid var(--tc-border);
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.tc-article-cat {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #06121a;
    background: var(--tc-grad);
    box-shadow: var(--tc-glow);
    margin-bottom: 14px;
}

.tc-article-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 16px;
}

.tc-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.86rem;
    color: var(--tc-text-faint);
}

.tc-article-meta i {
    color: var(--tc-cyan);
    margin-right: 5px;
}

/* 正文排版 */
.tc-article-body {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--tc-text);
}

.tc-article-body p {
    margin-bottom: 1.2em;
}

.tc-article-body h2,
.tc-article-body h3,
.tc-article-body h4 {
    color: #fff;
    margin: 1.6em 0 0.8em;
    line-height: 1.4;
}

.tc-article-body img {
    border-radius: 14px;
    margin: 1.4em auto;
    box-shadow: var(--tc-shadow);
}

.tc-article-body blockquote {
    border-left: 4px solid var(--tc-cyan);
    background: var(--tc-bg-alt);
    padding: 16px 22px;
    margin: 1.4em 0;
    border-radius: 0 12px 12px 0;
    color: var(--tc-text-dim);
}

.tc-article-body ul,
.tc-article-body ol {
    padding-left: 1.4em;
    margin-bottom: 1.2em;
}

.tc-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
}

.tc-article-body th,
.tc-article-body td {
    border: 1px solid var(--tc-border);
    padding: 10px 14px;
    text-align: left;
}

.tc-article-body th {
    background: var(--tc-bg-alt);
    color: var(--tc-cyan);
}

/* 标签与分享 */
.tc-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--tc-border);
    margin-top: 32px;
    padding-top: 22px;
}

.tc-tags-label,
.tc-share-label {
    font-size: 0.9rem;
    color: var(--tc-text-faint);
    margin-right: 6px;
}

.tc-tag-item {
    display: inline-block;
    padding: 4px 14px;
    margin-right: 6px;
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--tc-cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.tc-tag-item:hover {
    color: #06121a;
    background: var(--tc-grad);
    border-color: transparent;
}

.tc-share-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--tc-border);
    border-radius: 50%;
    background: var(--tc-bg-alt);
    cursor: pointer;
    color: var(--tc-text-dim);
    font-size: 1rem;
    transition: all 0.25s ease;
}

.tc-share-btn:hover {
    color: #06121a;
    background: var(--tc-grad);
    border-color: transparent;
    box-shadow: var(--tc-glow);
}

.tc-share-sm {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
}

/* 上一篇/下一篇 */
.tc-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.tc-nav-item {
    display: block;
    padding: 16px 20px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    background: var(--tc-bg-alt);
    transition: all 0.3s ease;
}

.tc-nav-item:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: var(--tc-glow);
}

.tc-nav-next {
    text-align: right;
}

.tc-nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--tc-text-faint);
    margin-bottom: 6px;
}

.tc-nav-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tc-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-nav-item:hover .tc-nav-title {
    color: var(--tc-cyan);
}

/* 相关文章 */
.tc-related {
    margin-top: 34px;
}

.tc-related-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.tc-related-title i {
    color: var(--tc-cyan);
}

.tc-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tc-related-card {
    background: var(--tc-bg-alt);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    padding: 18px;
    transition: all 0.3s ease;
}

.tc-related-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: var(--tc-glow);
}

.tc-related-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tc-text);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-related-card:hover .tc-related-name {
    color: var(--tc-cyan);
}

.tc-related-meta {
    font-size: 0.8rem;
    color: var(--tc-text-faint);
}

/* ==================== 侧边栏 ==================== */

.tc-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 88px;
}

.tc-widget {
    background: var(--tc-card);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    padding: 24px;
}

.tc-widget-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-widget-title i {
    color: var(--tc-cyan);
}

.tc-widget-cats li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--tc-border);
}

.tc-widget-cats li:last-child {
    border-bottom: none;
}

.tc-widget-cats a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tc-text-dim);
    font-size: 0.92rem;
    font-weight: 500;
}

.tc-widget-cats a:hover {
    color: var(--tc-cyan);
    padding-left: 4px;
}

.tc-cat-tag {
    color: var(--tc-cyan);
}

.tc-widget-articles {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tc-widget-item {
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--tc-border);
}

.tc-widget-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tc-widget-link {
    display: flex;
    gap: 12px;
}

.tc-widget-rank {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #06121a;
    background: var(--tc-grad);
    border-radius: 8px;
}

.tc-widget-title-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tc-text-dim);
    line-height: 1.5;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-widget-link:hover .tc-widget-title-item {
    color: var(--tc-cyan);
}

.tc-widget-meta {
    display: flex;
    gap: 12px;
    font-size: 0.76rem;
    color: var(--tc-text-faint);
}

.tc-widget-meta i {
    color: var(--tc-cyan);
    margin-right: 3px;
}

.tc-widget-glow {
    background: linear-gradient(160deg, #131d36, #101627);
    border-color: rgba(34, 211, 238, 0.25);
}

.tc-widget-guarantees li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.9rem;
    color: var(--tc-text-dim);
}

.tc-widget-guarantees i {
    color: var(--tc-green);
}

/* ==================== 页脚 ==================== */

.tc-footer {
    background: #080c15;
    color: var(--tc-text-faint);
    padding-top: 56px;
    border-top: 1px solid rgba(34, 211, 238, 0.08);
}

.tc-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tc-footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.tc-footer-text {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.tc-footer-social {
    display: flex;
    gap: 10px;
}

.tc-footer-social .tc-share-btn {
    border-color: var(--tc-border);
    color: var(--tc-text-dim);
    background: transparent;
}

.tc-footer-social .tc-share-btn:hover {
    background: var(--tc-grad);
    border-color: transparent;
    color: #06121a;
    box-shadow: var(--tc-glow);
}

.tc-footer-links li {
    margin-bottom: 10px;
}

.tc-footer-links a {
    color: var(--tc-text-faint);
    font-size: 0.88rem;
}

.tc-footer-links a:hover {
    color: var(--tc-cyan);
}

.tc-footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.tc-footer-contact i {
    color: var(--tc-cyan);
    width: 18px;
    text-align: center;
}

.tc-footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.84rem;
    color: var(--tc-text-faint);
}

.tc-footer-bottom a {
    color: var(--tc-text-dim);
}

.tc-footer-bottom a:hover {
    color: var(--tc-cyan);
}

/* ==================== 回到顶部 ==================== */

.tc-back-top {
    position: fixed;
    right: 24px;
    bottom: 30px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    color: #06121a;
    background: var(--tc-grad);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--tc-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s ease;
    z-index: 90;
}

.tc-back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tc-back-top:hover {
    transform: translateY(-4px);
}

/* ==================== 404 ==================== */

.tc-404 {
    padding: 110px 0 130px;
    text-align: center;
}

.tc-404-code {
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 1;
    background: var(--tc-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 28px rgba(34, 211, 238, 0.35));
    margin-bottom: 16px;
}

.tc-404-title {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
}

.tc-404-text {
    color: var(--tc-text-dim);
    margin-bottom: 30px;
}

/* ==================== 响应式 ==================== */

@media (max-width: 992px) {
    .tc-stats-grid {
        grid-template-columns: 1fr;
    }

    .tc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tc-main-grid {
        grid-template-columns: 1fr;
    }

    .tc-sidebar {
        position: static;
    }

    .tc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tc-navbar {
        height: 60px;
    }

    .tc-menu-toggle {
        display: flex;
    }

    .tc-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #0d1526;
        padding: 10px 20px 20px;
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
        z-index: 99;
        border-bottom: 1px solid var(--tc-border);
    }

    .tc-nav.open {
        transform: translateY(0);
    }

    .tc-nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .tc-nav-links a {
        padding: 12px 16px;
        border-radius: 10px;
    }

    .tc-hero {
        padding: 70px 0 90px;
    }

    .tc-hero-search {
        flex-direction: column;
        gap: 10px;
        background: transparent;
        padding: 0;
        border: none;
        backdrop-filter: none;
    }

    .tc-hero-search .tc-search-input {
        padding: 15px 20px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(34, 211, 238, 0.25);
    }

    .tc-hero-search .tc-search-btn {
        justify-content: center;
    }

    .tc-stats {
        margin-top: -30px;
    }

    .tc-main {
        padding: 46px 0;
    }

    .tc-grid,
    .tc-cats-grid {
        grid-template-columns: 1fr;
    }

    .tc-list-link {
        flex-direction: column;
    }

    .tc-list-imgwrap {
        width: 100%;
        height: 170px;
    }

    .tc-article-nav {
        grid-template-columns: 1fr;
    }

    .tc-related-grid {
        grid-template-columns: 1fr;
    }

    .tc-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tc-article {
        padding: 22px;
    }
}
