/* ─── TRANSLATION PROPOSAL MODAL ─── */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 200;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
  }

  .modal-overlay.open { display: flex; }

  .modal {
    background: #211808;
    border: 1px solid rgba(200,146,42,0.4);
    border-radius: 4px;
    padding: 2.5rem;
    max-width: 620px;
    width: 90%;
    position: relative;
    animation: modalIn 0.3s ease;
  }

  @keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }

  .modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
  }

  .modal-close:hover { color: var(--parchment); }

  .modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.4rem;
  }

  .modal-sub {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
  }

  .modal-hadith-ref {
    background: rgba(200,146,42,0.05);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(245,239,228,0.55);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .modal-field label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 0.5rem;
  }

  .modal-field textarea, .modal-field input {
    width: 100%;
    background: rgba(245,239,228,0.04);
    border: 1px solid var(--border);
    color: var(--parchment);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    padding: 0.7rem 0.9rem;
    border-radius: 2px;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
  }

  .modal-field textarea:focus, .modal-field input:focus {
    border-color: var(--gold);
  }

  .modal-field { margin-bottom: 1rem; }

  .modal-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    margin-top: 1.5rem;
  }

  .modal-cancel {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.6rem 1.3rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
  }

  .modal-cancel:hover { color: var(--parchment-dark); border-color: var(--parchment-dark); }

  .modal-submit {
    background: var(--gold);
    border: none;
    color: var(--ink);
    padding: 0.6rem 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
  }

  .modal-submit:hover { background: var(--gold-light); }