/* ========================================================================
   theme234 — 地下电子·实验音乐模版
   主色：霓虹青 #00E5A0  辅助：紫 #7B2FBE  背景：哑光黑 #0A0A0C
   圆角：0px 直角  |  密度：紧凑  |  字体：窄体无衬线
   ======================================================================== */

:root {
    --color-primary: #00E5A0;
    --color-primary-dark: #00B880;
    --color-primary-light: #0A1A14;
    --color-accent: #7B2FBE;
    --color-accent-light: #140A20;
    --color-text-dark: #E0E0E0;
    --color-text-muted: #888;
    --color-text-light: #666;
    --color-bg-warm: #111116;
    --color-bg-gray: #0E0E12;
    --color-border: #222;
    --color-border-dark: #333;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --shadow-sm: 0 0 10px rgba(0,229,160,0.08);
    --shadow-md: 0 0 20px rgba(0,229,160,0.15);
    --font-family: "SF Pro Display", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body { font-family: var(--font-family); color: var(--color-text-dark); background: var(--color-bg-gray); }
a { color: var(--color-text-dark); transition: color 0.2s; }
a:hover { color: var(--color-primary); text-decoration: none; }
.container { max-width: 1230px; }

/* A11y */
.skip-link { position: absolute; top: -50px; left: 8px; z-index: 9999; padding: 10px 18px; background: var(--color-primary); color: #000 !important; font-size: 14px; transition: top 0.2s; }
.skip-link:focus { top: 0; outline: 2px solid #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* ---- Header ---- */
.site-header { background: #0A0A0C; border-bottom: 1px solid #1A1A1A; position: sticky; top: 0; z-index: 1000; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.site-logo img { height: 38px; }
.main-nav { background: #111; border-top: 1px solid #1A1A1A; border-bottom: 1px solid #1A1A1A; }
.main-menu > li > a { color: #CCC !important; padding: 12px 18px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.main-menu > li > a:hover,
.main-menu > li.active > a { color: var(--color-primary) !important; background: rgba(0,229,160,0.06); }
.main-menu .dropdown-menu { background: #161616; border: 1px solid #222; }
.main-menu .dropdown-menu a { padding: 8px 18px; font-size: 13px; color: #AAA; }
.main-menu .dropdown-menu a:hover { background: rgba(0,229,160,0.08); color: var(--color-primary); }
/* fix: 该 bootstrap 精简版缺少 .nav>li{float:left}，导致主菜单竖排；改用 flex 横排 */
.main-menu { display: flex; flex-wrap: wrap; align-items: center; }
.main-menu > li { float: none; }
.main-menu > li > a { display: block; }
/* fix: bootstrap .container 的 :before/:after 清除浮动伪元素在 flex 容器中成为 flex 项，配合 space-between 会把内容挤到居中 */
.site-header .container::before,
.site-header .container::after { display: none; }
.mobile-toggle { display: none; border: none; background: transparent; padding: 8px; }
.mobile-toggle .icon-bar { display: block; width: 20px; height: 1px; background: #CCC; margin: 4px 0; }

/* ---- Hero ---- */
.hero-section { position: relative; padding: 100px 0; text-align: center; background-size: cover; background-position: center; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 100%); }
.hero-section .container { position: relative; z-index: 1; }
.hero-title { font-size: 48px; font-weight: 900; color: #FFF; margin: 0 0 16px; letter-spacing: 4px; text-transform: uppercase; }
.hero-subtitle { font-size: 16px; color: rgba(255,255,255,0.6); margin: 0 0 36px; letter-spacing: 2px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-primary { display: inline-block; padding: 12px 36px; background: var(--color-primary); color: #000; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; transition: all 0.2s; }
.hero-actions .btn-primary:hover { background: #FFF; color: #000; }
.hero-actions .btn-secondary { display: inline-block; padding: 12px 36px; background: transparent; color: #FFF; border: 1px solid #FFF; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; transition: all 0.2s; }
.hero-actions .btn-secondary:hover { background: #FFF; color: #000; border-color: #FFF; }

/* ---- Swiper ---- */
.banner-section { padding: 0; background: #0A0A0C; }
.focus-banner .swiper-slide img { width: 100%; height: 400px; object-fit: cover; opacity: 0.7; }
.focus-banner .swiper-slide span { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 24px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #FFF; font-size: 15px; letter-spacing: 1px; }
.focus-banner .swiper-pagination-bullet { background: #444; opacity: 1; }
.focus-banner .swiper-pagination-bullet-active { background: var(--color-primary); }

/* ---- 主内容 ---- */
.main-section { padding: 40px 0; }
.block { margin-bottom: 40px; }
.block-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid #222; }
.block-head::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 32px; height: 1px; background: var(--color-primary); }
.block-head h3 { font-size: 18px; font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: 2px; }
.block-head .more { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #222; }
.card { display: block; background: #111; transition: all 0.2s; }
.card:hover { background: #181818; }
.card-cover { position: relative; height: 150px; overflow: hidden; background: #0A0A0C; }
.card-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.card:hover .card-cover img { opacity: 0.7; }
.card-body { padding: 16px; }
.card-title { font-size: 14px; font-weight: 600; margin: 0 0 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { font-size: 18px; font-weight: 700; color: var(--color-primary); }

.article-list { list-style: none; padding: 0; margin: 0; }
.article-row { border-bottom: 1px solid #1A1A1A; padding: 14px 0; }
.article-row:last-child { border-bottom: none; }
.article-row a { display: flex; align-items: flex-start; gap: 14px; }
.article-row a img { width: 140px; height: 88px; object-fit: cover; flex-shrink: 0; opacity: 0.8; }
.article-row a div { flex: 1; min-width: 0; }
.article-row a h4 { font-size: 14px; margin: 0 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.article-row a span { font-size: 12px; color: var(--color-text-muted); }

/* ---- 侧边栏 ---- */
.widget { background: #111; border: 1px solid #1A1A1A; margin-bottom: 16px; }
.widget-head { padding: 12px 16px; border-bottom: 1px solid #1A1A1A; background: #0D0D10; }
.widget-title { font-size: 14px; font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.widget-title i { color: var(--color-primary); margin-right: 6px; }
.widget-body { padding: 12px 16px; }
.nav-list { list-style: none; padding: 0; margin: 0; }
.nav-item a { display: block; padding: 9px 12px; font-size: 13px; transition: all 0.2s; }
.nav-item a:hover,
.nav-item.active > a { color: var(--color-primary); }
.nav-sub { list-style: none; padding: 0 0 0 16px; margin: 0; }
.nav-sub a { font-size: 12px; padding: 7px 12px; }
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #1A1A1A; }
.rank-item:last-child { border-bottom: none; }
.rank-num { flex-shrink: 0; width: 22px; height: 22px; line-height: 22px; text-align: center; font-size: 11px; font-weight: 700; color: #555; background: #1A1A1A; }
.rank-num.rank-top { background: var(--color-primary); color: #000; }
.rank-content { flex: 1; min-width: 0; }
.rank-title { display: block; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-meta { font-size: 11px; color: var(--color-text-muted); }
.latest-list { list-style: none; padding: 0; margin: 0; }
.latest-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #1A1A1A; }
.latest-item:last-child { border-bottom: none; }
.latest-thumb { flex-shrink: 0; width: 78px; height: 54px; overflow: hidden; }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.latest-info { flex: 1; min-width: 0; }
.latest-title { display: -webkit-box; font-size: 12px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.latest-date { display: block; font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }
.widget-ad { padding: 0; border: none; background: transparent; }
.widget-ad .ad-link { display: block; }
.widget-ad img { width: 100%; display: block; }

/* ---- 内页通用 ---- */
.page-banner { padding: 40px 0; background: #111; text-align: center; border-bottom: 1px solid #1A1A1A; }
.page-banner-title { font-size: 24px; font-weight: 700; color: #FFF; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 2px; }
.breadcrumb-inline { font-size: 12px; color: #666; }
.breadcrumb-inline a { color: #777; }
.breadcrumb-inline a:hover { color: var(--color-primary); }
.breadcrumb-inline i { margin: 0 6px; }
.page-container { padding: 30px 0; }
.breadcrumb-box { padding: 10px 0; font-size: 12px; color: var(--color-text-muted); border-bottom: 1px solid #1A1A1A; margin-bottom: 20px; }
.breadcrumb-box a { color: var(--color-text-muted); }
.breadcrumb-box i { margin: 0 6px; }

.list-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 14px; margin-bottom: 18px; border-bottom: 1px solid #1A1A1A; flex-wrap: wrap; gap: 10px; }
.toolbar-title { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.toolbar-order { list-style: none; padding: 0; margin: 0; display: flex; gap: 0; }
.toolbar-order li:not(:last-child)::after { content: '/'; color: #333; margin: 0 8px; font-size: 11px; }
.toolbar-order a { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.toolbar-order a.active,
.toolbar-order a:hover { color: var(--color-primary); }

/* 文章卡片 */
.article-card-list { display: flex; flex-direction: column; gap: 0; }
.article-card { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid #1A1A1A; }
.article-cover { flex-shrink: 0; width: 200px; height: 128px; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s; }
.article-cover:hover img { opacity: 1; }
.article-body { flex: 1; min-width: 0; }
.article-title { font-size: 16px; font-weight: 600; margin: 0 0 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-intro { font-size: 13px; color: var(--color-text-muted); line-height: 1.8; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--color-text-light); flex-wrap: wrap; }
.meta-cat { display: inline-block; padding: 2px 10px; border: 1px solid var(--color-primary); color: var(--color-primary); font-size: 11px; text-transform: uppercase; }

/* 图片/产品网格 */
.images-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #222; }
.image-tile { display: block; background: #111; transition: all 0.2s; }
.image-tile:hover { background: #181818; }
.image-tile-cover { position: relative; padding-top: 75%; overflow: hidden; background: #0A0A0C; }
.image-tile-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s; }
.image-tile:hover .image-tile-cover img { opacity: 1; }
.image-tile-body { padding: 12px; }
.image-tile-title { font-size: 13px; font-weight: 600; margin: 0 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.image-tile-view { font-size: 11px; color: var(--color-text-light); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #222; }
.product-card { background: #111; transition: all 0.2s; }
.product-card:hover { background: #181818; }
.product-cover { display: block; position: relative; padding-top: 75%; overflow: hidden; background: #0A0A0C; }
.product-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s; }
.product-card:hover .product-cover img { opacity: 1; }
.product-body { padding: 16px; }
.product-title { font-size: 14px; font-weight: 600; margin: 0 0 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.product-meta { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 18px; font-weight: 700; color: var(--color-primary); }
.product-btn { display: inline-block; padding: 5px 16px; border: 1px solid var(--color-primary); color: var(--color-primary) !important; font-size: 12px; text-transform: uppercase; transition: all 0.2s; }
.product-btn:hover { background: var(--color-primary); color: #000 !important; }

/* ---- 详情页 ---- */
.detail-page { padding: 0; }
.article-detail { background: #111; border: 1px solid #1A1A1A; padding: 30px; margin-bottom: 24px; }
.article-detail-head { border-bottom: 1px solid #1A1A1A; padding-bottom: 16px; margin-bottom: 24px; }
.article-detail-title { font-size: 26px; font-weight: 700; margin: 0 0 12px; line-height: 1.4; }
.article-detail-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--color-text-light); flex-wrap: wrap; }
.detail-cat { display: inline-block; padding: 3px 12px; border: 1px solid var(--color-primary); color: var(--color-primary); font-size: 11px; text-transform: uppercase; }
.article-detail-content { font-size: 15px; line-height: 1.9; max-width: 720px; margin: 0 auto 24px; word-break: break-word; }
.article-detail-content img { max-width: 100%; height: auto; margin: 16px 0; }
.article-detail-content p { margin: 0 0 16px; }

/* 摘要模块 */
.article-summary { --as-primary: var(--color-primary); --as-bg: #0D0D10; --as-border: #222; margin: 30px 0; padding: 20px 24px; background: var(--as-bg); border-left: 2px solid var(--as-primary); }
.article-summary-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.summary-deco { color: var(--as-primary); flex-shrink: 0; }
.article-summary-title { font-size: 14px; margin: 0; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.article-summary-text { font-size: 13px; line-height: 1.8; margin: 0 0 12px; color: #AAA; }
.article-summary-cite { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid #222; font-size: 11px; color: #666; }
.cite-label { font-weight: 600; flex-shrink: 0; }
.cite-text { flex: 1; min-width: 0; font-family: "SF Mono", Menlo, Monaco, Consolas, monospace; background: #161616; padding: 4px 8px; color: #AAA; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 上/下篇 */
.article-detail-nav { display: flex; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #1A1A1A; }
.detail-nav-item { flex: 1; min-width: 0; display: block; padding: 14px 18px; background: #0D0D10; border: 1px solid #1A1A1A; transition: all 0.2s; }
.detail-nav-item:hover { border-color: var(--color-primary); }
.detail-nav-label { display: block; font-size: 11px; color: var(--color-text-muted); margin-bottom: 4px; text-transform: uppercase; }
.detail-nav-title { display: block; font-size: 13px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.detail-nav-next { text-align: right; }

/* 相关推荐 */
.related-section { margin-top: 30px; }
.related-section h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; padding-left: 10px; border-left: 2px solid var(--color-primary); text-transform: uppercase; letter-spacing: 1px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #222; }
.related-card { display: block; background: #111; transition: all 0.2s; }
.related-card:hover { background: #181818; }
.related-cover { position: relative; height: 120px; overflow: hidden; background: #0A0A0C; }
.related-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s; }
.related-card:hover .related-cover img { opacity: 1; }
.related-body { padding: 12px; }
.related-body h4 { font-size: 13px; margin: 0 0 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-body span { font-size: 11px; color: var(--color-text-muted); }

/* ---- 产品详情 ---- */
.product-detail-page { padding: 0; }
.product-detail-main { background: #111; border: 1px solid #1A1A1A; padding: 30px; margin-bottom: 24px; }
.product-detail-title { font-size: 22px; font-weight: 700; margin: 0 0 14px; }
.product-price-box { display: flex; align-items: baseline; gap: 10px; padding: 16px 20px; background: #0D0D10; border: 1px solid #222; margin-bottom: 20px; }
.product-price-box > span:first-child { font-size: 13px; color: var(--color-text-muted); }
.product-price-box .price { font-size: 28px; font-weight: 700; color: var(--color-primary); }
.product-params { margin-bottom: 20px; }
.param-row { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid #1A1A1A; font-size: 13px; }
.param-key { color: var(--color-text-muted); width: 100px; flex-shrink: 0; }
.param-val { flex: 1; min-width: 0; }
.product-actions button { padding: 10px 32px; border: 1px solid var(--color-primary); background: transparent; color: var(--color-primary); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.2s; }
.product-actions button:hover { background: var(--color-primary); color: #000; }
.product-detail-content { margin-top: 24px; }
.product-detail-content .nav-tabs { border-bottom: 1px solid #222; }
.product-detail-content .nav-tabs > li > a { padding: 8px 22px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #666; }
.product-detail-content .nav-tabs > li.active > a { background: transparent; color: var(--color-primary); border: 1px solid #222; border-bottom-color: transparent; }
.detail-content-body { padding: 20px 0; font-size: 14px; line-height: 1.8; }
.detail-content-body img { max-width: 100%; height: auto; }
.pc-slide { width: 100%; max-width: 420px; }
.pc-slide .view { border: 1px solid #222; overflow: hidden; margin-bottom: 8px; }
.pc-slide .view .swiper-slide img { width: 100%; height: 320px; object-fit: cover; }
.pc-slide .preview { position: relative; }
.pc-slide .preview .arrow-left,
.pc-slide .preview .arrow-right { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 24px; height: 24px; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; color: #FFF; font-size: 11px; }
.pc-slide .preview .arrow-left { left: 2px; }
.pc-slide .preview .arrow-right { right: 2px; }
.pc-slide .preview .swiper-slide { cursor: pointer; border: 1px solid transparent; overflow: hidden; }
.pc-slide .preview .swiper-slide img { width: 100%; height: 66px; object-fit: cover; }
.pc-slide .preview .swiper-slide.active-nav { border-color: var(--color-primary); }

/* ---- 单页 ---- */
.single-page { padding: 0; }
.single-main { background: #111; border: 1px solid #1A1A1A; padding: 30px; }
.subnav { margin-bottom: 20px; }
.subnav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.subnav ul li a { display: block; padding: 8px 18px; background: #0D0D10; border: 1px solid #1A1A1A; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; transition: all 0.2s; }
.subnav ul li a:hover,
.subnav ul li.active a { border-color: var(--color-primary); color: var(--color-primary); }
.single-content { font-size: 14px; line-height: 1.9; }
.single-content img { max-width: 100%; height: auto; }

/* ---- 留言表单 ---- */
.contact-form-wrap { margin-top: 30px; padding: 24px; background: #0D0D10; border: 1px solid #222; }
.contact-form-title { font-size: 16px; font-weight: 700; margin: 0 0 20px; text-transform: uppercase; letter-spacing: 1px; }
.form-message .form-row { display: flex; gap: 16px; margin-bottom: 14px; }
.form-message .form-row label { flex: 1; min-width: 0; }
.form-message label span { display: block; font-size: 12px; color: var(--color-text-muted); margin-bottom: 4px; text-transform: uppercase; }
.form-message .inp { display: block; width: 100%; height: 40px; padding: 8px 14px; background: #161616; border: 1px solid #222; color: #CCC; font-size: 13px; box-sizing: border-box; transition: border-color 0.2s; }
.form-message .inp:focus { border-color: var(--color-primary); outline: none; }
.form-message .mes textarea { display: block; width: 100%; height: 130px; padding: 10px 14px; background: #161616; border: 1px solid #222; color: #CCC; font-size: 13px; resize: vertical; box-sizing: border-box; transition: border-color 0.2s; }
.form-message .mes textarea:focus { border-color: var(--color-primary); outline: none; }
.msgbtn-box { display: flex; gap: 12px; margin-top: 16px; }
.btn-contact { padding: 10px 32px; border: 1px solid var(--color-primary); background: transparent; color: var(--color-primary); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: all 0.2s; }
.btn-contact:hover { background: var(--color-primary); color: #000; }
.btn-contact-reset { padding: 10px 32px; border: 1px solid #333; background: transparent; color: #666; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: all 0.2s; }
.btn-contact-reset:hover { border-color: #666; color: #AAA; }

/* ---- Footer ---- */
.site-footer { background: #0A0A0C; color: #555; padding: 30px 0 20px; margin-top: 50px; text-align: center; font-size: 12px; border-top: 1px solid #1A1A1A; }
.site-footer .container { max-width: 800px; }
.footer-friend-links { margin-bottom: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.footer-friend-links a { color: #444; font-size: 12px; }
.footer-friend-links a:hover { color: var(--color-primary); }
.footer-nav { margin-bottom: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: #444; font-size: 12px; }
.footer-nav a:hover { color: var(--color-primary); }
.footer-copyright { font-size: 11px; color: #333; }
.footer-copyright a { color: #333; }

/* ---- 浮动按钮 ---- */
#floatbtn { position: fixed; right: 10px; bottom: 60px; z-index: 999; }
#back-to-top { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #1A1A1A; border: 1px solid #333; color: #AAA; font-size: 16px; transition: all 0.2s; }
#back-to-top:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---- 分页 ---- */
.pagination-box { text-align: center; margin-top: 30px; }
.pagination { display: inline-flex; list-style: none; padding: 0; margin: 0; gap: 1px; background: #222; }
.pagination li a,
.pagination li span { display: inline-block; min-width: 38px; height: 38px; line-height: 36px; padding: 0 12px; background: #111; text-align: center; font-size: 12px; color: #777; }
.pagination li a:hover { color: var(--color-primary); }
.pagination .active a,
.pagination .active span { background: var(--color-primary); color: #000; }

/* 栏目封面 */
.channel-block { margin-bottom: 26px; }
.block-title { font-size: 16px; font-weight: 600; }
.block-more { font-size: 12px; color: var(--color-text-muted); }
.text-list { list-style: none; padding: 0; margin: 0; }
.text-list-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #1A1A1A; }
.text-list-title { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.text-list-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--color-text-light); flex-shrink: 0; }

/* 搜索 */
.search-keyword { color: var(--color-primary); }

@media (max-width: 1199px) {
    .card-grid, .images-grid { grid-template-columns: repeat(3, 1fr); }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .card-grid, .images-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .article-card { flex-direction: column; }
    .article-cover { width: 100%; height: 180px; }
    .hero-title { font-size: 34px; }
    .hero-section { padding: 60px 0; }
    .mobile-toggle { display: block; }
    #navbar-collapse { display: none; }
    #navbar-collapse.show { display: block; }
    .main-menu { flex-direction: column; }
    .form-message .form-row { flex-direction: column; }
    .pc-slide { max-width: 100%; }
}
@media (max-width: 767px) {
    .card-grid, .images-grid, .product-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 26px; letter-spacing: 2px; }
    .article-detail-nav { flex-direction: column; }
}

/* ==== DOCKED: 站点对接（导航下拉 / logo 文字 / hero 渐变） ==== */
.site-logo .site-logo-text { font-size: 20px; font-weight: 800; color: #FFF; letter-spacing: 2px; }
.main-menu li.dropdown { position: relative; }
.main-menu li.dropdown:hover > .dropdown-menu { display: block; }
.main-menu .dropdown-menu { min-width: 190px; padding: 6px 0; }
.hero-section { background: linear-gradient(160deg, #0A0A0C 0%, #0E2A24 55%, #0A0A0C 100%) !important; }
.hero-section::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 25% 30%, rgba(0,229,160,.14), transparent 60%), radial-gradient(520px 260px at 80% 70%, rgba(123,47,190,.12), transparent 60%); }
.hero-section .container { position: relative; z-index: 2; }
.footer-nav a { font-size: 12px; }
