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

body {
    background: #c8d4e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 540px;
    background: #f0f4fa;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #eaf0f8;
    border-bottom: 1px solid #d0dae8;
}

.title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2634;
}

.badge {
    font-size: 12px;
    color: #5a6a7e;
    background: #dce4ee;
    padding: 2px 14px;
    border-radius: 12px;
}

.path {
    padding: 8px 20px;
    background: #f0f4fa;
    border-bottom: 1px solid #dce4ee;
    font-size: 13px;
    color: #3a4a5e;
}

.file-list {
    padding: 4px 0;
    background: #f7faff;
    min-height: 200px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #eaf0f6;
    transition: background 0.1s;
}

.file-item:hover {
    background: #eaf1fa;
}

.file-item .left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.file-item .icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    flex-shrink: 0;
}

.icon-apk {
    background: #3b8cff;
}
.icon-txt {
    background: #3498db;
}
.icon-zip {
    background: #f39c12;
}
.icon-default {
    background: #7f8fa6;
}

.file-item .name {
    font-size: 14px;
    color: #1a2a3e;
    word-break: break-all;
}

.file-item .size {
    font-size: 12px;
    color: #6a7a8e;
    margin-left: 8px;
    white-space: nowrap;
}

.file-item .download-btn {
    background: #3b8cff;
    color: #fff;
    border: none;
    padding: 4px 18px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 10px;
}

.file-item .download-btn:hover {
    background: #2a7ae8;
}

.loading {
    padding: 40px 20px;
    text-align: center;
    color: #8a9aaa;
    font-size: 14px;
}

.empty {
    padding: 40px 20px;
    text-align: center;
    color: #8a9aaa;
    font-size: 14px;
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
    background: #eaf0f8;
    border-top: 1px solid #d0dae8;
    font-size: 12px;
    color: #5a6a7e;
}