* {
    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;
}

.container {
    padding-bottom: 80px;
    min-height: 100vh;
}

/* 顶部导航栏 */
.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;
}

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

/* 路线卡片容器 */
.route-container {
    padding: 15px;
}

/* 路线卡片 */
.route-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 15px;
}

/* 路线缩略图 */
.route-thumbnail {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 路线信息 */
.route-info {
    padding: 15px;
}

.route-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.route-meta {
    display: flex;
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

.route-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.route-meta i {
    margin-right: 3px;
    font-size: 14px;
}

/* 鸟类展示 */
.birds-section {
    margin-top: 10px;
}

.section-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 5px;
    color: #67c23a;
}

.birds-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bird-item {
    width: calc(33.33% - 7px);
    text-align: center;
}

.bird-avatar {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 5px;
    border: 2px solid #e8f5e9;
}

.bird-name {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.protected-badge {
    display: inline-block;
    padding: 1px 5px;
    background-color: #f56c6c;
    color: white;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 3px;
}

/* 底部操作按钮 */
.action-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background-color: white;
    padding: 15px;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.select-btn {
    background-color: #f0f9eb;
    color: #67c23a;
    margin-right: 10px;
}

.upload-btn {
    background-color: #67c23a;
    color: white;
}
