/* =======================================
   VELVET — Unified Modal (Achievements style)
======================================= */
.velvet-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
  }
  
  .velvet-modal.show {
    display: flex;
  }
  
  .velvet-modal-content {
    position: relative;
    background: var(--surface);
    color: var(--text);
    border-radius: 14px;
    padding: 28px 24px;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    animation: fadeInUp .3s ease;
  }
  
  .velvet-modal-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .velvet-modal-content p,
  .velvet-modal-content ul {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  
  .velvet-modal-content ul li {
    margin-bottom: 6px;
  }
  
  .velvet-modal .modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color .2s ease;
  }
  .velvet-modal .modal-close:hover {
    color: var(--gold);
  }
  
  .velvet-modal .modal-actions {
    margin-top: 20px;
    text-align: right;
  }
  
  .velvet-modal .modal-actions button {
    min-width: 110px;
  }
  
  @keyframes fadeInUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
  