* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    padding: 0 0 70px 0; /* 底部导航留空 */
    min-height: 100vh;
    position: relative;
}
.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
header {
    background: #007aff;
    color: white;
    padding: 20px 15px;
    text-align: center;
}
header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}
header a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}
main {
    padding: 20px 15px;
}
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    margin-bottom: 20px;
}
.upload-area .hint {
    color: #999;
    font-size: 14px;
    margin-top: 10px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 10px;
    width: auto;
}
.btn:active {
    background: #005bbf;
}
.progress-bar {
    height: 20px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}
.progress-fill {
    height: 100%;
    width: 0%;
    background: #007aff;
    transition: width 0.3s;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    border-top: 1px solid #ddd;
    padding: 8px 0;
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
}
.bottom-nav a {
    flex: 1;
    text-align: center;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.bottom-nav a.active {
    color: #007aff;
    font-weight: 500;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}
.photo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.photo-card img {
    width: 100%;
    height: auto;
    display: block;
}
.photo-info {
    padding: 10px;
}
.photo-info p {
    font-size: 14px;
    margin-bottom: 5px;
}
.photo-info .btn-sm {
    padding: 6px 12px;
    font-size: 14px;
    background: #007aff;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
}