/* Controles contextuales */
  /* ==================== CONTROLES CONTEXTUALES ==================== */
  #controlsBar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 8px 12px max(12px, env(safe-area-inset-bottom)) 12px;
    pointer-events: none;
  }

  .ctrl-wrap {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
  }

  .hint-pill {
    font-size: 9.5px;
    font-weight: 700;
    color: rgba(255, 243, 214, 0.88);
    background: rgba(22, 11, 6, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.38);
    padding: 5px 9px;
    border-radius: 99px;
  }

  .ctrl-actions {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .btn-ctx {
    border-radius: 99px;
    border: 2px solid #fde68a;
    padding: 9px 13px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.52);
    transition: transform 0.08s;
  }

  .btn-ctx:active { transform: scale(0.92); }

  #btnCite {
    background: radial-gradient(circle at 30% 25%, #fbbf24, #b45309);
    color: #241004;
  }

  #btnDesplante {
    display: none;
    background: linear-gradient(135deg, #f43f5e, #9f1239);
    color: #fff8e7;
    border-color: #fde047;
  }
  #btnDesplante.ready { display: inline-flex; align-items: center; gap: 4px; }

  #btnDuende {
    display: none;
    background: linear-gradient(135deg, #fde047, #f59e0b, #fde047);
    color: #451a03;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(253, 224, 71, 0.9), 0 4px 12px rgba(0, 0, 0, 0.5);
    animation: pulseGold 0.85s infinite alternate;
  }
  #btnDuende.ready { display: inline-flex; align-items: center; gap: 4px; }

  #btnIndulto {
    display: none;
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    pointer-events: auto;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    color: #fff;
    border: 2.5px solid #fde047;
    padding: 11px 22px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    box-shadow: 0 0 24px rgba(249, 115, 22, 0.9);
    cursor: pointer;
    animation: pulseGold 0.8s infinite alternate;
  }

  @keyframes pulseGold {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
  }

