:root{
  --bc-fondo:#09090b;
  --bc-panel:#111114;
  --bc-card:#16161b;
  --bc-oro:#d4af37;
  --bc-oro-claro:#f1dc87;
  --bc-texto:#f5f2ea;
  --bc-sec:#b9b6ad;
  --bc-ter:#7a7870;
  --bc-linea:rgba(212,175,55,.18);
  --bc-linea2:rgba(212,175,55,.35);
  --bc-verde:#4f9d61;
}

.bc,
.bc *{
  box-sizing:border-box;
}

.bc{
  min-height:100vh;
  padding-bottom:1px;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(212,175,55,.06),
      transparent 30%
    ),
    var(--bc-fondo);
  color:var(--bc-texto);
  font-family:Arial,Helvetica,sans-serif;
}

.bc-header,
.bc-progreso,
.bc-tabs,
.bc-contenido{
  width:min(1380px,calc(100% - 36px));
  margin-left:auto;
  margin-right:auto;
}

.bc-header{
  padding:34px 0 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  border-bottom:1px solid var(--bc-linea);
}

.bc-header small{
  display:block;
  margin-bottom:4px;
  color:var(--bc-ter);
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
}

.bc-header h1{
  margin:0;
  color:var(--bc-oro);
  font-family:Georgia,serif;
  font-size:clamp(40px,5vw,68px);
  line-height:.95;
}

.bc-header p{
  margin:10px 0 0;
  color:var(--bc-sec);
  font-size:16px;
}

.bc-buscar{
  width:min(500px,100%);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
}

.bc-buscar input,
.bc-buscar button,
.bc-orden select{
  min-height:48px;
  border:1px solid var(--bc-linea2);
  border-radius:999px;
}

.bc-buscar input{
  min-width:0;
  padding:0 18px;
  background:var(--bc-card);
  color:var(--bc-texto);
  font-size:15px;
}

.bc-buscar button{
  padding:0 24px;
  border-color:var(--bc-oro);
  background:var(--bc-oro);
  color:#0b0b0d;
  font-weight:900;
  cursor:pointer;
}

.bc-progreso{
  margin-top:24px;
  padding:24px;
  border:1px solid var(--bc-linea);
  border-radius:16px;
  background:var(--bc-panel);
}

.bc-progreso-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}

.bc-progreso-top h2{
  margin:0;
  color:var(--bc-oro-claro);
  font-size:16px;
  letter-spacing:.08em;
}

.bc-progreso-top p{
  margin:6px 0 0;
  color:var(--bc-ter);
  font-size:13px;
}

.bc-progreso-top > strong{
  color:var(--bc-oro);
  font-family:Georgia,serif;
  font-size:36px;
}

.bc-barra{
  height:6px;
  margin:18px 0;
  overflow:hidden;
  border-radius:999px;
  background:#202027;
}

.bc-barra span{
  display:block;
  height:100%;
  background:
    linear-gradient(
      90deg,
      #b8941f,
      var(--bc-oro),
      var(--bc-oro-claro)
    );
}

.bc-estadisticas{
  display:flex;
  flex-wrap:wrap;
  gap:34px;
}

.bc-estadisticas div{
  display:grid;
  gap:2px;
}

.bc-estadisticas b{
  font-size:20px;
}

.bc-estadisticas span{
  color:var(--bc-sec);
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
}

.bc-tabs{
  margin-top:22px;
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:4px;
}

.bc-tabs a{
  min-height:42px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  border:1px solid var(--bc-linea);
  border-radius:999px;
  background:var(--bc-panel);
  color:var(--bc-sec);
  font-size:12px;
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
}

.bc-tabs a.activa{
  border-color:var(--bc-oro);
  background:var(--bc-oro);
  color:#0b0b0d;
}

.bc-contenido{
  padding:34px 0 64px;
}

.bc-titulo-listado{
  margin-bottom:18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}

.bc-titulo-listado h2{
  margin:0;
  color:var(--bc-oro);
  font-family:Georgia,serif;
  font-size:clamp(24px,3vw,34px);
}

.bc-titulo-listado p{
  margin:6px 0 0;
  color:var(--bc-ter);
  font-size:13px;
}

.bc-orden{
  display:flex;
  align-items:center;
  gap:10px;
}

.bc-orden label{
  color:var(--bc-ter);
  font-size:11px;
  font-weight:900;
}

.bc-orden select{
  min-width:220px;
  padding:0 16px;
  background:var(--bc-panel);
  color:var(--bc-texto);
  font-weight:800;
}

.bc-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.bc-card{
  min-width:0;
  min-height:300px;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border:1px solid var(--bc-linea);
  border-radius:14px;
  background:var(--bc-card);
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.bc-card:hover,
.bc-card:focus-visible{
  transform:translateY(-3px);
  border-color:var(--bc-linea2);
  box-shadow:0 14px 36px rgba(212,175,55,.06);
  outline:none;
}

.bc-card.vacia{
  opacity:.46;
  border-style:dashed;
}

.bc-categoria,
.bc-numero{
  display:inline-block;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
}

.bc-categoria{
  margin:0 10px 12px 0;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(212,175,55,.10);
  color:var(--bc-oro-claro);
}

.bc-numero{
  margin-bottom:10px;
  color:var(--bc-ter);
}

.bc-card h3{
  margin:0 0 12px;
  color:var(--bc-texto);
  font-family:Georgia,serif;
  font-size:23px;
  line-height:1.22;
  overflow-wrap:anywhere;
}

.bc-card p{
  margin:0;
  color:var(--bc-sec);
  font-size:15px;
  line-height:1.65;
  overflow-wrap:anywhere;
}

.bc-card footer{
  margin-top:24px;
  padding-top:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid rgba(212,175,55,.10);
}

.bc-metricas{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:var(--bc-ter);
  font-size:11px;
}

.bc-estado{
  padding:6px 10px;
  border:1px solid var(--bc-linea);
  border-radius:999px;
  color:var(--bc-ter);
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}

.bc-estado.publicado{
  color:var(--bc-verde);
  border-color:rgba(79,157,97,.35);
  background:rgba(79,157,97,.12);
}

.bc-vacio{
  min-height:220px;
  padding:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--bc-linea);
  border-radius:14px;
  background:var(--bc-panel);
  color:var(--bc-sec);
  text-align:center;
}

.bc-paginacion{
  margin-top:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}

.bc-paginacion a,
.bc-paginacion strong,
.bc-paginacion span{
  min-width:42px;
  min-height:42px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--bc-linea);
  border-radius:8px;
  color:var(--bc-oro-claro);
  text-decoration:none;
}

.bc-paginacion strong{
  border-color:var(--bc-oro);
  background:var(--bc-oro);
  color:#0b0b0d;
}

.bc-paginacion span{
  border-color:transparent;
  color:var(--bc-ter);
}

@media(max-width:980px){
  .bc-header,
  .bc-titulo-listado{
    align-items:flex-start;
    flex-direction:column;
  }

  .bc-buscar{
    width:100%;
  }

  .bc-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:640px){
  .bc-header,
  .bc-progreso,
  .bc-tabs,
  .bc-contenido{
    width:min(100% - 24px,1380px);
  }

  .bc-buscar{
    grid-template-columns:1fr;
  }

  .bc-buscar button{
    width:100%;
  }

  .bc-estadisticas{
    gap:18px;
  }

  .bc-orden{
    width:100%;
    align-items:flex-start;
    flex-direction:column;
  }

  .bc-orden select{
    width:100%;
  }

  .bc-grid{
    grid-template-columns:1fr;
  }

  .bc-card{
    min-height:270px;
  }

  .bc-card footer{
    align-items:flex-start;
    flex-direction:column;
  }
}
