body {
    background: #f5f7fb;
    padding-bottom: 80px;
}

.app-shell {
    max-width: 768px;
    margin: 0 auto;
}

.album-cover,
.photo-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1rem;
    background: #e9ecef;
}

.hero-card {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
    border-radius: 1.25rem;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
}

.thumb-button {
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 1.2;
    text-align: left;
}

.home-photo-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.75rem;
    background: #e9ecef;
    box-shadow: 0 0.125rem 0.5rem rgba(15, 23, 42, 0.12);
}

.home-photo-time {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.3;
}

.home-section-toggle {
    min-width: 3.5rem;
}

.home-album-block {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(15, 23, 42, 0.06);
}

.home-album-block:last-child {
    margin-bottom: 0;
}

.preview-image {
    max-height: 75vh;
    object-fit: contain;
    background: #111827;
    touch-action: pan-y;
}

.home-photo-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1;
    padding: 0.5rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.9);
}

.sticky-tabs {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f5f7fb;
}
