<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 背景轮播区域 */
.background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1s ease-in-out;
}

.slider-group.active {
    opacity: 1;
    transform: translateX(0);
}

.slider-group.exit {
    opacity: 0;
    transform: translateX(-100%);
}

.slider-group img {
    flex: 1;
    height: 100%;
    object-fit: cover;
    padding: 0.5px;
    filter: brightness(0.7);
    transition: all 0.3s ease;
}

.slider-group img:hover {
    filter: brightness(0.9);
    transform: scale(1.02);
}

/* 主要内容区域 */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.enter-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.enter-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 图鉴展示区域 */
.creatures-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.creatures-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.creatures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* 生物卡片样式 */
.creature-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.creature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.creature-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.card-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* 添加加载动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.creature-card {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.creature-card:nth-child(2) { animation-delay: 0.1s; }
.creature-card:nth-child(3) { animation-delay: 0.2s; }
.creature-card:nth-child(4) { animation-delay: 0.3s; }
.creature-card:nth-child(5) { animation-delay: 0.4s; }

/* 筛选控件样式 */
.filter-controls {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-box {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #f0f0f0;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e0e0e0;
}

.filter-btn.active {
    background: #007AFF;
    color: white;
}

/* 稀有度标签样式 */
.rarity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* 分类标签样式 */
.card-footer {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.category-tag {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    background: #f0f0f0;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .creatures-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .filter-buttons {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .enter-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .filter-controls {
        padding: 15px;
    }
    
    .search-input {
        padding: 10px 15px;
    }
}

/* 详情页面样式 */
.detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.detail-overlay.active {
    display: flex;
}

.detail-container {
    position: relative;
    width: 75vw;
    max-width: 1100px;
    height: 70vh;
    max-height: 800px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.detail-content {
    display: flex;
    flex-direction: row;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    gap: 0;
    align-items: stretch;
}

.detail-image {
    width: 66.66%;
    position: relative;
    padding-top: 66.66%; /* 正方形占位，宽高比1:1 */
    background: #f3f3f3;
    border-right: 1px solid #eee;
    flex-shrink: 0;
    overflow: hidden;
    display: block;
}

.detail-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.detail-info {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    padding: 40px 30px 30px 30px;
    min-width: 0;
    background: #fff;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}

/* 信息区上方，下方评论区 */
.detail-meta,
.detail-title,
.detail-original-name,
.detail-description,
.interaction-buttons {
    margin-bottom: 18px;
}

.detail-title {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #333;
}

.detail-original-name {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.detail-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.detail-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-category,
.detail-rarity {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.detail-category {
    background: #f0f0f0;
    color: #666;
}

.detail-rarity {
    background: #007AFF;
    color: white;
}

.interaction-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.like-button,
.comment-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #f0f0f0;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-button:hover,
.comment-button:hover {
    background: #e0e0e0;
}

.like-button.active {
    background: #FF3B30;
    color: white;
}

.like-button img,
.comment-button img {
    width: 20px;
    height: 20px;
}

.comments-section {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    height: 320px;
    min-height: 220px;
    max-height: 40vh;
}

.comments-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    flex-shrink: 0;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
}

.comment-form {
    margin-bottom: 0;
    flex-shrink: 0;
    background: #fff;
    padding-top: 8px;
}

.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    resize: vertical;
    font-family: inherit;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #007AFF;
}

.submit-comment {
    padding: 8px 16px;
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-comment:hover {
    background: #0056b3;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 0 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eee;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.comment-author {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
    margin-bottom: 2px;
}

.comment-text {
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 4px;
}

.comment-time {
    font-size: 0.85rem;
    color: #aaa;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .detail-container {
        width: 95vw;
        max-width: 98vw;
        height: 80vh;
        max-height: 95vh;
    }
    .detail-image {
        width: 40vw;
        min-width: 200px;
        max-width: 400px;
    }
}
@media (max-width: 900px) {
    .detail-content {
        flex-direction: column;
        min-height: 0;
    }
    .detail-image {
        width: 100vw;
        padding-top: 100vw;
        max-width: 100vw;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .detail-info {
        width: 100%;
        height: auto;
        max-height: none;
        padding: 20px 15px 15px 15px;
        overflow-y: visible;
    }
    .detail-container {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }
    .comments-section {
        height: 220px;
        min-height: 120px;
        max-height: 30vh;
    }
}
@media (max-width: 480px) {
    .detail-image {
        padding-top: 100vw;
    }
    .detail-info {
        padding: 10px 5px 10px 5px;
    }
    .interaction-buttons {
        gap: 10px;
    }
    .like-button,
    .comment-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    .comments-section {
        height: 180px;
        min-height: 100px;
        max-height: 25vh;
    }
}

/* 赛博色轮渐变标题 */
.gradient-title {
    background: conic-gradient(from 0deg, #ff00cc, #00fff7, #fffb00, #ff00cc 360deg);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: hue-rotate-cyber 6s linear infinite;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}
@keyframes hue-rotate-cyber {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
} </pre></body></html>