/* modal.css - 弹窗组件 */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    animation: fadeIn 0.25s ease;
}
.modal {
    background: var(--color-bg-light); border-radius: var(--radius-lg);
    padding: 28px; max-width: 440px; width: 90%;
    box-shadow: var(--shadow-lg); animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh; overflow-y: auto;
}
.modal--large { max-width: 600px; }
.modal--confirm { text-align: center; }
.modal__title { font-size: 20px; margin-bottom: 16px; color: var(--color-gold); }
.modal__body { margin-bottom: 20px; }
.modal__body p { margin-bottom: 10px; }
.modal__body ul { margin: 12px 0; }
.modal__body ul li { padding: 6px 0; font-size: 14px; color: var(--color-text-dim); }
.modal__warn { color: var(--color-warning); font-size: 13px; margin-top: 8px; }
.modal__close { width: 100%; margin-top: 8px; }
.modal__buttons { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }

.season-timeline { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.timeline-item { padding: 8px 12px; background: var(--color-surface); border-radius: var(--radius-sm); font-size: 14px; }
.timeline-item--active { border-left: 3px solid var(--color-gold); font-weight: 600; }

.explore-modal__banner { padding: 20px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin: -28px -28px 20px; text-align: center; }
.explore-modal__banner h3 { font-size: 20px; color: #fff; }
.explore-reward { margin-top: 12px; padding: 10px; background: var(--color-surface); border-radius: var(--radius-sm); }
.explore-reward__label { font-size: 13px; color: var(--color-text-dim); }
.explore-reward__value { font-weight: 700; color: var(--color-success); }

@keyframes modalIn {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
