:root {
    --primary-color: #00ff00;
    --bg-color: #111;
    --bg-light: #181818;
    --text-color: #00ff00;
    --border-radius: 8px;
    --shadow: 0 2px 16px 0 rgba(0,255,0,0.08);
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    margin: 0;
    min-height: 100vh;
}

.site-header {
    background: #101010;
    border-bottom: 1.5px solid var(--primary-color);
    box-shadow: 0 2px 12px 0 rgba(0,255,0,0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-inner {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    gap: 2.5rem;
}
.site-search-form {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 0.3rem;
}
.site-search-input {
    background: #181818;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    border-radius: 18px;
    padding: 0.45rem 1.1rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border 0.2s, background 0.2s;
    min-width: 180px;
    margin-right: 0.2rem;
}
.site-search-input:focus {
    border: 1.5px solid #fff;
    background: #222;
}
.site-search-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.2rem 0.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.site-search-btn svg {
    display: block;
}
.site-search-btn:hover {
    background: #222;
}

.site-logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 2.5rem;
    letter-spacing: 1px;
}

.site-nav {
    display: flex;
    gap: 2rem;
}

.site-nav-item {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
    border: 1.5px solid transparent;
}

.site-nav-item.active,
.site-nav-item:hover {
    background: var(--primary-color);
    color: #111;
    border-color: var(--primary-color);
}

.site-main {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.site-main-inner {
    display: flex;
    width: 1080px;
    max-width: 1080px;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0;
}

.main-left {
    width: 700px;
    min-width: 0;
    flex: none;
}

.main-right {
    width: 300px;
    min-width: 0;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.carousel {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 220px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}
.carousel-item {
    width: 100%;
    height: 220px;
    position: absolute;
    left: 0; top: 0;
    background: #181818;
    border-radius: var(--border-radius);
    transition: opacity 0.3s;
    z-index: 1;
    text-align: center;
    overflow: hidden;
    display: block;
}
.carousel-img {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px 0 rgba(0,255,0,0.08);
    display: block;
}
.carousel-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 60%, transparent 100%);
    color: var(--primary-color);
    font-size: 1.45rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 12px #111, 0 2px 8px #000;
    padding: 1.1rem 0 0.7rem 0;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    text-align: center;
    pointer-events: none;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #181818;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 2;
    opacity: 0.85;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-arrow-left { left: 10px; }
.carousel-arrow-right { right: 10px; }
.carousel-arrow:hover {
    background: var(--primary-color);
    color: #111;
}
.carousel-placeholder {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 2px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-load-more {
    text-align: center;
    margin: 2.2rem auto 1.5rem auto;
    color: var(--primary-color);
    font-size: 1.08rem;
    font-family: inherit;
    opacity: 0.85;
    letter-spacing: 1px;
    font-weight: bold;
}

.article-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0;
    border-radius: var(--border-radius);
    transition: box-shadow 0.2s;
}
.article-card-link:active,
.article-card-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}
.article-card-link:hover .article-card {
    background: #222;
    box-shadow: 0 4px 24px 0 rgba(0,255,0,0.18);
}

.article-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 0.8rem 1.2rem;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: normal;
    transition: box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    display: flex;
    align-items: stretch;
    min-height: 120px;
}

.article-card-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    gap: 1.2rem;
}

.article-cover {
    width: 110px;
    min-width: 110px;
    height: 90px;
    background: #222;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0.5rem 0;
}

.article-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    display: block;
}

.article-cover-placeholder {
    color: #666;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
    opacity: 0.7;
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 0.2rem 0;
}

.article-title {
    font-size: 1.13rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-brief {
    font-size: 1rem;
    color: #b6ffb6;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    min-height: 2.8em;
    max-height: 3.2em;
}

.article-meta {
    font-size: 0.95rem;
    color: #00ff99;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    opacity: 0.85;
    margin-top: 0.2rem;
}

.article-keywords {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.article-keyword {
    display: inline-block;
    background: #222;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    font-size: 0.93rem;
    padding: 0.13em 0.9em;
    margin-right: 0.2em;
    opacity: 0.85;
    transition: background 0.2s, color 0.2s;
}
.article-keyword:hover {
    background: var(--primary-color);
    color: #111;
}

.article-card:hover {
    background: #222;
    box-shadow: 0 4px 24px 0 rgba(0,255,0,0.18);
}

.profile-card,
.category-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.2rem;
    color: var(--text-color);
    font-size: 1rem;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    font-weight: bold;
}
.profile-img-horizontal {
    width: 100%;
    aspect-ratio: 16/9;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.7rem;
    display: block;
    background: #222;
}
.profile-name-block {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
    word-break: break-all;
    line-height: 1.3;
}
.profile-card img,
.profile-img {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 0.7rem auto;
    object-fit: cover;
    display: block;
}
.category-title {
    font-size: 1.08rem;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.month-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.7rem;
}
.month-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    font-size: 0.98rem;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    text-align: center;
    padding: 0.13em 0;
    opacity: 0.85;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    margin-bottom: 0.2em;
}
.month-item:hover,
.month-item.active {
    background: var(--primary-color);
    color: #111;
    border-color: var(--primary-color);
    font-weight: bold;
}

.type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.7rem;
}
.type-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    font-size: 0.98rem;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    text-align: center;
    padding: 0.13em 0;
    opacity: 0.85;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    margin-bottom: 0.2em;
}
.type-item:hover,
.type-item.active {
    background: var(--primary-color);
    color: #111;
    border-color: var(--primary-color);
    font-weight: bold;
}

/* 分页组件 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2.2rem auto 1.5rem auto;
    font-size: 1.08rem;
    flex-wrap: wrap;
}
.page-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.45rem 1.1rem;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    margin: 0 0.1rem;
    min-width: 2.2rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.page-btn.active,
.page-btn:hover {
    background: var(--primary-color);
    color: #111;
    border-color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 1100px) {
    .site-main-inner {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    .main-left, .main-right {
        width: 100%;
        min-width: 0;
    }
    .main-right {
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
    }
    .profile-card, .category-card {
        min-width: 160px;
        flex: 1 1 0;
    }
}

@media (max-width: 700px) {
    .site-header-inner {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 0.5rem;
    }
    .site-main-inner {
        flex-direction: column;
        gap: 1.2rem;
        padding: 0 0.5rem;
    }
    .main-right {
        flex-direction: column;
        gap: 1rem;
    }
    .profile-card, .category-card {
        min-width: 0;
        padding: 0.8rem 0.5rem;
    }
    .carousel {
        height: 120px;
        font-size: 1rem;
    }
}

/* 公共footer样式 */
.site-footer {
    background: #101010;
    color: var(--text-color);
    border-top: 1.5px solid var(--primary-color);
    margin-top: 3rem;
    padding: 0;
    font-size: 1rem;
    width: 100%;
}
.site-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.2rem 2rem 1.2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}
.footer-info {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0.85;
}
.footer-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-color);
    transition: color 0.2s, border 0.2s;
}
.footer-links a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}
