* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    max-width: 100vw;
    overflow-x: hidden;
}



/* 顶部导航栏 */
.header {
    background-color: #67c23a;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.back-btn {
    font-size: 20px;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.title {
    font-size: 18px;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

/* 分类导航 */
.taxonomy-nav {
    display: flex;
    background-color: white;
    padding: 10px 15px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.taxonomy-nav::-webkit-scrollbar {
    display: none;
}

.taxonomy-item {
    display: inline-block;
    padding: 5px 12px;
    margin-right: 8px;
    border-radius: 15px;
    font-size: 13px;
    background-color: #f0f9eb;
    color: #67c23a;
}

.taxonomy-item.active {
    background-color: #67c23a;
    color: white;
}

/* 鸟类卡片区域 */
.bird-list {
    padding: 15px;
}

.bird-card {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bird-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bird-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.bird-info {
    padding: 15px;
}

.order-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.scientific-name {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin-bottom: 8px;
}

.taxonomy-badge {
    display: inline-block;
    padding: 2px 8px;
    background-color: #f0f9eb;
    color: #67c23a;
    border-radius: 10px;
    font-size: 10px;
    margin-right: 5px;
    margin-bottom: 5px;
}



/* 美化优化 */
.empty-space {
    height: 20px;
    background-color: #f5f5f5;
}
