/* Corrales y vista previa del toro */
  /* ==================== CORRALES / VISTA PREVIA DEL TORO ==================== */
  .corral-box {
    background: linear-gradient(180deg, #3b2214 0%, #24130a 100%);
    border: 2px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
  }

  #bullPreviewCanvas {
    display: block;
    width: 100%;
    height: 150px;
  }

  .bull-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 9px;
    background: rgba(20, 10, 5, 0.85);
    color: #fef3c7;
    font-size: 10.5px;
  }

  .bull-name-grp {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mini-btn {
    padding: 3px 7px;
    border-radius: 6px;
    border: 1px solid #d4af37;
    background: #7f1d1d;
    color: #fef3c7;
    font-size: 9.5px;
    font-weight: 800;
    cursor: pointer;
  }

  .mini-btn:active { transform: scale(0.94); }

  .trait-pill {
    display: inline-block;
    background: linear-gradient(90deg, #b45309, #d97706);
    color: #fffbeb;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 99px;
    margin-top: 3px;
  }

  .pelaje-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 7px;
  }

  .pelaje-card {
    background: rgba(255, 251, 240, 0.92);
    border: 2px solid #d6be8a;
    border-radius: 8px;
    padding: 5px 3px;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .pelaje-card.selected {
    border-color: #991b1b;
    background: #fffbeb;
    box-shadow: 0 0 0 1.5px #d4af37;
  }

  .pelaje-swatch {
    width: 24px;
    height: 15px;
    border-radius: 4px;
    border: 1.5px solid #2c1810;
  }

  .pelaje-name {
    font-size: 8.5px;
    font-weight: 800;
    line-height: 1.1;
    color: #2c1810;
  }

  .pill-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 7px;
  }

  .pill-opt {
    background: rgba(255, 251, 240, 0.92);
    border: 1.5px solid #d6be8a;
    border-radius: 8px;
    padding: 5px 3px;
    text-align: center;
    font-size: 9.5px;
    font-weight: 800;
    cursor: pointer;
    color: #2c1810;
  }

  .pill-opt.selected {
    border-color: #991b1b;
    background: #8b0000;
    color: #fef3c7;
  }

  .gan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 8px;
  }

  .gan-card {
    background: rgba(255, 251, 240, 0.92);
    border: 1.5px solid #d6be8a;
    border-radius: 8px;
    padding: 5px 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 9.5px;
    font-weight: 800;
    color: #2c1810;
  }

  .gan-card.selected {
    border-color: #991b1b;
    background: #fffbeb;
    box-shadow: 0 0 0 1.5px #d4af37;
  }

  .divisa-ribbon {
    width: 8px;
    height: 18px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
  }

