/* save-slots.css - 多槽存档面板 */

.save-slots-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.22s ease;
}

.save-slots-panel {
    width: min(720px, 96vw);
    max-height: 88vh;
    overflow: auto;
    background: linear-gradient(180deg, #1a2235, #10151f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    padding: 22px 22px 18px;
    color: #e8eaf0;
}

.save-slots-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.save-slots-panel__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-gold, #f0c040);
}

.save-slots-panel__desc {
    margin: 6px 0 0;
    font-size: 13px;
    color: #9aa4b6;
    line-height: 1.5;
}

.save-slots-panel__close {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #cfd6e4;
    cursor: pointer;
    font-size: 16px;
}

.save-slots-panel__close:hover {
    background: rgba(255, 255, 255, 0.08);
}

.save-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.save-slot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 148px;
    padding: 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.save-slot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.save-slot-card--empty {
    border-style: dashed;
    opacity: 0.85;
}

.save-slot-card--active {
    border-color: rgba(240, 192, 64, 0.65);
    box-shadow: 0 0 0 1px rgba(240, 192, 64, 0.2);
}

.save-slot-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(240, 192, 64, 0.18);
    color: #f0c040;
    font-weight: 700;
}

.save-slot-card__index {
    font-size: 11px;
    color: #8892a4;
    font-weight: 700;
    letter-spacing: 1px;
}

.save-slot-card__team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
}

.save-slot-card__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}

.save-slot-card__name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.save-slot-card__meta {
    font-size: 12px;
    color: #9aa4b6;
    line-height: 1.45;
}

.save-slot-card__empty-icon {
    font-size: 28px;
    opacity: 0.35;
    margin: 4px 0;
}

.save-slot-card__empty-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.save-slot-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

.save-slot-card__actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 7px 8px !important;
    font-size: 12px !important;
}

.save-slots-panel__footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: #8892a4;
    text-align: center;
}

.save-slots-inline {
    margin-top: 8px;
}

.save-slots-inline .save-slots-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .save-slots-inline .save-slots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .save-slots-inline .save-slots-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .save-slots-grid {
        grid-template-columns: 1fr;
    }
}
